[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src

Annotation of src/Makefile, Revision 1.78

1.78    ! fgsch       1: #      $OpenBSD: Makefile,v 1.77 2001/09/07 19:35:37 mickey Exp $
1.1       deraadt     2:
1.16      deraadt     3: #
                      4: # For more information on building in tricky environments, please see
                      5: # the list of possible environment variables described in
                      6: # /usr/share/mk/bsd.README.
                      7: #
                      8: # Building recommendations:
                      9: #
                     10: # 1) If at all possible, put this source tree in /usr/src.  If /usr/src
                     11: # must be a symbolic link, setenv BSDSRCDIR to point to the real location.
                     12: #
                     13: # 2) It is also recommended that you compile with objects outside the
                     14: # source tree. To do this, ensure /usr/obj exists or points to some
                     15: # area of disk of sufficient size.  Then do "cd /usr/src; make obj".
                     16: # This will make a symbolic link called "obj" in each directory, as
                     17: # well as populate the /usr/obj properly with directories for the
                     18: # objects.
                     19: #
1.41      art        20: # 3) It is strongly recommended that you build and install a new kernel
                     21: # before rebuilding your system. Some of the new programs may use new
                     22: # functionality or depend on API changes that your old kernel doesn't have.
                     23: #
                     24: # 4) If you are reasonably sure that things will compile OK, use the
1.16      deraadt    25: # "make build" target supplied here. Good luck.
1.38      mickey     26: #
1.41      art        27: # 5) If you want to setup a cross-build environment, there is a "cross-tools"
1.38      mickey     28: # target available which upon completion of "make TARGET=<target> cross-tools"
                     29: # (where <target> is one of the names in the /sys/arch directory) will produce
                     30: # a set of compilation tools along with the includes in the /usr/cross/<target>
                     31: # directory.
                     32: #
1.16      deraadt    33:
1.6       mickey     34: .include <bsd.own.mk>  # for NOMAN, if it's there.
1.1       deraadt    35:
                     36: SUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share games
                     37: SUBDIR+= gnu
                     38:
1.5       tholo      39: SUBDIR+= sys lkm
1.1       deraadt    40:
1.58      espie      41: .if (${KERBEROS:L} == "yes")
1.2       tholo      42: SUBDIR+= kerberosIV
1.21      deraadt    43: .endif
                     44:
1.68      hin        45: .if (${KERBEROS5:L} == "yes")
                     46: SUBDIR+= kerberosV
                     47: .endif
                     48:
1.21      deraadt    49: .if   make(clean) || make(cleandir) || make(obj)
                     50: SUBDIR+= distrib
1.4       tholo      51: .endif
1.2       tholo      52:
1.1       deraadt    53: .if exists(regress)
                     54: .ifmake !(install)
                     55: SUBDIR+= regress
                     56: .endif
                     57:
                     58: regression-tests:
                     59:        @echo Running regression tests...
1.66      espie      60:        @cd ${.CURDIR}/regress && exec ${MAKE} regress
1.1       deraadt    61: .endif
1.10      deraadt    62:
                     63: includes:
1.67      niklas     64:        cd ${.CURDIR}/include && ${MAKE} prereq && exec ${SUDO} ${MAKE} includes
1.1       deraadt    65:
1.7       deraadt    66: beforeinstall:
1.66      espie      67:        cd ${.CURDIR}/etc && exec ${MAKE} DESTDIR=${DESTDIR} distrib-dirs
                     68:        cd ${.CURDIR}/include && exec ${MAKE} includes
1.1       deraadt    69:
                     70: afterinstall:
                     71: .ifndef NOMAN
1.66      espie      72:        cd ${.CURDIR}/share/man && exec ${MAKE} makedb
1.1       deraadt    73: .endif
                     74:
                     75: build:
1.19      kstailey   76: .ifdef GLOBAL_AUTOCONF_CACHE
1.60      angelos    77:        cp /dev/null ${GLOBAL_AUTOCONF_CACHE}
1.18      kstailey   78: .endif
1.66      espie      79:        cd ${.CURDIR}/share/mk && exec ${SUDO} ${MAKE} install
                     80:        cd ${.CURDIR}/include && ${MAKE} prereq && exec ${SUDO} ${MAKE} includes
1.43      millert    81:        ${SUDO} ${MAKE} cleandir
1.66      espie      82:        cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && \
                     83:            NOMAN=1 exec ${SUDO} ${MAKE} install
                     84:        cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && \
                     85:            NOMAN=1 exec ${SUDO} ${MAKE} install
1.58      espie      86: .if (${KERBEROS:L} == "yes")
1.66      espie      87:        cd ${.CURDIR}/kerberosIV/lib && ${MAKE} depend && ${MAKE} && \
                     88:            NOMAN=1 exec ${SUDO} ${MAKE} install
1.54      niklas     89: .endif
1.68      hin        90: .if (${KERBEROS5:L} == "yes")
                     91:        cd ${.CURDIR}/kerberosV/lib && ${MAKE} depend && ${MAKE} && \
                     92:            NOMAN=1 exec ${SUDO} ${MAKE} install
                     93: .endif
1.66      espie      94:        cd ${.CURDIR}/gnu/usr.bin/perl && \
1.51      millert    95:            ${MAKE} -f Makefile.bsd-wrapper depend && \
                     96:            ${MAKE} -f Makefile.bsd-wrapper perl.lib && \
1.66      espie      97:            exec ${SUDO} ${MAKE} -f Makefile.bsd-wrapper install.lib
                     98:        ${MAKE} depend && ${MAKE} && exec ${SUDO} ${MAKE} install
1.15      niklas     99:
                    100: .if !defined(TARGET)
                    101: cross-tools:
                    102:        echo "TARGET must be set"; exit 1
                    103: .else
1.48      imp       104: cross-tools:   cross-helpers cross-dirs cross-includes cross-binutils \
                    105:        cross-gcc cross-lib
1.15      niklas    106:
                    107: CROSSDIR=      ${DESTDIR}/usr/cross/${TARGET}
1.32      niklas    108: CROSSENV=      AR=${CROSSDIR}/usr/bin/ar AS=${CROSSDIR}/usr/bin/as \
                    109:                CC=${CROSSDIR}/usr/bin/cc CPP=${CROSSDIR}/usr/bin/cpp \
1.78    ! fgsch     110:                CXX=${CROSSDIR}/usr/bin/c++ \
1.32      niklas    111:                LD=${CROSSDIR}/usr/bin/ld NM=${CROSSDIR}/usr/bin/nm \
1.78    ! fgsch     112:                LORDER=/usr/bin/lorder RANLIB=${CROSSDIR}/usr/bin/ranlib \
1.32      niklas    113:                SIZE=${CROSSDIR}/usr/bin/size STRIP=${CROSSDIR}/usr/bin/strip \
1.34      niklas    114:                HOSTCC=cc
1.63      niklas    115: CROSSPATH=     ${PATH}:${CROSSDIR}/usr/bin
1.15      niklas    116:
1.70      art       117: .if (${TARGET} == "sparc64")
                    118: CROSSENV+= CPPFLAGS=-D__arch64__
                    119: CPPFLAGS=-D__arch64__
                    120: .endif
                    121:
1.75      art       122: cross-env:
                    123:        @echo ${CROSSENV} DESTDIR=${CROSSDIR}
                    124:
1.15      niklas    125: cross-helpers:
1.69      brad      126:        @-mkdir -p ${CROSSDIR}
1.15      niklas    127:        echo _MACHINE_ARCH | \
                    128:            cat ${.CURDIR}/sys/arch/${TARGET}/include/param.h - | \
1.70      art       129:            ${CPP} ${CPPFLAGS} -E -I${.CURDIR}/sys/arch | \
1.25      mickey    130:            sed -n '$$p' >${CROSSDIR}/TARGET_ARCH
1.15      niklas    131:        eval `grep '^osr=' sys/conf/newvers.sh`; \
                    132:           sed "s/\$$/-unknown-openbsd$$osr/" ${CROSSDIR}/TARGET_ARCH > \
                    133:           ${CROSSDIR}/TARGET_CANON
                    134:
1.48      imp       135: cross-dirs:    ${CROSSDIR}/stamp.dirs
                    136:        @-mkdir -p ${CROSSDIR}
                    137:        @-mkdir -p ${CROSSDIR}/usr/obj
                    138:        @-mkdir -p ${CROSSDIR}/usr/bin
1.63      niklas    139:        @-mkdir -p ${CROSSDIR}/usr/include/kerberosIV
1.68      hin       140:        @-mkdir -p ${CROSSDIR}/usr/include/kerberosV
1.78    ! fgsch     141:        @-mkdir -p ${CROSSDIR}/usr/lib/apache/include/xml
1.63      niklas    142:        @-mkdir -p ${CROSSDIR}/usr/libexec
1.48      imp       143:        @-mkdir -p ${CROSSDIR}/var/db
                    144:        @-mkdir -p ${CROSSDIR}/usr/`cat ${CROSSDIR}/TARGET_CANON`
                    145:        @ln -sf ${CROSSDIR}/usr/include \
1.78    ! fgsch     146:            ${CROSSDIR}/usr/`cat ${CROSSDIR}/TARGET_CANON`/include
1.48      imp       147:        @ln -sf ${CROSSDIR}/usr/lib \
                    148:            ${CROSSDIR}/usr/`cat ${CROSSDIR}/TARGET_CANON`/lib
                    149:        @-mkdir -p ${CROSSDIR}/usr/obj
                    150:        @-mkdir -p ${CROSSDIR}/usr/bin
                    151:        @-mkdir -p ${CROSSDIR}/usr/`cat ${CROSSDIR}/TARGET_CANON`/bin
                    152:
                    153: ${CROSSDIR}/stamp.dirs:
                    154:        @touch ${CROSSDIR}/stamp.dirs
                    155:
                    156: cross-includes:        cross-dirs
1.63      niklas    157:        cd include; \
                    158:            MACHINE=${TARGET} MACHINE_ARCH=`cat ${CROSSDIR}/TARGET_ARCH` \
                    159:            ${MAKE} prereq && \
                    160:            MACHINE=${TARGET} MACHINE_ARCH=`cat ${CROSSDIR}/TARGET_ARCH` \
1.47      imp       161:            ${MAKE} DESTDIR=${CROSSDIR} includes
1.15      niklas    162:
1.74      drahn     163: .if ${TARGET} == "macppc" || ${TARGET} == "alpha" || ${TARGET} == "hppa" || \
                    164:     ${TARGET} == "sparc64"|| ${TARGET} == "mvmeppc"
1.73      art       165: cross-binutils: cross-binutils-new cross-binutils-links
1.27      niklas    166: .else
1.73      art       167: cross-binutils: cross-binutils-old cross-binutils-links
1.27      niklas    168: .endif
                    169:
1.73      art       170: cross-binutils-new:    cross-dirs
1.15      niklas    171:        export BSDSRCDIR=`pwd`; \
                    172:            (cd ${.CURDIR}/gnu/usr.bin/binutils; \
                    173:            BSDOBJDIR=${CROSSDIR}/usr/obj \
                    174:            MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
                    175:            ${MAKE} -f Makefile.bsd-wrapper obj); \
                    176:            (cd ${CROSSDIR}/usr/obj/gnu/usr.bin/binutils; \
1.25      mickey    177:            /bin/sh ${BSDSRCDIR}/gnu/usr.bin/binutils/configure \
1.15      niklas    178:            --prefix ${CROSSDIR}/usr \
1.59      art       179:            --disable-nls --disable-gdbtk --disable-commonbfdlib \
1.15      niklas    180:            --target `cat ${CROSSDIR}/TARGET_CANON` && \
1.78    ! fgsch     181:            ${MAKE} CFLAGS="${CFLAGS}" && ${MAKE} install )
1.24      niklas    182:
1.29      niklas    183: cross-binutils-old: cross-gas cross-ar cross-ld cross-strip cross-size \
                    184:        cross-ranlib cross-nm
1.73      art       185:
                    186: cross-binutils-links: cross-dirs
1.64      niklas    187:        for cmd in ar as ld nm ranlib size strip; do \
1.73      art       188:            if [ ! -e ${CROSSDIR}/usr/bin/$$cmd -a -e ${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-$$cmd ]; then \
                    189:                ln -sf ${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-$$cmd \
                    190:                ${CROSSDIR}/usr/bin/$$cmd ;\
                    191:            elif [ -e ${CROSSDIR}/usr/bin/$$cmd -a ! -e ${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-$$cmd ]; then \
                    192:                ln -sf ${CROSSDIR}/usr/bin/$$cmd \
                    193:                ${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-$$cmd; \
                    194:            fi ;\
                    195:        done
1.27      niklas    196:
1.48      imp       197: cross-gas:     cross-dirs
1.36      mickey    198:        (cd ${.CURDIR}/gnu/usr.bin/gas; \
1.24      niklas    199:            BSDOBJDIR=${CROSSDIR}/usr/obj \
                    200:            BSDSRCDIR=${.CURDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
1.32      niklas    201:            ${MAKE} obj; \
1.24      niklas    202:            TARGET_MACHINE_ARCH=${TARGET} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
1.76      mickey    203:            ${MAKE} depend all; \
1.27      niklas    204:            TARGET_MACHINE_ARCH=${TARGET} \
                    205:            DESTDIR=${CROSSDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
                    206:            ${MAKE} NOMAN= install)
                    207:        ln -sf ${CROSSDIR}/usr/bin/as \
                    208:            ${CROSSDIR}/usr/`cat ${CROSSDIR}/TARGET_CANON`/bin/as
                    209:
1.48      imp       210: cross-ld:      cross-dirs
1.36      mickey    211:        (cd ${.CURDIR}/gnu/usr.bin/ld; \
1.27      niklas    212:            BSDOBJDIR=${CROSSDIR}/usr/obj \
                    213:            BSDSRCDIR=${.CURDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
1.32      niklas    214:            ${MAKE} obj; \
1.27      niklas    215:            TARGET_MACHINE_ARCH=${TARGET} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
1.76      mickey    216:            ${MAKE} NOMAN= depend all; \
1.27      niklas    217:            TARGET_MACHINE_ARCH=${TARGET} \
                    218:            DESTDIR=${CROSSDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
                    219:            ${MAKE} NOMAN= install)
                    220:        ln -sf ${CROSSDIR}/usr/bin/ld \
                    221:            ${CROSSDIR}/usr/`cat ${CROSSDIR}/TARGET_CANON`/bin/ld
                    222:
1.48      imp       223: cross-ar:      cross-dirs
1.36      mickey    224:        (cd ${.CURDIR}/usr.bin/ar; \
1.27      niklas    225:            BSDOBJDIR=${CROSSDIR}/usr/obj \
                    226:            BSDSRCDIR=${.CURDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
1.32      niklas    227:            ${MAKE} obj; \
1.76      mickey    228:            MAKEOBJDIR=obj.${MACHINE}.${TARGET} ${MAKE} NOMAN= depend all; \
1.24      niklas    229:            DESTDIR=${CROSSDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
                    230:            ${MAKE} NOMAN= install)
1.27      niklas    231:        ln -sf ${CROSSDIR}/usr/bin/ar \
                    232:            ${CROSSDIR}/usr/`cat ${CROSSDIR}/TARGET_CANON`/bin/ar
1.29      niklas    233:
1.48      imp       234: cross-ranlib:  cross-dirs
1.36      mickey    235:        (cd ${.CURDIR}/usr.bin/ranlib; \
1.29      niklas    236:            BSDOBJDIR=${CROSSDIR}/usr/obj \
                    237:            BSDSRCDIR=${.CURDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
1.32      niklas    238:            ${MAKE} obj; \
1.76      mickey    239:            MAKEOBJDIR=obj.${MACHINE}.${TARGET} ${MAKE} NOMAN= depend all; \
1.29      niklas    240:            DESTDIR=${CROSSDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
                    241:            ${MAKE} NOMAN= install)
                    242:        ln -sf ${CROSSDIR}/usr/bin/ranlib \
                    243:            ${CROSSDIR}/usr/`cat ${CROSSDIR}/TARGET_CANON`/bin/ranlib
                    244:
1.48      imp       245: cross-strip:   cross-dirs
1.36      mickey    246:        (cd ${.CURDIR}/usr.bin/strip; \
1.29      niklas    247:            BSDOBJDIR=${CROSSDIR}/usr/obj \
                    248:            BSDSRCDIR=${.CURDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
1.32      niklas    249:            ${MAKE} obj; \
1.29      niklas    250:            MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
1.76      mickey    251:            ${MAKE} TARGET_MACHINE_ARCH=${TARGET} NOMAN= depend all; \
1.29      niklas    252:            DESTDIR=${CROSSDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
                    253:            ${MAKE} TARGET_MACHINE_ARCH=${TARGET} NOMAN= install)
                    254:        ln -sf ${CROSSDIR}/usr/bin/strip \
                    255:            ${CROSSDIR}/usr/`cat ${CROSSDIR}/TARGET_CANON`/bin/strip
                    256:
1.48      imp       257: cross-size:    cross-dirs
1.36      mickey    258:        (cd ${.CURDIR}/usr.bin/size; \
1.29      niklas    259:            BSDOBJDIR=${CROSSDIR}/usr/obj \
                    260:            BSDSRCDIR=${.CURDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
1.32      niklas    261:            ${MAKE} obj; \
                    262:            MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
1.76      mickey    263:            ${MAKE} TARGET_MACHINE_ARCH=${TARGET} NOMAN= depend all; \
1.29      niklas    264:            DESTDIR=${CROSSDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
                    265:            ${MAKE} NOMAN= install)
                    266:        ln -sf ${CROSSDIR}/usr/bin/size \
                    267:            ${CROSSDIR}/usr/`cat ${CROSSDIR}/TARGET_CANON`/bin/size
                    268:
1.48      imp       269: cross-nm:      cross-dirs
1.36      mickey    270:        (cd ${.CURDIR}/usr.bin/nm; \
1.29      niklas    271:            BSDOBJDIR=${CROSSDIR}/usr/obj \
                    272:            BSDSRCDIR=${.CURDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
1.32      niklas    273:            ${MAKE} obj; \
                    274:            MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
1.76      mickey    275:            ${MAKE} TARGET_MACHINE_ARCH=${TARGET} NOMAN= depend all; \
1.29      niklas    276:            DESTDIR=${CROSSDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
                    277:            ${MAKE} NOMAN= install)
                    278:        ln -sf ${CROSSDIR}/usr/bin/nm \
                    279:            ${CROSSDIR}/usr/`cat ${CROSSDIR}/TARGET_CANON`/bin/nm
1.15      niklas    280:
1.48      imp       281: cross-gcc:     cross-dirs
1.52      mickey    282:        cd ${.CURDIR}/gnu/egcs/gcc; \
1.15      niklas    283:            BSDOBJDIR=${CROSSDIR}/usr/obj BSDSRCDIR=${.CURDIR} \
                    284:            MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
1.32      niklas    285:            ${MAKE} -f Makefile.bsd-wrapper obj
1.52      mickey    286:        (cd ${CROSSDIR}/usr/obj/gnu/egcs/gcc; \
                    287:            /bin/sh ${.CURDIR}/gnu/egcs/gcc/configure \
1.15      niklas    288:            --prefix ${CROSSDIR}/usr \
1.78    ! fgsch     289:            --target `cat ${CROSSDIR}/TARGET_CANON` \
        !           290:            --with-gxx-include-dir=${CROSSDIR}/usr/include/g++ && \
        !           291:            PATH=${CROSSPATH} ${MAKE} BISON=yacc LANGUAGES="c c++" \
1.63      niklas    292:            LDFLAGS=${LDSTATIC} build_infodir=. \
1.62      mickey    293:            GCC_FOR_TARGET="./xgcc -B./ -I${CROSSDIR}/usr/include" && \
1.78    ! fgsch     294:            ${MAKE} BISON=yacc LANGUAGES="c c++" LDFLAGS=${LDSTATIC} \
1.62      mickey    295:            GCC_FOR_TARGET="./xgcc -B./ -I${CROSSDIR}/usr/include" \
1.32      niklas    296:            build_infodir=. INSTALL_MAN= INSTALL_HEADERS_DIR= install)
1.31      niklas    297:        ln -sf ${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-gcc \
                    298:            ${CROSSDIR}/usr/bin/cc
1.78    ! fgsch     299:        ln -sf ${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-g++ \
        !           300:            ${CROSSDIR}/usr/bin/c++
1.63      niklas    301:        ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
1.75      art       302:            ${CROSSDIR}/usr/obj/gnu/egcs/gcc/cpp \
1.63      niklas    303:            ${CROSSDIR}/usr/libexec/cpp
                    304:        sed -e 's#/usr/libexec/cpp#${CROSSDIR}/usr/libexec/cpp#' \
1.36      mickey    305:            -e 's#/usr/include#${CROSSDIR}/usr/include#' \
                    306:            ${.CURDIR}/usr.bin/cpp/cpp.sh > ${CROSSDIR}/usr/bin/cpp
1.31      niklas    307:        chmod ${BINMODE} ${CROSSDIR}/usr/bin/cpp
1.63      niklas    308:        chown ${BINOWN}:${BINGRP} ${CROSSDIR}/usr/bin/cpp
1.32      niklas    309:
1.46      niklas    310: # XXX MAKEOBJDIR maybe should be obj.${TARGET} here, revisit later
1.48      imp       311: cross-lib:     cross-dirs
1.32      niklas    312:        MACHINE=${TARGET} MACHINE_ARCH=`cat ${CROSSDIR}/TARGET_ARCH`; \
                    313:        export MACHINE MACHINE_ARCH; \
1.36      mickey    314:        (cd ${.CURDIR}/lib; \
1.32      niklas    315:            BSDOBJDIR=${CROSSDIR}/usr/obj \
                    316:            BSDSRCDIR=${.CURDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
                    317:            ${MAKE} obj; \
                    318:            for lib in csu libc; do \
                    319:                (cd $$lib; \
1.34      niklas    320:                    ${CROSSENV} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
1.46      niklas    321:                    ${MAKE} NOMAN= depend; \
                    322:                    ${CROSSENV} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
1.34      niklas    323:                    ${MAKE} NOMAN=; \
1.39      mickey    324:                    ${CROSSENV} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
                    325:                    DESTDIR=${CROSSDIR} ${MAKE} NOMAN= install); \
1.32      niklas    326:            done; \
1.46      niklas    327:            ${CROSSENV} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
                    328:            ${MAKE} NOMAN= depend; \
1.34      niklas    329:            ${CROSSENV} MAKEOBJDIR=obj.${MACHINE}.${TARGET} ${MAKE} NOMAN=; \
1.39      mickey    330:            ${CROSSENV} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
                    331:            DESTDIR=${CROSSDIR} SKIPDIR=libocurses/PSD.doc \
                    332:            ${MAKE} NOMAN= install)
1.58      espie     333: .if (${KERBEROS:L} == "yes")
1.63      niklas    334:        MACHINE=${TARGET} MACHINE_ARCH=`cat ${CROSSDIR}/TARGET_ARCH`; \
                    335:        export MACHINE MACHINE_ARCH; \
                    336:        cd kerberosIV/lib; \
1.68      hin       337:        BSDOBJDIR=${CROSSDIR}/usr/obj BSDSRCDIR=${.CURDIR} \
                    338:            MAKEOBJDIR=obj.${MACHINE}.${TARGET} ${MAKE} obj; \
                    339:        ${CROSSENV} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
                    340:            ${MAKE} NOMAN= depend; \
                    341:        ${CROSSENV} MAKEOBJDIR=obj.${MACHINE}.${TARGET} ${MAKE} NOMAN=; \
                    342:        ${CROSSENV} DESTDIR=${CROSSDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
                    343:            ${MAKE} NOMAN= install
                    344: .endif
                    345: .if (${KERBEROS5:L} == "yes")
                    346:        MACHINE=${TARGET} MACHINE_ARCH=`cat ${CROSSDIR}/TARGET_ARCH`; \
                    347:        export MACHINE MACHINE_ARCH; \
                    348:        cd kerberosV/lib; \
1.63      niklas    349:        BSDOBJDIR=${CROSSDIR}/usr/obj BSDSRCDIR=${.CURDIR} \
                    350:            MAKEOBJDIR=obj.${MACHINE}.${TARGET} ${MAKE} obj; \
                    351:        ${CROSSENV} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
                    352:            ${MAKE} NOMAN= depend; \
                    353:        ${CROSSENV} MAKEOBJDIR=obj.${MACHINE}.${TARGET} ${MAKE} NOMAN=; \
                    354:        ${CROSSENV} DESTDIR=${CROSSDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
                    355:            ${MAKE} NOMAN= install
1.47      imp       356: .endif
1.15      niklas    357: .endif
1.1       deraadt   358:
                    359: .include <bsd.subdir.mk>