mqueues: Hook into the build system.
[dragonfly.git] / lib / Makefile
CommitLineData
984263bc
MD
1# @(#)Makefile 8.1 (Berkeley) 6/4/93
2# $FreeBSD: src/lib/Makefile,v 1.107.2.16 2002/10/10 19:24:35 kbyanc Exp $
0010e23a 3# $DragonFly: src/lib/Makefile,v 1.35 2008/09/30 12:20:29 hasso Exp $
984263bc
MD
4
5# To satisfy shared library or ELF linkage when only the libraries being
6# built are visible:
7#
984263bc 8# libcom_err must be built before libkrb and libpam.
48d67717 9# libcrypt must be built before libkrb and libpam.
50ef37d2 10# libmd must be built before libarchive, libatm, libopie, libradius, and libtacplus.
984263bc
MD
11# libncurses must be built before libdialog, libedit and libreadline.
12# libradius must be built before libpam.
984263bc
MD
13# libtacplus must be built before libpam.
14# libutil must be built before libpam.
15# libsbuf must be built before libcam.
26c2c67b
SZ
16# libthread_xu must be built before libpthread.
17# ${_libc_r} must be built before libpthread.
984263bc
MD
18#
19# Otherwise, the SUBDIR list should be in alphabetical order.
20
e1da6819 21SUBDIR= csu \
50ef37d2 22 libbluetooth libcom_err libcrypt libm libmd libarchive \
221fada2 23 libncurses libradius librt libtacplus libutil libsbuf \
feb2db11 24 libalias libatm ${_libbind} ${_libbind9} libbz2 libc ${_libc_r} \
0010e23a 25 libcalendar libcam libcompat libdevinfo libdevstat libedit libevent libfetch \
cf1d1ee9 26 libftpio libipsec libipx libisc libkcore libkiconv libkinfo libkvm libmagic \
7d1ab061 27 ${_libmilter} ${_libncp} libnetgraph libopie libpam \
37f60ad1 28 libpcap libposix1e libsdp libthread_xu libpthread librpcsvc ${_libsm} \
26c2c67b 29 ${_libsmb} ${_libsmdb} ${_libsmutil} libstand libtelnet libusbhid \
8b8bd887 30 ${_libvgl} libwrap libxpg4 liby libypclnt libz i18n_module pam_module \
4491bca1 31 libc_rtld libsctp
984263bc 32
d63c503b
MD
33.if exists(${.CURDIR}/compat/${MACHINE_ARCH}/Makefile)
34SUBDIR+= compat/${MACHINE_ARCH}
35.endif
36
cecff5c1 37.if !defined(NO_LIBC_R)
984263bc
MD
38_libc_r= libc_r
39.endif
40
41.if !defined(NO_BIND)
42_libbind= libbind
feb2db11 43_libbind9= libbind9
984263bc
MD
44.endif
45
46.if !defined(NO_SENDMAIL)
47_libmilter= libmilter
48_libsm= libsm
49_libsmdb= libsmdb
50_libsmutil= libsmutil
51.endif
52
984263bc
MD
53_libncp= libncp
54_libsmb= libsmb
55_libvgl= libvgl
984263bc 56
984263bc 57.include <bsd.subdir.mk>