diff --git a/usr.bin/tn3270/Makefile b/usr.bin/tn3270/Makefile index e3742b291bac..dff368670c94 100644 --- a/usr.bin/tn3270/Makefile +++ b/usr.bin/tn3270/Makefile @@ -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 diff --git a/usr.bin/tn3270/Makefile.inc b/usr.bin/tn3270/Makefile.inc index 791dff53d089..982116a753d9 100644 --- a/usr.bin/tn3270/Makefile.inc +++ b/usr.bin/tn3270/Makefile.inc @@ -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 diff --git a/usr.bin/tn3270/mset/Makefile b/usr.bin/tn3270/mset/Makefile index 9eed4e27f81f..2172ab4b4ea6 100644 --- a/usr.bin/tn3270/mset/Makefile +++ b/usr.bin/tn3270/mset/Makefile @@ -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 .PATH: ${.CURDIR}/../api ${.CURDIR}/../ascii diff --git a/usr.bin/tn3270/tn3270/Makefile b/usr.bin/tn3270/tn3270/Makefile index df0f78c61147..83e84ca246ed 100644 --- a/usr.bin/tn3270/tn3270/Makefile +++ b/usr.bin/tn3270/tn3270/Makefile @@ -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 .PATH: ${.CURDIR}/../api ${.CURDIR}/../ascii ${.CURDIR}/../ctlr diff --git a/usr.bin/tn3270/tools/Makefile b/usr.bin/tn3270/tools/Makefile index 58e37452e048..b411b71d9a6a 100644 --- a/usr.bin/tn3270/tools/Makefile +++ b/usr.bin/tn3270/tools/Makefile @@ -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 diff --git a/usr.bin/tn3270/tools/mkastods/Makefile b/usr.bin/tn3270/tools/mkastods/Makefile index 9e01299d4c33..b2c6fbd79217 100644 --- a/usr.bin/tn3270/tools/mkastods/Makefile +++ b/usr.bin/tn3270/tools/mkastods/Makefile @@ -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! diff --git a/usr.bin/tn3270/tools/mkastosc/Makefile b/usr.bin/tn3270/tools/mkastosc/Makefile index a0190f6ab63b..792c75d77667 100644 --- a/usr.bin/tn3270/tools/mkastosc/Makefile +++ b/usr.bin/tn3270/tools/mkastosc/Makefile @@ -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! diff --git a/usr.bin/tn3270/tools/mkdctype/Makefile b/usr.bin/tn3270/tools/mkdctype/Makefile index eb5c3f7d7a12..0cd4716dd1c7 100644 --- a/usr.bin/tn3270/tools/mkdctype/Makefile +++ b/usr.bin/tn3270/tools/mkdctype/Makefile @@ -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! diff --git a/usr.bin/tn3270/tools/mkdstoas/Makefile b/usr.bin/tn3270/tools/mkdstoas/Makefile index 12fa1d8b079b..ced7ecbd6d0d 100644 --- a/usr.bin/tn3270/tools/mkdstoas/Makefile +++ b/usr.bin/tn3270/tools/mkdstoas/Makefile @@ -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! diff --git a/usr.bin/tn3270/tools/mkhits/Makefile b/usr.bin/tn3270/tools/mkhits/Makefile index 61e9ba15ab4e..d38d2dc55f13 100644 --- a/usr.bin/tn3270/tools/mkhits/Makefile +++ b/usr.bin/tn3270/tools/mkhits/Makefile @@ -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!