summaryrefslogtreecommitdiffstats
path: root/secure/Makefile
blob: 2b78992b660804f53983a1db18e7ca204d11ec5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $FreeBSD$

# lib must be first, or it will not work.  This is because we reference
# the lib's in the directory where they are built from the binaries we
# want to build.

MAINTAINER=	markm

SUBDIR= lib libexec usr.bin

SDIR= ${.CURDIR}/..

CODAI=	${MAKE} ${MFLAGS} cleandir; \
	${MAKE} ${MFLAGS} obj; \
	${MAKE} ${MFLAGS} depend all install

CODAD=	${MAKE} ${MFLAGS} cleandir; \
	${MAKE} ${MFLAGS} obj; \
	${MAKE} ${MFLAGS} depend all distribute

# These are the programs which depend on secure libs
sprog:
	cd ${SDIR}/bin/ed; ${CODAI}
	cd ${SDIR}/sbin/init; ${CODAI}

bootstrap:
	( cd include; ${MAKE} ${MFLAGS} install )
	( cd lib; ${MAKE} ${MFLAGS} depend all install )
	${MAKE} ${MFLAGS} cleandir
	${MAKE} ${MFLAGS} obj
	${MAKE} ${MFLAGS} depend all install sprog

help-distribute:	distribute
	cd ${SDIR}/bin/ed; ${CODAD}
	cd ${SDIR}/sbin/init; ${CODAD}

.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud