1995-10-22 03:13:41 +03:00
|
|
|
# $Id: Makefile,v 1.12 1995/10/22 00:13:45 christos Exp $
|
1993-04-27 10:47:28 +04:00
|
|
|
|
1995-01-03 01:33:21 +03:00
|
|
|
.include "../../Makefile.inc"
|
1993-04-26 18:02:21 +04:00
|
|
|
|
|
|
|
CFLAGS += -I${.CURDIR} -I.
|
|
|
|
|
1994-12-22 15:30:38 +03:00
|
|
|
MAN = mset.1 map3270.5
|
1993-04-26 18:02:21 +04:00
|
|
|
|
|
|
|
SRCS += astosc.c map3270.c mset.c
|
|
|
|
|
1993-04-27 10:47:28 +04:00
|
|
|
# this and the dependency hacks below to make 'depend' target
|
|
|
|
# work right...
|
|
|
|
|
1993-04-27 13:51:52 +04:00
|
|
|
DEPSRCS += astosc.OUT map3270.c mset.c
|
1993-04-27 10:47:28 +04:00
|
|
|
|
1993-04-26 18:02:21 +04:00
|
|
|
PROG = mset
|
|
|
|
|
1993-12-28 13:59:05 +03:00
|
|
|
MKASTOSC!=cd $(.CURDIR)/../tools/mkastosc; \
|
1995-10-22 03:13:41 +03:00
|
|
|
printf "xxx:\n\techo \$${.OBJDIR}/mkastosc\n" | \
|
|
|
|
${MAKE} -r -s -f - xxx | grep mkastosc
|
1993-12-22 01:16:33 +03:00
|
|
|
|
1993-04-26 18:02:21 +04:00
|
|
|
astosc.o: astosc.OUT
|
|
|
|
CLEANFILES += astosc.OUT astosc.out
|
|
|
|
astosc.OUT: ${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/function.h \
|
1993-12-22 01:16:33 +03:00
|
|
|
${.CURDIR}/../ctlr/${KBD} ${MKASTOSC}
|
|
|
|
${MKASTOSC} \
|
1993-04-26 18:02:21 +04:00
|
|
|
${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/function.h \
|
|
|
|
< ${.CURDIR}/../ctlr/${KBD} > ${.TARGET}
|
1993-04-29 15:05:59 +04:00
|
|
|
/bin/rm -f astosc.out
|
1993-04-26 18:02:21 +04:00
|
|
|
ln -s astosc.OUT astosc.out
|
|
|
|
|
|
|
|
# astosc.out
|
|
|
|
|
1993-12-22 01:16:33 +03:00
|
|
|
${MKASTOSC}:
|
1994-01-22 04:52:56 +03:00
|
|
|
cd ${.CURDIR}/../tools/mkastosc; ${MAKE}
|
1993-04-27 10:47:28 +04:00
|
|
|
|
|
|
|
|
|
|
|
depend: .depend
|
1993-04-27 13:51:52 +04:00
|
|
|
.depend: ${DEPSRCS}
|
1993-04-27 10:47:28 +04:00
|
|
|
mkdep ${MKDEP} ${CFLAGS:M-[ID]*} ${.ALLSRC:M*.c}
|
|
|
|
|
1993-04-26 18:02:21 +04:00
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../api ${.CURDIR}/../ascii
|