1996-04-25 01:09:33 +00:00
|
|
|
# $NetBSD: Makefile,v 1.35 1996/04/25 01:09:33 jtc Exp $
|
1996-04-13 06:36:15 +00:00
|
|
|
|
|
|
|
.include <bsd.own.mk> # for configuration variables.
|
1993-03-22 08:43:59 +00:00
|
|
|
|
|
|
|
# NOTE THAT etc *DOES NOT* BELONG IN THE LIST BELOW
|
1993-03-21 18:04:42 +00:00
|
|
|
|
1993-12-08 04:51:25 +00:00
|
|
|
SUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share games
|
1993-04-29 12:42:00 +00:00
|
|
|
SUBDIR+= gnu
|
1993-03-21 09:45:37 +00:00
|
|
|
|
1993-07-04 14:02:11 +00:00
|
|
|
SUBDIR+= sys
|
|
|
|
|
1995-02-19 12:20:06 +00:00
|
|
|
.if exists(domestic) && !defined(EXPORTABLE_SYSTEM)
|
|
|
|
SUBDIR+= domestic
|
|
|
|
.endif
|
|
|
|
|
1993-07-07 12:55:48 +00:00
|
|
|
.if exists(regress)
|
1993-05-22 07:10:28 +00:00
|
|
|
.ifmake !(install)
|
|
|
|
SUBDIR+= regress
|
|
|
|
.endif
|
|
|
|
|
1993-05-22 07:15:13 +00:00
|
|
|
regression-tests:
|
|
|
|
@echo Running regression tests...
|
1995-02-26 01:10:19 +00:00
|
|
|
@(cd ${.CURDIR}/regress && ${MAKE} regress)
|
1993-07-07 12:55:48 +00:00
|
|
|
.endif
|
1993-05-22 07:10:28 +00:00
|
|
|
|
1995-12-09 22:39:46 +00:00
|
|
|
beforeinstall:
|
|
|
|
.ifndef DESTDIR
|
|
|
|
(cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs)
|
1996-03-18 09:55:25 +00:00
|
|
|
.else
|
|
|
|
(cd ${.CURDIR}/etc && ${MAKE} distrib-dirs)
|
1995-12-09 22:39:46 +00:00
|
|
|
.endif
|
1995-10-06 12:05:36 +00:00
|
|
|
|
1994-02-07 05:08:57 +00:00
|
|
|
afterinstall:
|
1994-06-14 04:40:29 +00:00
|
|
|
.ifndef NOMAN
|
1995-02-26 01:10:19 +00:00
|
|
|
(cd ${.CURDIR}/share/man && ${MAKE} makedb)
|
1994-06-14 04:40:29 +00:00
|
|
|
.endif
|
1994-02-07 05:08:57 +00:00
|
|
|
|
|
|
|
build:
|
1996-04-13 06:36:15 +00:00
|
|
|
(cd ${.CURDIR}/share/mk && ${MAKE} install)
|
1996-04-25 00:47:25 +00:00
|
|
|
${MAKE} includes
|
1994-02-10 01:47:47 +00:00
|
|
|
${MAKE} cleandir
|
1995-02-26 01:10:19 +00:00
|
|
|
(cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
|
|
|
|
(cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
|
1996-04-13 06:36:15 +00:00
|
|
|
.if exists(domestic) && !defined(EXPORTABLE_SYSTEM)
|
|
|
|
# XXX should do the whole of domestic/lib
|
|
|
|
(cd ${.CURDIR}/domestic/lib/libcrypt && ${MAKE} depend && ${MAKE} && \
|
|
|
|
${MAKE} install)
|
1995-02-19 12:20:06 +00:00
|
|
|
.endif
|
1994-02-10 01:47:47 +00:00
|
|
|
${MAKE} depend && ${MAKE} && ${MAKE} install
|
1994-02-07 05:08:57 +00:00
|
|
|
|
1993-03-21 09:45:37 +00:00
|
|
|
.include <bsd.subdir.mk>
|