Commit Graph

336 Commits

Author SHA1 Message Date
christos 69b6b2b0d0 Add WARNS=6 2014-09-06 12:12:32 +00:00
apb 6b9469411b Provide and document GZIP_N_FLAG and TOOL_GZIP_N.
These may be used to pass "-nT" instead of just "-n"
when the gzip program is actually pigz.
2014-08-05 15:25:20 +00:00
dholland fa41303899 Add MKGROFFHTMLDOC and make it default to no. It seems that sometimes
when generating html groff runs netpbm behind your back. Needless to
say we don't have netpbm in base, so this fails on a clean install; so
for now disable generating html for /usr/share/doc by default.
Workaround for PR 48970.

It seems that all available document preparation toolchains are made
of fail.
2014-07-06 18:22:03 +00:00
dholland 0663904a6f Remove HTMLDOCDIR; it is no longer used (and doesn't fit the docs
scheme) and it was never honored anyway except in a couple places.
2014-07-05 19:23:38 +00:00
phx 3cf2564bdb Use TOOL_NCDCS to turn an ibmnws kernel automatically into a valid NCD
firmware image for netbooting. This is still a valid ELF kernel, but with
a patched CRC checksum and image size included.
2014-05-08 13:58:34 +00:00
martin ecad429601 As discussed on tech-toolchain, offer a new make variable MKKDEBUG - if
set to "yes", kernel builds will gain debug info and a netbsd.gdb will
be created (same as adding "makeoptions DEBUG=-g" to the config file).
2014-05-05 19:06:29 +00:00
christos 4730dabc79 Add -g (gnu) so lint recognizes __attribute__ 2014-04-18 00:37:46 +00:00
ozaki-r 1339b2cc13 Add MKCTF
This variable separates CTF stuffs from MKDTRACE; we can build DTrace
solely without building and using them. This allows us to use DTrace
even if CTF stuffs have problems (actually they have now).

This variable would be merged into MKDTRACE eventually, once CTF stuffs
work correctly again.
2014-03-25 09:52:55 +00:00
skrll 6d3ceb1d61 Rename NetBSD/hp700 to NetBSD/hppa.
Unfortunately our VCS isn't very helpful here.
2014-02-24 07:23:38 +00:00
apb 23e368546c Document TOOL_GZIP. 2014-01-27 07:57:28 +00:00
christos 5344ef6679 - Add a new bsd.host.mk that contains all the HOST_ variables extracted from
bsd.sys.mk and bsd.own.mk
- Add protection requiring that:
	1. bsd.sys.mk is not include from other Makefiles directly
	2. bsd.own.mk must be included before bsd.sys.mk since it
	   sets variables that bsd.sys.mk uses as conditionals.

This is step 1 of removing all variable settings from bsd.sys.mk and
leaving behind only rules. This way, the structure of a standard Makefile
is:
	variable overrides

	optionally include bsd.own.mk
	optionally include bsd.endian.mk

	variable settings that use variables defined in bsd.own.mk

	include a one or more rule .mk files (such as bsd.prog.mk etc)
2014-01-16 01:19:46 +00:00
christos 97d4e30936 use bsd.syscall.mk 2014-01-14 18:51:45 +00:00
apb adecfa9d02 Document new default for MKARZERO. 2014-01-14 11:32:35 +00:00
matt 732b0a7b58 Describe MACHINES.${MACHINE_CPU}. <fixme>
Add sparc64 to MACHINES.sparc since sparc64 can be build as sparc.
2013-12-06 23:14:15 +00:00
joerg d0f0da0f65 Relink binaries if crti.o changes. 2013-11-11 10:24:53 +00:00
mrg 27d21cc6e9 add MKDEPCXX, that is used for C++ files depend creation. also
add some missing ${COPTS.${.IMPSRC:T}} and ${CPUFLAGS.${.IMPSRC:T}}
to the dependancy rules.

this makes it possible to have C++ files .d files created with the
C++ compiler, and with the normal options for this file, which
means that we can build libstdc++-v3 from gcc 4.8.
2013-10-28 01:47:13 +00:00
christos 986a0d2f80 Add libxcb 2013-09-29 14:36:25 +00:00
adam d048c62b15 Fixed a typo 2013-08-03 19:31:26 +00:00
mbalmer d7a7f8507d New variable MKX11MOTIF to enable building libGLw with Motif support.
Defaults to 'no'.
2013-06-02 11:02:40 +00:00
mrg f8cebe2a9e add LIBX11_XCB; unfortunately since the library is named with a -
in it, we have to use an ugly hard coded assignment for now.
(could be cleaned up with more make variable magic i'm sure.)
2013-05-31 06:48:43 +00:00
joerg c7fbe15f37 MKLIBCXX and MKLIBSTDCXX 2013-04-28 04:44:21 +00:00
christos 287e82f1db add new libevent2 libraries. 2013-04-11 01:27:46 +00:00
christos aa3d3ee6d3 MKDEPINCLUDES support. 2013-03-05 02:02:07 +00:00
jmmv 7d3a48f1d2 Hook Lutok into the build. This is all protected by the MKKYUA guard. 2013-02-16 21:40:05 +00:00
jmmv 88eb066b41 Add the MKKYUA knob.
MKKYUA defaults to no and will remain as such until the import is complete
and validated.

This knob does not currently have any effects on the build as nothing relies
on it yet.  Upcoming imports and changes in this area will all be guarded by
this flag.
2013-02-15 19:49:48 +00:00
jmcneill 01401401c3 add TOOL_MKNOD 2013-02-10 22:05:51 +00:00
apb 30bff44eb3 Document MAKEDIRTARGETENV 2012-12-02 20:19:46 +00:00
alnsn fab5cb6386 Document MKSLJIT variable. 2012-11-24 14:01:28 +00:00
apb b7f14c7e34 On second thoughts, don't run "rm -rf" in bsd.clean.mk. Instead,
document that CLEANFILES and CLEANDIRFILES must not contain
directory names.
2012-11-19 16:04:54 +00:00
pooka 813e9ae68d Make it easier build binaries against the host's libs, e.g.
libpthread which might be in /lib/x86_64-linux-gnu/libpthread.so.0
or some other unholy place.
2012-11-13 22:30:38 +00:00
christos acfddfeed2 add MKTPM, default to no 2012-11-04 16:27:28 +00:00
apb 9a72dfd1d1 Add _NETBSD_VERSION_DEPENDS in bsd.own.mk. Targets that need
to be re-generated when the NetBSD version numberchanges,
or when any build-related variables change, may depend on
${_NETBSD_VERSION_DEPENDS}.
2012-11-04 10:59:13 +00:00
jkoshy 1590a10806 Document the MKKMOD build knob. 2012-10-02 04:53:11 +00:00
jkoshy 02a811410b Note that the MKCOMPAT build knob is supported on mips64-based
architectures.
2012-09-30 03:07:25 +00:00
jkoshy e8679a18c5 Document the MKDTRACE build knob.
Reviewed by:	apb
2012-09-29 12:03:41 +00:00
abs b094e520e2 strip trailing whitespace - noted by Snader_LB on IRC 2012-09-20 15:48:54 +00:00
joerg 067600c8cf Revert last, it breaks the tricks xsrc uses. 2012-08-23 21:21:14 +00:00
joerg 8e96262375 Remove SHLIBINSTALLDIR and SHLINKINSTALLLIBDIR. Add rpath entries, if
SHLIBDIR differs from /usr/lib.
2012-08-23 15:45:02 +00:00
christos eda981fc36 add MKRUMP by popular demand. 2012-08-08 13:56:13 +00:00
spz 67d12f6407 more MKCRYPTO_IDEA and MKCRYPTO_MDC2 removal (resp, adjustment to IDEA and
MBC2 now always being included)
MKCRYPTO_RC5 now builds shared libs, add the missing files to sets
2012-07-14 16:04:04 +00:00
plunky f46033d093 since we seem to have grown a WARNS=5, list it here 2012-06-19 06:20:13 +00:00
wiz f6eeb323a5 Document MKREPRO here as well. 2012-05-25 10:48:48 +00:00
tron df92d05dec Move "libexpat" from X11 into base which fixes PR lib/40346.
This change was approved by the Core Group.
2012-02-29 20:07:51 +00:00
joerg 23782b5c2b Derive MANINSTALL from MKCATPAGES and MKHTML. 2012-02-17 00:00:02 +00:00
joerg 6c39547510 Sync with reality for MKCATPAGES and MKMANDOC. 2012-02-07 22:58:49 +00:00
christos c37ad7ee66 Provide a way to override the default objcopy flags for library modules. 2012-01-28 21:32:13 +00:00
christos 50a5b513a2 Add libtre 2011-11-05 22:56:30 +00:00
christos e4a5483fe0 rump not rum 2011-10-16 01:28:35 +00:00
christos c4fb05f751 fix list of libraries to reflect reality. 2011-10-16 01:14:33 +00:00
apb 3c4ccf5215 Add MKCLEANSRC and MKCLEANVERIFY variables, defaulting to "yes".
You may set them to "no" to get the old behaviour of "make clean"
and "make cleandir".
2011-10-05 12:34:04 +00:00