diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-18 08:53:40 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-18 08:53:40 +0000 |
commit | d6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch) | |
tree | ece253b876159b39c620e62b6c9b1174642e070e /usr.bin/tn3270/mset/Makefile |
initial import of NetBSD tree
Diffstat (limited to 'usr.bin/tn3270/mset/Makefile')
-rw-r--r-- | usr.bin/tn3270/mset/Makefile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/usr.bin/tn3270/mset/Makefile b/usr.bin/tn3270/mset/Makefile new file mode 100644 index 00000000000..0138c23c9c3 --- /dev/null +++ b/usr.bin/tn3270/mset/Makefile @@ -0,0 +1,43 @@ +# $Id: Makefile,v 1.1 1995/10/18 08:46:22 deraadt Exp $ + +.include "../../Makefile.inc" + +CFLAGS += -I${.CURDIR} -I. + +MAN = mset.1 map3270.5 + +SRCS += astosc.c map3270.c mset.c + +# this and the dependency hacks below to make 'depend' target +# work right... + +DEPSRCS += astosc.OUT map3270.c mset.c + +PROG = mset + +MKASTOSC!=cd $(.CURDIR)/../tools/mkastosc; \ + printf "xxx:\n\techo \$${.OBJDIR}/mkastosc\n" | ${MAKE} -r -s -f - xxx + +astosc.o: astosc.OUT +CLEANFILES += astosc.OUT astosc.out +astosc.OUT: ${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/function.h \ + ${.CURDIR}/../ctlr/${KBD} ${MKASTOSC} + ${MKASTOSC} \ + ${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/function.h \ + < ${.CURDIR}/../ctlr/${KBD} > ${.TARGET} + /bin/rm -f astosc.out + ln -s astosc.OUT astosc.out + +# astosc.out + +${MKASTOSC}: + cd ${.CURDIR}/../tools/mkastosc; ${MAKE} + + +depend: .depend +.depend: ${DEPSRCS} + mkdep ${MKDEP} ${CFLAGS:M-[ID]*} ${.ALLSRC:M*.c} + +.include <bsd.prog.mk> + +.PATH: ${.CURDIR}/../api ${.CURDIR}/../ascii |