]> git.cameronkatri.com Git - apple_cmds.git/blobdiff - remote_cmds/telnet.tproj/Makefile
remote_cmds: All compiling
[apple_cmds.git] / remote_cmds / telnet.tproj / Makefile
index dc8569be1e539ebba11135327a9579eb80333169..281feaf2e8a3882017c8629d470697f642acdd7a 100644 (file)
@@ -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>