]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - secure/Makefile
ping(8): Fix a mandoc related issue
[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 SUBDIR.${MK_CAROOT}+= caroot
12
13 # These are the programs which depend on crypto, but not Kerberos.
14 SPROGS= lib/libfetch lib/libpam lib/libradius lib/libtelnet     \
15         bin/ed libexec/telnetd usr.bin/fetch usr.bin/telnet     \
16         usr.sbin/ppp usr.sbin/tcpdump/tcpdump
17 .if ${MK_SENDMAIL} != "no"
18 SPROGS+=usr.sbin/sendmail
19 .endif
20
21 # This target is used to rebuild these programs with crypto.
22 secure: .MAKE .PHONY
23 .for entry in ${SPROGS}
24         cd ${.CURDIR:H}/${entry}; \
25         ${MAKE} cleandir; \
26         ${MAKE} obj; \
27         ${MAKE} all; \
28         ${MAKE} install
29 .endfor
30
31 # This target is used to rebuild these programs without crypto.
32 insecure: .MAKE .PHONY
33 .for entry in ${SPROGS}
34         cd ${.CURDIR:H}/${entry}; \
35         ${MAKE} MK_CRYPT=no cleandir; \
36         ${MAKE} MK_CRYPT=no obj; \
37         ${MAKE} MK_CRYPT=no all; \
38         ${MAKE} MK_CRYPT=no install
39 .endfor
40
41 .include <bsd.subdir.mk>