1 # @(#)Makefile 8.1 (Berkeley) 6/6/93
4 CFLAGS+=-I${.CURDIR} -I.
5 SRCS+= astosc.c map3270.c mset.c
8 .PATH: ${.CURDIR}/../api ${.CURDIR}/../ascii
10 CLEANFILES+= astosc.OUT astosc.out
12 # This and the dependency hacks below to make 'depend' target
15 DEPSRCS+= astosc.OUT map3270.c mset.c
18 astosc.OUT: ${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/function.h
19 astosc.OUT: ${.CURDIR}/../ctlr/${KBD} ${.CURDIR}/../tools/mkastosc/obj/mkastosc
20 ${.CURDIR}/../tools/mkastosc/obj/mkastosc \
21 ${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/function.h \
22 < ${.CURDIR}/../ctlr/${KBD} > ${.TARGET}
23 rm -f astosc.out; ln -s astosc.OUT astosc.out
26 ${.CURDIR}/../tools/mkastosc/obj/mkastosc:
27 cd ${.CURDIR}/../tools/mkastosc; make
31 mkdep ${MKDEP} ${CFLAGS:M-[ID]*} ${.ALLSRC:M*.c}
33 .include <../../Makefile.inc>
34 .include <bsd.prog.mk>