version 1.119, 2013/06/17 19:16:02 |
version 1.125, 2015/08/23 14:22:56 |
|
|
# |
# |
# 5) If you want to setup a cross-build environment, there is a "cross-gcc" |
# 5) If you want to setup a cross-build environment, there is a "cross-gcc" |
# target available which upon completion of: |
# target available which upon completion of: |
# make -f Makefile.cross TARGET=<target> cross-gcc" |
# "make -f Makefile.cross TARGET=<target> cross-gcc" |
# (where <target> is one of the names in the /sys/arch directory) will produce |
# (where <target> is one of the names in the /sys/arch directory) will produce |
# a set of compilation tools along with the includes in the /usr/cross/<target> |
# a set of compilation tools along with the includes in the /usr/cross/<target> |
# directory. The "cross-distrib" target will build cross-tools as well as |
# directory. The "cross-distrib" target will build cross-tools as well as |
|
|
|
|
SUBDIR+= sys |
SUBDIR+= sys |
|
|
.if (${KERBEROS5:L} == "yes") |
|
SUBDIR+=kerberosV/tools |
|
SUBDIR+=kerberosV/libexec |
|
SUBDIR+=kerberosV/usr.bin |
|
SUBDIR+=kerberosV/usr.sbin |
|
.endif |
|
|
|
.if make(clean) || make(cleandir) || make(obj) |
.if make(clean) || make(cleandir) || make(obj) |
SUBDIR+= distrib regress |
SUBDIR+= etc distrib regress |
.endif |
.endif |
|
|
regression-tests: |
regression-tests: |
|
|
afterinstall: |
afterinstall: |
.ifndef NOMAN |
.ifndef NOMAN |
cd ${.CURDIR}/share/man && exec ${MAKE} makedb |
cd ${.CURDIR}/share/man && exec ${MAKE} makedb |
|
cd ${.CURDIR}/distrib/sets && exec ${MAKE} makedb |
.endif |
.endif |
|
|
.ifdef DESTDIR |
.ifdef DESTDIR |
|
|
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 |
|
${SUDO} /bin/sh ${.CURDIR}/distrib/sets/makeetcset ${.CURDIR} ${MAKE} |
.endif |
.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 \ |