summaryrefslogtreecommitdiffstats
path: root/remote_cmds/telnet.tproj/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'remote_cmds/telnet.tproj/Makefile')
-rw-r--r--remote_cmds/telnet.tproj/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/remote_cmds/telnet.tproj/Makefile b/remote_cmds/telnet.tproj/Makefile
new file mode 100644
index 0000000..dc8569b
--- /dev/null
+++ b/remote_cmds/telnet.tproj/Makefile
@@ -0,0 +1,18 @@
+Project = telnet
+Install_Dir = /usr/local/bin
+
+HFILES = externs.h fdset.h general.h krb4-proto.h ring.h types.h\
+ defines.h misc.h misc-proto.h
+CFILES = authenc.c commands.c main.c network.c ring.c sys_bsd.c\
+ telnet.c terminal.c tn3270.c utilities.c
+
+Extra_CC_Flags = -Wall -Werror -Wno-string-plus-int -fPIE
+Extra_CC_Flags += -D__FBSDID=__RCSID
+Extra_LD_Flags = -dead_strip -pie
+
+Extra_CC_Flags += -DTERMCAP -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK \
+ -DAUTHENTICATION -DKRB5 -DSKEY -DIPSEC -DINET6 -DFORWARD
+ # -DENCRYPTION -DKRB4
+Extra_LD_Libraries = -lcurses -lkrb4 -lkrb5 -lipsec -ltelnet
+
+include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make