Initial import from FreeBSD RELENG_4:
[dragonfly.git] / secure / Makefile
1 # $FreeBSD: src/secure/Makefile,v 1.16.2.1 2002/07/25 09:33:13 ru Exp $
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
7 MAINTAINER=     markm
8
9 SUBDIR= lib libexec usr.bin usr.sbin
10
11 SDIR= ${.CURDIR}/..
12
13 CODAI=  ${MAKE} ${MFLAGS} cleandir; \
14         ${MAKE} ${MFLAGS} obj; \
15         ${MAKE} ${MFLAGS} depend all install
16
17 CODAD=  ${MAKE} ${MFLAGS} cleandir; \
18         ${MAKE} ${MFLAGS} obj; \
19         ${MAKE} ${MFLAGS} depend all distribute
20
21 # These are the programs which depend on secure libs
22 sprog:
23         cd ${SDIR}/bin/ed; ${CODAI}
24         cd ${SDIR}/sbin/init; ${CODAI}
25
26 bootstrap:
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
33 .include <bsd.subdir.mk>