summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc118
1 files changed, 4 insertions, 14 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 8f7a821..21c670d 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1,5 +1,5 @@
#
-# $Id: Makefile.inc1,v 1.47 1998/12/13 04:32:13 dillon Exp $
+# $Id: Makefile.inc1,v 1.48 1998/12/13 04:39:01 dillon Exp $
#
# Make command line options:
# -DCLOBBER will remove /usr/include
@@ -270,12 +270,12 @@ buildworld: check-objformat
@echo ">>> Cleaning up the ${OBJFORMAT} obj tree"
@echo "--------------------------------------------------------------"
cd ${.CURDIR}; ${BMAKE} -f Makefile.inc1 ${CLEANDIR:S/^/par-/}
-.endif
@echo
@echo "--------------------------------------------------------------"
@echo ">>> Rebuilding the ${OBJFORMAT} obj tree"
@echo "--------------------------------------------------------------"
cd ${.CURDIR}; ${BMAKE} -f Makefile.inc1 par-${OBJDIR}
+.endif
.if !defined(NOTOOLS)
@echo
@echo "--------------------------------------------------------------"
@@ -475,18 +475,8 @@ bootstrap:
.if defined(DESTDIR)
rm -f ${DESTDIR}/usr/src/sys
ln -s ${.CURDIR}/sys ${DESTDIR}/usr/src
- cd ${.CURDIR}/include; find -dx . | cpio -dump ${DESTDIR}/usr/include
-.for d in net netatm netinet posix4 sys vm machine
- if [ -h ${DESTDIR}/usr/include/$d ]; then \
- rm -f ${DESTDIR}/usr/include/$d ; \
- fi
-.endfor
- cd ${.CURDIR}/sys; \
- find -dx net netatm netinet posix4 sys vm -name '*.h' -o -type d | \
- cpio -dump ${DESTDIR}/usr/include
- mkdir -p ${DESTDIR}/usr/include/machine
- cd ${.CURDIR}/sys/${MACHINE_ARCH}/include; find -dx . -name '*.h' -o -type d | \
- cpio -dump ${DESTDIR}/usr/include/machine
+ cd ${.CURDIR}/include; ${MAKE} all
+ cd ${.CURDIR}/include; ${MAKE} beforeinstall
.endif
cd ${.CURDIR}/usr.bin/make; ${MAKE} ${MK_FLAGS} ${_DEPEND}; \
${MAKE} ${MK_FLAGS} all; \
OpenPOWER on IntegriCloud