aboutsummaryrefslogtreecommitdiffstats
path: root/remote_cmds/telnet.tproj/Makefile
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2021-05-10 10:44:54 -0400
committerCameron Katri <me@cameronkatri.com>2021-05-10 14:59:06 -0400
commitb9db19b71926ba1d2b0722a43cf538bf139fc0d9 (patch)
tree5fdb44eb55955dcaa6155b36304ea938d20ccaa9 /remote_cmds/telnet.tproj/Makefile
parent911b83fe05d682c541e38fecd55fdad0755be2ca (diff)
downloadapple_cmds-b9db19b71926ba1d2b0722a43cf538bf139fc0d9.tar.gz
apple_cmds-b9db19b71926ba1d2b0722a43cf538bf139fc0d9.tar.zst
apple_cmds-b9db19b71926ba1d2b0722a43cf538bf139fc0d9.zip
remote_cmds: All compiling
Diffstat (limited to 'remote_cmds/telnet.tproj/Makefile')
-rw-r--r--remote_cmds/telnet.tproj/Makefile26
1 files changed, 11 insertions, 15 deletions
diff --git a/remote_cmds/telnet.tproj/Makefile b/remote_cmds/telnet.tproj/Makefile
index dc8569b..281feaf 100644
--- a/remote_cmds/telnet.tproj/Makefile
+++ b/remote_cmds/telnet.tproj/Makefile
@@ -1,18 +1,14 @@
-Project = telnet
-Install_Dir = /usr/local/bin
+PROG= telnet
+SRCS= authenc.c commands.c main.c network.c \
+ ring.c sys_bsd.c telnet.c terminal.c tn3270.c \
+ utilities.c genget.c auth.c misc.c
-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
+CFLAGS+=-DTERMCAP -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK \
+ -DAUTHENTICATION -DSKEY -DIPSEC -DINET6 -DFORWARD \
+ -I${.CURDIR}/../../lib
+ # -DENCRYPTION -DKRB4
+LDADD=-lncursesw -lipsec
-Extra_CC_Flags = -Wall -Werror -Wno-string-plus-int -fPIE
-Extra_CC_Flags += -D__FBSDID=__RCSID
-Extra_LD_Flags = -dead_strip -pie
+.PATH: ../../lib/libtelnet
-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
+.include <bsd.prog.mk>