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