1 |
# $MidnightBSD$ |
2 |
# $FreeBSD: stable/10/secure/Makefile 291792 2015-12-04 18:14:31Z bdrewery $ |
3 |
|
4 |
.include <bsd.own.mk> |
5 |
|
6 |
SUBDIR= lib .WAIT \ |
7 |
libexec ${_tests} usr.bin usr.sbin |
8 |
SUBDIR_PARALLEL= |
9 |
|
10 |
.if ${MK_TESTS} != "no" |
11 |
_tests= tests |
12 |
.endif |
13 |
|
14 |
# These are the programs which depend on crypto, but not Kerberos. |
15 |
SPROGS= lib/libfetch lib/libpam lib/libradius lib/libtelnet \ |
16 |
bin/ed libexec/telnetd usr.bin/fetch usr.bin/telnet \ |
17 |
usr.sbin/ppp usr.sbin/tcpdump/tcpdump |
18 |
.if ${MK_SENDMAIL} != "no" |
19 |
SPROGS+=usr.sbin/sendmail |
20 |
.endif |
21 |
|
22 |
# This target is used to rebuild these programs with crypto. |
23 |
secure: .MAKE .PHONY |
24 |
.for entry in ${SPROGS} |
25 |
cd ${.CURDIR}/../${entry}; \ |
26 |
${MAKE} cleandir; \ |
27 |
${MAKE} obj; \ |
28 |
${MAKE} depend; \ |
29 |
${MAKE} all; \ |
30 |
${MAKE} install |
31 |
.endfor |
32 |
|
33 |
# This target is used to rebuild these programs without crypto. |
34 |
insecure: .MAKE .PHONY |
35 |
.for entry in ${SPROGS} |
36 |
cd ${.CURDIR}/../${entry}; \ |
37 |
${MAKE} -DWITHOUT_CRYPT cleandir; \ |
38 |
${MAKE} -DWITHOUT_CRYPT obj; \ |
39 |
${MAKE} -DWITHOUT_CRYPT depend; \ |
40 |
${MAKE} -DWITHOUT_CRYPT all; \ |
41 |
${MAKE} -DWITHOUT_CRYPT install |
42 |
.endfor |
43 |
|
44 |
.include <bsd.subdir.mk> |