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