1999-08-28 01:35:59 +00:00
|
|
|
# $FreeBSD$
|
1994-08-07 19:04:10 +00:00
|
|
|
|
1994-11-14 20:45:35 +00:00
|
|
|
# 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.
|
|
|
|
|
1999-08-17 13:39:28 +00:00
|
|
|
MAINTAINER= markm
|
|
|
|
|
2000-02-24 18:59:34 +00:00
|
|
|
SUBDIR= lib libexec usr.bin usr.sbin
|
1994-08-07 19:04:10 +00:00
|
|
|
|
1996-05-04 08:32:07 +00:00
|
|
|
SDIR= ${.CURDIR}/..
|
|
|
|
|
|
|
|
CODAI= ${MAKE} ${MFLAGS} cleandir; \
|
|
|
|
${MAKE} ${MFLAGS} obj; \
|
|
|
|
${MAKE} ${MFLAGS} depend all install
|
|
|
|
|
1997-10-05 09:40:24 +00:00
|
|
|
CODAD= ${MAKE} ${MFLAGS} cleandir; \
|
|
|
|
${MAKE} ${MFLAGS} obj; \
|
|
|
|
${MAKE} ${MFLAGS} depend all distribute
|
1996-05-04 08:32:07 +00:00
|
|
|
|
|
|
|
# These are the programs which depend on secure libs
|
|
|
|
sprog:
|
|
|
|
cd ${SDIR}/bin/ed; ${CODAI}
|
|
|
|
cd ${SDIR}/sbin/init; ${CODAI}
|
1994-08-07 19:04:10 +00:00
|
|
|
|
1996-05-04 08:32:07 +00:00
|
|
|
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>
|