opnsense-src/lib
Ian Lepore a1c70d6943 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".

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>
2014-06-15 13:45:37 +00:00
..
atf Homogenize libatf-* version numbers with upstream. 2014-06-06 17:05:43 +00:00
clang In some scenarios, when generating llvm/clang .inc.h files, multiple 2014-06-10 17:54:24 +00:00
csu In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE. 2014-06-08 17:29:31 +00:00
libalias A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libarchive Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
libauditd NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
libbegemot A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libblocksruntime Import libcompiler_rt into HEAD and add Makefiles. 2010-11-11 15:13:11 +00:00
libbluetooth General mdoc(7) and typo fixes. 2012-05-11 20:06:46 +00:00
libbsdstat libbsdstat: fix warnings, set WARNS 2014-03-11 01:10:44 +00:00
libbsm A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libbsnmp Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
libbz2 A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libc iconv_open: initialise ci_ilseq_invalid field of _citrus_iconv_shared 2014-06-13 08:36:10 +00:00
libc++ Import libc++ 3.4 release. This contains a lot of bugfixes, and some 2014-01-30 07:44:22 +00:00
libc_nonshared Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
libcalendar A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libcam Bump libcam shared library version forgotten in r259397. 2013-12-15 15:51:05 +00:00
libcapsicum Don't forget to remember previous element at the end of the loop. 2014-04-30 09:58:28 +00:00
libcasper Update most userspace consumers of capability.h to use capsicum.h instead. 2014-03-16 11:04:44 +00:00
libcom_err - Update FreeBSD Heimdal distribution to version 1.5.1. This also brings 2012-03-22 08:48:42 +00:00
libcompat A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libcompiler_rt Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
libcrypt Don't break the legacy applications which set 2014-05-28 16:50:18 +00:00
libcuse Mdoc cleanup, typo and grammar fixes. 2014-06-06 12:06:40 +00:00
libcxxrt Add missing C++11 typeinfos to the libcxxrt version script. 2014-01-11 19:02:17 +00:00
libdevinfo sys/rman.h now requires sys/types.h. Include it to make the API match 2011-02-10 04:53:09 +00:00
libdevstat Fix a typo. 2013-12-25 19:38:16 +00:00
libdwarf Bump SHLIB_MAJOR for libdwarf as ABI/API has changed. 2014-01-21 21:11:07 +00:00
libedit libedit: add H_SAVE_FP which saves history to a file pointer. 2014-05-11 01:44:11 +00:00
libefi A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libelf Bump SHLIB_MAJOR for libelf. 2014-01-21 21:13:13 +00:00
libexecinfo Don't install private libexecinfo headers 2013-09-03 13:31:43 +00:00
libexpat Update base system libexpat to 2.1.0. 2013-02-26 00:58:44 +00:00
libfetch Use Mt macro to properly format mailto links (patch from Franco Fichtner <franco@lastsummer.de> for Dragonfly) 2014-06-11 20:20:14 +00:00
libgeom Since there's no defined schema for the XML that's generated by the 2013-07-19 06:42:15 +00:00
libgpib mdoc: minor Bl improvements. 2012-06-02 08:47:26 +00:00
libgssapi mdoc: add missing -width argument to Bl -tag. 2012-06-08 12:09:00 +00:00
libiconv Split the last gcc-specific flags off into CFLAGS.gcc. This also 2014-01-05 21:03:49 +00:00
libiconv_modules Replace malloc+memset with calloc. 2014-06-13 08:26:53 +00:00
libipsec Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
libjail Fix some memory allocation errors: 2012-10-04 19:07:05 +00:00
libkiconv Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
libkvm Add a new ARM TARGET_ARCH, armv6hf. This is considered experimental. 2014-03-23 12:49:25 +00:00
libldns Remove dead files. 2014-05-15 15:22:32 +00:00
liblzma Update xz to git snapshot of v5.0 branch as of 20110711 (post-5.0.3) 2011-07-11 14:15:27 +00:00
libmagic Sort .ALLSRC before concatenating files together. This makes sure that the 2014-05-06 21:30:58 +00:00
libmandoc Merge mdocml v1.12.3 into head 2014-02-01 09:27:57 +00:00
libmd Dereference nonexistent md2(3) manual. 2014-03-28 04:19:06 +00:00
libmemstat Expose real size of UMA allocations via libmemstat(3). 2014-02-10 20:09:10 +00:00
libmilter Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
libmp Fix whitespace inconsistencies found in homegrown Symbol.maps. 2011-10-07 15:05:24 +00:00
libnandfs Import work done under project/nand (@235533) into head. 2012-05-17 10:11:18 +00:00
libnetbsd Add libnetbsd, a thin compatibility layer intended to allow a limited 2012-12-21 20:37:38 +00:00
libnetgraph make sure that rbuf is aligned by making a union w/ the structure we 2014-01-07 23:01:05 +00:00
libngatm A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libnv Correct a typo. 2014-05-17 20:39:39 +00:00
libopie X11BASE has been deprecated for a long time and will die soon 2012-01-09 00:48:19 +00:00
libpam Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
libpcap Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
libpjdlog Move my simple logging API to a separate library. It is now already used 2013-12-01 09:41:06 +00:00
libpmc For Xeon 7500 and 48XX (Nehalem EX and Westmere EX) variants of the 2014-06-04 16:06:38 +00:00
libproc Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
libprocstat Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
libradius Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
librpcsec_gss Spell NO_PROFILE= as MK_PROFILE=no. 2014-04-25 19:25:26 +00:00
librpcsvc Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
librt Convert this piece of code to use C11 atomics. 2013-06-30 08:59:33 +00:00
librtld_db Fix the rd_event_addr prototype and slightly clarify the use of the "event" 2014-05-08 03:33:54 +00:00
libsbuf Add sbuf_start_section and sbuf_end_section to the libsbuf symbol map. 2013-04-11 19:50:10 +00:00
libsdp Change the SDP_GET* macros to cast to a const buffer. 2011-10-16 08:45:16 +00:00
libsm Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
libsmb Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
libsmdb A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libsmutil A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libstand style(9) requires an empty line when function have no local variables. 2014-05-30 10:18:01 +00:00
libstdbuf Remove WARNS=6 lines. 2012-10-18 15:39:29 +00:00
libstdthreads Pull up vendor changes to mdoc(7) 2012-01-05 21:36:12 +00:00
libtacplus mdoc sweep. 2013-05-12 22:22:12 +00:00
libtelnet When building picobsd, define WITHOUT_OPENSSL and WITHOUT_KERBEROS and 2014-06-06 04:09:07 +00:00
libthr Right now, the rtld prefork hook locks the rtld bind lock in the read 2014-05-24 10:23:06 +00:00
libthread_db Ensure we set all fpu registers to zero by using the address and size of 2013-08-17 14:42:40 +00:00
libucl Update to 20140321 2014-03-22 17:28:14 +00:00
libufs Make berase() work on platforms whose kernel lacks DIOCGDELETE ioctl. 2011-12-08 12:31:47 +00:00
libugidfw Quiet clang warnings by using string literal format strings. 2011-01-04 13:02:52 +00:00
libulog Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
libunbound Upgrade to latest ldns (1.6.17) and unbound (1.4.22). 2014-05-15 03:30:03 +00:00
libusb Update reported libusb version to 1.0.13 2014-06-05 14:19:32 +00:00
libusbhid Restore handling of the third argument (id) of hid_start_parse(), same as 2012-09-20 18:56:27 +00:00
libutil Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
libvgl Fix various typos in manual pages. 2012-02-25 14:31:25 +00:00
libvmmapi Add ioctl(VM_REINIT) to reinitialize the virtual machine state maintained 2014-06-07 21:36:52 +00:00
libwrap Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
liby A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libypclnt Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor 2012-02-07 09:27:07 +00:00
libz Fix path for zlib examples, this have no runtime effect and was 2014-06-11 20:48:40 +00:00
msun Only build the vfp/softfp switching code on armv6 as we don't support vfp 2014-03-16 09:40:05 +00:00
ncurses Revert r261296. This removes the WITHOUT_NCURSESW option. 2014-05-15 16:44:25 +00:00
tests Install category Kyuafiles from their category directories. 2013-11-08 14:29:06 +00:00
Makefile Create a mechanism for providing fine-grained build order dependencies 2014-06-15 13:45:37 +00:00
Makefile.inc A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00