[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src

Annotation of src/Makefile, Revision 1.67

1.67    ! christos    1: #      $NetBSD: Makefile,v 1.66 1998/08/27 14:11:45 tv Exp $
1.32      cgd         2:
                      3: .include <bsd.own.mk>                  # for configuration variables.
1.4       cgd         4:
1.58      tv          5: HAVE_GCC28!=   ${CXX} --version | egrep "^(2\.8|egcs)" ; echo
                      6:
1.4       cgd         7: # NOTE THAT etc *DOES NOT* BELONG IN THE LIST BELOW
1.2       cgd         8:
1.52      mycroft     9: SUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share sys
1.36      explorer   10:
                     11: .if exists(games)
                     12: SUBDIR+= games
                     13: .endif
                     14:
1.8       cgd        15: SUBDIR+= gnu
1.52      mycroft    16: # This is needed for libstdc++ and gen-params.
                     17: includes-gnu: includes-include includes-sys
1.9       cgd        18:
1.21      cgd        19: .if exists(domestic) && !defined(EXPORTABLE_SYSTEM)
                     20: SUBDIR+= domestic
                     21: .endif
                     22:
1.13      brezak     23: .if exists(regress)
1.9       cgd        24: .ifmake !(install)
                     25: SUBDIR+= regress
                     26: .endif
                     27:
1.10      cgd        28: regression-tests:
                     29:        @echo Running regression tests...
1.22      cgd        30:        @(cd ${.CURDIR}/regress && ${MAKE} regress)
1.13      brezak     31: .endif
1.20      cgd        32:
1.26      tls        33: beforeinstall:
1.45      perry      34: .ifmake build
                     35:        @echo -n "Build started at: "
                     36:        @date
                     37: .endif
1.26      tls        38: .ifndef DESTDIR
                     39:        (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs)
1.31      tls        40: .else
                     41:        (cd ${.CURDIR}/etc && ${MAKE} distrib-dirs)
1.26      tls        42: .endif
1.15      cgd        43:
                     44: afterinstall:
1.19      cgd        45: .ifndef NOMAN
1.22      cgd        46:        (cd ${.CURDIR}/share/man && ${MAKE} makedb)
1.45      perry      47: .endif
1.15      cgd        48:
1.43      thorpej    49: build: beforeinstall
1.32      cgd        50:        (cd ${.CURDIR}/share/mk && ${MAKE} install)
1.47      thorpej    51:        (cd ${.CURDIR}/share/tmac && ${MAKE} && ${MAKE} install)
1.39      christos   52: .if !defined(UPDATE)
1.17      cgd        53:        ${MAKE} cleandir
1.39      christos   54: .endif
1.51      tv         55:        ${MAKE} includes
1.61      mycroft    56:        (cd ${.CURDIR}/lib/csu && \
                     57:            ${MAKE} depend && NOMAN= ${MAKE} && NOMAN= ${MAKE} install)
                     58:        (cd ${.CURDIR}/lib && \
                     59:            ${MAKE} depend && NOMAN= ${MAKE} && NOMAN= ${MAKE} install)
                     60:        (cd ${.CURDIR}/gnu/lib && \
                     61:            ${MAKE} depend && NOMAN= ${MAKE} && NOMAN= ${MAKE} install)
1.67    ! christos   62: .if defined(USE_EGCS) && !empty(HAVE_GCC28)
1.64      tv         63:        (cd ${.CURDIR}/gnu/lib/libgcc && \
                     64:            ${MAKE} depend && NOMAN= ${MAKE} && NOMAN= ${MAKE} install)
1.60      mycroft    65: .else
1.66      tv         66: .if    (${MACHINE_ARCH} != "powerpc")
1.60      mycroft    67:        (cd ${.CURDIR}/gnu/usr.bin/gcc/libgcc && \
1.61      mycroft    68:            ${MAKE} depend && NOMAN= ${MAKE} && NOMAN= ${MAKE} install)
1.62      thorpej    69: .endif
1.60      mycroft    70: .endif
1.32      cgd        71: .if exists(domestic) && !defined(EXPORTABLE_SYSTEM)
1.46      thorpej    72: # libtelnet depends on libdes and libkrb.  libkrb depends on
                     73: # libcom_err.
1.49      lukem      74: .if exists(domestic/lib/libdes)
1.46      thorpej    75:        (cd ${.CURDIR}/domestic/lib/libdes && \
1.61      mycroft    76:            ${MAKE} depend && NOMAN= ${MAKE} && NOMAN= ${MAKE} install)
1.49      lukem      77: .endif
                     78: .if exists(domestic/lib/libcom_err)
1.46      thorpej    79:        (cd ${.CURDIR}/domestic/lib/libcom_err && \
1.61      mycroft    80:            ${MAKE} depend && NOMAN= ${MAKE} && NOMAN= ${MAKE} install)
1.49      lukem      81: .endif
                     82: .if exists(domestic/lib/libkrb)
1.44      mellon     83:        (cd ${.CURDIR}/domestic/lib/libkrb && \
1.61      mycroft    84:            ${MAKE} depend && NOMAN= ${MAKE} && NOMAN= ${MAKE} install)
1.49      lukem      85: .endif
1.60      mycroft    86:        (cd ${.CURDIR}/domestic/lib && \
1.61      mycroft    87:            ${MAKE} depend && NOMAN= ${MAKE} && NOMAN= ${MAKE} install)
1.21      cgd        88: .endif
1.17      cgd        89:        ${MAKE} depend && ${MAKE} && ${MAKE} install
1.64      tv         90: .if defined(USE_EGCS)
                     91: .if defined(DESTDIR) && (${HAVE_GCC28} == "")
                     92:        @echo '***** WARNING ***** Your system compiler is not GCC 2.8 or higher'
                     93:        @echo 'and you have built a distribution with GCC 2.8 and DESTDIR set.'
                     94:        @echo 'You will need to rebuild libgcc from gnu/usr.bin/egcs/libgcc'
                     95:        @echo 'in order to have full C++ support in the binary set.'
                     96: .else
                     97:        (cd ${.CURDIR}/gnu/lib/libgcc &&\
                     98:            ${MAKE} depend && ${MAKE} && ${MAKE} install)
                     99: .endif # DESTDIR && !HAVE_GCC28
                    100: .endif # USE_EGCS
1.50      mellon    101:        @echo -n "Build finished at: "
                    102:        @date
1.1       cgd       103:
                    104: .include <bsd.subdir.mk>

CVSweb <webmaster@jp.NetBSD.org>