# $NetBSD: Makefile,v 1.8 2000/12/30 14:54:41 sommerfeld Exp $ .include HOSTPROG= prt3270 SRCS= prt3270.c asc_ebc.c ebc_disp.c astosc.c DPSRCS= kbd.out astosc.out HOST_CPPFLAGS+=-I. MKHITSDIR!=cd $(.CURDIR)/../mkhits && ${PRINTOBJDIR} MKHITS=${MKHITSDIR}/mkhits ${MKHITS}: cd ${.CURDIR}/../mkhits; ${MAKE} kbd.out: ${.CURDIR}/../../ctlr/hostctlr.h ${.CURDIR}/../../ctlr/${KBD} ${MKHITS} ${HOST_CC} ${HOST_CPPFLAGS} -E ${.CURDIR}/../../ctlr/function.c > TMPfunc.out ${MKHITS} \ ${.CURDIR}/../../ctlr/hostctlr.h TMPfunc.out \ < ${.CURDIR}/../../ctlr/${KBD} > kbd.tmp rm -f TMPfunc.out mv -f kbd.tmp ${.TARGET} MKASTOSCDIR!=cd ${.CURDIR}/../mkastosc && ${PRINTOBJDIR} MKASTOSC= ${MKASTOSCDIR}/mkastosc ${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 .PATH: ${.CURDIR}/../../api ${.CURDIR}/../../ascii astosc.o: astosc.out prt3270.o: kbd.out