Makefile revision 115842
1# $FreeBSD: head/secure/Makefile 115842 2003-06-04 16:10:20Z markm $
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
7SUBDIR= lib libexec usr.bin usr.sbin
8
9SDIR= ${.CURDIR}/..
10
11CODAI=	${MAKE} ${MFLAGS} cleandir; \
12	${MAKE} ${MFLAGS} obj; \
13	${MAKE} ${MFLAGS} depend all install
14
15CODAD=	${MAKE} ${MFLAGS} cleandir; \
16	${MAKE} ${MFLAGS} obj; \
17	${MAKE} ${MFLAGS} depend all distribute
18
19# These are the programs which depend on secure libs
20sprog:
21	cd ${SDIR}/bin/ed; ${CODAI}
22	cd ${SDIR}/sbin/init; ${CODAI}
23
24bootstrap:
25	( cd include; ${MAKE} ${MFLAGS} install )
26	( cd lib; ${MAKE} ${MFLAGS} depend all install )
27	${MAKE} ${MFLAGS} cleandir
28	${MAKE} ${MFLAGS} obj
29	${MAKE} ${MFLAGS} depend all install sprog
30
31.include <bsd.subdir.mk>
32