Commit Graph

321 Commits

Author SHA1 Message Date
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
apb 386a389aab Move all "clean" and "cleandir" processing to a new bsd.clean.mk
file, as proposed in tech-toolchain.
2011-09-10 16:57:35 +00:00
apb f6a28000e5 Document the FILESBUILD variable, which was added in
bsd.files.mk revision 1.41 dated 2010-02-03.
2011-09-09 10:08:14 +00:00
matt dd0507a9a5 Replace gzip with ${TOOL_GZIP} in manual compression.
Modify the description of USE_PIGZGZIP.
2011-06-30 18:13:51 +00:00
joerg 70e887f5ec Add an alternative to NOGCCERROR for clang. 2011-05-30 13:47:01 +00:00
plunky 762c58f13a simplify PCC inclusion; MKPCCDMDS is not really required 2011-05-20 16:02:21 +00:00
joerg 1fe45e28aa Add fine-grained compiler selection, including clang support. 2011-05-19 14:29:27 +00:00
bouyer d9210c2405 Add a new libquota library, which contains some blocks to build and/or
parse quota plists; as well as a getfsquota() function to retrieve quotas
for a single id from a single filesystem (whatever filesystem this is:
a local quota-enabled fs or NFS). This is build on functions getufsquota()
(for local filesystems with UFS-like quotas) and getnfsquota();
which are also available to userland programs.
move functions from quota2_subr.c to libquota or libprop as appropriate,
and ajust in-tree quota tools.
move some declarations from kernel headers to either sys/quota.h or
quota/quota.h as appropriate. ufs/ufs/quota.h still installed because
it's needed by other installed ufs headers.
ufs/ufs/quota1.h still installed as a quick&dirty way to get a code
using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of
ufs/ufs/quota.h - old code won't compile without this change and this is
on purpose).
Discussed on tech-kern@ and tech-net@ (long thread, but not much about
libquota itself ...)
2011-03-24 17:05:39 +00:00
jmmv 07be9009b6 Define LIBATF_C and LIBATF_CXX to point to their corresponding .a files and
use these to properly set DPADD for test programs.
2011-02-20 20:16:01 +00:00
joerg 681aec7b5a USETBL no longer disables mandoc processing. 2011-01-12 23:05:31 +00:00
mbalmer aa94cc597c Link Lua to the build and add the resulting files to the distribution sets.
Document the addition of Lua and the change we made to the default settings.
2010-10-31 11:52:50 +00:00
reed db8c589cdc For MLINKS description, remove sentence saying they
are soft-linked (as it is not accurate).
2010-08-25 15:24:29 +00:00
rmind 2e6f2099c6 Import NPF - a packet filter. Some features:
- Designed to be fully MP-safe and highly efficient.

- Tables/IP sets (hash or red-black tree) for high performance lookups.

- Stateful filtering and Network Address Port Translation (NAPT).
  Framework for application level gateways (ALGs).

- Packet inspection engine called n-code processor - inspired by BPF -
  supporting generic RISC-like and specific CISC-like instructions for
  common patterns (e.g. IPv4 address matching).  See npf_ncode(9) manual.

- Convenient userland utility npfctl(8) with npf.conf(8).

NOTE: This is not yet a fully capable alternative to PF or IPFilter.
Further work (support for binat/rdr, return-rst/return-icmp, common ALGs,
state saving/restoring, logging, etc) is in progress.

Thanks a lot to Matt Thomas for various useful comments and code review.
Aye by: board@
2010-08-22 18:56:18 +00:00
mrg 25c3593d4e add new option to build/use tools/pigz for compressing sets. for now
USE_PIGZGZIP defaults to "no".  (it depends upon local <pthread.h> and -lz.)

you can set it to "yes" on most modern platforms just fine.
2010-08-15 07:27:33 +00:00
mrg 88d56f4c97 - note that if MKINET6 is "no", MK11 must also be "no". we don't support
building X11 without inet6 support.  the support to maintain patches to
  generated files and other files is too great.  PR#42856
- add TOOL_PIGZ, which defaults to the (not yet default) built tools/pigz.
2010-06-20 06:54:23 +00:00
mrg 1909f84b1c - always install pigz. hooary!
- kill MKPIGZ.
- add MKPIGZGZIP.  if it is "no", then only install pigz as pigz.  if it is
  not "no", don't install mrgzip, install pigz as gzip.

in all cases, the z* scripts.


i don't like the name MKPIGZGZIP so if anyone has a better name, feel free
to replace it.  i don't care enough since killing the ugly name is just
more incentive to get pigz doing .bz2, .Z and .z.
2010-06-19 03:50:30 +00:00