Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 48 lines (36 sloc) 1.163 kb
0395686 New-style RCS id.
thorpej authored
1 # $NetBSD: Makefile,v 1.25 1995/10/09 02:11:28 thorpej Exp $
a445358 change "Id" to "Header" in rcsid, and noted why etc was not in subdirs
cgd authored
2
3 # NOTE THAT etc *DOES NOT* BELONG IN THE LIST BELOW
729d7b8 after 0.2.2 "stable" patches applied
cgd authored
4
3c721b2 do "lib" first. otherwise you can be *really* screwed by a 'make ins…
cgd authored
5 SUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share games
a984b18 put all of the gnu stuff in one place
cgd authored
6 SUBDIR+= gnu
c589a90 initial import of 386bsd-0.1 sources
cgd authored
7
c330d79 allow toplevel makefile to descend into sys
cgd authored
8 SUBDIR+= sys
9
85fcbdf add 'domestic' to subdirs list, if it exists.
cgd authored
10 .if exists(domestic) && !defined(EXPORTABLE_SYSTEM)
11 SUBDIR+= domestic
12 .endif
13
72a7b88 Make regress only if directory exists. It can be optional.
brezak authored
14 .if exists(regress)
bfa953f add regress, but not for install. also, add "regress" target
cgd authored
15 .ifmake !(install)
16 SUBDIR+= regress
17 .endif
18
7e08344 oops, clean that up a bit
cgd authored
19 regression-tests:
20 @echo Running regression tests...
89cda50 work in the face of a /usr/src/obj directory
cgd authored
21 @(cd ${.CURDIR}/regress && ${MAKE} regress)
72a7b88 Make regress only if directory exists. It can be optional.
brezak authored
22 .endif
bfa953f add regress, but not for install. also, add "regress" target
cgd authored
23
0b6ae51 explicitly pull in bsd.own.mk, so that it's there for afterinstall.
cgd authored
24 .include <bsd.own.mk> # for NOMAN, if it's there.
25
a8e4d1c Comment out last change as it interferes with distribution building.
pk authored
26 #beforeinstall:
27 # (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs)
3c15833 stick distrib-dirs in beforeinstall -- should be cleaner?
tls authored
28
7413e10 add some new targets to DTRT when installing/building
cgd authored
29 afterinstall:
bc33876 if not installing man pages, don't remake whatis db
cgd authored
30 .ifndef NOMAN
89cda50 work in the face of a /usr/src/obj directory
cgd authored
31 (cd ${.CURDIR}/share/man && ${MAKE} makedb)
bc33876 if not installing man pages, don't remake whatis db
cgd authored
32 .endif
7413e10 add some new targets to DTRT when installing/building
cgd authored
33
34 build:
89cda50 work in the face of a /usr/src/obj directory
cgd authored
35 (cd ${.CURDIR}/include && ${MAKE} install)
83db53f don't use 'make' explicitly
cgd authored
36 ${MAKE} cleandir
89cda50 work in the face of a /usr/src/obj directory
cgd authored
37 (cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
38 (cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
85fcbdf add 'domestic' to subdirs list, if it exists.
cgd authored
39 .if exists(domestic)
89cda50 work in the face of a /usr/src/obj directory
cgd authored
40 (cd ${.CURDIR}/domestic/libcrypt && ${MAKE} depend && ${MAKE} && ${MAKE} install)
85fcbdf add 'domestic' to subdirs list, if it exists.
cgd authored
41 .endif
7413e10 add some new targets to DTRT when installing/building
cgd authored
42 .if exists(kerberosIV)
89cda50 work in the face of a /usr/src/obj directory
cgd authored
43 (cd ${.CURDIR}/kerberosIV && ${MAKE} depend && ${MAKE} && ${MAKE} install)
7413e10 add some new targets to DTRT when installing/building
cgd authored
44 .endif
83db53f don't use 'make' explicitly
cgd authored
45 ${MAKE} depend && ${MAKE} && ${MAKE} install
7413e10 add some new targets to DTRT when installing/building
cgd authored
46
c589a90 initial import of 386bsd-0.1 sources
cgd authored
47 .include <bsd.subdir.mk>
Something went wrong with that request. Please try again.