Baptiste Daroussin
4bf5485791
Update libucl to latest version
...
While here correctly link libucl to libm and register the dependency on libm
for static building
2014-11-29 00:45:09 +00:00
Baptiste Daroussin
b9270546cf
Remove all remnant ugly LD<lbname> but atf one until the aft framework knows
...
about LIBADD
2014-11-25 22:39:59 +00:00
Baptiste Daroussin
4c5e7118db
Register the explicit (pthread) and implicit (for static) dependencies for
...
kerberos
2014-11-25 22:17:31 +00:00
Baptiste Daroussin
eafea10bae
Defines the libssh dependencies
2014-11-25 22:10:31 +00:00
Baptiste Daroussin
8794b8a783
Define missing libraries to be able to convert gnu, cddl and secure to LIBADD
2014-11-25 21:16:44 +00:00
Baptiste Daroussin
92fc4f553a
Sort libraries definitions
...
Reported by: bjk
2014-11-25 19:13:03 +00:00
Baptiste Daroussin
9876880a9b
Remove duplicated krb5
...
Reported by: markj
2014-11-25 19:07:31 +00:00
Baptiste Daroussin
29a8bda7f0
Defined the needed library to convert usr.sbin to LIBADD
2014-11-25 16:51:06 +00:00
Baptiste Daroussin
30fca3b0cc
Defines all the libraries needed for usr.bin
2014-11-25 14:28:15 +00:00
Baptiste Daroussin
cc0d90a799
Define libipf internal library
2014-11-25 11:22:28 +00:00
Baptiste Daroussin
e859a32cd6
Fix recursive problem with libedit dependency, if you depends on ncursesw and
...
not on itself
2014-11-25 11:14:42 +00:00
Baptiste Daroussin
ca88232b48
Add a definition for libxo
2014-11-25 11:13:21 +00:00
Baptiste Daroussin
d98c8ac029
Define compiler_rt and ssp_nonshared libraries
2014-11-25 11:07:03 +00:00
Baptiste Daroussin
85abe78406
libvers and libsl are internal libraries
2014-11-25 09:54:05 +00:00
Baptiste Daroussin
4ab8910605
Fix make depends with libnetbsd
2014-11-25 07:47:44 +00:00
Baptiste Daroussin
882e68f65b
Add definitions of kerberos libraries
2014-11-25 07:13:31 +00:00
Baptiste Daroussin
a320ad37fe
libevent is an internallib
2014-11-25 00:51:49 +00:00
Baptiste Daroussin
52a78c6703
libatf-c++ exposes libatf-c abi hence we need to explicit link to atf-c if
...
atf-c++ is requested
2014-11-25 00:28:27 +00:00
Baptiste Daroussin
22e6921db8
Do not overwrite any LIBNETBSD or LIBNETBSDDIR if they are already defined
2014-11-25 00:12:25 +00:00
Baptiste Daroussin
14d4f1c238
Define special case for atf which libraries names are different from their
...
declaration
2014-11-25 00:01:53 +00:00
Baptiste Daroussin
5716a77a38
s/cft/ctf
2014-11-24 23:58:04 +00:00
Baptiste Daroussin
405c01a1bc
Fix typo
2014-11-24 22:35:32 +00:00
Baptiste Daroussin
440888c959
Fix dependencies in case of building statically
2014-11-24 22:32:18 +00:00
Baptiste Daroussin
873ad7fbf4
Avoid code duplication by directly adding _INSTALLLIBS and _PRIVATELIBS into
...
_LIBRARIES
Reported by: emaste
2014-11-24 22:29:16 +00:00
Baptiste Daroussin
91bac0a94b
Each time something links to sqlite3 it should link to pthread
2014-11-24 22:17:35 +00:00
Baptiste Daroussin
2df4d9628a
Convert makefs to LIBADD
...
Add definition of libnetbsd in src.libnames.mk
2014-11-24 22:15:30 +00:00
Baptiste Daroussin
ebadd13c08
Convert mandoc to LIBADD
...
While here remove the ugly LDMANDOC
2014-11-24 22:12:27 +00:00
Baptiste Daroussin
768987b5d0
Correctly specify -L for internal and private libs
2014-11-24 21:39:28 +00:00
Baptiste Daroussin
85e4c389d1
Implement LIBADD
...
LIBADD will automatically set DPADD and LDADD when needed including their
dependencies, LIBADD automatically handles private and internal libs so that
the end user Makefile does not have to care about it.
This allows to reduce overlinking on the base system leaving the framework get
the dependencies properly.
It also allows to built components binaries statically.
To use it:
Replace:
DPADD= ${LIBARCHIVE} ${LIBSSL}
LDADD= -larchive -lssl
by:
LIBADD= archive ssl
Differential Revision: https://reviews.freebsd.org/D1209
Reviewed by: brooks imp
2014-11-24 21:31:08 +00:00
Baptiste Daroussin
beb7fbfc0d
Define LIBSQLITE3 and LIBMANDOC
2014-11-22 21:03:05 +00:00
Xin LI
f972197651
Promote libevent to lib/ level and fold ftp-proxy into its parent Makefile.
...
This allows us to use libevent for other application in the future.
For now libevent is still INTERNALLIB and no shared library is installed.
MFC after: 1 month
2014-10-13 22:15:26 +00:00
Adrian Chadd
51bfac0253
Make the libbsdstat useful again.
2014-08-13 19:43:22 +00:00
Baptiste Daroussin
e806d5088b
Make libohash a proper internallib instead of hidding it in m4
...
mandoc development seems to be also using ohash so prepare to share the code when
needed
2014-08-06 22:46:15 +00:00
Baptiste Daroussin
d029c3aa25
Rework privatelib/internallib
...
Make sure everything linking to a privatelib and/or an internallib does it directly
from the OBJDIR rather than DESTDIR.
Add src.libnames.mk so bsd.libnames.mk is not polluted by libraries not existsing
in final installation
Introduce the LD* variable which is what ld(1) is expecting (via LDADD) to link to
internal/privatelib
Directly link to the .so in case of private library to avoid having to complexify
LDFLAGS.
Phabric: https://phabric.freebsd.org/D553
Reviewed by: imp, emaste
2014-08-06 22:17:26 +00:00