summaryrefslogtreecommitdiffstats
path: root/secure/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'secure/Makefile')
-rw-r--r--secure/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/secure/Makefile b/secure/Makefile
new file mode 100644
index 0000000..7261780
--- /dev/null
+++ b/secure/Makefile
@@ -0,0 +1,36 @@
+# $FreeBSD$
+
+SUBDIR= lib libexec usr.bin usr.sbin
+
+# These are the programs which depend on crypto, but not Kerberos.
+SPROGS= bin/ed usr.sbin/ppp usr.sbin/pppd usr.sbin/tcpdump/tcpdump \
+ lib/libfetch usr.bin/fetch usr.sbin/pkg_install \
+ lib/libpam \
+ lib/libtelnet libexec/telnetd usr.bin/telnet
+.if !defined(NO_SENDMAIL)
+SPROGS+=usr.sbin/sendmail
+.endif
+
+# This target is used to rebuild these programs with crypto.
+secure:
+.for entry in ${SPROGS}
+ cd ${.CURDIR}/../${entry}; \
+ ${MAKE} cleandir; \
+ ${MAKE} obj; \
+ ${MAKE} depend; \
+ ${MAKE} all; \
+ ${MAKE} install
+.endfor
+
+# This target is used to rebuild these programs without crypto.
+insecure:
+.for entry in ${SPROGS}
+ cd ${.CURDIR}/../${entry}; \
+ ${MAKE} -DNOCRYPT cleandir; \
+ ${MAKE} -DNOCRYPT obj; \
+ ${MAKE} -DNOCRYPT depend; \
+ ${MAKE} -DNOCRYPT all; \
+ ${MAKE} -DNOCRYPT install
+.endfor
+
+.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud