1994-12-22 15:43:45 +03:00
|
|
|
# $Id: Makefile,v 1.20 1994/12/22 12:43:45 cgd 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
|
|
|
|
|
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...
|
1994-02-10 11:50:06 +03:00
|
|
|
@(cd 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.
|
|
|
|
|
1994-02-07 08:08:57 +03:00
|
|
|
afterinstall:
|
1994-06-14 08:40:29 +04:00
|
|
|
.ifndef NOMAN
|
1994-02-10 04:47:47 +03:00
|
|
|
(cd share/man && ${MAKE} makedb)
|
1994-06-14 08:40:29 +04:00
|
|
|
.endif
|
1994-02-07 08:08:57 +03:00
|
|
|
|
|
|
|
build:
|
1994-02-10 04:47:47 +03:00
|
|
|
(cd include && ${MAKE} install)
|
|
|
|
${MAKE} cleandir
|
|
|
|
(cd lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
|
|
|
|
(cd gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
|
1994-02-07 08:08:57 +03:00
|
|
|
.if exists(kerberosIV)
|
1994-02-10 04:47:47 +03:00
|
|
|
(cd kerberosIV && ${MAKE} depend && ${MAKE} && ${MAKE} install)
|
1994-02-07 08:08:57 +03:00
|
|
|
.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>
|