Add missing backslash.
[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 $
8e4c4d49 3# $DragonFly: src/lib/Makefile,v 1.12 2004/12/18 22:34:36 asmodai 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.
11# msun must be built before libg++ and libstdc++.
12# libmd must be built before libatm, libopie, libradius, libskey, and
13# libtacplus.
14# libncurses must be built before libdialog, libedit and libreadline.
15# libradius must be built before libpam.
16# libskey must be built before libpam.
17# libtacplus must be built before libpam.
18# libutil must be built before libpam.
19# libsbuf must be built before libcam.
20#
21# Otherwise, the SUBDIR list should be in alphabetical order.
22
c4708c74 23SUBDIR= ${_csu} csu/common libarchive libcom_err libcrypt msun libmd \
9f48a856
JR
24 libncurses libradius libskey libtacplus libutil libsbuf ${_compat} \
25 libalias libatm ${_libbind} libbz2 libc ${_libc_r} libcalendar \
26 libcam libcompat libdevstat libdisk libedit libfetch libform libftpio \
27 ${_libio} libipsec libipx libisc libkcore libkinfo libkvm libmagic \
28 libmenu ${_libmilter} ${_libncp} libnetgraph libopie libpam libpanel \
29 libpcap libposix1e librpcsvc ${_libsm} ${_libsmb} ${_libsmdb} \
8e4c4d49 30 ${_libsmutil} libstand ${_libtelnet} libusbhid ${_libvgl} libwrap \
9f48a856 31 libxpg4 liby libz
984263bc 32
aa8d5dcb
DR
33.if exists(${.CURDIR}/csu/${MACHINE_ARCH}-elf)
34_csu=csu/${MACHINE_ARCH}-elf
984263bc
MD
35.elif exists(${.CURDIR}/csu/${MACHINE_ARCH})
36_csu=csu/${MACHINE_ARCH}
37.endif
38
17030342 39.if ${MACHINE_ARCH} == "i386"
984263bc
MD
40.if !defined(NOLIBC_R)
41_libc_r= libc_r
42.endif
17030342 43.endif
984263bc
MD
44
45.if !defined(NO_BIND)
46_libbind= libbind
47.endif
48
49.if !defined(NO_SENDMAIL)
50_libmilter= libmilter
51_libsm= libsm
52_libsmdb= libsmdb
53_libsmutil= libsmutil
54.endif
55
56.if ${MACHINE_ARCH} == "i386"
57_compat= compat
58_libncp= libncp
59_libsmb= libsmb
60_libvgl= libvgl
61.endif
62
63.if ${MACHINE_ARCH} == "alpha"
64_libio= libio
65_compat= compat
66.endif
67
68.if defined(RELEASEDIR) || \
207e76cc 69 !exists(${.CURDIR}/../secure) || defined(NOCRYPT)
984263bc
MD
70_libtelnet= libtelnet
71.endif
72
73.include <bsd.subdir.mk>