freebsd-dev/secure/Makefile
Ruslan Ermilov 640e686c42 Added two utility targets "secure" and "insecure", analogous to
"kerberize" and "dekerberize" in kerberos5/Makefile.  These can
be used to recompile bits with optional crypto support with and
without crypto, respectively.

Reviewed by:	markm
2004-01-18 07:44:53 +00:00

37 lines
880 B
Makefile

# $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>