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