summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-10-15 21:19:56 +0000
committerwollman <wollman@FreeBSD.org>1994-10-15 21:19:56 +0000
commit3136e0c3972d7f0583b07b2dacb0a53549c5e519 (patch)
tree861f6be4c99cedab7d1bb80a9014375b3ed86ed9 /Makefile
parent378cac598e23272316e08a5b39ca22a3f5283cba (diff)
downloadFreeBSD-src-3136e0c3972d7f0583b07b2dacb0a53549c5e519.zip
FreeBSD-src-3136e0c3972d7f0583b07b2dacb0a53549c5e519.tar.gz
For those who want a little more control over their build process...
Added two new targets, `most' and `mostinstall', which compile and install (respectively) just the binaries from just the ``core'' parts of the system. This makes it easier to do something like the following (which I do): # cd /usr/src # make obj depend (scrutinize make output) # make most # make mostinstall ...which will not confuse things by installing new libraries, /usr/share, games, gcc (two extra times), and so on. Obviously, if you do this, then you have to be careful to watch for changes in include files and make macros, and do the appropriate thing in those cases. (It usually still doesn't involve building GCC three times or libc six.)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile38
1 files changed, 37 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1451b66..07494a4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
#
-# $Id: Makefile,v 1.25 1994/10/08 15:08:14 ache Exp $
+# $Id: Makefile,v 1.26 1994/10/11 23:33:00 ache Exp $
#
# Make command line options:
# -DCLOBBER will remove /usr/include and MOST of /usr/lib
@@ -152,6 +152,42 @@ cleandist:
${MAKE} obj
.endif
+installmost:
+ @echo "--------------------------------------------------------------"
+ @echo " Installing programs only"
+ @echo "--------------------------------------------------------------"
+ cd ${.CURDIR}/bin && ${MAKE} ${.MAKEFLAGS} install
+ cd ${.CURDIR}/sbin && ${MAKE} ${.MAKEFLAGS} install
+ cd ${.CURDIR}/libexec && ${MAKE} ${.MAKEFLAGS} install
+ cd ${.CURDIR}/usr.bin && ${MAKE} ${.MAKEFLAGS} install
+ cd ${.CURDIR}/usr.sbin && ${MAKE} ${.MAKEFLAGS} install
+ cd ${.CURDIR}/gnu/libexec && ${MAKE} ${.MAKEFLAGS} install
+ cd ${.CURDIR}/gnu/usr.bin && ${MAKE} ${.MAKEFLAGS} install
+#.if defined(MAKE_EBONES) && !defined(NOCRYPT)
+# cd ${.CURDIR}/eBones && ${MAKE} ${.MAKEFLAGS} installmost
+#.endif
+#.if !defined(NOSECURE) && !defined(NOCRYPT)
+# cd ${.CURDIR}/secure && ${MAKE} ${.MAKEFLAGS} installmost
+#.endif
+
+most:
+ @echo "--------------------------------------------------------------"
+ @echo " Building programs only"
+ @echo "--------------------------------------------------------------"
+ cd ${.CURDIR}/bin && ${MAKE} ${.MAKEFLAGS} all
+ cd ${.CURDIR}/sbin && ${MAKE} ${.MAKEFLAGS} all
+ cd ${.CURDIR}/libexec && ${MAKE} ${.MAKEFLAGS} all
+ cd ${.CURDIR}/usr.bin && ${MAKE} ${.MAKEFLAGS} all
+ cd ${.CURDIR}/usr.sbin && ${MAKE} ${.MAKEFLAGS} all
+ cd ${.CURDIR}/gnu/libexec && ${MAKE} ${.MAKEFLAGS} all
+ cd ${.CURDIR}/gnu/usr.bin && ${MAKE} ${.MAKEFLAGS} all
+#.if defined(MAKE_EBONES) && !defined(NOCRYPT)
+# cd ${.CURDIR}/eBones && ${MAKE} ${.MAKEFLAGS} most
+#.endif
+#.if !defined(NOSECURE) && !defined(NOCRYPT)
+# cd ${.CURDIR}/secure && ${MAKE} ${.MAKEFLAGS} most
+#.endif
+
mk:
@echo "--------------------------------------------------------------"
@echo " Rebuilding ${DESTDIR}/usr/share/mk"
OpenPOWER on IntegriCloud