Pull up following revision(s) (requested by mrg in ticket #64): distrib/sets/Makefile: revision 1.64 external/mit/xorg/server/Makefile: revision 1.5 share/mk/bsd.README: revision 1.237 BUILDING: revision 1.79 share/mk/bsd.x11.mk: revision 1.71 share/mk/bsd.own.mk: revision 1.544 usr.bin/ssh/Makefile.inc: revision 1.18 distrib/sets/sets.subr: revision 1.72 share/man/man5/mk.conf.5: revision 1.42 doc/BUILDING.mdoc: revision 1.68 etc/Makefile: revision 1.360 Makefile: revision 1.263 - retire MKXORG from public use - introduce X11FLAVOUR to choose src/x11 vs src/external/mit/xorg for the X11 to build if MKX11=yes is set. it takes the values of either Xorg or XFree86. - default to Xorg on alpha, i386, macppc, shark, sparc and sparc64 - remove MKXORG_WITH_XSRC_XSERVER, unused and never usefuldiff -r1.78 -r1.78.2.1 src/BUILDING
(snj)
--- src/BUILDING 2008/09/24 07:38:04 1.78
+++ src/BUILDING 2008/11/15 22:05:11 1.78.2.1
@@ -295,38 +295,29 @@ CONFIGURATION | @@ -295,38 +295,29 @@ CONFIGURATION | |||
295 | during the generation of the distribution tar files to ensure | 295 | during the generation of the distribution tar files to ensure | |
296 | that the appropriate file ownership is stored. | 296 | that the appropriate file ownership is stored. | |
297 | 297 | |||
298 | Default: ``no'' | 298 | Default: ``no'' | |
299 | 299 | |||
300 | MKUPDATE Can be set to ``yes'' or ``no''. Indicates whether all | 300 | MKUPDATE Can be set to ``yes'' or ``no''. Indicates whether all | |
301 | install operations intended to write to DESTDIR will compare | 301 | install operations intended to write to DESTDIR will compare | |
302 | file timestamps before installing, and skip the install phase | 302 | file timestamps before installing, and skip the install phase | |
303 | if the destination files are up-to-date. This also has | 303 | if the destination files are up-to-date. This also has | |
304 | implications on full builds (see next subsection). | 304 | implications on full builds (see next subsection). | |
305 | 305 | |||
306 | Default: ``no'' | 306 | Default: ``no'' | |
307 | 307 | |||
308 | MKX11 Can be set to ``yes'' or ``no''. Indicates whether X11R6 is | 308 | MKX11 Can be set to ``yes'' or ``no''. Indicates whether X11 is | |
309 | built from X11SRCDIR. | 309 | built from X11SRCDIR. | |
310 | 310 | |||
311 | Mutually exclusive to MKXORG != no. | |||
312 | ||||
313 | Default: ``no'' | |||
314 | ||||
315 | MKXORG Can be set to ``yes'' or ``no''. Indicates whether X11R7 | |||
316 | (modular Xorg) is built from X11SRCDIR. | |||
317 | ||||
318 | Mutually exclusive to MKX11 != no. | |||
319 | ||||
320 | Default: ``no'' | 311 | Default: ``no'' | |
321 | 312 | |||
322 | TOOLDIR Directory to hold the host tools, once built. If specified, | 313 | TOOLDIR Directory to hold the host tools, once built. If specified, | |
323 | must be an absolute path. This directory should be unique to | 314 | must be an absolute path. This directory should be unique to | |
324 | a given host system and NetBSD source tree. (However, multi- | 315 | a given host system and NetBSD source tree. (However, multi- | |
325 | ple targets may share the same TOOLDIR; the target-dependent | 316 | ple targets may share the same TOOLDIR; the target-dependent | |
326 | files have unique names.) If unset, a default based on the | 317 | files have unique names.) If unset, a default based on the | |
327 | uname(1) information of the host platform will be created in | 318 | uname(1) information of the host platform will be created in | |
328 | the .OBJDIR of src. | 319 | the .OBJDIR of src. | |
329 | 320 | |||
330 | Default: Unset. | 321 | Default: Unset. | |
331 | 322 | |||
332 | USETOOLS Indicates whether the tools specified by TOOLDIR should be | 323 | USETOOLS Indicates whether the tools specified by TOOLDIR should be | |
@@ -348,26 +339,32 @@ CONFIGURATION | @@ -348,26 +339,32 @@ CONFIGURATION | |||
348 | NetBSD source tree. | 339 | NetBSD source tree. | |
349 | 340 | |||
350 | Default: ``yes'', unless TOOLCHAIN_MISSING is set to ``yes''. | 341 | Default: ``yes'', unless TOOLCHAIN_MISSING is set to ``yes''. | |
351 | 342 | |||
352 | USETOOLS is also set to ``no'' when using <bsd.*.mk> outside | 343 | USETOOLS is also set to ``no'' when using <bsd.*.mk> outside | |
353 | the NetBSD source tree. | 344 | the NetBSD source tree. | |
354 | 345 | |||
355 | X11SRCDIR Directory containing the X11R6 source. If specified, must be | 346 | X11SRCDIR Directory containing the X11R6 source. If specified, must be | |
356 | an absolute path. The main X11R6 source is found in | 347 | an absolute path. The main X11R6 source is found in | |
357 | X11SRCDIR/xfree/xc. | 348 | X11SRCDIR/xfree/xc. | |
358 | 349 | |||
359 | Default: ``/usr/xsrc'' | 350 | Default: ``/usr/xsrc'' | |
360 | 351 | |||
352 | X11FLAVOUR The style of X11 cross-built, set to either ``Xorg'' or | |||
353 | ``XFree86''. | |||
354 | ||||
355 | Default: ``Xorg'' on amd64, i386, macppc, shark, sparc and | |||
356 | sparc64 platforms, ``XFree86'' on everything else. | |||
357 | ||||
361 | "make" variables for full builds | 358 | "make" variables for full builds | |
362 | These variables only affect the top level ``Makefile'' and do not affect | 359 | These variables only affect the top level ``Makefile'' and do not affect | |
363 | manually building subtrees of the NetBSD source code. | 360 | manually building subtrees of the NetBSD source code. | |
364 | 361 | |||
365 | INSTALLWORLDDIR Location for the ``make installworld'' target to install | 362 | INSTALLWORLDDIR Location for the ``make installworld'' target to install | |
366 | to. If specified, must be an absolute path. | 363 | to. If specified, must be an absolute path. | |
367 | 364 | |||
368 | Default: ``/'' | 365 | Default: ``/'' | |
369 | 366 | |||
370 | MKOBJDIRS Can be set to ``yes'' or ``no''. Indicates whether | 367 | MKOBJDIRS Can be set to ``yes'' or ``no''. Indicates whether | |
371 | object directories will be created automatically (via a | 368 | object directories will be created automatically (via a | |
372 | ``make obj'' pass) at the start of a build. | 369 | ``make obj'' pass) at the start of a build. | |
373 | 370 |
--- src/Makefile 2008/10/27 22:32:51 1.262
+++ src/Makefile 2008/11/15 22:05:11 1.262.2.1
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.262 2008/10/27 22:32:51 mrg Exp $ | 1 | # $NetBSD: Makefile,v 1.262.2.1 2008/11/15 22:05:11 snj Exp $ | |
2 | 2 | |||
3 | # | 3 | # | |
4 | # This is the top-level makefile for building NetBSD. For an outline of | 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 | 5 | # how to build a snapshot or release, as well as other release engineering | |
6 | # information, see http://www.NetBSD.org/developers/releng/index.html | 6 | # information, see http://www.NetBSD.org/developers/releng/index.html | |
7 | # | 7 | # | |
8 | # Not everything you can set or do is documented in this makefile. In | 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 | 9 | # particular, you should review the files in /usr/share/mk (especially | |
10 | # bsd.README) for general information on building programs and writing | 10 | # bsd.README) for general information on building programs and writing | |
11 | # Makefiles within this structure, and see the comments in src/etc/Makefile | 11 | # Makefiles within this structure, and see the comments in src/etc/Makefile | |
12 | # for further information on installation and release set options. | 12 | # for further information on installation and release set options. | |
13 | # | 13 | # | |
14 | # Variables listed below can be set on the make command line (highest | 14 | # Variables listed below can be set on the make command line (highest | |
@@ -93,29 +93,29 @@ | @@ -93,29 +93,29 @@ | |||
93 | # do-gnu-lib: builds and installs prerequisites from gnu/lib. | 93 | # do-gnu-lib: builds and installs prerequisites from gnu/lib. | |
94 | # do-external-lib: builds and installs prerequisites from external/lib. | 94 | # do-external-lib: builds and installs prerequisites from external/lib. | |
95 | # do-sys-rump-fs-lib: builds and installs prerequisites from sys/rump/fs/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 | 96 | # do-sys-rump-net-lib: builds and installs prerequisites from sys/rump/net/lib | |
97 | # do-ld.so: builds and installs prerequisites from libexec/ld.*_so. | 97 | # do-ld.so: builds and installs prerequisites from libexec/ld.*_so. | |
98 | # do-compat-lib-csu: builds and installs prerequisites from compat/lib/csu | 98 | # do-compat-lib-csu: builds and installs prerequisites from compat/lib/csu | |
99 | # if ${MKCOMPAT} != "no". | 99 | # if ${MKCOMPAT} != "no". | |
100 | # do-compat-libgcc: builds and installs prerequisites from | 100 | # do-compat-libgcc: builds and installs prerequisites from | |
101 | # compat/gnu/lib/crtstuff${LIBGCC_EXT} (if necessary) and | 101 | # compat/gnu/lib/crtstuff${LIBGCC_EXT} (if necessary) and | |
102 | # compat/gnu/lib/libgcc${LIBGCC_EXT} if ${MKCOMPAT} != "no". | 102 | # compat/gnu/lib/libgcc${LIBGCC_EXT} if ${MKCOMPAT} != "no". | |
103 | # do-compat-lib-libc: builds and installs prerequisites from compat/lib/libc | 103 | # do-compat-lib-libc: builds and installs prerequisites from compat/lib/libc | |
104 | # if ${MKCOMPAT} != "no". | 104 | # if ${MKCOMPAT} != "no". | |
105 | # do-build: builds and installs the entire system. | 105 | # do-build: builds and installs the entire system. | |
106 | # do-x11: builds and installs X11; either | 106 | # do-x11: builds and installs X11 if ${MKX11} != "no"; either | |
107 | # X11R7 from src/external/mit/xorg if ${MKXORG} != "no" | 107 | # X11R7 from src/external/mit/xorg if ${X11FLAVOUR} == "Xorg" | |
108 | # or X11R6 from src/x11 if ${MKX11} != "no" | 108 | # or X11R6 from src/x11 | |
109 | # do-obsolete: installs the obsolete sets (for the postinstall-* targets). | 109 | # do-obsolete: installs the obsolete sets (for the postinstall-* targets). | |
110 | # | 110 | # | |
111 | 111 | |||
112 | .if ${.MAKEFLAGS:M${.CURDIR}/share/mk} == "" | 112 | .if ${.MAKEFLAGS:M${.CURDIR}/share/mk} == "" | |
113 | .MAKEFLAGS: -m ${.CURDIR}/share/mk | 113 | .MAKEFLAGS: -m ${.CURDIR}/share/mk | |
114 | .endif | 114 | .endif | |
115 | 115 | |||
116 | # | 116 | # | |
117 | # 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* | 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 | 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}. | 120 | # _SRC_TOP_OBJ_ here so it will not be added to ${.MAKEOVERRIDES}. | |
121 | # | 121 | # | |
@@ -232,27 +232,27 @@ BUILDTARGETS+= do-libgcc | @@ -232,27 +232,27 @@ BUILDTARGETS+= do-libgcc | |||
232 | .if ${MKPCC} != "no" | 232 | .if ${MKPCC} != "no" | |
233 | BUILDTARGET+= do-libpcc | 233 | BUILDTARGET+= do-libpcc | |
234 | .endif | 234 | .endif | |
235 | BUILDTARGETS+= do-lib-libc | 235 | BUILDTARGETS+= do-lib-libc | |
236 | BUILDTARGETS+= do-lib do-gnu-lib do-external-lib | 236 | BUILDTARGETS+= do-lib do-gnu-lib do-external-lib | |
237 | BUILDTARGETS+= do-sys-rump-fs-lib do-sys-rump-net-lib | 237 | BUILDTARGETS+= do-sys-rump-fs-lib do-sys-rump-net-lib | |
238 | .if ${MKCOMPAT} != "no" | 238 | .if ${MKCOMPAT} != "no" | |
239 | BUILDTARGETS+= do-compat-lib-csu | 239 | BUILDTARGETS+= do-compat-lib-csu | |
240 | BUILDTARGETS+= do-compat-libgcc | 240 | BUILDTARGETS+= do-compat-libgcc | |
241 | BUILDTARGETS+= do-compat-lib-libc | 241 | BUILDTARGETS+= do-compat-lib-libc | |
242 | .endif | 242 | .endif | |
243 | BUILDTARGETS+= do-ld.so | 243 | BUILDTARGETS+= do-ld.so | |
244 | BUILDTARGETS+= do-build | 244 | BUILDTARGETS+= do-build | |
245 | .if ${MKX11} != "no" || ${MKXORG} != "no" | 245 | .if ${MKX11} != "no" | |
246 | BUILDTARGETS+= do-x11 | 246 | BUILDTARGETS+= do-x11 | |
247 | .endif | 247 | .endif | |
248 | BUILDTARGETS+= do-obsolete | 248 | BUILDTARGETS+= do-obsolete | |
249 | 249 | |||
250 | # | 250 | # | |
251 | # Enforce proper ordering of some rules. | 251 | # Enforce proper ordering of some rules. | |
252 | # | 252 | # | |
253 | 253 | |||
254 | .ORDER: ${BUILDTARGETS} | 254 | .ORDER: ${BUILDTARGETS} | |
255 | includes-lib: .PHONY includes-include includes-sys | 255 | includes-lib: .PHONY includes-include includes-sys | |
256 | includes-gnu: .PHONY includes-lib | 256 | includes-gnu: .PHONY includes-lib | |
257 | 257 | |||
258 | # | 258 | # | |
@@ -448,32 +448,34 @@ do-ld.so: .PHONY .MAKE | @@ -448,32 +448,34 @@ do-ld.so: .PHONY .MAKE | |||
448 | ${MAKEDIRTARGET} libexec/ld.aout_so ${targ} | 448 | ${MAKEDIRTARGET} libexec/ld.aout_so ${targ} | |
449 | .endif | 449 | .endif | |
450 | .if (${OBJECT_FMT} == "ELF") | 450 | .if (${OBJECT_FMT} == "ELF") | |
451 | ${MAKEDIRTARGET} libexec/ld.elf_so ${targ} | 451 | ${MAKEDIRTARGET} libexec/ld.elf_so ${targ} | |
452 | .endif | 452 | .endif | |
453 | .endfor | 453 | .endfor | |
454 | 454 | |||
455 | do-build: .PHONY .MAKE | 455 | do-build: .PHONY .MAKE | |
456 | .for targ in dependall install | 456 | .for targ in dependall install | |
457 | ${MAKEDIRTARGET} . ${targ} BUILD_tools=no BUILD_lib=no | 457 | ${MAKEDIRTARGET} . ${targ} BUILD_tools=no BUILD_lib=no | |
458 | .endfor | 458 | .endfor | |
459 | 459 | |||
460 | do-x11: .PHONY .MAKE | 460 | do-x11: .PHONY .MAKE | |
461 | .if ${MKXORG} != "no" | 461 | .if ${MKX11} != "no" | |
462 | .if ${X11FLAVOUR} == "Xorg" | |||
462 | ${MAKEDIRTARGET} external/mit/xorg build | 463 | ${MAKEDIRTARGET} external/mit/xorg build | |
463 | .elif ${MKX11} != "no" | 464 | .else | |
464 | ${MAKEDIRTARGET} x11 build | 465 | ${MAKEDIRTARGET} x11 build | |
466 | .endif | |||
465 | .else | 467 | .else | |
466 | @echo "Neither MKX11 or MKXORG is enabled" | 468 | @echo "MKX11 is not enabled" | |
467 | @false | 469 | @false | |
468 | .endif | 470 | .endif | |
469 | 471 | |||
470 | do-obsolete: .PHONY .MAKE | 472 | do-obsolete: .PHONY .MAKE | |
471 | ${MAKEDIRTARGET} etc install-obsolete-lists | 473 | ${MAKEDIRTARGET} etc install-obsolete-lists | |
472 | 474 | |||
473 | # | 475 | # | |
474 | # Speedup stubs for some subtrees that don't need to run these rules. | 476 | # Speedup stubs for some subtrees that don't need to run these rules. | |
475 | # (Tells <bsd.subdir.mk> not to recurse for them.) | 477 | # (Tells <bsd.subdir.mk> not to recurse for them.) | |
476 | # | 478 | # | |
477 | 479 | |||
478 | .for dir in bin etc distrib games libexec regress sbin usr.sbin tools | 480 | .for dir in bin etc distrib games libexec regress sbin usr.sbin tools | |
479 | includes-${dir}: .PHONY | 481 | includes-${dir}: .PHONY |
--- src/distrib/sets/Makefile 2008/10/25 22:23:55 1.63
+++ src/distrib/sets/Makefile 2008/11/15 22:05:11 1.63.2.1
@@ -1,41 +1,41 @@ | @@ -1,41 +1,41 @@ | |||
1 | # $NetBSD: Makefile,v 1.63 2008/10/25 22:23:55 apb Exp $ | 1 | # $NetBSD: Makefile,v 1.63.2.1 2008/11/15 22:05:11 snj Exp $ | |
2 | 2 | |||
3 | # The `all' target must appear before bsd.own.mk is pulled in. | 3 | # The `all' target must appear before bsd.own.mk is pulled in. | |
4 | all: | 4 | all: | |
5 | @echo "Please understand what you are doing, first." | 5 | @echo "Please understand what you are doing, first." | |
6 | @false | 6 | @false | |
7 | 7 | |||
8 | .include <bsd.own.mk> | 8 | .include <bsd.own.mk> | |
9 | .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" | 9 | .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" | |
10 | GREP?= grep | 10 | GREP?= grep | |
11 | 11 | |||
12 | SETSCMD= cd ${.CURDIR} && \ | 12 | SETSCMD= cd ${.CURDIR} && \ | |
13 | DESTDIR=${DESTDIR:Q} \ | 13 | DESTDIR=${DESTDIR:Q} \ | |
14 | MACHINE=${MACHINE:Q} MACHINE_ARCH=${MACHINE_ARCH:Q} \ | 14 | MACHINE=${MACHINE:Q} MACHINE_ARCH=${MACHINE_ARCH:Q} \ | |
15 | AWK=${TOOL_AWK:Q} \ | 15 | AWK=${TOOL_AWK:Q} \ | |
16 | CKSUM=${TOOL_CKSUM:Q} \ | 16 | CKSUM=${TOOL_CKSUM:Q} \ | |
17 | DB=${TOOL_DB:Q} \ | 17 | DB=${TOOL_DB:Q} \ | |
18 | HOST_SH=${HOST_SH:Q} \ | 18 | HOST_SH=${HOST_SH:Q} \ | |
19 | MAKE=${MAKE:Q} \ | 19 | MAKE=${MAKE:Q} \ | |
20 | MKTEMP=${TOOL_MKTEMP:Q} \ | 20 | MKTEMP=${TOOL_MKTEMP:Q} \ | |
21 | MTREE=${TOOL_MTREE:Q} \ | 21 | MTREE=${TOOL_MTREE:Q} \ | |
22 | PAX=${TOOL_PAX:Q} \ | 22 | PAX=${TOOL_PAX:Q} \ | |
23 | SED=${TOOL_SED:Q} \ | 23 | SED=${TOOL_SED:Q} \ | |
24 | TSORT=${TSORT:Q} \ | 24 | TSORT=${TSORT:Q} \ | |
25 | ${HOST_SH} | 25 | ${HOST_SH} | |
26 | 26 | |||
27 | MAKETARS_FLAGS= | 27 | MAKETARS_FLAGS= | |
28 | .if ${MKX11} != "no" || ${MKXORG} != "no" | 28 | .if ${MKX11} != "no" | |
29 | MAKEFLIST_FLAGS= -b | 29 | MAKEFLIST_FLAGS= -b | |
30 | MAKESRCTARS_FLAGS= -x ${X11SRCDIR} -N ${NETBSDSRCDIR}/etc | 30 | MAKESRCTARS_FLAGS= -x ${X11SRCDIR} -N ${NETBSDSRCDIR}/etc | |
31 | .else | 31 | .else | |
32 | MAKEFLIST_FLAGS= | 32 | MAKEFLIST_FLAGS= | |
33 | MAKESRCTARS_FLAGS= -N ${NETBSDSRCDIR}/etc | 33 | MAKESRCTARS_FLAGS= -N ${NETBSDSRCDIR}/etc | |
34 | .endif | 34 | .endif | |
35 | 35 | |||
36 | .if ${MAKEVERBOSE} != 2 | 36 | .if ${MAKEVERBOSE} != 2 | |
37 | MAKETARS_FLAGS+= -q | 37 | MAKETARS_FLAGS+= -q | |
38 | MAKESRCTARS_FLAGS+= -q | 38 | MAKESRCTARS_FLAGS+= -q | |
39 | .endif | 39 | .endif | |
40 | 40 | |||
41 | .if !defined(MAKETARSETS) | 41 | .if !defined(MAKETARSETS) |
--- src/distrib/sets/sets.subr 2008/10/26 07:31:00 1.71
+++ src/distrib/sets/sets.subr 2008/11/15 22:05:12 1.71.2.1
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: sets.subr,v 1.71 2008/10/26 07:31:00 mrg Exp $ | 1 | # $NetBSD: sets.subr,v 1.71.2.1 2008/11/15 22:05:12 snj Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | # | 4 | # | |
5 | # The following variables contain defaults for sets.subr functions and callers: | 5 | # The following variables contain defaults for sets.subr functions and callers: | |
6 | # setsdir path to src/distrib/sets | 6 | # setsdir path to src/distrib/sets | |
7 | # nlists list of base sets | 7 | # nlists list of base sets | |
8 | # xlists list of x11 sets | 8 | # xlists list of x11 sets | |
9 | # obsolete controls if obsolete files are selected instead | 9 | # obsolete controls if obsolete files are selected instead | |
10 | # lkm if != "no", enable LKM sets | 10 | # lkm if != "no", enable LKM sets | |
11 | # shlib shared library format (a.out, elf, or "") | 11 | # shlib shared library format (a.out, elf, or "") | |
12 | # stlib static library format (a.out, elf) | 12 | # stlib static library format (a.out, elf) | |
13 | # | 13 | # | |
14 | # The following <bsd.own.mk> variables are exported to the environment: | 14 | # The following <bsd.own.mk> variables are exported to the environment: | |
@@ -161,26 +161,34 @@ case "$(type printf)" in | @@ -161,26 +161,34 @@ case "$(type printf)" in | |||
161 | esac | 161 | esac | |
162 | 162 | |||
163 | oIFS=$IFS | 163 | oIFS=$IFS | |
164 | IFS=" | 164 | IFS=" | |
165 | " | 165 | " | |
166 | for x in $( | 166 | for x in $( | |
167 | ${MAKE} -B -f- all <<EOMAKE | 167 | ${MAKE} -B -f- all <<EOMAKE | |
168 | .include <bsd.own.mk> | 168 | .include <bsd.own.mk> | |
169 | .if (\${MKMAN} == "no" || empty(MANINSTALL:Mmaninstall)) | 169 | .if (\${MKMAN} == "no" || empty(MANINSTALL:Mmaninstall)) | |
170 | MKMANPAGES=no | 170 | MKMANPAGES=no | |
171 | .else | 171 | .else | |
172 | MKMANPAGES=yes | 172 | MKMANPAGES=yes | |
173 | .endif | 173 | .endif | |
174 | .if \${MKX11} != "no" | |||
175 | . if \${X11FLAVOUR} == "Xorg" | |||
176 | MKXORG:=yes | |||
177 | MKX11:=no | |||
178 | . else | |||
179 | MKXORG:=no | |||
180 | . endif | |||
181 | .endif | |||
174 | all: | 182 | all: | |
175 | .for i in MACHINE MACHINE_ARCH MACHINE_CPU \ | 183 | .for i in MACHINE MACHINE_ARCH MACHINE_CPU \ | |
176 | HAVE_GCC HAVE_GDB OBJECT_FMT TOOLCHAIN_MISSING \ | 184 | HAVE_GCC HAVE_GDB OBJECT_FMT TOOLCHAIN_MISSING \ | |
177 | ${MKVARS} | 185 | ${MKVARS} | |
178 | @echo "export \$i=\${\$i}" | 186 | @echo "export \$i=\${\$i}" | |
179 | .endfor | 187 | .endfor | |
180 | 188 | |||
181 | EOMAKE | 189 | EOMAKE | |
182 | ); do | 190 | ); do | |
183 | # echo 1>&2 "DEBUG: read $x" | 191 | # echo 1>&2 "DEBUG: read $x" | |
184 | eval $x | 192 | eval $x | |
185 | done | 193 | done | |
186 | IFS=$oIFS | 194 | IFS=$oIFS | |
@@ -211,27 +219,27 @@ fi | @@ -211,27 +219,27 @@ fi | |||
211 | OSRELEASE=`${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh` | 219 | OSRELEASE=`${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh` | |
212 | MODULEDIR="stand/${MACHINE}/${OSRELEASE}/modules" | 220 | MODULEDIR="stand/${MACHINE}/${OSRELEASE}/modules" | |
213 | SUBST="s#@MODULEDIR@#${MODULEDIR}#g" | 221 | SUBST="s#@MODULEDIR@#${MODULEDIR}#g" | |
214 | SUBST="${SUBST};s#@OSRELEASE@#${OSRELEASE}#g" | 222 | SUBST="${SUBST};s#@OSRELEASE@#${OSRELEASE}#g" | |
215 | SUBST="${SUBST};s#@MACHINE@#${MACHINE}#g" | 223 | SUBST="${SUBST};s#@MACHINE@#${MACHINE}#g" | |
216 | 224 | |||
217 | # | 225 | # | |
218 | # list_set_files setfile [...] | 226 | # list_set_files setfile [...] | |
219 | # | 227 | # | |
220 | # Produce a packing list for setfile(s). | 228 | # Produce a packing list for setfile(s). | |
221 | # In each file, a record consists of a path and a System Package name, | 229 | # In each file, a record consists of a path and a System Package name, | |
222 | # separated by whitespace. E.g., | 230 | # separated by whitespace. E.g., | |
223 | # | 231 | # | |
224 | # # $NetBSD: sets.subr,v 1.71 2008/10/26 07:31:00 mrg Exp $ | 232 | # # $NetBSD: sets.subr,v 1.71.2.1 2008/11/15 22:05:12 snj Exp $ | |
225 | # . base-sys-root [keyword[,...]] | 233 | # . base-sys-root [keyword[,...]] | |
226 | # ./altroot base-sys-root | 234 | # ./altroot base-sys-root | |
227 | # ./bin base-sys-root | 235 | # ./bin base-sys-root | |
228 | # ./bin/[ base-util-root | 236 | # ./bin/[ base-util-root | |
229 | # ./bin/cat base-util-root | 237 | # ./bin/cat base-util-root | |
230 | # [...] | 238 | # [...] | |
231 | # | 239 | # | |
232 | # A # in the first column marks a comment. | 240 | # A # in the first column marks a comment. | |
233 | # | 241 | # | |
234 | # If ${obsolete} != 0, only entries with an "obsolete" keyword will | 242 | # If ${obsolete} != 0, only entries with an "obsolete" keyword will | |
235 | # be printed. All other keywords must be present. | 243 | # be printed. All other keywords must be present. | |
236 | # | 244 | # | |
237 | # The third field is an optional comma separated list of keywords to | 245 | # The third field is an optional comma separated list of keywords to | |
@@ -270,28 +278,28 @@ SUBST="${SUBST};s#@MACHINE@#${MACHINE}#g | @@ -270,28 +278,28 @@ SUBST="${SUBST};s#@MACHINE@#${MACHINE}#g | |||
270 | # manz ${MKMANZ} != no | 278 | # manz ${MKMANZ} != no | |
271 | # modular ${MKMODULAR} != no | 279 | # modular ${MKMODULAR} != no | |
272 | # nls ${MKNLS} != no | 280 | # nls ${MKNLS} != no | |
273 | # nvi ${MKNVI} != no | 281 | # nvi ${MKNVI} != no | |
274 | # pam ${MKPAM} != no | 282 | # pam ${MKPAM} != no | |
275 | # pf ${MKPF} != no | 283 | # pf ${MKPF} != no | |
276 | # pic ${MKPIC} != no | 284 | # pic ${MKPIC} != no | |
277 | # postfix ${MKPOSTFIX} != no | 285 | # postfix ${MKPOSTFIX} != no | |
278 | # profile ${MKPROFILE} != no | 286 | # profile ${MKPROFILE} != no | |
279 | # puffs ${MKPUFFS} != no | 287 | # puffs ${MKPUFFS} != no | |
280 | # sendmail ${MKSENDMAIL} != no | 288 | # sendmail ${MKSENDMAIL} != no | |
281 | # share ${MKSHARE} != no | 289 | # share ${MKSHARE} != no | |
282 | # skey ${MKSKEY} != no | 290 | # skey ${MKSKEY} != no | |
283 | # x11 ${MKX11} != no | 291 | # x11 ${MKX11} != no && ${X11FLAVOUR} == "XFree86" | |
284 | # xorg ${MKXORG} != no | 292 | # xorg ${MKX11} != no && ${X11FLAVOUR} == "XFree86" | |
285 | # yp ${MKYP} != no | 293 | # yp ${MKYP} != no | |
286 | # | 294 | # | |
287 | # gcc=<n> <n> = value of ${HAVE_GCC} | 295 | # gcc=<n> <n> = value of ${HAVE_GCC} | |
288 | # gdb=<n> <n> = value of ${HAVE_GDB} | 296 | # gdb=<n> <n> = value of ${HAVE_GDB} | |
289 | # | 297 | # | |
290 | # use_inet6 ${USE_INET6} != no | 298 | # use_inet6 ${USE_INET6} != no | |
291 | # use_kerberos ${USE_KERBEROS} != no | 299 | # use_kerberos ${USE_KERBEROS} != no | |
292 | # use_yp ${USE_YP} != no | 300 | # use_yp ${USE_YP} != no | |
293 | # | 301 | # | |
294 | # .cat if ${MKMANZ} != "no" && ${MKCATPAGES} != "no" | 302 | # .cat if ${MKMANZ} != "no" && ${MKCATPAGES} != "no" | |
295 | # automatically append ".gz" to the filename | 303 | # automatically append ".gz" to the filename | |
296 | # | 304 | # | |
297 | # .man if ${MKMANZ} != "no" && ${MKMAN} != "no" | 305 | # .man if ${MKMANZ} != "no" && ${MKMAN} != "no" |
--- src/doc/BUILDING.mdoc 2008/09/24 07:36:52 1.67
+++ src/doc/BUILDING.mdoc 2008/11/15 22:05:12 1.67.2.1
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | .\" $NetBSD: BUILDING.mdoc,v 1.67 2008/09/24 07:36:52 apb Exp $ | 1 | .\" $NetBSD: BUILDING.mdoc,v 1.67.2.1 2008/11/15 22:05:12 snj Exp $ | |
2 | .\" | 2 | .\" | |
3 | .\" Copyright (c) 2001-2008 The NetBSD Foundation, Inc. | 3 | .\" Copyright (c) 2001-2008 The NetBSD Foundation, Inc. | |
4 | .\" All rights reserved. | 4 | .\" All rights reserved. | |
5 | .\" | 5 | .\" | |
6 | .\" This code is derived from software contributed to The NetBSD Foundation | 6 | .\" This code is derived from software contributed to The NetBSD Foundation | |
7 | .\" by Todd Vierling and Luke Mewburn. | 7 | .\" by Todd Vierling and Luke Mewburn. | |
8 | .\" | 8 | .\" | |
9 | .\" Redistribution and use in source and binary forms, with or without | 9 | .\" Redistribution and use in source and binary forms, with or without | |
10 | .\" modification, are permitted provided that the following conditions | 10 | .\" modification, are permitted provided that the following conditions | |
11 | .\" are met: | 11 | .\" are met: | |
12 | .\" 1. Redistributions of source code must retain the above copyright | 12 | .\" 1. Redistributions of source code must retain the above copyright | |
13 | .\" notice, this list of conditions and the following disclaimer. | 13 | .\" notice, this list of conditions and the following disclaimer. | |
14 | .\" 2. Redistributions in binary form must reproduce the above copyright | 14 | .\" 2. Redistributions in binary form must reproduce the above copyright | |
@@ -539,40 +539,28 @@ that the appropriate file ownership is s | @@ -539,40 +539,28 @@ that the appropriate file ownership is s | |||
539 | .DFLTn | 539 | .DFLTn | |
540 | . | 540 | . | |
541 | .It Sy MKUPDATE | 541 | .It Sy MKUPDATE | |
542 | .YorN | 542 | .YorN | |
543 | Indicates whether all install operations intended to write to | 543 | Indicates whether all install operations intended to write to | |
544 | .Sy DESTDIR | 544 | .Sy DESTDIR | |
545 | will compare file timestamps before installing, and skip the install | 545 | will compare file timestamps before installing, and skip the install | |
546 | phase if the destination files are up-to-date. | 546 | phase if the destination files are up-to-date. | |
547 | This also has implications on full builds (see next subsection). | 547 | This also has implications on full builds (see next subsection). | |
548 | .DFLTn | 548 | .DFLTn | |
549 | . | 549 | . | |
550 | .It Sy MKX11 | 550 | .It Sy MKX11 | |
551 | .YorN | 551 | .YorN | |
552 | Indicates whether X11R6 is built from | 552 | Indicates whether X11 is built from | |
553 | .Sy X11SRCDIR . | 553 | .Sy X11SRCDIR . | |
554 | .Pp | |||
555 | Mutually exclusive to | |||
556 | .Sy MKXORG != no . | |||
557 | .DFLTn | |||
558 | . | |||
559 | .It Sy MKXORG | |||
560 | .YorN | |||
561 | Indicates whether X11R7 (modular Xorg) is built from | |||
562 | .Sy X11SRCDIR . | |||
563 | .Pp | |||
564 | Mutually exclusive to | |||
565 | .Sy MKX11 != no . | |||
566 | .DFLTn | 554 | .DFLTn | |
567 | . | 555 | . | |
568 | .It Sy TOOLDIR | 556 | .It Sy TOOLDIR | |
569 | Directory to hold the host tools, once built. | 557 | Directory to hold the host tools, once built. | |
570 | If specified, must be an absolute path. | 558 | If specified, must be an absolute path. | |
571 | This directory should be unique to a given host system and | 559 | This directory should be unique to a given host system and | |
572 | .Nx | 560 | .Nx | |
573 | source tree. | 561 | source tree. | |
574 | (However, multiple targets may share the same | 562 | (However, multiple targets may share the same | |
575 | .Sy TOOLDIR ; | 563 | .Sy TOOLDIR ; | |
576 | the target-dependent files have unique names.) If unset, a default based | 564 | the target-dependent files have unique names.) If unset, a default based | |
577 | on the | 565 | on the | |
578 | .Xr uname 1 | 566 | .Xr uname 1 | |
@@ -626,26 +614,37 @@ when using | @@ -626,26 +614,37 @@ when using | |||
626 | .Aq bsd.*.mk | 614 | .Aq bsd.*.mk | |
627 | outside the | 615 | outside the | |
628 | .Nx | 616 | .Nx | |
629 | source tree. | 617 | source tree. | |
630 | . | 618 | . | |
631 | .It Sy X11SRCDIR | 619 | .It Sy X11SRCDIR | |
632 | Directory containing the X11R6 source. | 620 | Directory containing the X11R6 source. | |
633 | If specified, must be an absolute path. | 621 | If specified, must be an absolute path. | |
634 | The main X11R6 source is found in | 622 | The main X11R6 source is found in | |
635 | .Sy X11SRCDIR Ns Pa /xfree/xc . | 623 | .Sy X11SRCDIR Ns Pa /xfree/xc . | |
636 | .DFLT | 624 | .DFLT | |
637 | .Dq /usr/xsrc | 625 | .Dq /usr/xsrc | |
638 | . | 626 | . | |
627 | .It Sy X11FLAVOUR | |||
628 | The style of X11 cross-built, set to either | |||
629 | .Dq Xorg | |||
630 | or | |||
631 | .Dq XFree86 . | |||
632 | .DFLT | |||
633 | .Dq Xorg | |||
634 | on amd64, i386, macppc, shark, sparc and sparc64 platforms, | |||
635 | .Dq XFree86 | |||
636 | on everything else. | |||
637 | . | |||
639 | .El | 638 | .El | |
640 | . | 639 | . | |
641 | .Ss \*qmake\*q variables for full builds | 640 | .Ss \*qmake\*q variables for full builds | |
642 | These variables only affect the top level | 641 | These variables only affect the top level | |
643 | .Dq Makefile | 642 | .Dq Makefile | |
644 | and do not affect manually building subtrees of the | 643 | and do not affect manually building subtrees of the | |
645 | .Nx | 644 | .Nx | |
646 | source code. | 645 | source code. | |
647 | . | 646 | . | |
648 | .Bl -tag -width "INSTALLWORLDDIR" | 647 | .Bl -tag -width "INSTALLWORLDDIR" | |
649 | . | 648 | . | |
650 | .It Sy INSTALLWORLDDIR | 649 | .It Sy INSTALLWORLDDIR | |
651 | Location for the | 650 | Location for the |
--- src/etc/Makefile 2008/10/19 22:05:20 1.359
+++ src/etc/Makefile 2008/11/15 22:05:12 1.359.2.1
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.359 2008/10/19 22:05:20 apb Exp $ | 1 | # $NetBSD: Makefile,v 1.359.2.1 2008/11/15 22:05:12 snj Exp $ | |
2 | # from: @(#)Makefile 8.7 (Berkeley) 5/25/95 | 2 | # from: @(#)Makefile 8.7 (Berkeley) 5/25/95 | |
3 | 3 | |||
4 | # Environment variables without default values: | 4 | # Environment variables without default values: | |
5 | # DESTDIR must be set before anything in this file will work. | 5 | # DESTDIR must be set before anything in this file will work. | |
6 | # RELEASEDIR is where the tarred up stuff for a snapshot or | 6 | # RELEASEDIR is where the tarred up stuff for a snapshot or | |
7 | # release will be placed. | 7 | # release will be placed. | |
8 | # | 8 | # | |
9 | # Environment variables with default values: | 9 | # Environment variables with default values: | |
10 | # LOCALTIME will set the default local time for the system you | 10 | # LOCALTIME will set the default local time for the system you | |
11 | # build; it determines what /etc/localtime is symlink'd to. | 11 | # build; it determines what /etc/localtime is symlink'd to. | |
12 | # KERNSRCDIR points to kernel source; it is set by default to ../sys, | 12 | # KERNSRCDIR points to kernel source; it is set by default to ../sys, | |
13 | # but can be overridden. | 13 | # but can be overridden. | |
14 | # KERNOBJDIR is the kernel build directory, it defaults to | 14 | # KERNOBJDIR is the kernel build directory, it defaults to | |
@@ -148,31 +148,33 @@ PWD_MKDB_ENDIAN= | @@ -148,31 +148,33 @@ PWD_MKDB_ENDIAN= | |||
148 | .endif | 148 | .endif | |
149 | 149 | |||
150 | 150 | |||
151 | # distribution -- | 151 | # distribution -- | |
152 | # Build a distribution | 152 | # Build a distribution | |
153 | # | 153 | # | |
154 | distribution: .PHONY .MAKE check_DESTDIR distrib-dirs | 154 | distribution: .PHONY .MAKE check_DESTDIR distrib-dirs | |
155 | .if !defined(DISTRIBUTION_DONE) | 155 | .if !defined(DISTRIBUTION_DONE) | |
156 | .if !defined(INSTALL_DONE) | 156 | .if !defined(INSTALL_DONE) | |
157 | ${MAKEDIRTARGET} ${NETBSDSRCDIR} include _DISTRIB= | 157 | ${MAKEDIRTARGET} ${NETBSDSRCDIR} include _DISTRIB= | |
158 | ${MAKEDIRTARGET} ${NETBSDSRCDIR} install _DISTRIB= | 158 | ${MAKEDIRTARGET} ${NETBSDSRCDIR} install _DISTRIB= | |
159 | .endif # !INSTALL_DONE | 159 | .endif # !INSTALL_DONE | |
160 | ${MAKEDIRTARGET} . install-etc-files | 160 | ${MAKEDIRTARGET} . install-etc-files | |
161 | .if ${MKXORG} != "no" | 161 | . if ${MKX11} != "no" | |
162 | . if ${X11FLAVOUR} == "Xorg" | |||
162 | ${MAKEDIRTARGET} ${NETBSDSRCDIR}/external/mit/xorg distribution | 163 | ${MAKEDIRTARGET} ${NETBSDSRCDIR}/external/mit/xorg distribution | |
163 | .elif ${MKX11} != "no" | 164 | . else | |
164 | ${MAKEDIRTARGET} ${NETBSDSRCDIR}/x11 distribution | 165 | ${MAKEDIRTARGET} ${NETBSDSRCDIR}/x11 distribution | |
165 | .endif | 166 | . endif | |
167 | . endif | |||
166 | ${MAKEDIRTARGET} ${NETBSDSRCDIR}/distrib/sets makesetfiles | 168 | ${MAKEDIRTARGET} ${NETBSDSRCDIR}/distrib/sets makesetfiles | |
167 | .endif # !DISTRIBUTION_DONE | 169 | .endif # !DISTRIBUTION_DONE | |
168 | 170 | |||
169 | 171 | |||
170 | CLEANFILES+= MAKEDEV | 172 | CLEANFILES+= MAKEDEV | |
171 | MAKEDEV: .EXEC | 173 | MAKEDEV: .EXEC | |
172 | ${_MKTARGET_CREATE} | 174 | ${_MKTARGET_CREATE} | |
173 | MACHINE=${MACHINE:Q} MACHINE_ARCH=${MACHINE_ARCH:Q} \ | 175 | MACHINE=${MACHINE:Q} MACHINE_ARCH=${MACHINE_ARCH:Q} \ | |
174 | NETBSDSRCDIR=${NETBSDSRCDIR:Q} \ | 176 | NETBSDSRCDIR=${NETBSDSRCDIR:Q} \ | |
175 | ${TOOL_AWK} -f ${.CURDIR}/MAKEDEV.awk ${.CURDIR}/MAKEDEV.tmpl \ | 177 | ${TOOL_AWK} -f ${.CURDIR}/MAKEDEV.awk ${.CURDIR}/MAKEDEV.tmpl \ | |
176 | > ${.TARGET} | 178 | > ${.TARGET} | |
177 | 179 | |||
178 | RELEASEVARS= BSDOBJDIR BSDSRCDIR BUILDID \ | 180 | RELEASEVARS= BSDOBJDIR BSDSRCDIR BUILDID \ | |
@@ -180,35 +182,35 @@ RELEASEVARS= BSDOBJDIR BSDSRCDIR BUILDID | @@ -180,35 +182,35 @@ RELEASEVARS= BSDOBJDIR BSDSRCDIR BUILDID | |||
180 | INSTALLWORLDDIR \ | 182 | INSTALLWORLDDIR \ | |
181 | KERNARCHDIR KERNCONFDIR KERNOBJDIR KERNSRCDIR \ | 183 | KERNARCHDIR KERNCONFDIR KERNOBJDIR KERNSRCDIR \ | |
182 | MACHINE MACHINE_ARCH MAKE MAKECONF MAKEFLAGS \ | 184 | MACHINE MACHINE_ARCH MAKE MAKECONF MAKEFLAGS \ | |
183 | MAKEOBJDIR MAKEOBJDIRPREFIX MAKEVERBOSE \ | 185 | MAKEOBJDIR MAKEOBJDIRPREFIX MAKEVERBOSE \ | |
184 | MKBFD MKCATPAGES \ | 186 | MKBFD MKCATPAGES \ | |
185 | MKCRYPTO MKCRYPTO_IDEA MKCRYPTO_MDC2 MKCRYPTO_RC5 MKCVS \ | 187 | MKCRYPTO MKCRYPTO_IDEA MKCRYPTO_MDC2 MKCRYPTO_RC5 MKCVS \ | |
186 | MKDEBUG MKDEBUGLIB MKDOC MKDYNAMICROOT \ | 188 | MKDEBUG MKDEBUGLIB MKDOC MKDYNAMICROOT \ | |
187 | MKGCC MKGCCCMDS MKGDB \ | 189 | MKGCC MKGCCCMDS MKGDB \ | |
188 | MKHESIOD MKHOSTOBJ MKHTML MKIEEEFP MKINET6 MKINFO MKIPFILTER \ | 190 | MKHESIOD MKHOSTOBJ MKHTML MKIEEEFP MKINET6 MKINFO MKIPFILTER \ | |
189 | MKKERBEROS MKLDAP MKLINKLIB MKLINT \ | 191 | MKKERBEROS MKLDAP MKLINKLIB MKLINT \ | |
190 | MKMAN MKMANZ MKNLS MKNVI MKOBJ MKOBJDIRS \ | 192 | MKMAN MKMANZ MKNLS MKNVI MKOBJ MKOBJDIRS \ | |
191 | MKPAM MKPF MKPIC MKPICINSTALL MKPICLIB MKPOSTFIX MKPROFILE \ | 193 | MKPAM MKPF MKPIC MKPICINSTALL MKPICLIB MKPOSTFIX MKPROFILE \ | |
192 | MKSHARE MKSKEY MKSOFTFLOAT MKSTATICLIB \ | 194 | MKSHARE MKSKEY MKSOFTFLOAT MKSTATICLIB \ | |
193 | MKUNPRIVED MKUPDATE MKX11 MKXORG MKYP \ | 195 | MKUNPRIVED MKUPDATE MKX11 MKYP \ | |
194 | NBUILDJOBS NETBSDSRCDIR \ | 196 | NBUILDJOBS NETBSDSRCDIR \ | |
195 | NOCLEANDIR NODISTRIBDIRS NOINCLUDES \ | 197 | NOCLEANDIR NODISTRIBDIRS NOINCLUDES \ | |
196 | OBJMACHINE \ | 198 | OBJMACHINE \ | |
197 | RELEASEDIR RELEASEMACHINEDIR TOOLCHAIN_MISSING TOOLDIR \ | 199 | RELEASEDIR RELEASEMACHINEDIR TOOLCHAIN_MISSING TOOLDIR \ | |
198 | USE_HESIOD USE_INET6 USE_JEMALLOC USE_KERBEROS USE_LDAP \ | 200 | USE_HESIOD USE_INET6 USE_JEMALLOC USE_KERBEROS USE_LDAP \ | |
199 | USE_PAM USE_SKEY USE_YP \ | 201 | USE_PAM USE_SKEY USE_YP \ | |
200 | USETOOLS USR_OBJMACHINE \ | 202 | USETOOLS USR_OBJMACHINE \ | |
201 | X11SRCDIR | 203 | X11SRCDIR X11FLAVOUR | |
202 | 204 | |||
203 | params: .PHONY | 205 | params: .PHONY | |
204 | .for var in ${RELEASEVARS} | 206 | .for var in ${RELEASEVARS} | |
205 | .if defined(${var}) | 207 | .if defined(${var}) | |
206 | @printf "%20s = '%-s'\n" ${var} ${${var}:Q} | 208 | @printf "%20s = '%-s'\n" ${var} ${${var}:Q} | |
207 | .else | 209 | .else | |
208 | @printf "%20s = (undefined)\n" ${var} | 210 | @printf "%20s = (undefined)\n" ${var} | |
209 | .endif | 211 | .endif | |
210 | .endfor | 212 | .endfor | |
211 | 213 | |||
212 | CLEANFILES+= etc-release | 214 | CLEANFILES+= etc-release | |
213 | etc-release: .EXEC .MAKE | 215 | etc-release: .EXEC .MAKE | |
214 | ${_MKTARGET_CREATE} | 216 | ${_MKTARGET_CREATE} | |
@@ -347,33 +349,33 @@ install-etc-files: .PHONY .MAKE check_DE | @@ -347,33 +349,33 @@ install-etc-files: .PHONY .MAKE check_DE | |||
347 | .if (${MKCRYPTO} != "no") | 349 | .if (${MKCRYPTO} != "no") | |
348 | ${MAKEDIRTARGET} ${NETBSDSRCDIR}/usr.bin/ssh configinstall | 350 | ${MAKEDIRTARGET} ${NETBSDSRCDIR}/usr.bin/ssh configinstall | |
349 | .endif | 351 | .endif | |
350 | .if (${MKPOSTFIX} != "no") | 352 | .if (${MKPOSTFIX} != "no") | |
351 | ${MAKEDIRTARGET} ${NETBSDSRCDIR}/gnu/usr.sbin/postfix configinstall | 353 | ${MAKEDIRTARGET} ${NETBSDSRCDIR}/gnu/usr.sbin/postfix configinstall | |
352 | .endif | 354 | .endif | |
353 | 355 | |||
354 | 356 | |||
355 | # install-obsolete-lists -- | 357 | # install-obsolete-lists -- | |
356 | # Install var/db/obsolete set lists; this is performed by "make build" | 358 | # Install var/db/obsolete set lists; this is performed by "make build" | |
357 | # | 359 | # | |
358 | OBSOLETE.dir= ${.OBJDIR}/obsolete.dir | 360 | OBSOLETE.dir= ${.OBJDIR}/obsolete.dir | |
359 | OBSOLETE.files= base comp etc games man misc tests text | 361 | OBSOLETE.files= base comp etc games man misc tests text | |
360 | .if ${MKX11} != "no" || ${MKXORG} != "no" | 362 | .if ${MKX11} != "no" | |
361 | OBSOLETE.files+= xbase xcomp xetc xfont xserver | 363 | OBSOLETE.files+= xbase xcomp xetc xfont xserver | |
362 | .endif | 364 | .endif | |
363 | 365 | |||
364 | install-obsolete-lists: .PHONY .MAKE | 366 | install-obsolete-lists: .PHONY .MAKE | |
365 | mkdir -p ${OBSOLETE.dir} | 367 | mkdir -p ${OBSOLETE.dir} | |
366 | .if ${MKX11} != "no" || ${MKXORG} != "no" | 368 | .if ${MKX11} != "no" | |
367 | (cd ${NETBSDSRCDIR}/distrib/sets && \ | 369 | (cd ${NETBSDSRCDIR}/distrib/sets && \ | |
368 | MAKE=${MAKE:Q} ${HOST_SH} ./makeobsolete -b -t ${OBSOLETE.dir}) | 370 | MAKE=${MAKE:Q} ${HOST_SH} ./makeobsolete -b -t ${OBSOLETE.dir}) | |
369 | .else | 371 | .else | |
370 | (cd ${NETBSDSRCDIR}/distrib/sets && \ | 372 | (cd ${NETBSDSRCDIR}/distrib/sets && \ | |
371 | MAKE=${MAKE:Q} ${HOST_SH} ./makeobsolete -t ${OBSOLETE.dir}) | 373 | MAKE=${MAKE:Q} ${HOST_SH} ./makeobsolete -t ${OBSOLETE.dir}) | |
372 | .endif | 374 | .endif | |
373 | .for file in ${OBSOLETE.files} | 375 | .for file in ${OBSOLETE.files} | |
374 | ${_MKMSG_INSTALL} ${DESTDIR}/var/db/obsolete/${file} | 376 | ${_MKMSG_INSTALL} ${DESTDIR}/var/db/obsolete/${file} | |
375 | ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ | 377 | ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ | |
376 | ${OBSOLETE.dir}/${file} ${DESTDIR}/var/db/obsolete | 378 | ${OBSOLETE.dir}/${file} ${DESTDIR}/var/db/obsolete | |
377 | .endfor | 379 | .endfor | |
378 | 380 | |||
379 | 381 |
--- src/external/mit/xorg/server/Makefile 2008/08/28 07:21:44 1.4
+++ src/external/mit/xorg/server/Makefile 2008/11/15 22:05:12 1.4.8.1
@@ -1,13 +1,9 @@ | @@ -1,13 +1,9 @@ | |||
1 | # $NetBSD: Makefile,v 1.4 2008/08/28 07:21:44 mrg Exp $ | 1 | # $NetBSD: Makefile,v 1.4.8.1 2008/11/15 22:05:12 snj Exp $ | |
2 | 2 | |||
3 | # Makefile for modular-xorg-server and drivers | 3 | # Makefile for modular-xorg-server and drivers | |
4 | 4 | |||
5 | .include <bsd.own.mk> | 5 | .include <bsd.own.mk> | |
6 | 6 | |||
7 | .if ${MKXORG_WITH_XSRC_XSERVER} != "no" | |||
8 | SUBDIR= ../../../../x11/Xserver | |||
9 | .else | |||
10 | SUBDIR= xorg-server drivers | 7 | SUBDIR= xorg-server drivers | |
11 | .endif | |||
12 | 8 | |||
13 | .include <bsd.subdir.mk> | 9 | .include <bsd.subdir.mk> |
--- src/share/man/man5/mk.conf.5 2008/09/10 11:16:41 1.41
+++ src/share/man/man5/mk.conf.5 2008/11/15 22:05:12 1.41.2.1
--- src/share/mk/bsd.README 2008/10/26 23:13:24 1.236
+++ src/share/mk/bsd.README 2008/11/15 22:05:12 1.236.2.1
--- src/share/mk/bsd.own.mk 2008/10/29 23:46:52 1.542
+++ src/share/mk/bsd.own.mk 2008/11/15 22:05:12 1.542.2.1
--- src/share/mk/bsd.x11.mk 2008/10/25 22:27:36 1.70
+++ src/share/mk/bsd.x11.mk 2008/11/15 22:05:12 1.70.2.1
--- src/usr.bin/ssh/Attic/Makefile.inc 2008/10/27 08:27:04 1.17
+++ src/usr.bin/ssh/Attic/Makefile.inc 2008/11/15 22:05:12 1.17.2.1
@@ -1,37 +1,37 @@ | @@ -1,37 +1,37 @@ | |||
1 | # $NetBSD: Makefile.inc,v 1.17 2008/10/27 08:27:04 hubertf Exp $ | 1 | # $NetBSD: Makefile.inc,v 1.17.2.1 2008/11/15 22:05:12 snj Exp $ | |
2 | 2 | |||
3 | .include <bsd.own.mk> | 3 | .include <bsd.own.mk> | |
4 | 4 | |||
5 | USE_FORT?= yes # network client/server | 5 | USE_FORT?= yes # network client/server | |
6 | 6 | |||
7 | SSHDIST?= ${NETBSDSRCDIR}/crypto/dist/ssh | 7 | SSHDIST?= ${NETBSDSRCDIR}/crypto/dist/ssh | |
8 | 8 | |||
9 | CPPFLAGS+=-I${SSHDIST} -DHAVE_LOGIN_CAP -DHAVE_MMAP -DHAVE_OPENPTY | 9 | CPPFLAGS+=-I${SSHDIST} -DHAVE_LOGIN_CAP -DHAVE_MMAP -DHAVE_OPENPTY | |
10 | .PATH: ${SSHDIST} | 10 | .PATH: ${SSHDIST} | |
11 | 11 | |||
12 | LDADD+= -lssh -lcrypto -lcrypt -lz | 12 | LDADD+= -lssh -lcrypto -lcrypt -lz | |
13 | DPADD+= ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT} ${LIBZ} | 13 | DPADD+= ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT} ${LIBZ} | |
14 | 14 | |||
15 | .if (${USE_PAM} != "no") | 15 | .if (${USE_PAM} != "no") | |
16 | CPPFLAGS+=-DUSE_PAM | 16 | CPPFLAGS+=-DUSE_PAM | |
17 | .else # USE_PAM == no | 17 | .else # USE_PAM == no | |
18 | .if (${USE_SKEY} != "no") | 18 | .if (${USE_SKEY} != "no") | |
19 | CPPFLAGS+=-DSKEY | 19 | CPPFLAGS+=-DSKEY | |
20 | .endif | 20 | .endif | |
21 | .endif # USE_PAM == no | 21 | .endif # USE_PAM == no | |
22 | 22 | |||
23 | .if (${USE_KERBEROS} != "no") | 23 | .if (${USE_KERBEROS} != "no") | |
24 | CPPFLAGS+=-DGSSAPI -I${DESTDIR}/usr/include/gssapi | 24 | CPPFLAGS+=-DGSSAPI -I${DESTDIR}/usr/include/gssapi | |
25 | CPPFLAGS+=-DKRB5 -I${DESTDIR}/usr/include/krb5 -DHEIMDAL | 25 | CPPFLAGS+=-DKRB5 -I${DESTDIR}/usr/include/krb5 -DHEIMDAL | |
26 | .endif | 26 | .endif | |
27 | 27 | |||
28 | .if (${MKXORG} != "no") | 28 | .if ${X11FLAVOUR} == "Xorg" | |
29 | CPPFLAGS+=-DX11BASE=\"/usr/X11R7\" | 29 | CPPFLAGS+=-DX11BASE=\"/usr/X11R7\" | |
30 | .endif | 30 | .endif | |
31 | 31 | |||
32 | CPPFLAGS+=-DSUPPORT_UTMP -DSUPPORT_UTMPX | 32 | CPPFLAGS+=-DSUPPORT_UTMP -DSUPPORT_UTMPX | |
33 | CPPFLAGS+=-DLIBWRAP | 33 | CPPFLAGS+=-DLIBWRAP | |
34 | 34 | |||
35 | .if exists(${.CURDIR}/../../Makefile.inc) | 35 | .if exists(${.CURDIR}/../../Makefile.inc) | |
36 | .include "${.CURDIR}/../../Makefile.inc" | 36 | .include "${.CURDIR}/../../Makefile.inc" | |
37 | .endif | 37 | .endif |