Makefile (68db232834b715671a701e59ea06dd72ee12fe8d) Makefile (7b2d810a976910ac8504aa881b90172020f23534)
1# @(#)Makefile 8.1 (Berkeley) 6/4/93
2# $FreeBSD$
3
4# To satisfy shared library or ELF linkage when only the libraries being
5# built are visible:
6#
7# csu must be built before all shared libaries for ELF.
8# libcom_err must be built before libss.
9# libcrypt must be built before libskey.
10# libm must be built before libstdc++.
11# libmd must be built before libatm, libopie, libradius, libskey,
1# @(#)Makefile 8.1 (Berkeley) 6/4/93
2# $FreeBSD$
3
4# To satisfy shared library or ELF linkage when only the libraries being
5# built are visible:
6#
7# csu must be built before all shared libaries for ELF.
8# libcom_err must be built before libss.
9# libcrypt must be built before libskey.
10# libm must be built before libstdc++.
11# libmd must be built before libatm, libopie, libradius, libskey,
12# and libtacplus.
12# libtacplus and libcrypt.
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#
18# Otherwise, the SUBDIR list should be in alphabetical order.
19
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#
18# Otherwise, the SUBDIR list should be in alphabetical order.
19
20SUBDIR= ${_csu} libcom_err ${_libcrypt} ${_libm} libmd \
20SUBDIR= ${_csu} libcom_err ${_libm} libmd ${_libcrypt} \
21 libradius libskey libtacplus \
22 ${_compat} libalias libatm libbind libc ${_libc_r} libcalendar libcam \
23 libcompat libdevstat libdisk libncurses libedit libfetch \
24 libftpio libgnumalloc ${_libio} libipx libkvm libopie libpam \
25 libpcap libresolv librpcsvc libss libstand \
26 ${_libtelnet} libutil ${_libvgl} libwrap libxpg4 liby libz
27
28#SUBDIR+=libmenu libpanel libform
29
30.if exists(${.CURDIR}/csu/${MACHINE_ARCH}-${OBJFORMAT})
31_csu=csu/${MACHINE_ARCH}-${OBJFORMAT}
32.elif exists(${.CURDIR}/csu/${MACHINE_ARCH})
33_csu=csu/${MACHINE_ARCH}
34.endif
35
36.if !defined(NOLIBC_R)
37_libc_r= libc_r
38.endif
39
21 libradius libskey libtacplus \
22 ${_compat} libalias libatm libbind libc ${_libc_r} libcalendar libcam \
23 libcompat libdevstat libdisk libncurses libedit libfetch \
24 libftpio libgnumalloc ${_libio} libipx libkvm libopie libpam \
25 libpcap libresolv librpcsvc libss libstand \
26 ${_libtelnet} libutil ${_libvgl} libwrap libxpg4 liby libz
27
28#SUBDIR+=libmenu libpanel libform
29
30.if exists(${.CURDIR}/csu/${MACHINE_ARCH}-${OBJFORMAT})
31_csu=csu/${MACHINE_ARCH}-${OBJFORMAT}
32.elif exists(${.CURDIR}/csu/${MACHINE_ARCH})
33_csu=csu/${MACHINE_ARCH}
34.endif
35
36.if !defined(NOLIBC_R)
37_libc_r= libc_r
38.endif
39
40_libcrypt= libcrypt
41.if exists(${.CURDIR}/../secure) && !defined(NOSECURE) && !defined(NOCRYPT)
40# Build both libraries. They have different names, so no harm,
41# and this avoids having stale libscrypt.*
42# Build both libraries. They have different names, so no harm,
43# and this avoids having stale libscrypt.*
42.if exists(${.CURDIR}/../secure) && !defined(NOSECURE) && !defined(NOCRYPT)
43_libcrypt= ../secure/lib/libcrypt libcrypt
44.else
45_libcrypt= libcrypt
44_libcrypt+= ../secure/lib/libcrypt
46.endif
47
48.if ${MACHINE_ARCH} == "i386"
49_compat= compat
50_libvgl= libvgl
51.endif
52
53.if defined(WANT_CSRG_LIBM)

--- 15 unchanged lines hidden ---
45.endif
46
47.if ${MACHINE_ARCH} == "i386"
48_compat= compat
49_libvgl= libvgl
50.endif
51
52.if defined(WANT_CSRG_LIBM)

--- 15 unchanged lines hidden ---