Oops, remove '*'.
[dragonfly.git] / lib / Makefile
blobeacd8e1fb0bf0143f864c44fd63060cf08d7183d
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 $
3 # $DragonFly: src/lib/Makefile,v 1.35 2008/09/30 12:20:29 hasso Exp $
5 # To satisfy shared library or ELF linkage when only the libraries being
6 # built are visible:
8 # libcom_err must be built before libkrb and libpam.
9 # libcrypt must be built before libkrb, libpam and libskey.
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.
18 # libthread_xu must be built before libpthread.
19 # ${_libc_r} must be built before libpthread.
21 # Otherwise, the SUBDIR list should be in alphabetical order.
23 SUBDIR= libarchive libbluetooth libcom_err libcrypt libm libmd \
24 libncurses libradius libskey libtacplus libutil libsbuf \
25 libalias libatm ${_libbind} ${_libbind9} libbz2 libc ${_libc_r} \
26 libcalendar libcam libcompat libdevinfo libdevstat libedit libevent libfetch \
27 libftpio libipsec libipx libisc libkcore libkinfo libkvm libmagic \
28 ${_libmilter} ${_libncp} libnetgraph libopie libpam \
29 libpcap libposix1e libsdp libthread_xu libpthread librpcsvc ${_libsm} \
30 ${_libsmb} ${_libsmdb} ${_libsmutil} libstand libtelnet libusbhid \
31 ${_libvgl} libwrap libxpg4 liby libz i18n_module pam_module \
32 libc_rtld libsctp
34 .if exists(${.CURDIR}/compat/${MACHINE_ARCH}/Makefile)
35 SUBDIR+= compat/${MACHINE_ARCH}
36 .endif
38 .if !defined(NO_LIBC_R)
39 _libc_r= libc_r
40 .endif
42 .if !defined(NO_BIND)
43 _libbind= libbind
44 _libbind9= libbind9
45 .endif
47 .if !defined(NO_SENDMAIL)
48 _libmilter= libmilter
49 _libsm= libsm
50 _libsmdb= libsmdb
51 _libsmutil= libsmutil
52 .endif
54 .if ${MACHINE_ARCH} == "i386"
55 _libncp= libncp
56 _libsmb= libsmb
57 _libvgl= libvgl
58 .endif
60 .include <bsd.subdir.mk>