aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Make libohash a proper internallib instead of hidding it in m4Baptiste Daroussin2014-08-061-0/+1
| | | | | | | | mandoc development seems to be also using ohash so prepare to share the code when needed Notes: svn path=/head/; revision=269649
* Remove ia64.Marcel Moolenaar2014-07-071-6/+0
| | | | | | | | | | | | | | | | | | | | This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in comments and documentation This excludes: o Everything under contrib/ o Everything under crypto/ o sys/xen/interface o sys/sys/elf_common.h Discussed at: BSDcan Notes: svn path=/head/; revision=268351
* Create a mechanism for providing fine-grained build order dependenciesIan Lepore2014-06-151-52/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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". Because the parallel subdir mechanism uses non-obvious mangling of target names, which should probably remain a private detail of the implementation, it's not easy to do things like "libfoo: libbar", so instead the new mechanism lets you set a variable that lists dependencies: SUBDIR_DEPEND_libfoo= libgroodah libpouet Note that while I'm using libraries as an example here, it really has nothing to do with the generated library files. This is really saying "build in directory libfoo after building in the libgroodah and libpouet directories." This updates lib/Makefile with dependency information based on the old almost-accurate comment block and by combing through lib/* makefiles looking for LDADD dependencies to other libraries within lib/*. Reviewed by: Jia-Shiun Li <jiashiun@gmail.com> Notes: svn path=/head/; revision=267511
* Attach the CUSE library and kernel module to the default FreeBSDHans Petter Selasky2014-06-131-0/+5
| | | | | | | builds. Bump the FreeBSD version number. Notes: svn path=/head/; revision=267440
* Sprinkle a few more .WAITs into the mix after csu, libc, msun and theWarner Losh2014-05-101-1/+5
| | | | | | | | | early built libraries. This should be sufficient for most cases and has eliminated the issues I've seen with high -j builds. Races likely still remain, but this knocks the problem down a notch. Notes: svn path=/head/; revision=265839
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* lib: Remove duplicate SUBDIR libnv.Jilles Tjoelker2014-04-051-1/+0
| | | | | | | | With SUBDIR_PARALLEL, duplicates in ${SUBDIR} cause harmless but verbose warnings. Notes: svn path=/head/; revision=264167
* Add a SUBDIR_PARALLEL option to bsd.subdir.mk, to allow make to processDimitry Andric2014-03-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 after: 2 weeks Notes: svn path=/head/; revision=263778
* Remove IPX support.Gleb Smirnoff2014-03-141-5/+0
| | | | | | | | | | | | | | IPX was a network transport protocol in Novell's NetWare network operating system from late 80s and then 90s. The NetWare itself switched to TCP/IP as default transport in 1998. Later, in this century the Novell Open Enterprise Server became successor of Novell NetWare. The last release that claimed to still support IPX was OES 2 in 2007. Routing equipment vendors (e.g. Cisco) discontinued support for IPX in 2011. Thus, IPX won't be supported in FreeBSD 11.0-RELEASE. Notes: svn path=/head/; revision=263140
* Add 'libstatfoo' from Sam Leffler.Adrian Chadd2014-03-061-0/+1
| | | | Notes: svn path=/head/; revision=262821
* Remove libyaml, it has been replaced by libuclBaptiste Daroussin2014-02-231-1/+0
| | | | Notes: svn path=/head/; revision=262407
* Branch libucl to the buildBaptiste Daroussin2014-02-231-0/+1
| | | | Notes: svn path=/head/; revision=262399
* Please welcome casperd daemon. It (and its services) will be responsible forPawel Jakub Dawidek2013-12-021-0/+8
| | | | | | | | | | | | | | | | | | | | | | giving access to functionality that is not available in capability mode sandbox. The functionality can be precisely restricted. Start with the following services: - system.dns - provides API compatible to: - gethostbyname(3), - gethostbyname2(3), - gethostbyaddr(3), - getaddrinfo(3), - getnameinfo(3), - system.grp - provides getgrent(3)-compatible API, - system.pwd - provides getpwent(3)-compatible API, - system.random - allows to obtain entropy from /dev/random, - system.sysctl - provides sysctlbyname(3-compatible API. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=258838
* Move my simple logging API to a separate library. It is now already usedPawel Jakub Dawidek2013-12-011-1/+2
| | | | | | | | | | | | | by hastctl(8), hastd(8) and auditdistd(8) and will soon be also used by casperd(8) and its services. There is no documentation and pjdlog.h header file is not installed in /usr/include/ to keep it private. Unfortunately we don't have /lib/private/ at this point, only /usr/lib/private/, so the library is installed in /lib/. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=258791
* Attempt to move the POSIX iconv* symbols out of runtime linker space.Peter Wemm2013-11-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FreeBSD systems usually implemented this as a third party module and our implementation hasn't played as nicely with the old way as it could have. To that end: * Rename the iconv* symbols in libc.so.7 to have a __bsd_ prefix. * Provide .symver compatability with existing 10.x+ binaries that referenced the iconv symbols. All existing binaries should work. * Like on Linux/glibc systems, add a libc_nonshared.a to the ldscript at /usr/lib/libc.so. * Move the "iconv*" wrapper symbols to libc_nonshared.a This should solve the runtime ambiguity about which symbols resolve to where. If you compile against the iconv in libc, your runtime dependencies will be unambiguous. Old 9.x libraries and binaries will always resolve against their libiconv.so.3 like they did on 9.x. They won't resolve against libc. Old 10.x binaries will be satisified by the .symver helpers. This should allow ports to selectively compile against the libiconv port if needed and it should behave without ambiguity now. Discussed with: kib Notes: svn path=/head/; revision=258283
* Bring in libnv library for managing name/value pairs. The following typesPawel Jakub Dawidek2013-11-121-0/+1
| | | | | | | | | | | | | | | | | | | are currently supported: - NV_TYPE_NULL - only name, no data; - NV_TYPE_BOOL - boolean (true or false); - NV_TYPE_NUMBER - 64bit unsigned integer; - NV_TYPE_STRING - C string; - NV_TYPE_NVLIST - nested nvlist; - NV_TYPE_DESCRIPTOR - file descriptor; - NV_TYPE_BINARY - binary data. For detailed documentation and examples see nv(3) manual page. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=258065
* Install category Kyuafiles from their category directories.Julio Merino2013-11-081-1/+3
| | | | | | | | | | | | | | | | | | | | Move the installation of /usr/tests/lib/Kyuafile from src/tests/lib/ to src/lib/. This is to keep the src/tests/ hierarchy unaware of the rest of the tree, which makes things clearer in general. In particular: 1) Everything related to the construction of /usr/tests/lib/ is kept in src/lib/. There is no need to think about different directories and how they relate to each other. (The same applies for libexec, usr.bin, etc. but these are not yet handled.) 2) src/tests becomes the place to keep cross-functional test programs and nothing else, which also helps in simplifying things. Reviewed by: freebsd-testing Approved by: rpaulo (mentor) Notes: svn path=/head/; revision=257852
* Subsume the functionality of MK_ATF into MK_TESTS.Julio Merino2013-11-081-4/+4
| | | | | | | | | | | | | There is no reason to keep the two knobs separate: if tests are enabled, the ATF libraries are required; and if tests are disabled, the ATF libraries are not necessary. Keeping the two just serves to complicate the build. Reviewed by: freebsd-testing Approved by: rpaulo (mentor) Notes: svn path=/head/; revision=257850
* Remove the WITH_LIBICONV_COMPAT hack that seems to do more harm thanPeter Wemm2013-11-031-5/+0
| | | | | | | | | 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. Notes: svn path=/head/; revision=257583
* Remove BIND.Dag-Erling Smørgrav2013-09-301-5/+0
| | | | | | | Approved by: re (gjb) Notes: svn path=/head/; revision=255949
* Move libldns to the correct (ordered) library list.Dag-Erling Smørgrav2013-09-151-1/+1
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=255601
* Build and install the Unbound caching DNS resolver daemon.Dag-Erling Smørgrav2013-09-151-0/+6
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=255597
* Connect libexecinfo to the buildEd Maste2013-09-031-0/+1
| | | | | | | Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=255180
* The iconv in libc did two things - implement the standard APIs, the GNUPeter Wemm2013-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. Notes: svn path=/head/; revision=254273
* - Trim an unused and bogus Makefile for mount_smbfs.Davide Italiano2013-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. Notes: svn path=/head/; revision=252356
* Wrap the creation of the ../include link in /usr/lib inBrooks Davis2013-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. Notes: svn path=/head/; revision=250112
* An even more refined version of r249484, until we can come up withTim Kientzle2013-04-191-1/+1
| | | | | | | | | a good fix for the -print-file-name=include breakage. As suggested by Andrey Chernov. Notes: svn path=/head/; revision=249634
* Fix the symlink creation from r249484 so that repeatedTim Kientzle2013-04-191-1/+1
| | | | | | | | | installs work correctly. Suggested by Tijl Coosemans. Notes: svn path=/head/; revision=249633
* Install a symlinkTim Kientzle2013-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 Notes: svn path=/head/; revision=249484
* Import libyaml as libbsdyml (private brand name)Baptiste Daroussin2013-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 Notes: svn path=/head/; revision=247779
* Import LDNS and build it as an internal library.Dag-Erling Smørgrav2013-02-151-0/+5
| | | | Notes: svn path=/head/; revision=246827
* Sort by MK_* knob like the comment saysDag-Erling Smørgrav2013-02-041-5/+5
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=246328
* IFC @ r244983.Neel Natu2013-01-041-1/+1
|\ | | | | | | Notes: svn path=/projects/bhyve/; revision=245045
| * With the old sade removed, libdisk is no longer used by anything in HEADNathan Whitehorn2012-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. Notes: svn path=/head/; revision=244865
| * Add libnetbsd, a thin compatibility layer intended to allow a limitedBrooks Davis2012-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 Notes: svn path=/head/; revision=244557
* | IFC @ r242940Neel Natu2012-11-131-0/+5
|\| | | | | | | Notes: svn path=/projects/bhyve/; revision=242954
| * Implement DTrace for PowerPC. This includes both 32-bit and 64-bit.Justin Hibbits2012-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 Notes: svn path=/head/; revision=242723
* | IFC @ r242684Neel Natu2012-11-111-15/+6
|\| | | | | | | Notes: svn path=/projects/bhyve/; revision=242882
| * Add ATF to the build. This is may be a bit rought around the egdes,Marcel Moolenaar2012-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@ Notes: svn path=/head/; revision=241823
| * Apply local patches to mandoc and connect it to the build.Ulrich Spörlein2012-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 Notes: svn path=/head/; revision=241774
| * Disconnect non-MPSAFE SMBFS from the build in preparation for droppingAttilio Rao2012-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. Notes: svn path=/head/; revision=241680
| * Disconnect non-MPSAFE NWFS from the build in preparation for droppingAttilio Rao2012-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. Notes: svn path=/head/; revision=241629
* | IFC @ r238370Peter Grehan2012-07-111-0/+6
|\| | | | | | | Notes: svn path=/projects/bhyve/; revision=238375
| * Import work done under project/nand (@235533) into head.Grzegorz Bernacki2012-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 Notes: svn path=/head/; revision=235537
| * Import stdbuf(1) and the shared library it relies on.Jeremie Le Hen2012-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 Notes: svn path=/head/; revision=234772
* | IFC @ r234692Peter Grehan2012-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 Notes: svn path=/projects/bhyve/; revision=234695
| * Build libproc and librtld_db for MIPSOleksandr Tymoshenko2012-03-241-0/+5
| | | | | | | | Notes: svn path=/head/; revision=233413
| * - Do not build libcom_err and compile_et when kerberos is disabled. TheyStanislav Sedov2012-03-231-1/+4
| | | | | | | | | | | | | | | | depends on several heimdal libraries and not used by anything but kerberos tools. Notes: svn path=/head/; revision=233337
* | IFC to head to catch up the bhyve branchSean Bruno2012-01-041-2/+10
|\| | | | | | | | | | | | | Approved by: grehan@ Notes: svn path=/projects/bhyve/; revision=229455
| * Fix typo in Makefile comment.Robert Watson2011-12-301-1/+1
| | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=228989