4e2e48bd08bc54f72e5b9a7930f7279aabfe36a9
[dragonfly.git] / secure / Makefile
1 # $FreeBSD: src/secure/Makefile,v 1.16.2.1 2002/07/25 09:33:13 ru Exp $
2 # $DragonFly: src/secure/Makefile,v 1.3 2004/01/31 06:56:41 dillon Exp $
3
4 # lib must be first, or it will not work.  This is because we reference
5 # the lib's in the directory where they are built from the binaries we
6 # want to build.
7
8 SUBDIR= lib libexec usr.bin usr.sbin
9
10 SDIR= ${.CURDIR}/..
11
12 CODAI=  ${MAKE} ${MFLAGS} cleandir; \
13         ${MAKE} ${MFLAGS} obj; \
14         ${MAKE} ${MFLAGS} depend all install
15
16 CODAD=  ${MAKE} ${MFLAGS} cleandir; \
17         ${MAKE} ${MFLAGS} obj; \
18         ${MAKE} ${MFLAGS} depend all distribute
19
20 # These are the programs which depend on secure libs
21 sprog:
22         cd ${SDIR}/bin/ed; ${CODAI}
23         cd ${SDIR}/sbin/init; ${CODAI}
24
25 bootstrap:
26         ( cd include; ${MAKE} ${MFLAGS} install )
27         ( cd lib; ${MAKE} ${MFLAGS} depend all install )
28         ${MAKE} ${MFLAGS} cleandir
29         ${MAKE} ${MFLAGS} obj
30         ${MAKE} ${MFLAGS} depend all install sprog
31
32 .include <bsd.subdir.mk>