NetBSD/usr.bin/tn3270/mset/Makefile

28 lines
678 B
Makefile

# $NetBSD: Makefile,v 1.23 2000/12/30 14:54:41 sommerfeld Exp $
.include <bsd.own.mk>
PROG= mset
MAN= mset.1 map3270.5
SRCS= astosc.c map3270.c mset.c
DPSRCS= astosc.out
MKASTOSCDIR!=cd $(.CURDIR)/../tools/mkastosc && ${PRINTOBJDIR}
MKASTOSC=${MKASTOSCDIR}/mkastosc
${MKASTOSC}:
cd ${.CURDIR}/../tools/mkastosc; ${MAKE}
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} > tmp
mv -f tmp ${.TARGET}
.include <bsd.prog.mk>
.PATH: ${.CURDIR}/../api ${.CURDIR}/../ascii
astosc.o: astosc.out