summaryrefslogtreecommitdiff
path: root/secure/Makefile
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2004-01-18 07:44:53 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2004-01-18 07:44:53 +0000
commit640e686c425436b77633e6b7c0a4d95f7742f457 (patch)
treec505c80a999b4856f1e710b8cb172554cd222f2c /secure/Makefile
parente5524baebf7ed7c0d64c8b4938f0af03dd4afcf3 (diff)
downloadsrc-test2-640e686c425436b77633e6b7c0a4d95f7742f457.tar.gz
src-test2-640e686c425436b77633e6b7c0a4d95f7742f457.zip
Notes
Diffstat (limited to 'secure/Makefile')
-rw-r--r--secure/Makefile24
1 files changed, 23 insertions, 1 deletions
diff --git a/secure/Makefile b/secure/Makefile
index 68ce6561d8b1..7261780f3a7e 100644
--- a/secure/Makefile
+++ b/secure/Makefile
@@ -2,7 +2,7 @@
SUBDIR= lib libexec usr.bin usr.sbin
-# These are programs which depend on crypto, but not Kerberos.
+# 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 \
@@ -11,4 +11,26 @@ SPROGS= bin/ed usr.sbin/ppp usr.sbin/pppd usr.sbin/tcpdump/tcpdump \
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>