]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - secure/Makefile
Change the current working directory to be inside the jail created by
[FreeBSD/releng/7.2.git] / secure / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 SUBDIR= lib libexec usr.bin usr.sbin
6
7 # These are the programs which depend on crypto, but not Kerberos.
8 SPROGS= lib/libfetch lib/libpam lib/libradius lib/libtelnet     \
9         bin/ed libexec/telnetd usr.bin/fetch usr.bin/telnet     \
10         usr.sbin/pkg_install usr.sbin/ppp usr.sbin/pppd         \
11         usr.sbin/tcpdump/tcpdump
12 .if ${MK_SENDMAIL} != "no"
13 SPROGS+=usr.sbin/sendmail
14 .endif
15
16 # This target is used to rebuild these programs with crypto.
17 secure:
18 .for entry in ${SPROGS}
19         cd ${.CURDIR}/../${entry}; \
20         ${MAKE} cleandir; \
21         ${MAKE} obj; \
22         ${MAKE} depend; \
23         ${MAKE} all; \
24         ${MAKE} install
25 .endfor
26
27 # This target is used to rebuild these programs without crypto.
28 insecure:
29 .for entry in ${SPROGS}
30         cd ${.CURDIR}/../${entry}; \
31         ${MAKE} -DWITHOUT_CRYPT cleandir; \
32         ${MAKE} -DWITHOUT_CRYPT obj; \
33         ${MAKE} -DWITHOUT_CRYPT depend; \
34         ${MAKE} -DWITHOUT_CRYPT all; \
35         ${MAKE} -DWITHOUT_CRYPT install
36 .endfor
37
38 .include <bsd.subdir.mk>