version 1.112, 2005/01/09 20:36:20 |
version 1.116, 2011/04/24 22:04:43 |
|
|
# Building recommendations: |
# Building recommendations: |
# |
# |
# 1) If at all possible, put this source tree in /usr/src. If /usr/src |
# 1) If at all possible, put this source tree in /usr/src. If /usr/src |
# must be a symbolic link, setenv BSDSRCDIR to point to the real location. |
# must be a symbolic link, set BSDSRCDIR in the environment to point to |
|
# the real location. |
# |
# |
# 2) It is also recommended that you compile with objects outside the |
# 2) It is also recommended that you compile with objects outside the |
# source tree. To do this, ensure /usr/obj exists or points to some |
# source tree. To do this, ensure /usr/obj exists or points to some |
|
|
SUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share games |
SUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share games |
SUBDIR+= gnu |
SUBDIR+= gnu |
|
|
SUBDIR+= sys lkm |
SUBDIR+= sys |
|
|
.if (${KERBEROS5:L} == "yes") |
.if (${KERBEROS5:L} == "yes") |
SUBDIR+= kerberosV |
SUBDIR+= kerberosV |
|
|
|
|
beforeinstall: |
beforeinstall: |
cd ${.CURDIR}/etc && exec ${MAKE} DESTDIR=${DESTDIR} distrib-dirs |
cd ${.CURDIR}/etc && exec ${MAKE} DESTDIR=${DESTDIR} distrib-dirs |
|
cd ${.CURDIR}/etc && exec ${MAKE} DESTDIR=${DESTDIR} install-mtree |
cd ${.CURDIR}/include && exec ${MAKE} includes |
cd ${.CURDIR}/include && exec ${MAKE} includes |
|
|
afterinstall: |
afterinstall: |
|
|
cd ${.CURDIR}/share/man && exec ${MAKE} makedb |
cd ${.CURDIR}/share/man && exec ${MAKE} makedb |
.endif |
.endif |
|
|
|
.ifdef DESTDIR |
build: |
build: |
|
@echo cannot build with DESTDIR set |
|
@false |
|
.else |
|
build: |
.ifdef GLOBAL_AUTOCONF_CACHE |
.ifdef GLOBAL_AUTOCONF_CACHE |
cp /dev/null ${GLOBAL_AUTOCONF_CACHE} |
cp /dev/null ${GLOBAL_AUTOCONF_CACHE} |
.endif |
.endif |
|
|
cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && \ |
cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && \ |
NOMAN=1 exec ${SUDO} ${MAKE} install |
NOMAN=1 exec ${SUDO} ${MAKE} install |
${MAKE} depend && ${MAKE} && exec ${SUDO} ${MAKE} install |
${MAKE} depend && ${MAKE} && exec ${SUDO} ${MAKE} install |
|
.endif |
|
|
CROSS_TARGETS=cross-env cross-dirs cross-obj cross-includes cross-binutils \ |
CROSS_TARGETS=cross-env cross-dirs cross-obj cross-includes cross-binutils \ |
cross-gcc cross-tools cross-lib cross-bin cross-etc-root-var \ |
cross-gcc cross-tools cross-lib cross-bin cross-etc-root-var \ |