NetBSD/usr.bin/tn3270/mset/Makefile

45 lines
1002 B
Makefile
Raw Normal View History

1993-12-28 13:59:05 +03:00
# $Id: Makefile,v 1.8 1993/12/28 11:38:14 davidb Exp $
1993-04-26 18:02:21 +04:00
.include <../../Makefile.inc>
CFLAGS += -I${.CURDIR} -I.
MAN1 = mset.0
MAN5 = map3270.0
SRCS += astosc.c map3270.c mset.c
# this and the dependency hacks below to make 'depend' target
# work right...
1993-04-27 13:51:52 +04:00
DEPSRCS += astosc.OUT map3270.c mset.c
1993-04-26 18:02:21 +04:00
PROG = mset
1993-12-28 13:59:05 +03:00
MKASTOSC!=cd $(.CURDIR)/../tools/mkastosc; \
printf "xxx:\n\techo \$${.OBJDIR}/mkastosc\n" | make -r -s -f - xxx
1993-04-26 18:02:21 +04:00
astosc.o: astosc.OUT
CLEANFILES += astosc.OUT astosc.out
astosc.OUT: ${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/function.h \
${.CURDIR}/../ctlr/${KBD} ${MKASTOSC}
${MKASTOSC} \
1993-04-26 18:02:21 +04:00
${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/function.h \
< ${.CURDIR}/../ctlr/${KBD} > ${.TARGET}
1993-04-29 15:05:59 +04:00
/bin/rm -f astosc.out
1993-04-26 18:02:21 +04:00
ln -s astosc.OUT astosc.out
# astosc.out
${MKASTOSC}:
1993-04-27 11:00:41 +04:00
cd ${.CURDIR}/../tools/mkastosc; make
depend: .depend
1993-04-27 13:51:52 +04:00
.depend: ${DEPSRCS}
mkdep ${MKDEP} ${CFLAGS:M-[ID]*} ${.ALLSRC:M*.c}
1993-04-26 18:02:21 +04:00
.include <bsd.prog.mk>
.PATH: ${.CURDIR}/../api ${.CURDIR}/../ascii