The devinfo(3) library provides userspace access to the internal device
[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
MD
8# libcom_err must be built before libkrb and libpam.
9# libcrypt must be built before libkrb, libpam and libskey.
984263bc
MD
10# libmd must be built before libatm, libopie, libradius, libskey, and
11# libtacplus.
12# libncurses must be built before libdialog, libedit and libreadline.
13# libradius must be built before libpam.
14# libskey must be built before libpam.
15# libtacplus must be built before libpam.
16# libutil must be built before libpam.
17# libsbuf must be built before libcam.
26c2c67b
SZ
18# libthread_xu must be built before libpthread.
19# ${_libc_r} must be built before libpthread.
984263bc
MD
20#
21# Otherwise, the SUBDIR list should be in alphabetical order.
22
37f60ad1 23SUBDIR= libarchive libbluetooth libcom_err libcrypt libm libmd \
5621ebc7 24 libncurses libradius libskey libtacplus libutil libsbuf \
feb2db11 25 libalias libatm ${_libbind} ${_libbind9} libbz2 libc ${_libc_r} \
0010e23a 26 libcalendar libcam libcompat libdevinfo libdevstat libedit libevent libfetch \
feb2db11 27 libftpio libipsec libipx libisc libkcore libkinfo libkvm libmagic \
7d1ab061 28 ${_libmilter} ${_libncp} libnetgraph libopie libpam \
37f60ad1 29 libpcap libposix1e libsdp libthread_xu libpthread librpcsvc ${_libsm} \
26c2c67b 30 ${_libsmb} ${_libsmdb} ${_libsmutil} libstand libtelnet libusbhid \
4491bca1
SS
31 ${_libvgl} libwrap libxpg4 liby libz i18n_module pam_module \
32 libc_rtld libsctp
984263bc 33
d63c503b
MD
34.if exists(${.CURDIR}/compat/${MACHINE_ARCH}/Makefile)
35SUBDIR+= compat/${MACHINE_ARCH}
36.endif
37
cecff5c1 38.if !defined(NO_LIBC_R)
984263bc
MD
39_libc_r= libc_r
40.endif
41
42.if !defined(NO_BIND)
43_libbind= libbind
feb2db11 44_libbind9= libbind9
984263bc
MD
45.endif
46
47.if !defined(NO_SENDMAIL)
48_libmilter= libmilter
49_libsm= libsm
50_libsmdb= libsmdb
51_libsmutil= libsmutil
52.endif
53
54.if ${MACHINE_ARCH} == "i386"
984263bc
MD
55_libncp= libncp
56_libsmb= libsmb
57_libvgl= libvgl
58.endif
59
984263bc 60.include <bsd.subdir.mk>