version 1.30, 1996/03/18 09:53:11 |
version 1.41, 1997/05/29 14:23:02 |
|
|
# $NetBSD$ |
# $NetBSD$ |
|
|
|
.include <bsd.own.mk> # for configuration variables. |
|
|
# NOTE THAT etc *DOES NOT* BELONG IN THE LIST BELOW |
# NOTE THAT etc *DOES NOT* BELONG IN THE LIST BELOW |
|
|
SUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share games |
SUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share |
|
|
|
.if exists(games) |
|
SUBDIR+= games |
|
.endif |
|
|
SUBDIR+= gnu |
SUBDIR+= gnu |
|
|
SUBDIR+= sys |
SUBDIR+= sys |
Line 21 regression-tests: |
|
Line 28 regression-tests: |
|
@(cd ${.CURDIR}/regress && ${MAKE} regress) |
@(cd ${.CURDIR}/regress && ${MAKE} regress) |
.endif |
.endif |
|
|
.include <bsd.own.mk> # for NOMAN, if it's there. |
|
|
|
beforeinstall: |
beforeinstall: |
.ifndef DESTDIR |
.ifndef DESTDIR |
(cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs) |
(cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs) |
|
.else |
|
(cd ${.CURDIR}/etc && ${MAKE} distrib-dirs) |
.endif |
.endif |
|
|
afterinstall: |
afterinstall: |
|
|
(cd ${.CURDIR}/share/man && ${MAKE} makedb) |
(cd ${.CURDIR}/share/man && ${MAKE} makedb) |
.endif |
.endif |
|
|
build: |
oldbuild: |
.if exists(domestic) |
|
(cd ${.CURDIR}/domestic/include && ${MAKE} install) |
|
.endif |
|
(cd ${.CURDIR}/include && ${MAKE} install) |
|
(cd ${.CURDIR}/share/mk && ${MAKE} install) |
(cd ${.CURDIR}/share/mk && ${MAKE} install) |
|
${MAKE} includes |
|
.if !defined(UPDATE) |
${MAKE} cleandir |
${MAKE} cleandir |
|
.endif |
|
(cd ${.CURDIR}/lib/csu && ${MAKE} depend && ${MAKE} && ${MAKE} install) |
(cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install) |
(cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install) |
(cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install) |
(cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install) |
.if exists(domestic) |
.if exists(domestic) && !defined(EXPORTABLE_SYSTEM) |
(cd ${.CURDIR}/domestic/lib/libcrypt && ${MAKE} depend && ${MAKE} && ${MAKE} install) |
(cd ${.CURDIR}/domestic/lib/ && ${MAKE} depend && ${MAKE} && \ |
|
${MAKE} install) |
.endif |
.endif |
${MAKE} depend && ${MAKE} && ${MAKE} install |
${MAKE} depend && ${MAKE} && ${MAKE} install |
|
|
|
build: |
|
@# can't do domestic includes until crt0.o, etc. is built. |
|
${MAKE} EXPORTABLE_SYSTEM=1 includes |
|
.if !defined(UPDATE) |
|
${MAKE} cleandir |
|
.endif |
|
(cd ${.CURDIR}/lib/csu && ${MAKE} depend && ${MAKE}) |
|
(cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE}) |
|
(cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE}) |
|
.if exists(domestic) && !defined(EXPORTABLE_SYSTEM) |
|
(cd ${.CURDIR}/domestic && ${MAKE} includes) |
|
(cd ${.CURDIR}/domestic/lib/ && ${MAKE} depend && ${MAKE}) |
|
.endif |
|
${MAKE} depend && ${MAKE} |
|
|
.include <bsd.subdir.mk> |
.include <bsd.subdir.mk> |