Explicitly specify `all' as the default target(as it used to be), so as
[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 $
b34b60bc 3# $DragonFly: src/lib/Makefile,v 1.24 2005/07/26 21:15:19 joerg Exp $
984263bc
MD
4
5# To satisfy shared library or ELF linkage when only the libraries being
6# built are visible:
7#
8# csu must be built before all shared libaries for ELF.
9# libcom_err must be built before libkrb and libpam.
10# libcrypt must be built before libkrb, libpam and libskey.
984263bc
MD
11# libmd must be built before libatm, libopie, libradius, libskey, and
12# libtacplus.
13# libncurses must be built before libdialog, libedit and libreadline.
14# libradius must be built before libpam.
15# libskey must be built before libpam.
16# libtacplus must be built before libpam.
17# libutil must be built before libpam.
18# libsbuf must be built before libcam.
19#
20# Otherwise, the SUBDIR list should be in alphabetical order.
21
b34b60bc 22SUBDIR= ${_csu} csu/common libarchive libcom_err libcrypt libm libmd \
5621ebc7 23 libncurses libradius libskey libtacplus libutil libsbuf \
9f48a856 24 libalias libatm ${_libbind} libbz2 libc ${_libc_r} libcalendar \
7d1ab061 25 libcam libcompat libdevstat libdisk libedit libfetch libftpio \
402e4fa9 26 libipsec libipx libisc libkcore libkinfo libkvm libmagic \
7d1ab061 27 ${_libmilter} ${_libncp} libnetgraph libopie libpam \
9f48a856 28 libpcap libposix1e librpcsvc ${_libsm} ${_libsmb} ${_libsmdb} \
f16d73d1 29 ${_libsmutil} libstand libtelnet libthread_xu libusbhid ${_libvgl} \
32f3f773 30 libwrap libxpg4 liby libz i18n_module pam_module libc_rtld libsctp
984263bc 31
d63c503b
MD
32.if exists(${.CURDIR}/compat/${MACHINE_ARCH}/Makefile)
33SUBDIR+= compat/${MACHINE_ARCH}
34.endif
35
984263bc 36_csu=csu/${MACHINE_ARCH}
984263bc 37
17030342 38.if ${MACHINE_ARCH} == "i386"
984263bc
MD
39.if !defined(NOLIBC_R)
40_libc_r= libc_r
41.endif
17030342 42.endif
984263bc
MD
43
44.if !defined(NO_BIND)
45_libbind= libbind
46.endif
47
48.if !defined(NO_SENDMAIL)
49_libmilter= libmilter
50_libsm= libsm
51_libsmdb= libsmdb
52_libsmutil= libsmutil
53.endif
54
55.if ${MACHINE_ARCH} == "i386"
984263bc
MD
56_libncp= libncp
57_libsmb= libsmb
58_libvgl= libvgl
59.endif
60
984263bc 61.include <bsd.subdir.mk>