Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 515 lines (457 sloc) 15.842 kb
f27a976d » riz
2011-03-08 Pull up following revision(s) (requested by jym in ticket #1565):
1 # $NetBSD: Makefile,v 1.262.2.5 2011/03/08 17:47:59 riz Exp $
46937431 » cjs
1999-04-01 Improve documentation.
2
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
3 #
46937431 » cjs
1999-04-01 Improve documentation.
4 # This is the top-level makefile for building NetBSD. For an outline of
5 # how to build a snapshot or release, as well as other release engineering
4152b202 » salo
2003-07-26 netbsd.org->NetBSD.org
6 # information, see http://www.NetBSD.org/developers/releng/index.html
46937431 » cjs
1999-04-01 Improve documentation.
7 #
8 # Not everything you can set or do is documented in this makefile. In
9 # particular, you should review the files in /usr/share/mk (especially
10 # bsd.README) for general information on building programs and writing
11 # Makefiles within this structure, and see the comments in src/etc/Makefile
12 # for further information on installation and release set options.
13 #
14 # Variables listed below can be set on the make command line (highest
15 # priority), in /etc/mk.conf (middle priority), or in the environment
16 # (lowest priority).
17 #
18 # Variables:
f7a8ac60 » sommerfeld
1999-11-30 Document MKOBJDIRS here, and sort the variable list in the comments
19 # DESTDIR is the target directory for installation of the compiled
20 # software. It defaults to /. Note that programs are built against
21 # libraries installed in DESTDIR.
0f2c0bee » lukem
2003-07-18 Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was d…
22 # MKMAN, if `no', will prevent building of manual pages.
23 # MKOBJDIRS, if not `no', will build object directories at
f7a8ac60 » sommerfeld
1999-11-30 Document MKOBJDIRS here, and sort the variable list in the comments
24 # an appropriate point in a build.
0f2c0bee » lukem
2003-07-18 Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was d…
25 # MKSHARE, if `no', will prevent building and installing
46937431 » cjs
1999-04-01 Improve documentation.
26 # anything in /usr/share.
0f2c0bee » lukem
2003-07-18 Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was d…
27 # MKUPDATE, if not `no', will avoid a `make cleandir' at the start of
6485a5c1 » enami
2002-06-20 Fix whitespace usage in comment.
28 # `make build', as well as having the effects listed in
29 # /usr/share/mk/bsd.README.
f40352f7 » mrg
2001-06-10 clarify some variable documentation; from cagney
30 # NOCLEANDIR, if defined, will avoid a `make cleandir' at the start
6485a5c1 » enami
2002-06-20 Fix whitespace usage in comment.
31 # of the `make build'.
f9790632 » toddpw
2000-08-05 Document the cool NOCLEANDIR/NOINCLUDES options that somebody added.
32 # NOINCLUDES will avoid the `make includes' usually done by `make build'.
46937431 » cjs
1999-04-01 Improve documentation.
33 #
0f2c0bee » lukem
2003-07-18 Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was d…
34 # See mk.conf(5) for more details.
35 #
36 #
46937431 » cjs
1999-04-01 Improve documentation.
37 # Targets:
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
38 # build:
46265030 » lukem
2003-01-03 Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
39 # Builds a full release of NetBSD in DESTDIR, except for the
40 # /etc configuration files.
41 # If BUILD_DONE is set, this is an empty target.
42 # distribution:
43 # Builds a full release of NetBSD in DESTDIR, including the /etc
44 # configuration files.
45 # buildworld:
46 # As per `make distribution', except that it ensures that DESTDIR
47 # is not the root directory.
48 # installworld:
49 # Install the distribution from DESTDIR to INSTALLWORLDDIR (which
50 # defaults to the root directory). Ensures that INSTALLWORLDDIR
51 # is the not root directory if cross compiling.
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
52 # release:
4903b14f » lukem
2005-08-25 Modify "release" to invoke "make distribution" instead of "make build",
53 # Does a `make distribution', and then tars up the DESTDIR files
f4612ce2 » lukem
2008-03-18 Consistently document RELEASEDIR/RELEASEMACHINEDIR.
54 # into ${RELEASEDIR}/${RELEASEMACHINEDIR}, in release(7) format.
46265030 » lukem
2003-01-03 Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
55 # (See etc/Makefile for more information on this.)
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
56 # regression-tests:
57 # Runs the regression tests in "regress" on this host.
b31e270e » lukem
2003-05-10 Add "sourcesets" argument/target, which builds source sets into
58 # sets:
f4612ce2 » lukem
2008-03-18 Consistently document RELEASEDIR/RELEASEMACHINEDIR.
59 # Populate ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/sets
60 # from ${DESTDIR}
b31e270e » lukem
2003-05-10 Add "sourcesets" argument/target, which builds source sets into
61 # sourcesets:
62 # Populate ${RELEASEDIR}/source/sets from ${NETBSDSRCDIR}
0934a2e5 » apb
2006-01-04 Add a new "syspkgs" target, which simply chains to the "syspkgs" target
63 # syspkgs:
f4612ce2 » lukem
2008-03-18 Consistently document RELEASEDIR/RELEASEMACHINEDIR.
64 # Populate ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/syspkgs
65 # from ${DESTDIR}
468bd5d1 » apb
2006-01-28 * Add an "iso-image" target in the top level Makefile,
66 # iso-image:
935a4703 » jnemeth
2007-08-30 Add an iso-image-source option which does the same thing as iso-image…
67 # Create CD-ROM image in RELEASEDIR/iso.
468bd5d1 » apb
2006-01-28 * Add an "iso-image" target in the top level Makefile,
68 # RELEASEDIR must already have been populated by `make release'
69 # or equivalent.
935a4703 » jnemeth
2007-08-30 Add an iso-image-source option which does the same thing as iso-image…
70 # iso-image-source:
71 # Create CD-ROM image with source in RELEASEDIR/iso.
72 # RELEASEDIR must already have been populated by
73 # `make release sourcesets' or equivalent.
c76af6d1 » mrg
2001-06-10 fix PR#12832: split `make build' up into these steps (from new the
74 #
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
75 # Targets invoked by `make build,' in order:
76 # cleandir: cleans the tree.
0a512a66 » apb
2008-10-25 Add a do-top-obj target, which builds the top-level obj directory.
77 # do-top-obj: creates the top level object directory.
02eeff4a » apb
2008-10-22 Defer the "make obj" step until after tools are built and installed.
78 # do-tools-obj: creates object directories for the host toolchain.
85a68ff2 » tv
2001-11-12 Major overhaul of src/tools and host toolchain. Summary of changes:
79 # do-tools: builds host toolchain.
02eeff4a » apb
2008-10-22 Defer the "make obj" step until after tools are built and installed.
80 # obj: creates object directories.
a7041f04 » tv
2001-09-22 Put do-make-tools before creating distrib-dirs (as binstall has to be
81 # do-distrib-dirs: creates the distribution directories.
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
82 # includes: installs include files.
be4d05d5 » lukem
2003-07-05 update "targets invoked by make build" to match reality ...
83 # do-tools-compat: builds the "libnbcompat" library; needed for some
84 # random host tool programs in the source tree.
5b1b90c7 » lukem
2005-01-01 correct the comment describing the build order
85 # do-lib-csu: builds and installs prerequisites from lib/csu.
d44e01bf » lukem
2007-09-07 Provide 'do-libgcc' to build gnu/lib/crtstuff${LIBGCC_EXT} (if necess…
86 # do-libgcc: builds and installs prerequisites from
87 # gnu/lib/crtstuff${LIBGCC_EXT} (if necessary) and
88 # gnu/lib/libgcc${LIBGCC_EXT}.
9ec880fb » gmcgarry
2008-08-24 Build pcc and pcc-based crtstuff if using pcc compiler.
89 # do-libpcc: builds and install prerequisites from
90 # external/bsd/pcc/crtstuff and external/bsd/pcc/libpcc.
7c3b4fc6 » thorpej
2002-09-14 Add a do-lib-libc target which is processed after do-lib-csu. This
91 # do-lib-libc: builds and installs prerequisites from lib/libc.
b9e597fe » tv
2001-10-24 Re-add intermediate dependall/install targets (do-lib-csu, do-lib,
92 # do-lib: builds and installs prerequisites from lib.
93 # do-gnu-lib: builds and installs prerequisites from gnu/lib.
9627298a » lukem
2008-05-22 Descend into external.
94 # do-external-lib: builds and installs prerequisites from external/lib.
66ba06c7 » pooka
2008-10-16 add do-sys-rump-net-lib
95 # do-sys-rump-fs-lib: builds and installs prerequisites from sys/rump/fs/lib
96 # do-sys-rump-net-lib: builds and installs prerequisites from sys/rump/net/lib
770f6820 » itohy
2002-11-12 MKDYNAMICROOT for a.out
97 # do-ld.so: builds and installs prerequisites from libexec/ld.*_so.
9f8b4a20 » mrg
2008-10-27 - enable 32-bit library builds on amd64 and sparc64
98 # do-compat-lib-csu: builds and installs prerequisites from compat/lib/csu
99 # if ${MKCOMPAT} != "no".
100 # do-compat-libgcc: builds and installs prerequisites from
101 # compat/gnu/lib/crtstuff${LIBGCC_EXT} (if necessary) and
102 # compat/gnu/lib/libgcc${LIBGCC_EXT} if ${MKCOMPAT} != "no".
103 # do-compat-lib-libc: builds and installs prerequisites from compat/lib/libc
104 # if ${MKCOMPAT} != "no".
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
105 # do-build: builds and installs the entire system.
e8757f77 » snj
2008-11-15 Pull up following revision(s) (requested by mrg in ticket #64):
106 # do-x11: builds and installs X11 if ${MKX11} != "no"; either
107 # X11R7 from src/external/mit/xorg if ${X11FLAVOUR} == "Xorg"
108 # or X11R6 from src/x11
ed6f193c » lukem
2003-12-05 fix some comments
109 # do-obsolete: installs the obsolete sets (for the postinstall-* targets).
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
110 #
448982f9 » cgd
1996-04-13 pull in bsd.own.mk earlier, to get configuration variables.
111
79154dd7 » tv
2001-10-31 * Always descend into "tools" regardless of USETOOLS setting. Instead,
112 .if ${.MAKEFLAGS:M${.CURDIR}/share/mk} == ""
113 .MAKEFLAGS: -m ${.CURDIR}/share/mk
114 .endif
115
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
116 #
9d29a4f2 » tv
2002-02-28 If _SRC_TOP_OBJ_ gets set here, we will end up with a directory that may
117 # If _SRC_TOP_OBJ_ gets set here, we will end up with a directory that may
118 # not be the top level objdir, because "make obj" can happen in the *middle*
119 # of "make build" (long after <bsd.own.mk> is calculated it). So, pre-set
120 # _SRC_TOP_OBJ_ here so it will not be added to ${.MAKEOVERRIDES}.
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
121 #
9d29a4f2 » tv
2002-02-28 If _SRC_TOP_OBJ_ gets set here, we will end up with a directory that may
122 _SRC_TOP_OBJ_=
123
79154dd7 » tv
2001-10-31 * Always descend into "tools" regardless of USETOOLS setting. Instead,
124 .include <bsd.own.mk>
a445358c » cgd
1993-03-22 change "Id" to "Header" in rcsid, and noted why etc was not in subdirs
125
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
126 #
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
127 # Sanity check: make sure that "make build" is not invoked simultaneously
128 # with a standard recursive target.
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
129 #
c2e4e203 » tv
1998-07-24 Fix the rebuild of libgcc:
130
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
131 .if make(build) || make(release) || make(snapshot)
132 .for targ in ${TARGETS:Nobj:Ncleandir}
133 .if make(${targ}) && !target(.BEGIN)
134 .BEGIN:
135 @echo 'BUILD ABORTED: "make build" and "make ${targ}" are mutually exclusive.'
136 @false
137 .endif
138 .endfor
046845e8 » bouyer
1998-12-22 Add a 'NBUILDJOBS' variable which control the number of jobs started in
139 .endif
140
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
141 #
0a512a66 » apb
2008-10-25 Add a do-top-obj target, which builds the top-level obj directory.
142 # _SUBDIR is used to set SUBDIR, after removing directories that have
143 # BUILD_${dir}=no, or that have no ${dir}/Makefile.
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
144 #
0a512a66 » apb
2008-10-25 Add a do-top-obj target, which builds the top-level obj directory.
145 _SUBDIR= tools lib include gnu external bin games libexec sbin usr.bin
9f8b4a20 » mrg
2008-10-27 - enable 32-bit library builds on amd64 and sparc64
146 _SUBDIR+= usr.sbin share rescue sys etc tests compat .WAIT distrib regress
e2c23145 » assar
2000-02-01 make sure include and include/sys are populated before starting to
147
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
148 .for dir in ${_SUBDIR}
0a512a66 » apb
2008-10-25 Add a do-top-obj target, which builds the top-level obj directory.
149 .if "${dir}" == ".WAIT" \
150 || (${BUILD_${dir}:Uyes} != "no" && exists(${dir}/Makefile))
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
151 SUBDIR+= ${dir}
634e8c11 » explorer
1996-08-10 allow builds to work if directory games is missing. Closes pr misc/19…
152 .endif
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
153 .endfor
c330d79b » cgd
1993-07-04 allow toplevel makefile to descend into sys
154
72a7b887 » brezak
1993-07-07 Make regress only if directory exists. It can be optional.
155 .if exists(regress)
e636f082 » dsl
2006-01-21 Add .MAKE to all targets that use ${MAKEDIRTARGET} otherwise make closes
156 regression-tests: .PHONY .MAKE
7e08344e » cgd
1993-05-22 oops, clean that up a bit
157 @echo Running regression tests...
8993a70c » lukem
2004-04-13 Convert lines of the form
158 ${MAKEDIRTARGET} regress regress
bc33876a » cgd
1994-06-14 if not installing man pages, don't remake whatis db
159 .endif
7413e101 » cgd
1994-02-07 add some new targets to DTRT when installing/building
160
0f2c0bee » lukem
2003-07-18 Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was d…
161 .if ${MKUNPRIVED} != "no"
62b38927 » thorpej
2002-06-26 Fix what rev. 1.176 broke, in particular, doing a priv'd build into
162 NOPOSTINSTALL= # defined
163 .endif
164
e636f082 » dsl
2006-01-21 Add .MAKE to all targets that use ${MAKEDIRTARGET} otherwise make closes
165 afterinstall: .PHONY .MAKE
a0e7536b » perry
2001-11-24 Add a new target (infodir-meta:) that synthesizes the share/info/dir
166 .if ${MKMAN} != "no"
8993a70c » lukem
2004-04-13 Convert lines of the form
167 ${MAKEDIRTARGET} share/man makedb
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
168 .endif
0f2c0bee » lukem
2003-07-18 Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was d…
169 .if (${MKUNPRIVED} != "no" && ${MKINFO} != "no")
8993a70c » lukem
2004-04-13 Convert lines of the form
170 ${MAKEDIRTARGET} gnu/usr.bin/texinfo/install-info infodir-meta
a0e7536b » perry
2001-11-24 Add a new target (infodir-meta:) that synthesizes the share/info/dir
171 .endif
62b38927 » thorpej
2002-06-26 Fix what rev. 1.176 broke, in particular, doing a priv'd build into
172 .if !defined(NOPOSTINSTALL)
8993a70c » lukem
2004-04-13 Convert lines of the form
173 ${MAKEDIRTARGET} . postinstall-check
52b04508 » lukem
2002-06-19 In afterinstall, only run postinstall check if DESTDIR == / (or equiv…
174 .endif
6c495ae8 » lukem
2002-04-29 move postinstall from afterinstall to separate "postinstall-check" ta…
175
c39ab168 » lukem
2005-04-17 use usr.sbin/postinstall/postinstall instead of etc/postinstall
176 _POSTINSTALL= ${.CURDIR}/usr.sbin/postinstall/postinstall
177
f1173c14 » lukem
2004-01-27 Apply the .PHONY attribute where appropriate.
178 postinstall-check: .PHONY
ff9a5bac » lukem
2002-04-27 run "./etc/postinstall check" in afterinstall:
179 @echo " === Post installation checks ==="
bbcf59d3 » msaitoh
2009-03-27 Pull up following revision(s) (requested by sketch in ticket #536):
180 AWK=${TOOL_AWK:Q} MAKE=${MAKE:Q} ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ check; if [ $$? -gt 1 ]; then exit 1; fi
ff9a5bac » lukem
2002-04-27 run "./etc/postinstall check" in afterinstall:
181 @echo " ================================"
182
f1173c14 » lukem
2004-01-27 Apply the .PHONY attribute where appropriate.
183 postinstall-fix: .NOTMAIN .PHONY
84bb4a22 » lukem
2002-04-29 we might as well provide a handy "postinstall-fix" target whilst here
184 @echo " === Post installation fixes ==="
bbcf59d3 » msaitoh
2009-03-27 Pull up following revision(s) (requested by sketch in ticket #536):
185 AWK=${TOOL_AWK:Q} MAKE=${MAKE:Q} ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ fix
67848806 » lukem
2003-07-17 Add postinstall-fix-obsolete (to invoke "postinstall fix obsolete" -
186 @echo " ==============================="
187
f1173c14 » lukem
2004-01-27 Apply the .PHONY attribute where appropriate.
188 postinstall-fix-obsolete: .NOTMAIN .PHONY
67848806 » lukem
2003-07-17 Add postinstall-fix-obsolete (to invoke "postinstall fix obsolete" -
189 @echo " === Removing obsolete files ==="
bbcf59d3 » msaitoh
2009-03-27 Pull up following revision(s) (requested by sketch in ticket #536):
190 AWK=${TOOL_AWK:Q} MAKE=${MAKE:Q} ${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ fix obsolete
67848806 » lukem
2003-07-17 Add postinstall-fix-obsolete (to invoke "postinstall fix obsolete" -
191 @echo " ==============================="
84bb4a22 » lukem
2002-04-29 we might as well provide a handy "postinstall-fix" target whilst here
192
a0e7536b » perry
2001-11-24 Add a new target (infodir-meta:) that synthesizes the share/info/dir
193
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
194 #
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
195 # Targets (in order!) called by "make build".
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
196 #
9ec880fb » gmcgarry
2008-08-24 Build pcc and pcc-based crtstuff if using pcc compiler.
197 .if defined(HAVE_GCC)
cbf327de » mrg
2006-06-02 remove support for building (with) GCC 2.95. also:
198 .if ${HAVE_GCC} == "3"
f99f07d7 » mrg
2003-07-25 maybe build gnu/lib/libgcc3 instead of libgcc[2]
199 LIBGCC_EXT=3
200 .else
cbf327de » mrg
2006-06-02 remove support for building (with) GCC 2.95. also:
201 LIBGCC_EXT=4
f99f07d7 » mrg
2003-07-25 maybe build gnu/lib/libgcc3 instead of libgcc[2]
202 .endif
9ec880fb » gmcgarry
2008-08-24 Build pcc and pcc-based crtstuff if using pcc compiler.
203 .endif
a3028a2d » tv
1999-02-11 If updating from a system which has a /usr/pkg/info/dir, move that to
204
ca06aeb7 » tv
2001-11-15 Warn when "make build" is started with USE_NEW_TOOLCHAIN on a platfor…
205 BUILDTARGETS+= check-tools
0f2c0bee » lukem
2003-07-18 Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was d…
206 .if ${MKUPDATE} == "no" && !defined(NOCLEANDIR)
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
207 BUILDTARGETS+= cleandir
a7041f04 » tv
2001-09-22 Put do-make-tools before creating distrib-dirs (as binstall has to be
208 .endif
0a512a66 » apb
2008-10-25 Add a do-top-obj target, which builds the top-level obj directory.
209 .if ${MKOBJDIRS} != "no"
210 BUILDTARGETS+= do-top-obj
211 .endif
212 .if ${USETOOLS} == "yes" # {
c2c3d6f0 » tv
2001-11-13 Reverse the order of "make cleandir" and "make obj" back to the way they
213 .if ${MKOBJDIRS} != "no"
02eeff4a » apb
2008-10-22 Defer the "make obj" step until after tools are built and installed.
214 BUILDTARGETS+= do-tools-obj
c2c3d6f0 » tv
2001-11-13 Reverse the order of "make cleandir" and "make obj" back to the way they
215 .endif
85a68ff2 » tv
2001-11-12 Major overhaul of src/tools and host toolchain. Summary of changes:
216 BUILDTARGETS+= do-tools
0a512a66 » apb
2008-10-25 Add a do-top-obj target, which builds the top-level obj directory.
217 .endif # USETOOLS # }
02eeff4a » apb
2008-10-22 Defer the "make obj" step until after tools are built and installed.
218 .if ${MKOBJDIRS} != "no"
219 BUILDTARGETS+= obj
220 .endif
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
221 .if !defined(NODISTRIBDIRS)
222 BUILDTARGETS+= do-distrib-dirs
a7041f04 » tv
2001-09-22 Put do-make-tools before creating distrib-dirs (as binstall has to be
223 .endif
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
224 .if !defined(NOINCLUDES)
225 BUILDTARGETS+= includes
a7041f04 » tv
2001-09-22 Put do-make-tools before creating distrib-dirs (as binstall has to be
226 .endif
b042d914 » thorpej
2003-04-04 Always build tools/compat, so that random host helper programs
227 BUILDTARGETS+= do-tools-compat
8988beb1 » skrll
2004-02-15 Be more gcc like in the way we deal with libgcc so that sh3/hppa mill…
228 BUILDTARGETS+= do-lib-csu
f0e2d907 » drochner
2003-06-26 build libgcc early, if at all
229 .if ${MKGCC} != "no"
d44e01bf » lukem
2007-09-07 Provide 'do-libgcc' to build gnu/lib/crtstuff${LIBGCC_EXT} (if necess…
230 BUILDTARGETS+= do-libgcc
f0e2d907 » drochner
2003-06-26 build libgcc early, if at all
231 .endif
9ec880fb » gmcgarry
2008-08-24 Build pcc and pcc-based crtstuff if using pcc compiler.
232 .if ${MKPCC} != "no"
233 BUILDTARGET+= do-libpcc
234 .endif
8988beb1 » skrll
2004-02-15 Be more gcc like in the way we deal with libgcc so that sh3/hppa mill…
235 BUILDTARGETS+= do-lib-libc
9627298a » lukem
2008-05-22 Descend into external.
236 BUILDTARGETS+= do-lib do-gnu-lib do-external-lib
66ba06c7 » pooka
2008-10-16 add do-sys-rump-net-lib
237 BUILDTARGETS+= do-sys-rump-fs-lib do-sys-rump-net-lib
9f8b4a20 » mrg
2008-10-27 - enable 32-bit library builds on amd64 and sparc64
238 .if ${MKCOMPAT} != "no"
239 BUILDTARGETS+= do-compat-lib-csu
240 BUILDTARGETS+= do-compat-libgcc
241 BUILDTARGETS+= do-compat-lib-libc
242 .endif
5767649a » lukem
2004-01-04 only build do-lib-libdes if ${MKCRYPTO}!=no
243 BUILDTARGETS+= do-ld.so
244 BUILDTARGETS+= do-build
e8757f77 » snj
2008-11-15 Pull up following revision(s) (requested by mrg in ticket #64):
245 .if ${MKX11} != "no"
19423fd0 » lukem
2004-01-08 Implement do-x11, to run "make build" in ./x11/
246 BUILDTARGETS+= do-x11
247 .endif
431157ae » lukem
2003-02-22 all:
248 BUILDTARGETS+= do-obsolete
a7041f04 » tv
2001-09-22 Put do-make-tools before creating distrib-dirs (as binstall has to be
249
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
250 #
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
251 # Enforce proper ordering of some rules.
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
252 #
c76af6d1 » mrg
2001-06-10 fix PR#12832: split `make build' up into these steps (from new the
253
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
254 .ORDER: ${BUILDTARGETS}
f1173c14 » lukem
2004-01-27 Apply the .PHONY attribute where appropriate.
255 includes-lib: .PHONY includes-include includes-sys
256 includes-gnu: .PHONY includes-lib
c76af6d1 » mrg
2001-06-10 fix PR#12832: split `make build' up into these steps (from new the
257
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
258 #
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
259 # Build the system and install into DESTDIR.
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
260 #
ae121f5a » tv
2001-08-14 The final step -- hook src/tools into the main build. If USE_NEW_TOOL…
261
a9a889a0 » lukem
2002-12-02 show the start time at the end of the build as well.
262 START_TIME!= date
263
e636f082 » dsl
2006-01-21 Add .MAKE to all targets that use ${MAKEDIRTARGET} otherwise make closes
264 build: .PHONY .MAKE
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
265 .if defined(BUILD_DONE)
266 @echo "Build already installed into ${DESTDIR}"
267 .else
a9a889a0 » lukem
2002-12-02 show the start time at the end of the build as well.
268 @echo "Build started at: ${START_TIME}"
5d1bfa2f » tv
2001-10-30 Work around parallelism lossage, because .ORDER doesn't work yet
269 .for tgt in ${BUILDTARGETS}
8993a70c » lukem
2004-04-13 Convert lines of the form
270 ${MAKEDIRTARGET} . ${tgt}
5d1bfa2f » tv
2001-10-30 Work around parallelism lossage, because .ORDER doesn't work yet
271 .endfor
8993a70c » lukem
2004-04-13 Convert lines of the form
272 ${MAKEDIRTARGET} etc install-etc-release
a9a889a0 » lukem
2002-12-02 show the start time at the end of the build as well.
273 @echo "Build started at: ${START_TIME}"
63eda998 » bjh21
2002-05-02 Use printf rather than echo -n, since the former works on all POSIX s…
274 @printf "Build finished at: " && date
3acd0902 » mycroft
1998-10-16 Do not build libgcc 3 times.
275 .endif
c76af6d1 » mrg
2001-06-10 fix PR#12832: split `make build' up into these steps (from new the
276
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
277 #
fa272779 » thorpej
2001-11-25 Add a wrapper for the "distribution" target, similar to the wrapper
278 # Build a full distribution, but not a release (i.e. no sets into
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
279 # ${RELEASEDIR}). "buildworld" enforces a build to ${DESTDIR} != /
280 #
fa272779 » thorpej
2001-11-25 Add a wrapper for the "distribution" target, similar to the wrapper
281
e636f082 » dsl
2006-01-21 Add .MAKE to all targets that use ${MAKEDIRTARGET} otherwise make closes
282 distribution buildworld: .PHONY .MAKE
364a1330 » lukem
2002-12-26 fix DESTDIR checks if !defined(DESTDIR)
283 .if make(buildworld) && \
284 (!defined(DESTDIR) || ${DESTDIR} == "" || ${DESTDIR} == "/")
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
285 @echo "Won't make ${.TARGET} with DESTDIR=/"
286 @false
287 .endif
8993a70c » lukem
2004-04-13 Convert lines of the form
288 ${MAKEDIRTARGET} . build NOPOSTINSTALL=1
289 ${MAKEDIRTARGET} etc distribution INSTALL_DONE=1
12ac6dcf » thorpej
2002-07-10 After running the body of the "distribution" target, do a "checkflist…
290 .if defined(DESTDIR) && ${DESTDIR} != "" && ${DESTDIR} != "/"
8993a70c » lukem
2004-04-13 Convert lines of the form
291 ${MAKEDIRTARGET} . postinstall-fix-obsolete
292 ${MAKEDIRTARGET} distrib/sets checkflist
12ac6dcf » thorpej
2002-07-10 After running the body of the "distribution" target, do a "checkflist…
293 .endif
092e7688 » lukem
2002-12-02 improve previous; show times at end of distribution/release/snapshot …
294 @echo "make ${.TARGET} started at: ${START_TIME}"
cf09c558 » lukem
2002-08-30 print date when make {distribution,release,snapshot} finished
295 @printf "make ${.TARGET} finished at: " && date
fa272779 » thorpej
2001-11-25 Add a wrapper for the "distribution" target, similar to the wrapper
296
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
297 #
298 # Install the distribution from $DESTDIR to $INSTALLWORLDDIR (defaults to `/')
299 # If installing to /, ensures that the host's operating system is NetBSD and
300 # the host's `uname -m` == ${MACHINE}.
301 #
302
303 HOST_UNAME_S!= uname -s
304 HOST_UNAME_M!= uname -m
305
e636f082 » dsl
2006-01-21 Add .MAKE to all targets that use ${MAKEDIRTARGET} otherwise make closes
306 installworld: .PHONY .MAKE
364a1330 » lukem
2002-12-26 fix DESTDIR checks if !defined(DESTDIR)
307 .if (!defined(DESTDIR) || ${DESTDIR} == "" || ${DESTDIR} == "/")
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
308 @echo "Can't make ${.TARGET} to DESTDIR=/"
309 @false
310 .endif
311 .if !defined(INSTALLWORLDDIR) || \
312 ${INSTALLWORLDDIR} == "" || ${INSTALLWORLDDIR} == "/"
313 .if (${HOST_UNAME_S} != "NetBSD")
314 @echo "Won't cross-make ${.TARGET} from ${HOST_UNAME_S} to NetBSD with INSTALLWORLDDIR=/"
315 @false
316 .endif
317 .if (${HOST_UNAME_M} != ${MACHINE})
318 @echo "Won't cross-make ${.TARGET} from ${HOST_UNAME_M} to ${MACHINE} with INSTALLWORLDDIR=/"
319 @false
320 .endif
321 .endif
8993a70c » lukem
2004-04-13 Convert lines of the form
322 ${MAKEDIRTARGET} distrib/sets installsets \
f27a976d » riz
2011-03-08 Pull up following revision(s) (requested by jym in ticket #1565):
323 INSTALLDIR=${INSTALLWORLDDIR:U/} INSTALLSETS=${INSTALLSETS:Q}
8993a70c » lukem
2004-04-13 Convert lines of the form
324 ${MAKEDIRTARGET} . postinstall-check DESTDIR=${INSTALLWORLDDIR}
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
325 @echo "make ${.TARGET} started at: ${START_TIME}"
326 @printf "make ${.TARGET} finished at: " && date
327
328 #
b31e270e » lukem
2003-05-10 Add "sourcesets" argument/target, which builds source sets into
329 # Create sets from $DESTDIR or $NETBSDSRCDIR into $RELEASEDIR
ece364c8 » lukem
2003-01-26 - Add "sets" top-level Makefile target and build.sh operation.
330 #
331
0934a2e5 » apb
2006-01-04 Add a new "syspkgs" target, which simply chains to the "syspkgs" target
332 .for tgt in sets sourcesets syspkgs
e636f082 » dsl
2006-01-21 Add .MAKE to all targets that use ${MAKEDIRTARGET} otherwise make closes
333 ${tgt}: .PHONY .MAKE
8993a70c » lukem
2004-04-13 Convert lines of the form
334 ${MAKEDIRTARGET} distrib/sets ${tgt}
b31e270e » lukem
2003-05-10 Add "sourcesets" argument/target, which builds source sets into
335 .endfor
ece364c8 » lukem
2003-01-26 - Add "sets" top-level Makefile target and build.sh operation.
336
337 #
4903b14f » lukem
2005-08-25 Modify "release" to invoke "make distribution" instead of "make build",
338 # Build a release or snapshot (implies "make distribution"). Note that
12ac6dcf » thorpej
2002-07-10 After running the body of the "distribution" target, do a "checkflist…
339 # in this case, the set lists will be checked before the tar files
340 # are made.
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
341 #
c76af6d1 » mrg
2001-06-10 fix PR#12832: split `make build' up into these steps (from new the
342
e636f082 » dsl
2006-01-21 Add .MAKE to all targets that use ${MAKEDIRTARGET} otherwise make closes
343 release snapshot: .PHONY .MAKE
4903b14f » lukem
2005-08-25 Modify "release" to invoke "make distribution" instead of "make build",
344 ${MAKEDIRTARGET} . distribution
345 ${MAKEDIRTARGET} etc release DISTRIBUTION_DONE=1
092e7688 » lukem
2002-12-02 improve previous; show times at end of distribution/release/snapshot …
346 @echo "make ${.TARGET} started at: ${START_TIME}"
cf09c558 » lukem
2002-08-30 print date when make {distribution,release,snapshot} finished
347 @printf "make ${.TARGET} finished at: " && date
c76af6d1 » mrg
2001-06-10 fix PR#12832: split `make build' up into these steps (from new the
348
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
349 #
468bd5d1 » apb
2006-01-28 * Add an "iso-image" target in the top level Makefile,
350 # Create a CD-ROM image.
351 #
352
353 iso-image: .PHONY
4418e0c7 » bouyer
2007-03-06 Add an iso_image target (iso-image as a target name doesn't play well…
354 ${MAKEDIRTARGET} distrib iso_image
468bd5d1 » apb
2006-01-28 * Add an "iso-image" target in the top level Makefile,
355 ${MAKEDIRTARGET} etc iso-image
356 @echo "make ${.TARGET} started at: ${START_TIME}"
357 @printf "make ${.TARGET} finished at: " && date
358
935a4703 » jnemeth
2007-08-30 Add an iso-image-source option which does the same thing as iso-image…
359 iso-image-source: .PHONY
360 ${MAKEDIRTARGET} distrib iso_image CDSOURCE=true
361 ${MAKEDIRTARGET} etc iso-image
362 @echo "make ${.TARGET} started at: ${START_TIME}"
363 @printf "make ${.TARGET} finished at: " && date
364
468bd5d1 » apb
2006-01-28 * Add an "iso-image" target in the top level Makefile,
365 #
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
366 # Special components of the "make build" process.
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
367 #
c76af6d1 » mrg
2001-06-10 fix PR#12832: split `make build' up into these steps (from new the
368
f1173c14 » lukem
2004-01-27 Apply the .PHONY attribute where appropriate.
369 check-tools: .PHONY
b97d9655 » lukem
2004-01-03 Consistently check ${TOOLCHAIN_MISSING} against "no".
370 .if ${TOOLCHAIN_MISSING} != "no" && !defined(EXTERNAL_TOOLCHAIN)
b645c300 » thorpej
2002-09-17 * Eliminate the USE_NEW_TOOLCHAIN variable. Instead, split it into
371 @echo '*** WARNING: Building on MACHINE=${MACHINE} with missing toolchain.'
372 @echo '*** May result in a failed build or corrupt binaries!'
373 .elif defined(EXTERNAL_TOOLCHAIN)
374 @echo '*** Using external toolchain rooted at ${EXTERNAL_TOOLCHAIN}.'
ca06aeb7 » tv
2001-11-15 Warn when "make build" is started with USE_NEW_TOOLCHAIN on a platfor…
375 .endif
c74b5018 » sommerfeld
2002-05-02 Correct BUGS in BUILDING.mdoc now that most ports are USE_NEW_TOOLCHAIN
376 .if defined(NBUILDJOBS)
377 @echo '*** WARNING: NBUILDJOBS is obsolete; use -j directly instead!'
378 .endif
ca06aeb7 » tv
2001-11-15 Warn when "make build" is started with USE_NEW_TOOLCHAIN on a platfor…
379
e636f082 » dsl
2006-01-21 Add .MAKE to all targets that use ${MAKEDIRTARGET} otherwise make closes
380 do-distrib-dirs: .PHONY .MAKE
bb154af6 » jmc
2001-10-31 Add back logic which forces DESTDIR=/ for the distrib-dirs rule if it…
381 .if !defined(DESTDIR) || ${DESTDIR} == ""
8993a70c » lukem
2004-04-13 Convert lines of the form
382 ${MAKEDIRTARGET} etc distrib-dirs DESTDIR=/
bb154af6 » jmc
2001-10-31 Add back logic which forces DESTDIR=/ for the distrib-dirs rule if it…
383 .else
8993a70c » lukem
2004-04-13 Convert lines of the form
384 ${MAKEDIRTARGET} etc distrib-dirs DESTDIR=${DESTDIR}
bb154af6 » jmc
2001-10-31 Add back logic which forces DESTDIR=/ for the distrib-dirs rule if it…
385 .endif
c76af6d1 » mrg
2001-06-10 fix PR#12832: split `make build' up into these steps (from new the
386
22059920 » lukem
2002-11-29 Add do-{target} aliases for: cleandir obj includes
387 .for targ in cleandir obj includes
f1173c14 » lukem
2004-01-27 Apply the .PHONY attribute where appropriate.
388 do-${targ}: .PHONY ${targ}
22059920 » lukem
2002-11-29 Add do-{target} aliases for: cleandir obj includes
389 @true
390 .endfor
391
9ec880fb » gmcgarry
2008-08-24 Build pcc and pcc-based crtstuff if using pcc compiler.
392 .if defined(HAVE_GCC)
393 BUILD_CC_LIB= gnu/lib/crtstuff${LIBGCC_EXT}
394 BUILD_CC_LIB+= gnu/lib/libgcc${LIBGCC_EXT}
395 .elif defined(HAVE_PCC)
396 BUILD_CC_LIB+= external/bsd/pcc/crtstuff
397 BUILD_CC_LIB+= external/bsd/pcc/libpcc
398 .endif
399
65af3592 » riz
2011-01-06 Apply patch (requested by mrg in ticket #1499):
400 .for dir in tools tools/compat lib/csu ${BUILD_CC_LIB} lib/libc lib/libdes lib gnu/lib external/lib sys/rump/fs/lib sys/rump/net/lib
e636f082 » dsl
2006-01-21 Add .MAKE to all targets that use ${MAKEDIRTARGET} otherwise make closes
401 do-${dir:S/\//-/g}: .PHONY .MAKE
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
402 .for targ in dependall install
8993a70c » lukem
2004-04-13 Convert lines of the form
403 ${MAKEDIRTARGET} ${dir} ${targ}
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
404 .endfor
405 .endfor
b9e597fe » tv
2001-10-24 Re-add intermediate dependall/install targets (do-lib-csu, do-lib,
406
65af3592 » riz
2011-01-06 Apply patch (requested by mrg in ticket #1499):
407 .if ${MKCOMPAT} != "no"
408 COMPAT_SUBDIR_LIST=lib/csu ${BUILD_CC_LIB} lib/libc
409 .for dir in ${COMPAT_SUBDIR_LIST}
410 do-compat-${dir:S/\//-/g}: .PHONY .MAKE
411 .for targ in obj dependall install
412 ${MAKEDIRTARGET} compat ${targ} BOOTSTRAP_SUBDIRS="../../../${dir}"
413 .endfor
414 .endfor
415 .endif
416
0a512a66 » apb
2008-10-25 Add a do-top-obj target, which builds the top-level obj directory.
417 do-top-obj: .PHONY .MAKE
418 ${MAKEDIRTARGET} . obj NOSUBDIR=
419
02eeff4a » apb
2008-10-22 Defer the "make obj" step until after tools are built and installed.
420 do-tools-obj: .PHONY .MAKE
421 ${MAKEDIRTARGET} tools obj
422
d44e01bf » lukem
2007-09-07 Provide 'do-libgcc' to build gnu/lib/crtstuff${LIBGCC_EXT} (if necess…
423 do-libgcc: .PHONY .MAKE
9ec880fb » gmcgarry
2008-08-24 Build pcc and pcc-based crtstuff if using pcc compiler.
424 .if defined(HAVE_GCC)
d44e01bf » lukem
2007-09-07 Provide 'do-libgcc' to build gnu/lib/crtstuff${LIBGCC_EXT} (if necess…
425 .if ${MKGCC} != "no"
426 .if (${HAVE_GCC} == "3" || ${HAVE_GCC} == "4")
427 ${MAKEDIRTARGET} . do-gnu-lib-crtstuff${LIBGCC_EXT}
428 .endif
429 ${MAKEDIRTARGET} . do-gnu-lib-libgcc${LIBGCC_EXT}
430 .endif
9ec880fb » gmcgarry
2008-08-24 Build pcc and pcc-based crtstuff if using pcc compiler.
431 .endif
432
9f8b4a20 » mrg
2008-10-27 - enable 32-bit library builds on amd64 and sparc64
433 do-compat-libgcc: .PHONY .MAKE
434 .if defined(HAVE_GCC)
435 .if ${MKGCC} != "no"
436 ${MAKEDIRTARGET} . do-compat-gnu-lib-crtstuff${LIBGCC_EXT}
437 ${MAKEDIRTARGET} . do-compat-gnu-lib-libgcc${LIBGCC_EXT}
438 .endif
439 .endif
440
9ec880fb » gmcgarry
2008-08-24 Build pcc and pcc-based crtstuff if using pcc compiler.
441 do-libpcc: .PHONY .MAKE
442 .if defined(HAVE_PCC)
443 .if ${MKPCC} != "no"
444 ${MAKEDIRTARGET} . do-pcc-lib-crtstuff
445 ${MAKEDIRTARGET} . do-pcc-lib-libpcc
446 .endif
447 .endif
d44e01bf » lukem
2007-09-07 Provide 'do-libgcc' to build gnu/lib/crtstuff${LIBGCC_EXT} (if necess…
448
e636f082 » dsl
2006-01-21 Add .MAKE to all targets that use ${MAKEDIRTARGET} otherwise make closes
449 do-ld.so: .PHONY .MAKE
1d3f1b54 » lukem
2002-08-26 add "do-ld.elf_so" target, which builds & installs libexec/ld.elf_so.
450 .for targ in dependall install
770f6820 » itohy
2002-11-12 MKDYNAMICROOT for a.out
451 .if (${OBJECT_FMT} == "a.out")
8993a70c » lukem
2004-04-13 Convert lines of the form
452 ${MAKEDIRTARGET} libexec/ld.aout_so ${targ}
770f6820 » itohy
2002-11-12 MKDYNAMICROOT for a.out
453 .endif
454 .if (${OBJECT_FMT} == "ELF")
8993a70c » lukem
2004-04-13 Convert lines of the form
455 ${MAKEDIRTARGET} libexec/ld.elf_so ${targ}
770f6820 » itohy
2002-11-12 MKDYNAMICROOT for a.out
456 .endif
1d3f1b54 » lukem
2002-08-26 add "do-ld.elf_so" target, which builds & installs libexec/ld.elf_so.
457 .endfor
458
e636f082 » dsl
2006-01-21 Add .MAKE to all targets that use ${MAKEDIRTARGET} otherwise make closes
459 do-build: .PHONY .MAKE
c46e0aaf » tv
2001-11-13 Rather than build in `tools' and `lib' twice, build `tools' and `lib'
460 .for targ in dependall install
8993a70c » lukem
2004-04-13 Convert lines of the form
461 ${MAKEDIRTARGET} . ${targ} BUILD_tools=no BUILD_lib=no
c46e0aaf » tv
2001-11-13 Rather than build in `tools' and `lib' twice, build `tools' and `lib'
462 .endfor
7413e101 » cgd
1994-02-07 add some new targets to DTRT when installing/building
463
e636f082 » dsl
2006-01-21 Add .MAKE to all targets that use ${MAKEDIRTARGET} otherwise make closes
464 do-x11: .PHONY .MAKE
e8757f77 » snj
2008-11-15 Pull up following revision(s) (requested by mrg in ticket #64):
465 .if ${MKX11} != "no"
466 .if ${X11FLAVOUR} == "Xorg"
f55cb913 » mrg
2008-07-29 if MKXORG != no, use external/mit/xorg subdir instead of x11 subdir for
467 ${MAKEDIRTARGET} external/mit/xorg build
e8757f77 » snj
2008-11-15 Pull up following revision(s) (requested by mrg in ticket #64):
468 .else
8993a70c » lukem
2004-04-13 Convert lines of the form
469 ${MAKEDIRTARGET} x11 build
e8757f77 » snj
2008-11-15 Pull up following revision(s) (requested by mrg in ticket #64):
470 .endif
a9a2c16f » lukem
2008-08-28 Improve support for MKXORG!=no to enable builds into external/mit/xorg.
471 .else
e8757f77 » snj
2008-11-15 Pull up following revision(s) (requested by mrg in ticket #64):
472 @echo "MKX11 is not enabled"
a9a2c16f » lukem
2008-08-28 Improve support for MKXORG!=no to enable builds into external/mit/xorg.
473 @false
f55cb913 » mrg
2008-07-29 if MKXORG != no, use external/mit/xorg subdir instead of x11 subdir for
474 .endif
19423fd0 » lukem
2004-01-08 Implement do-x11, to run "make build" in ./x11/
475
e636f082 » dsl
2006-01-21 Add .MAKE to all targets that use ${MAKEDIRTARGET} otherwise make closes
476 do-obsolete: .PHONY .MAKE
8993a70c » lukem
2004-04-13 Convert lines of the form
477 ${MAKEDIRTARGET} etc install-obsolete-lists
431157ae » lukem
2003-02-22 all:
478
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
479 #
c210e5b2 » tv
2001-10-19 Overhaul and simplify the top level Makefile, and add some sanity che…
480 # Speedup stubs for some subtrees that don't need to run these rules.
481 # (Tells <bsd.subdir.mk> not to recurse for them.)
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
482 #
f03f6b19 » cjs
1999-02-16 Add release and snapshot targets. (They do the same thing.)
483
85a68ff2 » tv
2001-11-12 Major overhaul of src/tools and host toolchain. Summary of changes:
484 .for dir in bin etc distrib games libexec regress sbin usr.sbin tools
f1173c14 » lukem
2004-01-27 Apply the .PHONY attribute where appropriate.
485 includes-${dir}: .PHONY
85a68ff2 » tv
2001-11-12 Major overhaul of src/tools and host toolchain. Summary of changes:
486 @true
487 .endfor
488 .for dir in etc distrib regress
f1173c14 » lukem
2004-01-27 Apply the .PHONY attribute where appropriate.
489 install-${dir}: .PHONY
85a68ff2 » tv
2001-11-12 Major overhaul of src/tools and host toolchain. Summary of changes:
490 @true
491 .endfor
492
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
493 #
85a68ff2 » tv
2001-11-12 Major overhaul of src/tools and host toolchain. Summary of changes:
494 # XXX this needs to change when distrib Makefiles are recursion compliant
69d1160b » lukem
2002-12-21 * Add two new (experimental) targets:
495 # XXX many distrib subdirs need "cd etc && make snap_pre snap_kern" first...
496 #
f1173c14 » lukem
2004-01-27 Apply the .PHONY attribute where appropriate.
497 dependall-distrib depend-distrib all-distrib: .PHONY
6f15fa26 » nathanw
2001-10-12 Use @true instead of @${TRUE} in includes-foo targets, since there is no
498 @true
8626600a » tv
2001-09-21 - Remove the include of Makefile.tools; this will be done elsewhere.
499
919514d2 » lukem
2003-07-10 Rename a large chunk of the make(1) variables which refer to a
500 .include <bsd.sys.mk>
4fc1f4e6 » tv
2001-11-11 Create an objdir here for storage of timestamps, build-wide data, and so
501 .include <bsd.obj.mk>
e496a611 » lukem
2003-07-06 Add "params" target, to display the value of various variables.
502 .include <bsd.kernobj.mk>
79154dd7 » tv
2001-10-31 * Always descend into "tools" regardless of USETOOLS setting. Instead,
503 .include <bsd.subdir.mk>
45e22728 » tv
2001-10-29 Add rules for generating plaintext and HTML versions of the "BUILDING"
504
f1173c14 » lukem
2004-01-27 Apply the .PHONY attribute where appropriate.
505 build-docs: .PHONY ${.CURDIR}/BUILDING
60f23aba » lukem
2002-09-21 move BUILDING.mdoc -> doc/BUILDING.mdoc
506 ${.CURDIR}/BUILDING: doc/BUILDING.mdoc
17f2dd78 » lukem
2004-02-06 MAKEVERBOSE support for build-docs
507 ${_MKMSG_CREATE} ${.TARGET}
76452985 » lukem
2003-07-20 redo previous (functionality rollback of 1.213) to retain the style o…
508 ${TOOL_GROFF} -mdoc -Tascii -P-bou $> >$@
e496a611 » lukem
2003-07-06 Add "params" target, to display the value of various variables.
509
510
511 #
512 # Display current make(1) parameters
513 #
e636f082 » dsl
2006-01-21 Add .MAKE to all targets that use ${MAKEDIRTARGET} otherwise make closes
514 params: .PHONY .MAKE
8993a70c » lukem
2004-04-13 Convert lines of the form
515 ${MAKEDIRTARGET} etc params
Something went wrong with that request. Please try again.