head	1.8;
access;
symbols
	RELENG_3_5_0_RELEASE:1.7
	RELENG_3_4_0_RELEASE:1.7
	RELENG_3_3_0_RELEASE:1.7
	RELENG_3_2_PAO:1.7.0.6
	RELENG_3_2_PAO_BP:1.7
	RELENG_3_2_0_RELEASE:1.7
	RELENG_3_1_0_RELEASE:1.7
	RELENG_3:1.7.0.4
	RELENG_3_BP:1.7
	RELENG_2_2_8_RELEASE:1.7
	RELENG_3_0_0_RELEASE:1.7
	RELENG_2_2_7_RELEASE:1.7
	RELENG_2_2_6_RELEASE:1.7
	RELENG_2_2_5_RELEASE:1.7
	bsd_44_lite_2:1.1.1.1
	RELENG_2_2_2_RELEASE:1.7
	RELENG_2_2_1_RELEASE:1.7
	RELENG_2_2_0_RELEASE:1.7
	RELENG_2_1_7_RELEASE:1.3.6.1
	RELENG_2_1_6_1_RELEASE:1.3.6.1
	RELENG_2_1_6_RELEASE:1.3.6.1
	RELENG_2_2:1.7.0.2
	RELENG_2_2_BP:1.7
	RELENG_2_1_5_RELEASE:1.3.6.1
	RELENG_2_1_0_RELEASE:1.3.6.1
	RELENG_2_1_0:1.3.0.6
	RELENG_2_1_0_BP:1.3
	RELENG_2_0_5_RELEASE:1.3
	RELENG_2_0_5:1.3.0.4
	RELENG_2_0_5_BP:1.3
	RELENG_2_0_5_ALPHA:1.3
	RELEASE_2_0:1.3
	BETA_2_0:1.3
	ALPHA_2_0:1.3.0.2
	bsd_44_lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.8
date	99.08.31.08.55.18;	author markm;	state dead;
branches;
next	1.7;

1.7
date	96.09.05.17.15.15;	author bde;	state Exp;
branches;
next	1.6;

1.6
date	96.06.24.04.24.49;	author jkh;	state Exp;
branches;
next	1.5;

1.5
date	95.08.06.02.52.40;	author jkh;	state Exp;
branches;
next	1.4;

1.4
date	95.08.05.23.21.39;	author jkh;	state Exp;
branches;
next	1.3;

1.3
date	94.08.20.21.29.33;	author csgr;	state Exp;
branches
	1.3.6.1;
next	1.2;

1.2
date	94.08.05.18.59.45;	author wollman;	state Exp;
branches;
next	1.1;

1.1
date	94.05.27.12.33.08;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	94.05.27.12.33.09;	author rgrimes;	state Exp;
branches;
next	;

1.3.6.1
date	95.10.06.02.23.29;	author davidg;	state Exp;
branches;
next	;


desc
@@


1.8
log
@FreeBSD District court of Appeals - TN3270 vs Ports

Judge:		TN3270, you are charged with being superfluous to
		requirement, and have been found guilty.
		Defence, do you have any final words?
Defence lawyer:	Yes,..
		*!BLAM!*
Judge:		Contempt of court!! That blood is disgusting! Sergeant?
Sergeant:	Sah!?
Judge:		Get that mess out of here.
Sergeant:	Sah!!
Judge:		Anyone else have anything else to say?
		...
Judge:		Executioner!
Executioner:	My lord?
Judge:		Carry out the sentence, forthwith!
Executioner:	As my lord wishes...
		*!BLAM!* *!BLAM!* *!BLAM!*
Judge:		Any more matters for the court today?
		...
@
text
@#	@@(#)Makefile	8.1 (Berkeley) 6/6/93

PROG=	tn3270
CFLAGS+=-I${.CURDIR} -I.
DPADD=	${LIBCURSES} ${LIBTERMCAP} ${LIBTELNET} ${LIBCRYPT}
LDADD=	-lcurses -ltermcap -ltelnet -lcrypt
CLEANFILES+= asc_disp.OUT asc_disp.out disp_asc.OUT disp_asc.out TMPfunc.out
.PATH:	${.CURDIR}/../api ${.CURDIR}/../ascii ${.CURDIR}/../ctlr
.PATH:	${.CURDIR}/../general ${.CURDIR}/../sys_curses ${.CURDIR}/../../telnet

MAN1=	tn3270.1

SRCS+=	apilib.c api_bsd.c api_exch.c asc_ebc.c astosc.c dctype.c
SRCS+=	disp_asc.c ebc_disp.c
SRCS+=	map3270.c termin.c
SRCS+=	api.c function.c inbound.c oia.c options.c outbound.c
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
DEPSRCS+= apilib.c api_bsd.c api_exch.c asc_ebc.c dctype.c
DEPSRCS+= ebc_disp.c
DEPSRCS+= map3270.c termin.c
DEPSRCS+= api.c function.c inbound.c oia.c options.c outbound.c
DEPSRCS+= genbsubs.c globals.c system.c termout.c
DEPSRCS+= commands.c main.c network.c ring.c sys_bsd.c telnet.c terminal.c
DEPSRCS+= tn3270.c utilities.c

.if exists(${.OBJDIR}/../tools/mkastosc)
MKASTOSCDIR= ${.OBJDIR}/../tools/mkastosc
.else
MKASTOSCDIR= ${.CURDIR}/../tools/mkastosc
.endif

.if exists(${.OBJDIR}/../tools/mkastods)
MKASTODSDIR= ${.OBJDIR}/../tools/mkastods
.else
MKASTODSDIR= ${.CURDIR}/../tools/mkastods
.endif

.if exists(${.OBJDIR}/../tools/mkdstoas)
MKDSTOASDIR= ${.OBJDIR}/../tools/mkdstoas
.else
MKDSTOASDIR= ${.CURDIR}/../tools/mkdstoas
.endif

.if exists(${.OBJDIR}/../tools/mkhits)
MKHITSDIR= ${.OBJDIR}/../tools/mkhits
.else
MKHITSDIR= ${.CURDIR}/../tools/mkhits
.endif

astosc.o: astosc.OUT
CLEANFILES+= astosc.OUT astosc.out
astosc.OUT: ${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/function.h
astosc.OUT: ${.CURDIR}/../ctlr/${KBD} ${MKASTOSCDIR}/mkastosc
	${MKASTOSCDIR}/mkastosc \
	    ${.CURDIR}/../ctlr/hostctlr.h \
	    ${.CURDIR}/../ctlr/function.h < ${.CURDIR}/../ctlr/${KBD} \
	    > ${.TARGET}
	rm -f astosc.out; ln -s astosc.OUT astosc.out

disp_asc.o: asc_disp.OUT disp_asc.OUT
asc_disp.OUT: ${MKASTODSDIR}/mkastods
	${MKASTODSDIR}/mkastods > ${.TARGET}
	rm -f asc_disp.out; ln -s asc_disp.OUT asc_disp.out

disp_asc.OUT: ${MKDSTOASDIR}/mkdstoas
	${MKDSTOASDIR}/mkdstoas > ${.TARGET}
	rm -f disp_asc.out; 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: ${MKHITSDIR}/mkhits
	${CC} ${CFLAGS} -E ${.CURDIR}/../ctlr/function.c > TMPfunc.out
	${MKHITSDIR}/mkhits ${.CURDIR}/../ctlr/hostctlr.h \
	    TMPfunc.out < ${.CURDIR}/../ctlr/${KBD} > ${.TARGET}
	rm -f kbd.out; ln -s kbd.OUT kbd.out

# astosc.out
# asc_disp.out disp_asc.out
# default.map
# kbd.out

${MKASTOSCDIR}/mkastosc:
	cd ${.CURDIR}/../tools/mkastosc; make
${MKASTODSDIR}/mkastods:
	cd ${.CURDIR}/../tools/mkastods; make
${MKDSTOASDIR}/mkdstoas:
	cd ${.CURDIR}/../tools/mkdstoas; make
${MKHITSDIR}/mkhits:
	cd ${.CURDIR}/../tools/mkhits; make

depend: .depend
.depend: ${DEPSRCS}
	mkdep ${MKDEP} ${CFLAGS:M-[ID]*} ${.ALLSRC:M*.c}

.include <../../Makefile.inc>
.include <bsd.prog.mk>
@


1.7
log
@Fixed DPADD.
@
text
@@


1.6
log
@Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
@
text
@d5 2
a6 2
LDADD+=	-lcurses -ltermcap -ltelnet -lcrypt
DPADD+=	${LIBCURSES} /usr/lib/libtermcap.a /usr/lib/libtelnet.a
@


1.5
log
@Eliminate a few more lurking obj bogons.
@
text
@d33 2
a34 2
.if exists(${.CURDIR}/../tools/mkastosc/obj)
MKASTOSCDIR= ${.CURDIR}/../tools/mkastosc/obj
d39 2
a40 2
.if exists(${.CURDIR}/../tools/mkastods/obj)
MKASTODSDIR= ${.CURDIR}/../tools/mkastods/obj
d45 2
a46 2
.if exists(${.CURDIR}/../tools/mkdstoas/obj)
MKDSTOASDIR= ${.CURDIR}/../tools/mkdstoas/obj
d51 2
a52 2
.if exists(${.CURDIR}/../tools/mkhits/obj)
MKHITSDIR= ${.CURDIR}/../tools/mkhits/obj
@


1.4
log
@Reference to obj dir hardcoded in this file replaced with
a more intelligent macro.  I hate the obj link mechanism, I tell you, I hate
it! :-)
@
text
@d39 18
d68 2
a69 2
asc_disp.OUT: ${.CURDIR}/../tools/mkastods/obj/mkastods
	${.CURDIR}/../tools/mkastods/obj/mkastods > ${.TARGET}
d72 2
a73 2
disp_asc.OUT: ${.CURDIR}/../tools/mkdstoas/obj/mkdstoas
	${.CURDIR}/../tools/mkdstoas/obj/mkdstoas > ${.TARGET}
d79 1
a79 1
kbd.OUT: ${.CURDIR}/../tools/mkhits/obj/mkhits
d81 1
a81 1
	${.CURDIR}/../tools/mkhits/obj/mkhits ${.CURDIR}/../ctlr/hostctlr.h \
d92 1
a92 1
${.CURDIR}/../tools/mkastods/obj/mkastods:
d94 1
a94 1
${.CURDIR}/../tools/mkdstoas/obj/mkdstoas:
d96 1
a96 1
${.CURDIR}/../tools/mkhits/obj/mkhits:
@


1.3
log
@LDADD= -lcrypt
Submitted by:	Geoff
@
text
@d33 6
d42 2
a43 2
astosc.OUT: ${.CURDIR}/../ctlr/${KBD} ${.CURDIR}/../tools/mkastosc/obj/mkastosc
	${.CURDIR}/../tools/mkastosc/obj/mkastosc \
d72 1
a72 1
${.CURDIR}/../tools/mkastosc/obj/mkastosc:
@


1.3.6.1
log
@Brought in changes from main branch: fix build order problems "tools" and
stop using gets().
@
text
@a32 24
.if exists(${.CURDIR}/../tools/mkastosc/obj)
MKASTOSCDIR= ${.CURDIR}/../tools/mkastosc/obj
.else
MKASTOSCDIR= ${.CURDIR}/../tools/mkastosc
.endif

.if exists(${.CURDIR}/../tools/mkastods/obj)
MKASTODSDIR= ${.CURDIR}/../tools/mkastods/obj
.else
MKASTODSDIR= ${.CURDIR}/../tools/mkastods
.endif

.if exists(${.CURDIR}/../tools/mkdstoas/obj)
MKDSTOASDIR= ${.CURDIR}/../tools/mkdstoas/obj
.else
MKDSTOASDIR= ${.CURDIR}/../tools/mkdstoas
.endif

.if exists(${.CURDIR}/../tools/mkhits/obj)
MKHITSDIR= ${.CURDIR}/../tools/mkhits/obj
.else
MKHITSDIR= ${.CURDIR}/../tools/mkhits
.endif

d36 2
a37 2
astosc.OUT: ${.CURDIR}/../ctlr/${KBD} ${MKASTOSCDIR}/mkastosc
	${MKASTOSCDIR}/mkastosc \
d44 2
a45 2
asc_disp.OUT: ${MKASTODSDIR}/mkastods
	${MKASTODSDIR}/mkastods > ${.TARGET}
d48 2
a49 2
disp_asc.OUT: ${MKDSTOASDIR}/mkdstoas
	${MKDSTOASDIR}/mkdstoas > ${.TARGET}
d55 1
a55 1
kbd.OUT: ${MKHITSDIR}/mkhits
d57 1
a57 1
	${MKHITSDIR}/mkhits ${.CURDIR}/../ctlr/hostctlr.h \
d66 1
a66 1
${MKASTOSCDIR}/mkastosc:
d68 1
a68 1
${MKASTODSDIR}/mkastods:
d70 1
a70 1
${MKDSTOASDIR}/mkdstoas:
d72 1
a72 1
${MKHITSDIR}/mkhits:
@


1.2
log
@More merry makefile munging for man page compatability.
@
text
@d5 1
a5 1
LDADD+=	-lcurses -ltermcap -ltelnet
@


1.1
log
@Initial revision
@
text
@d11 1
a11 1
MAN1=	tn3270.0
@


1.1.1.1
log
@BSD 4.4 Lite Usr.bin Sources
@
text
@@
