xref: /freebsd/secure/Makefile (revision 7f3dea244c40159a41ab22da77a434d7c5b5e85a)
1#	$Id$
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 usr.bin
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