summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* MFC r266473,267331,267511:ian2014-08-191-47/+60
| | | | | | | | | | | | | | | | Use an intermediate target to associate with _SUBDIR which is marked .MAKE this allows make -n to do tree walks as expected without doing anything else (as intended). Use prefix _sub. to help avoid conflict with any real target. Put the test suite in its own tests.txz distribution file. Force all the contents of /usr/tests to go into a separate distribution file so that users of binary releases can easily choose to not install Create a mechanism for providing fine-grained build order dependencies during SUBDIR_PARALLEL builds. This augments the coarse .WAIT mechanism, which is still useful if you've got a situation such as "almost everything depends on A and B".
* MFC r263778:dim2014-04-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a SUBDIR_PARALLEL option to bsd.subdir.mk, to allow make to process all the SUBDIR entries in parallel, instead of serially. Apply this option to a selected number of Makefiles, which can greatly speed up the build on multi-core machines, when using make -j. This can be extended to more Makefiles later on, whenever they are verified to work correctly with parallel building. I tested this on a 24-core machine, with make -j48 buildworld (N = 6): before stddev after stddev ======= ====== ======= ====== real time 1741.1 16.5 959.8 2.7 user time 12468.7 16.4 14393.0 16.8 sys time 1825.0 54.8 2110.6 22.8 (user+sys)/real 8.2 17.1 E.g. the build was approximately 45% faster in real time. On machines with less cores, or with lower -j settings, the speedup will not be as impressive. But at least you can now almost max out a machine with buildworld! Submitted by: jilles MFC r263833: Enable parallel building for gnu/usr.bin and usr.bin/clang too.
* MFC: r262398,r262399,r262410,r262975bapt2014-03-111-0/+1
| | | | | | | | | | | | | | Import libucl into head UCL is heavily infused by nginx configuration as the example of a convenient configuration system. However, UCL is fully compatible with JSON format and is able to parse json files. UCL is used by pkg(8) for its configuration file as well for the manifest format in packages, it will be used in base for the pkg boostrap (signature checking and configuration file parsing.) libucl has been developped and is maintained by vsevolod@
* Set up the /usr/tests hierarchy.jmmv2013-12-281-5/+7
| | | | | | | | | | | | | | | | | This is a MFC of the following into stable/10: - r257097 Set up the /usr/tests hierarchy. - r257098 Add missing WITHOUTTESTS file. - r257100 Add a tests(7) manual page. - r257105 Disable WITHTESTS= for now. - r257848 Fix buildworld when WITHTESTS is enabled. - r257850 Subsume the functionality of MKATF into MKTESTS. - r257851 Handle the removal of the test suite when WITHOUTTESTS=yes. - r257852 Install category Kyuafiles from their category directories. - r258232 Install BSD.tests.mtree when MKTESTS is yes. Note that building with WITH_TESTS is still broken at this point (and hence why WITHOUT_TESTS is the set as the default). Subsequent pullups will fix the remaining issues.
* MFC r258283 - move iconv* symbols out of libc.so.7 namespace withpeter2013-11-201-0/+1
| | | | | | compatibility symbols to aid transition for existing 10.x installs. Approved by: re (kib)
* MFC r257583, r258012, r258013:gjb2013-11-161-5/+0
| | | | | | | | | | | | | | | | | | | r257583 (peter): Remove the WITH_LIBICONV_COMPAT hack that seems to do more harm than good. This caused libc to spoof the ports libiconv namespace and provide a colliding libiconv.so.3 to fool rtld. This should have been removed some time ago. r258012: Remove WITH_LIBICONV_COMPAT file to chase after r257583. r258013: Regenerate src.conf.5 after removal of WITH_LIBICONV_COMPAT. Approved by: re (kib) Sponsored by: The FreeBSD Foundation Sponsored by: The FreeBSD Foundation
* Remove BIND.des2013-09-301-5/+0
| | | | Approved by: re (gjb)
* Move libldns to the correct (ordered) library list.des2013-09-151-1/+1
| | | | Approved by: re (blanket)
* Build and install the Unbound caching DNS resolver daemon.des2013-09-151-0/+6
| | | | Approved by: re (blanket)
* Connect libexecinfo to the buildemaste2013-09-031-0/+1
| | | | Sponsored by: DARPA, AFRL
* The iconv in libc did two things - implement the standard APIs, the GNUpeter2013-08-131-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | extensions and also tried to be link time compatible with ports libiconv. This splits that functionality and enables the parts that shouldn't interfere with the port by default. WITH_ICONV (now on by default) - adds iconv.h, iconv_open(3) etc. WITH_LIBICONV_COMPAT (off by default) adds the libiconv_open etc API, linker symbols and even a stub libiconv.so.3 that are good enough to be able to 'pkg delete -f libiconv' on a running system and reasonably expect it to work. I have tortured many machines over the last few days to try and reduce the possibilities of foot-shooting as much as I can. I've successfully recompiled to enable and disable the libiconv_compat modes, ports that use libiconv alongside system iconv etc. If you don't enable the WITH_LIBICONV_COMPAT switch, they don't share symbol space. This is an extension of behavior on other system. iconv(3) is a standard libc interface and libiconv port expects to be able to run alongside it on systems that have it. Bumped osreldate.
* - Trim an unused and bogus Makefile for mount_smbfs.davide2013-06-281-0/+8
| | | | | | - Reconnect with some minor modifications, in particular now selsocket() internals are adapted to use sbintime units after recent'ish calloutng switch.
* Wrap the creation of the ../include link in /usr/lib inbrooks2013-04-301-1/+3
| | | | | | | | !defined(LIBRARIES_ONLY) so it is only created once on architectures with 32-bit compat support. Replace ln -fhs with ${INSTALL_SYMLINK} to the link is logged in the METALOG.
* An even more refined version of r249484, until we can come up withkientzle2013-04-191-1/+1
| | | | | | a good fix for the -print-file-name=include breakage. As suggested by Andrey Chernov.
* Fix the symlink creation from r249484 so that repeatedkientzle2013-04-191-1/+1
| | | | | | installs work correctly. Suggested by Tijl Coosemans.
* Install a symlinkkientzle2013-04-141-0/+3
| | | | | | | | | | /usr/lib/include ==> /usr/include This fixes -print-file-name=include in clang (and is arguably a better way to fix the same issue in GCC than the change I made in r231336). MFC after: 1 week
* Import libyaml as libbsdyml (private brand name)bapt2013-03-041-0/+1
| | | | | | | LibYAML is a YAML 1.1 parser and emitter under MIT license which will soon be used by the pkg boostrap (usr.bin/pkg) and bhyve Reviewed by: roberto, antoine
* Import LDNS and build it as an internal library.des2013-02-151-0/+5
|
* Sort by MK_* knob like the comment saysdes2013-02-041-5/+5
| | | | MFC after: 1 week
* IFC @ r244983.neel2013-01-041-1/+1
|\
| * With the old sade removed, libdisk is no longer used by anything in HEADnwhitehorn2012-12-301-1/+0
| | | | | | | | | | and uses a number of problematic pre-gpart interfaces. Since it has been entirely obsoleted by interfaces in geom, remove it.
| * Add libnetbsd, a thin compatibility layer intended to allow a limitedbrooks2012-12-211-0/+1
| | | | | | | | | | | | | | | | | | set of NetBSD software to compile as part of the FreeBSD build with little or no modifiction. It is built as a static library and not installed for general use. Likewise, its header files are not installed. Sponsored by: DARPA, AFRL
* | IFC @ r242940neel2012-11-131-0/+5
|\ \ | |/
| * Implement DTrace for PowerPC. This includes both 32-bit and 64-bit.jhibbits2012-11-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | There is one known issue: Some probes will display an error message along the lines of: "Invalid address (0)" I tested this with both a simple dtrace probe and dtruss on a few different binaries on 32-bit. I only compiled 64-bit, did not run it, but I don't expect problems without the modules loaded. Volunteers are welcome. MFC after: 1 month
* | IFC @ r242684neel2012-11-111-15/+6
|\ \ | |/
| * Add ATF to the build. This is may be a bit rought around the egdes,marcel2012-10-221-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | but committing it helps to get everyone on the same page and makes sure we make progress. Tinderbox breakages that are the result of this commit are entirely the committer's fault -- in other words: buildworld testing on amd64 only. Credits follow: Submitted by: Garrett Cooper <yanegomi@gmail.com> Sponsored by: Isilon Systems Based on work by: keramida@ Thanks to: gnn@, mdf@, mlaier@, sjg@ Special thanks to: keramida@
| * Apply local patches to mandoc and connect it to the build.uqs2012-10-201-0/+1
| | | | | | | | | | | | - adds a couple more library strings used in the tree - changes some more to the current groff spelling - changes page footer to match groff style
| * Disconnect non-MPSAFE SMBFS from the build in preparation for droppingattilio2012-10-181-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | GIANT from VFS. In addition, disconnect also netsmb, which is a base requirement for SMBFS. In the while SMBFS regular users can use FUSE interface and smbnetfs port to work with their SMBFS partitions. Also, there are ongoing efforts by vendor to support in-kernel smbfs, so there are good chances that it will get relinked once properly locked. This is not targeted for MFC.
| * Disconnect non-MPSAFE NWFS from the build in preparation for droppingattilio2012-10-171-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | GIANT from VFS. In addition, disconnect also netncp, which is a base requirement for NWFS. In the possibility of a future maintenance of the code and later readd to the FreeBSD base, maybe we should think about a better location for netncp. I'm not entirely sure the / top location is actually right, however I will let network people to comment on that more specifically. This is not targeted for MFC.
* | IFC @ r238370grehan2012-07-111-0/+6
|\ \ | |/
| * Import work done under project/nand (@235533) into head.gber2012-05-171-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The NAND Flash environment consists of several distinct components: - NAND framework (drivers harness for NAND controllers and NAND chips) - NAND simulator (NANDsim) - NAND file system (NAND FS) - Companion tools and utilities - Documentation (manual pages) This work is still experimental. Please use with caution. Obtained from: Semihalf Supported by: FreeBSD Foundation, Juniper Networks
| * Import stdbuf(1) and the shared library it relies on.jlh2012-04-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This tool changes the default buffering behaviour of standard stdio streams. It only works on dynamic binaries. To make it work for static ones it would require cluttering stdio because there no single entry point. PR: 166660 Reviewed by: current@, jhb Approved by: kib (mentor) MFC after: 1 week
* | IFC @ r234692grehan2012-04-261-1/+9
|\ \ | |/ | | | | | | | | | | | | | | | | | | sys/amd64/include/cpufunc.h sys/amd64/include/fpu.h sys/amd64/amd64/fpu.c sys/amd64/vmm/vmm.c - Add API to allow vmm FPU state init/save/restore. FP stuff discussed with: kib
| * Build libproc and librtld_db for MIPSgonzo2012-03-241-0/+5
| |
| * - Do not build libcom_err and compile_et when kerberos is disabled. Theystas2012-03-231-1/+4
| | | | | | | | | | depends on several heimdal libraries and not used by anything but kerberos tools.
* | IFC to head to catch up the bhyve branchsbruno2012-01-041-2/+10
|\ \ | |/ | | | | Approved by: grehan@
| * Fix typo in Makefile comment.rwatson2011-12-301-1/+1
| | | | | | | | MFC after: 3 days
| * Add libstdthreads.ed2011-12-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This library implements the C11 threads interface on top of the pthreads library. As discussed on the lists, the preferred way to implement this, is as a separate library. It is unlikely that these functions will be used a lot in the future. It would have been easier if the C11 working group standardized (a subset of) pthreads and clock_nanosleep(). Having it as a separate library allows the embedded people to omit it from their system. Discussed on: arch@, threads@
| * Fix breakage after r227983; lib/libcxxrt still got built, because it wasdim2011-11-261-7/+8
| | | | | | | | | | | | | | | | not disabled in the usual way (by adding it to __DEFAULT_NO_OPTIONS in share/mk/bsd.own.mk), and because the test for MK_LIBCPLUSPLUS in Makefile.inc1 was incorrect. Pointy hat to: dim
| * Import libc++ / libcxxrt into base. Not build by default yet (usetheraven2011-11-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | MK_LIBCPLUSPLUS=yes to enable). This is a work-in-progress. It works for me, but is not guaranteed to work for anyone else and may eat your dog. To build C++ using libc++, add -stdlib=libc++ to your CXX and LD flags. Bug reports welcome, bug fixes even more welcome... Approved by: dim (mentor)
* | IFC @ r226824grehan2011-10-271-8/+4
|\ \ | |/
| * Now that its only consumer is gone (sysinstall), remove libftpio as well.nwhitehorn2011-10-031-1/+0
| |
| * Remove a redundant check for libncp.jkim2011-10-031-6/+0
| | | | | | | | Submitted by: Alexander Sack (asack at niksun dot com)
* | IFC @ r222256grehan2011-05-241-5/+0
|\ \ | |/
| * Backout libinstall.a -> libpkg commit.flz2011-05-171-5/+0
| | | | | | | | Discussed with: erwin, brooks, bapt
* | First cut to port bhyve, vmmctl, and libvmmapi to HEAD.jhb2011-05-151-0/+2
|\ \ | |/ |/|
| * Import of bhyve hypervisor and utilities, part 1.grehan2011-05-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vmm.ko - kernel module for VT-x, VT-d and hypervisor control bhyve - user-space sequencer and i/o emulation vmmctl - dump of hypervisor register state libvmm - front-end to vmm.ko chardev interface bhyve was designed and implemented by Neel Natu. Thanks to the following folk from NetApp who helped to make this available: Joe CaraDonna Peter Snyder Jeff Heller Sandeep Mann Steve Miller Brian Pawlowski
| * MFC r207842, r207844, r208099:mm2010-05-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC r207842: Import of liblzma, xz, xzdec, lzmainfo from vendor branch Add support for xz and lzma to lesspipe.sh (xzless, lzless) MFC r207844: Add two public headers missing in r207842 Adjust CFLAGS for lzmainfo, xz, xzdec MFC r208099: Add versioned symbols to liblzma Use default SHLIB_MAJOR. Approved by: delphij (mentor)
| * MFC r204738, r205113 (imp):mm2010-05-181-15/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | MFC r204738: Remove stale references to libkrb5. Rejigger the SUBDIR setting a smidge: we now set all the libraries that depend on something else, and then SUBDIR+= the rest. MFC r205113: Make this conform to the other top-level Makefile subdir listings with one file per line. Approved by: delphij (mentor)
| * MFC x86emu/x86bios emulator and make previously i386 only dpms and vesadelphij2010-03-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | framebuffer driver, etc. work on FreeBSD/amd64. A significant amount of improvements were done by jkim@ during the recent months to make vesa(4) work better, over the initial code import. This work is based on OpenBSD's x86emu implementation and contributed by paradox <ddkprog yahoo com> and swell.k at gmail com. Hopefully I have stolen all their work to 8-STABLE :) All bugs in this commit are mine, as usual.
OpenPOWER on IntegriCloud