diff options
author | Mats O Jansson <maja@cvs.openbsd.org> | 1996-09-21 13:49:18 +0000 |
---|---|---|
committer | Mats O Jansson <maja@cvs.openbsd.org> | 1996-09-21 13:49:18 +0000 |
commit | d94dff674a83ccc51db1a01ffeb6e5d45b58ea9d (patch) | |
tree | e1fdf2dca3d2654c695f000ec56cebc29dabbbf4 /usr.sbin/mopd/moptrace/Makefile | |
parent | 36f1b197c477854a9d173adfd44fd5b0e57f6f54 (diff) |
Initial import of mopd-2.5.3. -moj
Diffstat (limited to 'usr.sbin/mopd/moptrace/Makefile')
-rw-r--r-- | usr.sbin/mopd/moptrace/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/usr.sbin/mopd/moptrace/Makefile b/usr.sbin/mopd/moptrace/Makefile new file mode 100644 index 00000000000..952f7e6673d --- /dev/null +++ b/usr.sbin/mopd/moptrace/Makefile @@ -0,0 +1,20 @@ +# $Id: Makefile,v 1.1 1996/09/21 13:49:17 maja Exp $ + +PROG= moptrace +SRCS= moptrace.c print.c cmp.c get.c mopdef.c nma.c device.c version.c pf.c \ + loop-bsd.c dl.c rc.c +MAN= moptrace.1 +CFLAGS+= -I${.CURDIR} -I${.CURDIR}/.. -I${.CURDIR}/../common +CLEANFILES= version.c version.h +LDADD= -lkvm +.PATH: ${.CURDIR}/../common + +version.c version.h: ${.CURDIR}/../common/VERSION + rm -f version.c; \ + sed 's/.*/char version[] = "&";/' ${.ALLSRC} > version.c + set `sed 's/\([0-9]*\)\.\([0-9]*\).*/\1 \2/' ${.ALLSRC}` ; \ + { echo '#define VERSION_MAJOR' $$1 ; \ + echo '#define VERSION_MINOR' $$2 ; } > version.h + + +.include <bsd.prog.mk> |