1 # $NetBSD: Makefile,v 1.10 2005/09/17 16:52:02 chs Exp $
8 SRCS
= prt3270.c asc_ebc.c ebc_disp.c astosc.c
9 DPSRCS
= kbd.out astosc.out
10 HOST_CPPFLAGS
+=-I.
-DHOST_TOOL
12 MKHITSDIR
!=cd
$(.CURDIR
)/..
/mkhits
&& ${PRINTOBJDIR}
13 MKHITS
=${MKHITSDIR}/mkhits
16 cd
${.CURDIR
}/..
/mkhits
; ${MAKE}
18 kbd.out
: ${.CURDIR
}/..
/..
/ctlr
/hostctlr.h
${.CURDIR
}/..
/..
/ctlr
/${KBD} ${MKHITS}
19 ${HOST_CC} ${HOST_CPPFLAGS} -E
${.CURDIR
}/..
/..
/ctlr
/function.c
> TMPfunc.out
21 ${.CURDIR
}/..
/..
/ctlr
/hostctlr.h TMPfunc.out \
22 < ${.CURDIR
}/..
/..
/ctlr
/${KBD} > kbd.tmp
24 mv
-f kbd.tmp
${.TARGET
}
25 CLEANFILES
+= TMPfunc.out kbd.tmp kbd.out
27 MKASTOSCDIR
!=cd
${.CURDIR
}/..
/mkastosc
&& ${PRINTOBJDIR}
28 MKASTOSC
= ${MKASTOSCDIR}/mkastosc
31 cd
${.CURDIR
}/..
/mkastosc
; ${MAKE}
33 astosc.out
: ${.CURDIR
}/..
/..
/ctlr
/hostctlr.h
${.CURDIR
}/..
/..
/ctlr
/function.h \
34 ${.CURDIR
}/..
/..
/ctlr
/${KBD} ${MKASTOSC}
36 ${.CURDIR
}/..
/..
/ctlr
/hostctlr.h
${.CURDIR
}/..
/..
/ctlr
/function.h \
37 < ${.CURDIR
}/..
/..
/ctlr
/${KBD} > astosc.tmp
38 mv
-f astosc.tmp
${.TARGET
}
39 CLEANFILES
+= astosc.tmp astosc.out
41 .
include <bsd.hostprog.mk
>
43 .PATH
: ${.CURDIR
}/..
/..
/api
${.CURDIR
}/..
/..
/ascii