From c489d65b82622709b456c3b4578443a7ea5aafaa Mon Sep 17 00:00:00 2001 From: markm Date: Sat, 4 May 1996 08:32:07 +0000 Subject: Add extra targets a' la' eBones/Makefile for release/Makefile. (bootstrap etc) --- secure/Makefile | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to 'secure') diff --git a/secure/Makefile b/secure/Makefile index 8ef5dfc..e74ab8e 100644 --- a/secure/Makefile +++ b/secure/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.7 1995/07/29 12:48:56 markm Exp $ +# $Id: Makefile,v 1.8 1995/09/29 20:22:44 ache Exp $ # 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 @@ -6,5 +6,30 @@ SUBDIR= lib usr.bin -.include +SDIR= ${.CURDIR}/.. + +CODAI= ${MAKE} ${MFLAGS} cleandir; \ + ${MAKE} ${MFLAGS} obj; \ + ${MAKE} ${MFLAGS} depend all install + +CODAD= ${MAKE} ${MFLAGS} MAKE_EBONES=yes cleandir; \ + ${MAKE} ${MFLAGS} MAKE_EBONES=yes obj; \ + ${MAKE} ${MFLAGS} MAKE_EBONES=yes 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 -- cgit v1.1