fixed make depend, and added rcs headers to makefiles
This commit is contained in:
parent
5651d3f0ed
commit
00452e0c62
@ -1,3 +1,5 @@
|
||||
# $Header: /cvsroot/src/usr.bin/tn3270/Attic/Makefile,v 1.2 1993/04/27 06:47:28 cgd Exp $
|
||||
|
||||
.if !make(install)
|
||||
SUBDIR += tools
|
||||
.endif
|
||||
|
@ -1,2 +1,4 @@
|
||||
# $Header: /cvsroot/src/usr.bin/tn3270/Attic/Makefile.inc,v 1.2 1993/04/27 06:47:29 cgd Exp $
|
||||
|
||||
CFLAGS += -DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270
|
||||
KBD = unix.kbd
|
||||
|
@ -1,3 +1,5 @@
|
||||
# $Header: /cvsroot/src/usr.bin/tn3270/mset/Attic/Makefile,v 1.2 1993/04/27 06:47:37 cgd Exp $
|
||||
|
||||
.include <../../Makefile.inc>
|
||||
|
||||
CFLAGS += -I${.CURDIR} -I.
|
||||
@ -7,12 +9,17 @@ MAN5 = map3270.0
|
||||
|
||||
SRCS += astosc.c map3270.c mset.c
|
||||
|
||||
# this and the dependency hacks below to make 'depend' target
|
||||
# work right...
|
||||
|
||||
DEPSRCS += astosc.OUT
|
||||
|
||||
PROG = mset
|
||||
|
||||
astosc.o: astosc.OUT
|
||||
CLEANFILES += astosc.OUT astosc.out
|
||||
astosc.OUT: ${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/function.h \
|
||||
${.CURDIR}/../ctlr/${KBD}
|
||||
${.CURDIR}/../ctlr/${KBD} ${.CURDIR}/../tools/mkastosc/obj/mkastosc
|
||||
${.CURDIR}/../tools/mkastosc/obj/mkastosc \
|
||||
${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/function.h \
|
||||
< ${.CURDIR}/../ctlr/${KBD} > ${.TARGET}
|
||||
@ -20,6 +27,14 @@ astosc.OUT: ${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/function.h \
|
||||
|
||||
# astosc.out
|
||||
|
||||
${.CURDIR}/../tools/mkastosc/obj/mkastosc:
|
||||
cd ${.CURDIR}/../tools/mkastosc; make
|
||||
|
||||
|
||||
depend: .depend
|
||||
.depend: ${SRCS} ${DEPSRCS}
|
||||
mkdep ${MKDEP} ${CFLAGS:M-[ID]*} ${.ALLSRC:M*.c}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.PATH: ${.CURDIR}/../api ${.CURDIR}/../ascii
|
||||
|
@ -1,3 +1,5 @@
|
||||
# $Header: /cvsroot/src/usr.bin/tn3270/tn3270/Attic/Makefile,v 1.2 1993/04/27 06:47:39 cgd Exp $
|
||||
|
||||
.include <../../Makefile.inc>
|
||||
|
||||
CFLAGS += -I${.CURDIR} -I.
|
||||
@ -14,12 +16,17 @@ SRCS += genbsubs.c globals.c system.c termout.c
|
||||
SRCS += commands.c main.c network.c ring.c sys_bsd.c telnet.c terminal.c
|
||||
SRCS += tn3270.c utilities.c
|
||||
|
||||
# this and the dependency hacks below to make 'depend' target
|
||||
# work right...
|
||||
|
||||
DEPSRCS += astosc.OUT asc_disp.OUT disp_asc.OUT kbd.OUT
|
||||
|
||||
PROG = tn3270
|
||||
|
||||
astosc.o: astosc.OUT
|
||||
CLEANFILES += astosc.OUT astosc.out
|
||||
astosc.OUT: ${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/function.h \
|
||||
${.CURDIR}/../ctlr/${KBD}
|
||||
${.CURDIR}/../ctlr/${KBD} ${.CURDIR}/../tools/mkastosc/obj/mkastosc
|
||||
${.CURDIR}/../tools/mkastosc/obj/mkastosc ${.CURDIR}/../ctlr/hostctlr.h \
|
||||
${.CURDIR}/../ctlr/function.h < ${.CURDIR}/../ctlr/${KBD} \
|
||||
> ${.TARGET}
|
||||
@ -27,16 +34,17 @@ astosc.OUT: ${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/function.h \
|
||||
|
||||
disp_asc.o: asc_disp.OUT disp_asc.OUT
|
||||
CLEANFILES += asc_disp.OUT asc_disp.out disp_asc.OUT disp_asc.out
|
||||
asc_disp.OUT:
|
||||
asc_disp.OUT: ${.CURDIR}/../tools/mkastods/obj/mkastods
|
||||
${.CURDIR}/../tools/mkastods/obj/mkastods > ${.TARGET}
|
||||
ln -s asc_disp.OUT asc_disp.out
|
||||
disp_asc.OUT:
|
||||
disp_asc.OUT: ${.CURDIR}/../tools/mkdstoas/obj/mkdstoas
|
||||
${.CURDIR}/../tools/mkdstoas/obj/mkdstoas > ${.TARGET}
|
||||
ln -s disp_asc.OUT disp_asc.out
|
||||
|
||||
inbound.o: kbd.OUT
|
||||
CLEANFILES += kbd.OUT kbd.out
|
||||
kbd.OUT: ${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/${KBD}
|
||||
kbd.OUT: ${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/${KBD} \
|
||||
${.CURDIR}/../tools/mkhits/obj/mkhits
|
||||
${CC} ${CFLAGS} -E ${.CURDIR}/../ctlr/function.c > TMPfunc.out
|
||||
${.CURDIR}/../tools/mkhits/obj/mkhits ${.CURDIR}/../ctlr/hostctlr.h \
|
||||
TMPfunc.out < ${.CURDIR}/../ctlr/${KBD} > ${.TARGET}
|
||||
@ -47,6 +55,20 @@ kbd.OUT: ${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/${KBD}
|
||||
# default.map
|
||||
# kbd.out
|
||||
|
||||
${.CURDIR}/../tools/mkastosc/obj/mkastosc:
|
||||
cd ${.CURDIR}/../tools/mkastosc; make
|
||||
${.CURDIR}/../tools/mkastods/obj/mkastods:
|
||||
cd ${.CURDIR}/../tools/mkastods; make
|
||||
${.CURDIR}/../tools/mkdstoas/obj/mkdstoas:
|
||||
cd ${.CURDIR}/../tools/mkdstoas; make
|
||||
${.CURDIR}/../tools/mkhits/obj/mkhits:
|
||||
cd ${.CURDIR}/../tools/mkhits; make
|
||||
|
||||
|
||||
depend: .depend
|
||||
.depend: ${SRCS} ${DEPSRCS}
|
||||
mkdep ${MKDEP} ${CFLAGS:M-[ID]*} ${.ALLSRC:M*.c}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.PATH: ${.CURDIR}/../api ${.CURDIR}/../ascii ${.CURDIR}/../ctlr
|
||||
|
@ -1,3 +1,5 @@
|
||||
# $Header: /cvsroot/src/usr.bin/tn3270/tools/Attic/Makefile,v 1.2 1993/04/27 06:47:40 cgd Exp $
|
||||
|
||||
SUBDIR = mkhits mkastosc mkastods mkdstoas mkdctype
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
@ -1,3 +1,5 @@
|
||||
# $Header: /cvsroot/src/usr.bin/tn3270/tools/mkastods/Attic/Makefile,v 1.3 1993/04/27 06:47:42 cgd Exp $
|
||||
|
||||
CFLAGS += -I${.CURDIR}/.. -I.
|
||||
|
||||
NOMAN = I mean it!
|
||||
|
@ -1,3 +1,5 @@
|
||||
# $Header: /cvsroot/src/usr.bin/tn3270/tools/mkastosc/Attic/Makefile,v 1.3 1993/04/27 06:47:44 cgd Exp $
|
||||
|
||||
CFLAGS += -I${.CURDIR}/../mkhits -I${.CURDIR}/.. -I.
|
||||
|
||||
NOMAN = I mean it!
|
||||
|
@ -1,3 +1,5 @@
|
||||
# $Header: /cvsroot/src/usr.bin/tn3270/tools/mkdctype/Attic/Makefile,v 1.3 1993/04/27 06:47:46 cgd Exp $
|
||||
|
||||
CFLAGS += -I${.CURDIR}/.. -I.
|
||||
|
||||
NOMAN = I mean it!
|
||||
|
@ -1,3 +1,5 @@
|
||||
# $Header: /cvsroot/src/usr.bin/tn3270/tools/mkdstoas/Attic/Makefile,v 1.3 1993/04/27 06:47:48 cgd Exp $
|
||||
|
||||
CFLAGS += -I${.CURDIR}/.. -I.
|
||||
|
||||
NOMAN = I mean it!
|
||||
|
@ -1,3 +1,5 @@
|
||||
# $Header: /cvsroot/src/usr.bin/tn3270/tools/mkhits/Attic/Makefile,v 1.3 1993/04/27 06:47:50 cgd Exp $
|
||||
|
||||
CFLAGS += -I${.CURDIR}/.. -I.
|
||||
|
||||
NOMAN = I mean it!
|
||||
|
Loading…
Reference in New Issue
Block a user