summaryrefslogtreecommitdiffstats
path: root/secure/Makefile
blob: 7261780f3a7e519f89a0edeef34bdbf70c45ae7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $FreeBSD$

SUBDIR= lib libexec usr.bin usr.sbin

# These are the programs which depend on crypto, but not Kerberos.
SPROGS=	bin/ed usr.sbin/ppp usr.sbin/pppd usr.sbin/tcpdump/tcpdump \
	lib/libfetch usr.bin/fetch usr.sbin/pkg_install \
	lib/libpam \
	lib/libtelnet libexec/telnetd usr.bin/telnet
.if !defined(NO_SENDMAIL)
SPROGS+=usr.sbin/sendmail
.endif

# This target is used to rebuild these programs with crypto.
secure:
.for entry in ${SPROGS}
	cd ${.CURDIR}/../${entry}; \
	${MAKE} cleandir; \
	${MAKE} obj; \
	${MAKE} depend; \
	${MAKE} all; \
	${MAKE} install
.endfor

# This target is used to rebuild these programs without crypto.
insecure:
.for entry in ${SPROGS}
	cd ${.CURDIR}/../${entry}; \
	${MAKE} -DNOCRYPT cleandir; \
	${MAKE} -DNOCRYPT obj; \
	${MAKE} -DNOCRYPT depend; \
	${MAKE} -DNOCRYPT all; \
	${MAKE} -DNOCRYPT install
.endfor

.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud