version 1.48, 1999/02/02 08:53:32 |
version 1.52, 1999/12/22 21:25:24 |
|
|
.endif |
.endif |
|
|
includes: |
includes: |
(cd ${.CURDIR}/include; ${MAKE} includes) |
(cd ${.CURDIR}/include; ${MAKE} prereq; ${MAKE} includes) |
|
|
beforeinstall: |
beforeinstall: |
.ifndef DESTDIR |
.ifndef DESTDIR |
|
|
rm -f ${GLOBAL_AUTOCONF_CACHE} |
rm -f ${GLOBAL_AUTOCONF_CACHE} |
.endif |
.endif |
(cd ${.CURDIR}/share/mk && ${SUDO} ${MAKE} install) |
(cd ${.CURDIR}/share/mk && ${SUDO} ${MAKE} install) |
(cd ${.CURDIR}/include; ${SUDO} ${MAKE} includes) |
(cd ${.CURDIR}/include; ${MAKE} prereq; ${SUDO} ${MAKE} includes) |
${SUDO} ${MAKE} cleandir |
${SUDO} ${MAKE} cleandir |
(cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && \ |
(cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && \ |
${SUDO} ${MAKE} install) |
${SUDO} ${MAKE} install) |
(cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && \ |
(cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && \ |
${SUDO} ${MAKE} install) |
${SUDO} ${MAKE} install) |
|
(cd ${.CURDIR}/gnu/usr.bin/perl && \ |
|
${MAKE} -f Makefile.bsd-wrapper config.sh && \ |
|
${MAKE} -f Makefile.bsd-wrapper depend && \ |
|
${MAKE} -f Makefile.bsd-wrapper perl.lib && \ |
|
${SUDO} ${MAKE} -f Makefile.bsd-wrapper install.lib) |
.if (${MACHINE_ARCH} == "mips") |
.if (${MACHINE_ARCH} == "mips") |
ldconfig |
ldconfig |
.endif |
.endif |
|
|
LORDER=${CROSSDIR}/usr/bin/lorder \ |
LORDER=${CROSSDIR}/usr/bin/lorder \ |
RANLIB=${CROSSDIR}/usr/bin/ranlib \ |
RANLIB=${CROSSDIR}/usr/bin/ranlib \ |
SIZE=${CROSSDIR}/usr/bin/size STRIP=${CROSSDIR}/usr/bin/strip \ |
SIZE=${CROSSDIR}/usr/bin/size STRIP=${CROSSDIR}/usr/bin/strip \ |
|
LORDER=${CROSSDIR}/usr/bin/lorder \ |
HOSTCC=cc |
HOSTCC=cc |
|
|
cross-helpers: |
cross-helpers: |
|
|
--target `cat ${CROSSDIR}/TARGET_CANON` && \ |
--target `cat ${CROSSDIR}/TARGET_CANON` && \ |
${MAKE} CFLAGS=${CFLAGS} && ${MAKE} DESTDIR=${CROSSDIR} install) |
${MAKE} CFLAGS=${CFLAGS} && ${MAKE} DESTDIR=${CROSSDIR} install) |
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 755 \ |
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 755 \ |
${.CURDIR}/usr.bin/lorder/lorder.sh.gnm \ |
${.CURDIR}/usr.bin/lorder/lorder.sh \ |
${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-lorder |
${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-lorder |
ln -sf ${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-as \ |
ln -sf ${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-as \ |
${CROSSDIR}/usr/bin/as |
${CROSSDIR}/usr/bin/as |
|
|
${CROSSDIR}/usr/`cat ${CROSSDIR}/TARGET_CANON`/bin/nm |
${CROSSDIR}/usr/`cat ${CROSSDIR}/TARGET_CANON`/bin/nm |
|
|
cross-gcc: cross-dirs |
cross-gcc: cross-dirs |
cd ${.CURDIR}/gnu/usr.bin/gcc; \ |
cd ${.CURDIR}/gnu/egcs/gcc; \ |
BSDOBJDIR=${CROSSDIR}/usr/obj BSDSRCDIR=${.CURDIR} \ |
BSDOBJDIR=${CROSSDIR}/usr/obj BSDSRCDIR=${.CURDIR} \ |
MAKEOBJDIR=obj.${MACHINE}.${TARGET} \ |
MAKEOBJDIR=obj.${MACHINE}.${TARGET} \ |
${MAKE} -f Makefile.bsd-wrapper obj |
${MAKE} -f Makefile.bsd-wrapper obj |
(cd ${CROSSDIR}/usr/obj/gnu/usr.bin/gcc; \ |
(cd ${CROSSDIR}/usr/obj/gnu/egcs/gcc; \ |
/bin/sh ${.CURDIR}/gnu/usr.bin/gcc/configure \ |
/bin/sh ${.CURDIR}/gnu/egcs/gcc/configure \ |
--prefix ${CROSSDIR}/usr \ |
--prefix ${CROSSDIR}/usr \ |
--target `cat ${CROSSDIR}/TARGET_CANON` && \ |
--target `cat ${CROSSDIR}/TARGET_CANON` && \ |
${MAKE} BISON=yacc LANGUAGES=c LDFLAGS=${LDSTATIC} \ |
${MAKE} BISON=yacc LANGUAGES=c LDFLAGS=${LDSTATIC} \ |