1# @(#)Makefile 8.1 (Berkeley) 06/06/93 2 3PROG= mset 4CFLAGS+=-I${.CURDIR} -I. 5SRCS+= astosc.c map3270.c mset.c 6MAN1= mset.0 7MAN5= map3270.0 8.PATH: ${.CURDIR}/../api ${.CURDIR}/../ascii 9 10CLEANFILES+= astosc.OUT astosc.out 11 12# This and the dependency hacks below to make 'depend' target 13# work right... 14 15DEPSRCS+= astosc.OUT map3270.c mset.c 16 17astosc.o: astosc.OUT 18astosc.OUT: ${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/function.h 19astosc.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 24 25# astosc.out 26${.CURDIR}/../tools/mkastosc/obj/mkastosc: 27 cd ${.CURDIR}/../tools/mkastosc; make 28 29depend: .depend 30.depend:${DEPSRCS} 31 mkdep ${MKDEP} ${CFLAGS:M-[ID]*} ${.ALLSRC:M*.c} 32 33.include <../../Makefile.inc> 34.include <bsd.prog.mk> 35