Prep for GCC 3.x kernel compiles, stage 1/2: Remove bad C syntax including
[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.2 2003/06/17 04:27:42 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 MAINTAINER=     markm
9
10 SUBDIR= lib libexec usr.bin usr.sbin
11
12 SDIR= ${.CURDIR}/..
13
14 CODAI=  ${MAKE} ${MFLAGS} cleandir; \
15         ${MAKE} ${MFLAGS} obj; \
16         ${MAKE} ${MFLAGS} depend all install
17
18 CODAD=  ${MAKE} ${MFLAGS} cleandir; \
19         ${MAKE} ${MFLAGS} obj; \
20         ${MAKE} ${MFLAGS} depend all distribute
21
22 # These are the programs which depend on secure libs
23 sprog:
24         cd ${SDIR}/bin/ed; ${CODAI}
25         cd ${SDIR}/sbin/init; ${CODAI}
26
27 bootstrap:
28         ( cd include; ${MAKE} ${MFLAGS} install )
29         ( cd lib; ${MAKE} ${MFLAGS} depend all install )
30         ${MAKE} ${MFLAGS} cleandir
31         ${MAKE} ${MFLAGS} obj
32         ${MAKE} ${MFLAGS} depend all install sprog
33
34 .include <bsd.subdir.mk>