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

Annotation of src/Makefile, Revision 1.57

1.57    ! perry       1: #      $NetBSD: Makefile,v 1.56 1998/05/27 06:38:37 scottr Exp $
1.32      cgd         2:
                      3: .include <bsd.own.mk>                  # for configuration variables.
1.4       cgd         4:
                      5: # NOTE THAT etc *DOES NOT* BELONG IN THE LIST BELOW
1.2       cgd         6:
1.52      mycroft     7: SUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share sys
1.36      explorer    8:
                      9: .if exists(games)
                     10: SUBDIR+= games
                     11: .endif
                     12:
1.8       cgd        13: SUBDIR+= gnu
1.52      mycroft    14: # This is needed for libstdc++ and gen-params.
                     15: includes-gnu: includes-include includes-sys
1.9       cgd        16:
1.21      cgd        17: .if exists(domestic) && !defined(EXPORTABLE_SYSTEM)
                     18: SUBDIR+= domestic
                     19: .endif
                     20:
1.13      brezak     21: .if exists(regress)
1.9       cgd        22: .ifmake !(install)
                     23: SUBDIR+= regress
                     24: .endif
                     25:
1.10      cgd        26: regression-tests:
                     27:        @echo Running regression tests...
1.22      cgd        28:        @(cd ${.CURDIR}/regress && ${MAKE} regress)
1.13      brezak     29: .endif
1.20      cgd        30:
1.26      tls        31: beforeinstall:
1.45      perry      32: .ifmake build
                     33:        @echo -n "Build started at: "
                     34:        @date
                     35: .endif
1.26      tls        36: .ifndef DESTDIR
                     37:        (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs)
1.31      tls        38: .else
                     39:        (cd ${.CURDIR}/etc && ${MAKE} distrib-dirs)
1.26      tls        40: .endif
1.15      cgd        41:
                     42: afterinstall:
1.19      cgd        43: .ifndef NOMAN
1.22      cgd        44:        (cd ${.CURDIR}/share/man && ${MAKE} makedb)
1.45      perry      45: .endif
1.15      cgd        46:
1.43      thorpej    47: build: beforeinstall
1.32      cgd        48:        (cd ${.CURDIR}/share/mk && ${MAKE} install)
1.47      thorpej    49:        (cd ${.CURDIR}/share/tmac && ${MAKE} && ${MAKE} install)
1.39      christos   50: .if !defined(UPDATE)
1.17      cgd        51:        ${MAKE} cleandir
1.39      christos   52: .endif
1.51      tv         53:        ${MAKE} includes
1.38      cgd        54:        (cd ${.CURDIR}/lib/csu && ${MAKE} depend && ${MAKE} && ${MAKE} install)
1.22      cgd        55:        (cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
                     56:        (cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
1.57    ! perry      57:        (cd ${.CURDIR}/gnu/usr.bin/gcc/libgcc && ${MAKE} depend && ${MAKE} && ${MAKE} install)
1.32      cgd        58: .if exists(domestic) && !defined(EXPORTABLE_SYSTEM)
1.46      thorpej    59: # libtelnet depends on libdes and libkrb.  libkrb depends on
                     60: # libcom_err.
1.49      lukem      61: .if exists(domestic/lib/libdes)
1.46      thorpej    62:        (cd ${.CURDIR}/domestic/lib/libdes && \
                     63:            ${MAKE} depend && ${MAKE} && ${MAKE} install)
1.49      lukem      64: .endif
                     65: .if exists(domestic/lib/libcom_err)
1.46      thorpej    66:        (cd ${.CURDIR}/domestic/lib/libcom_err && \
                     67:            ${MAKE} depend && ${MAKE} && ${MAKE} install)
1.49      lukem      68: .endif
                     69: .if exists(domestic/lib/libkrb)
1.44      mellon     70:        (cd ${.CURDIR}/domestic/lib/libkrb && \
                     71:            ${MAKE} depend && ${MAKE} && ${MAKE} install)
1.49      lukem      72: .endif
1.37      cjs        73:        (cd ${.CURDIR}/domestic/lib/ && ${MAKE} depend && ${MAKE} && \
1.32      cgd        74:            ${MAKE} install)
1.21      cgd        75: .endif
1.17      cgd        76:        ${MAKE} depend && ${MAKE} && ${MAKE} install
1.55      tv         77: .if    (${MACHINE_ARCH} == "arm32") || \
                     78:        (${MACHINE_ARCH} == "i386") || \
                     79:        (${MACHINE_ARCH} == "mips") || \
                     80:        (${MACHINE_ARCH} == "m68k") || \
                     81:        (${MACHINE_ARCH} == "ns32k") || \
                     82:        (${MACHINE_ARCH} == "sparc") || \
                     83:        (${MACHINE_ARCH} == "vax")
                     84: .if defined(USE_EGCS)
                     85:        (cd ${.CURDIR}/gnu/usr.bin/egcs/libgcc &&\
                     86:            ${MAKE} depend && ${MAKE} && ${MAKE} install)
                     87: .else
                     88:        (cd ${.CURDIR}/gnu/usr.bin/gcc/libgcc &&\
                     89:            ${MAKE} depend && ${MAKE} && ${MAKE} install)
                     90: .endif # USE_EGCS
                     91: .endif # MACHINE_ARCH
1.50      mellon     92:        @echo -n "Build finished at: "
                     93:        @date
1.1       cgd        94:
                     95: .include <bsd.subdir.mk>

CVSweb <webmaster@jp.NetBSD.org>