1998-04-12 19:30:15 +04:00
|
|
|
# $NetBSD: Makefile,v 1.5 1998/04/12 15:30:15 veego Exp $
|
1998-03-04 16:16:04 +03:00
|
|
|
|
|
|
|
PROG= prt3270
|
|
|
|
SRCS= prt3270.c asc_ebc.c ebc_disp.c astosc.c
|
|
|
|
DPSRCS= kbd.out astosc.out
|
|
|
|
CPPFLAGS+=-I.
|
|
|
|
|
1998-04-12 19:30:15 +04:00
|
|
|
MKHITS!=cd $(.CURDIR)/../mkhits; \
|
1998-03-04 16:16:04 +03:00
|
|
|
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/mkhits\n" | ${MAKE} -s -f-
|
1998-04-09 04:27:47 +04:00
|
|
|
${MKHITS}:
|
1998-03-04 16:16:04 +03:00
|
|
|
cd ${.CURDIR}/../mkhits; ${MAKE}
|
|
|
|
|
|
|
|
kbd.out: ${.CURDIR}/../../ctlr/hostctlr.h ${.CURDIR}/../../ctlr/${KBD} ${MKHITS}
|
|
|
|
${CC} ${CPPFLAGS} -E ${.CURDIR}/../../ctlr/function.c > TMPfunc.out
|
|
|
|
${MKHITS} \
|
|
|
|
${.CURDIR}/../../ctlr/hostctlr.h TMPfunc.out \
|
|
|
|
< ${.CURDIR}/../../ctlr/${KBD} > kbd.tmp
|
1998-03-10 12:52:41 +03:00
|
|
|
rm -f TMPfunc.out
|
1998-03-04 16:16:04 +03:00
|
|
|
mv -f kbd.tmp ${.TARGET}
|
|
|
|
|
|
|
|
MKASTOSC!=cd $(.CURDIR)/../mkastosc; \
|
|
|
|
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/mkastosc\n" | ${MAKE} -s -f-
|
|
|
|
${MKASTOSC}:
|
|
|
|
cd ${.CURDIR}/../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
|