Browse Source

Provide a method to do prerequisites needed before

installation of includes can happen.  Do these before and not run via ${SUDO}.
OPENBSD_2_5
niklas 26 years ago
parent
commit
63e446254e
1 changed files with 13 additions and 1 deletions
  1. +13
    -1
      src/include/Makefile

+ 13
- 1
src/include/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.60 1999/02/26 00:54:00 deraadt Exp $
# $OpenBSD: Makefile,v 1.61 1999/03/02 21:47:33 niklas Exp $
# $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $
# @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91
@ -33,16 +33,22 @@ DIRS= arpa protocols rpc rpcsvc
LDIRS= dev net netinet netinet6 netccitt netiso netns netipx nfs sys ufs vm ddb \
scsi netatalk isofs xfs
# Directories with an includes target
RDIRS= ../lib/libc_r ../lib/libcom_err ../lib/libcompat ../lib/libcurses \
../lib/libform ../lib/libmenu ../lib/libocurses ../lib/libossaudio \
../lib/libpanel ../lib/librpcsvc ../lib/libskey ../lib/libedit \
../lib/libpcap ../lib/libutil ../lib/libwrap ../lib/libz \
../sys/arch/${MACHINE}
# Directories with an includes target that use Makefile.bsd-wrapper
WDIRS= ../lib/libssl ../gnu/lib/libg++/libg++ ../gnu/lib/libg++/libio \
../gnu/lib/libg++/librx ../gnu/lib/libg++/libstdc++ \
../gnu/usr.bin/gcc ../gnu/lib/libgmp
# Places using Makefile.bsd-wrapper that needs a prerequisite target met
# before includes
PWDIRS= ../lib/libssl
NOOBJ= noobj
# Change SYS_INCLUDE in bsd.own.mk to "symlinks" if you don't want copies
@ -52,6 +58,12 @@ SYS_INCLUDE?= copies
RDIRS+= ../kerberosIV/include ../kerberosIV/kadm ../kerberosIV/krb
.endif
prereq:
@-for i in ${PWDIRS}; do \
echo preparing in ${.CURDIR}/$$i; \
(cd ${.CURDIR}/$$i; ${MAKE} -f Makefile.bsd-wrapper prereq) \
done
includes:
@echo installing ${FILES}
@-for i in ${FILES}; do \


Loading…
Cancel
Save