Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 98 lines (84 sloc) 2.593 kb
cf75684 Pull up 1.45-1.50: make build fails!
mellon authored
1 # $NetBSD: Makefile,v 1.42.2.3 1998/02/20 01:41:41 mellon Exp $
448982f pull in bsd.own.mk earlier, to get configuration variables.
cgd authored
2
3 .include <bsd.own.mk> # for configuration variables.
a445358 change "Id" to "Header" in rcsid, and noted why etc was not in subdirs
cgd authored
4
5 # NOTE THAT etc *DOES NOT* BELONG IN THE LIST BELOW
729d7b8 after 0.2.2 "stable" patches applied
cgd authored
6
634e8c1 allow builds to work if directory games is missing. Closes pr misc/1921 ...
explorer authored
7 SUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share
8
9 .if exists(games)
10 SUBDIR+= games
11 .endif
12
a984b18 put all of the gnu stuff in one place
cgd authored
13 SUBDIR+= gnu
c589a90 initial import of 386bsd-0.1 sources
cgd authored
14
c330d79 allow toplevel makefile to descend into sys
cgd authored
15 SUBDIR+= sys
16
85fcbdf add 'domestic' to subdirs list, if it exists.
cgd authored
17 .if exists(domestic) && !defined(EXPORTABLE_SYSTEM)
18 SUBDIR+= domestic
19 .endif
20
72a7b88 Make regress only if directory exists. It can be optional.
brezak authored
21 .if exists(regress)
bfa953f add regress, but not for install. also, add "regress" target
cgd authored
22 .ifmake !(install)
23 SUBDIR+= regress
24 .endif
25
7e08344 oops, clean that up a bit
cgd authored
26 regression-tests:
27 @echo Running regression tests...
89cda50 work in the face of a /usr/src/obj directory
cgd authored
28 @(cd ${.CURDIR}/regress && ${MAKE} regress)
72a7b88 Make regress only if directory exists. It can be optional.
brezak authored
29 .endif
bfa953f add regress, but not for install. also, add "regress" target
cgd authored
30
f41d59f get krb4 includes installed, do distrib-dirs if DESTDIR not set
tls authored
31 beforeinstall:
c2adb23 Pull up 1.44 (mellon) and 1.45 (perry)
mellon authored
32 .ifmake build
33 @echo -n "Build started at: "
34 @date
35 .endif
f41d59f get krb4 includes installed, do distrib-dirs if DESTDIR not set
tls authored
36 .ifndef DESTDIR
37 (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs)
35e8ebf behaviour of 'make build' should not change if DESTDIR is set; this is a...
tls authored
38 .else
39 (cd ${.CURDIR}/etc && ${MAKE} distrib-dirs)
f41d59f get krb4 includes installed, do distrib-dirs if DESTDIR not set
tls authored
40 .endif
3c15833 stick distrib-dirs in beforeinstall -- should be cleaner?
tls authored
41
7413e10 add some new targets to DTRT when installing/building
cgd authored
42 afterinstall:
bc33876 if not installing man pages, don't remake whatis db
cgd authored
43 .ifndef NOMAN
89cda50 work in the face of a /usr/src/obj directory
cgd authored
44 (cd ${.CURDIR}/share/man && ${MAKE} makedb)
bc33876 if not installing man pages, don't remake whatis db
cgd authored
45 .endif
7413e10 add some new targets to DTRT when installing/building
cgd authored
46
ddb26f3 Pull up from trunk:
thorpej authored
47 build: beforeinstall
448982f pull in bsd.own.mk earlier, to get configuration variables.
cgd authored
48 (cd ${.CURDIR}/share/mk && ${MAKE} install)
cf75684 Pull up 1.45-1.50: make build fails!
mellon authored
49 (cd ${.CURDIR}/share/tmac && ${MAKE} && ${MAKE} install)
c2adb23 Pull up 1.44 (mellon) and 1.45 (perry)
mellon authored
50 .if exists(domestic) && !defined (EXPORTABLE_SYSTEM)
cf75684 Pull up 1.45-1.50: make build fails!
mellon authored
51 .if exists(domestic/usr.bin/compile_et)
c2adb23 Pull up 1.44 (mellon) and 1.45 (perry)
mellon authored
52 (cd ${.CURDIR}/domestic/usr.bin/compile_et && \
53 ${MAKE} depend && ${MAKE} && \
54 ${MAKE} install)
cf75684 Pull up 1.45-1.50: make build fails!
mellon authored
55 .endif
56 .if exists(domestic/usr.bin/make_cmds)
c2adb23 Pull up 1.44 (mellon) and 1.45 (perry)
mellon authored
57 (cd ${.CURDIR}/domestic/usr.bin/make_cmds && \
58 ${MAKE} depend && ${MAKE} && \
59 ${MAKE} install)
60 .endif
cf75684 Pull up 1.45-1.50: make build fails!
mellon authored
61 .endif
f955638 Added "${MAKE} includes" to build target
jtc authored
62 ${MAKE} includes
649cdeb Don't cleandir on make build when UPDATE is set.
christos authored
63 .if !defined(UPDATE)
83db53f don't use 'make' explicitly
cgd authored
64 ${MAKE} cleandir
649cdeb Don't cleandir on make build when UPDATE is set.
christos authored
65 .endif
231fb48 when doing 'make build', build lib/csu & install it before building
cgd authored
66 (cd ${.CURDIR}/lib/csu && ${MAKE} depend && ${MAKE} && ${MAKE} install)
89cda50 work in the face of a /usr/src/obj directory
cgd authored
67 (cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
68 (cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
c2adb23 Pull up 1.44 (mellon) and 1.45 (perry)
mellon authored
69 (cd ${.CURDIR}/usr.bin/lex &&\
70 ${MAKE} depend && ${MAKE} && ${MAKE} install)
71 (cd ${.CURDIR}/usr.bin/yacc && \
72 ${MAKE} depend && ${MAKE} && ${MAKE} install)
73 (cd ${.CURDIR}/usr.bin/xlint && \
74 ${MAKE} depend && ${MAKE} && ${MAKE} install)
448982f pull in bsd.own.mk earlier, to get configuration variables.
cgd authored
75 .if exists(domestic) && !defined(EXPORTABLE_SYSTEM)
cf75684 Pull up 1.45-1.50: make build fails!
mellon authored
76 # libtelnet depends on libdes and libkrb. libkrb depends on
77 # libcom_err.
78 .if exists(domestic/lib/libdes)
79 (cd ${.CURDIR}/domestic/lib/libdes && \
80 ${MAKE} depend && ${MAKE} && ${MAKE} install)
81 .endif
82 .if exists(domestic/lib/libcom_err)
83 (cd ${.CURDIR}/domestic/lib/libcom_err && \
84 ${MAKE} depend && ${MAKE} && ${MAKE} install)
85 .endif
86 .if exists(domestic/lib/libkrb)
c2adb23 Pull up 1.44 (mellon) and 1.45 (perry)
mellon authored
87 (cd ${.CURDIR}/domestic/lib/libkrb && \
88 ${MAKE} depend && ${MAKE} && ${MAKE} install)
cf75684 Pull up 1.45-1.50: make build fails!
mellon authored
89 .endif
296f692 All of domestic/lib now builds without errors, so we build it all.
cjs authored
90 (cd ${.CURDIR}/domestic/lib/ && ${MAKE} depend && ${MAKE} && \
448982f pull in bsd.own.mk earlier, to get configuration variables.
cgd authored
91 ${MAKE} install)
85fcbdf add 'domestic' to subdirs list, if it exists.
cgd authored
92 .endif
83db53f don't use 'make' explicitly
cgd authored
93 ${MAKE} depend && ${MAKE} && ${MAKE} install
cf75684 Pull up 1.45-1.50: make build fails!
mellon authored
94 @echo -n "Build finished at: "
95 @date
7413e10 add some new targets to DTRT when installing/building
cgd authored
96
c589a90 initial import of 386bsd-0.1 sources
cgd authored
97 .include <bsd.subdir.mk>
Something went wrong with that request. Please try again.