xref: /freebsd/secure/Makefile (revision 2a4a1db342263067035ce69a4017c645da63455d)
1# $FreeBSD$
2
3# lib must be first, or it will not work.  This is because we reference
4# the lib's in the directory where they are built from the binaries we
5# want to build.
6
7MAINTAINER=	markm
8
9SUBDIR= lib libexec usr.bin usr.sbin
10
11SDIR= ${.CURDIR}/..
12
13CODAI=	${MAKE} ${MFLAGS} cleandir; \
14	${MAKE} ${MFLAGS} obj; \
15	${MAKE} ${MFLAGS} depend all install
16
17CODAD=	${MAKE} ${MFLAGS} cleandir; \
18	${MAKE} ${MFLAGS} obj; \
19	${MAKE} ${MFLAGS} depend all distribute
20
21# These are the programs which depend on secure libs
22sprog:
23	cd ${SDIR}/bin/ed; ${CODAI}
24	cd ${SDIR}/sbin/init; ${CODAI}
25
26bootstrap:
27	( cd include; ${MAKE} ${MFLAGS} install )
28	( cd lib; ${MAKE} ${MFLAGS} depend all install )
29	${MAKE} ${MFLAGS} cleandir
30	${MAKE} ${MFLAGS} obj
31	${MAKE} ${MFLAGS} depend all install sprog
32
33help-distribute:	distribute
34	cd ${SDIR}/bin/ed; ${CODAD}
35	cd ${SDIR}/sbin/init; ${CODAD}
36
37.include <bsd.subdir.mk>
38