]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - secure/Makefile
sys: add conf/std.debug, generic debugging options
[FreeBSD/FreeBSD.git] / secure / Makefile
1
2 .include <src.opts.mk>
3
4 SUBDIR= lib .WAIT \
5         libexec usr.bin usr.sbin
6 SUBDIR_PARALLEL=
7
8 SUBDIR.${MK_TESTS}+= tests
9
10 SUBDIR.${MK_CAROOT}+= caroot
11
12 # These are the programs which depend on crypto, but not Kerberos.
13 SPROGS= lib/libfetch lib/libpam lib/libradius lib/libtelnet     \
14         bin/ed libexec/telnetd usr.bin/fetch usr.bin/telnet     \
15         usr.sbin/ppp usr.sbin/tcpdump/tcpdump
16 .if ${MK_SENDMAIL} != "no"
17 SPROGS+=usr.sbin/sendmail
18 .endif
19
20 # This target is used to rebuild these programs with crypto.
21 secure: .MAKE .PHONY
22 .for entry in ${SPROGS}
23         cd ${.CURDIR:H}/${entry}; \
24         ${MAKE} cleandir; \
25         ${MAKE} obj; \
26         ${MAKE} all; \
27         ${MAKE} install
28 .endfor
29
30 # This target is used to rebuild these programs without crypto.
31 insecure: .MAKE .PHONY
32 .for entry in ${SPROGS}
33         cd ${.CURDIR:H}/${entry}; \
34         ${MAKE} MK_CRYPT=no cleandir; \
35         ${MAKE} MK_CRYPT=no obj; \
36         ${MAKE} MK_CRYPT=no all; \
37         ${MAKE} MK_CRYPT=no install
38 .endfor
39
40 .include <bsd.subdir.mk>