Deleted Added
full compact
Makefile (129225) Makefile (129236)
1# @(#)Makefile 8.1 (Berkeley) 6/4/93
1# @(#)Makefile 8.1 (Berkeley) 6/4/93
2# $FreeBSD: head/lib/Makefile 129225 2004-05-14 13:45:56Z cognet $
2# $FreeBSD: head/lib/Makefile 129236 2004-05-14 19:31:20Z bde $
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 libkrb5 and libpam.
9# libcrypt must be built before libkrb5 and libpam.
10# libkvm must be built before libdevstat.

--- 26 unchanged lines hidden (view full) ---

37.if exists(${.CURDIR}/csu/${MACHINE_ARCH}-elf)
38_csu=csu/${MACHINE_ARCH}-elf
39.elif exists(${.CURDIR}/csu/${MACHINE_ARCH}/Makefile)
40_csu=csu/${MACHINE_ARCH}
41.else
42_csu=csu
43.endif
44
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 libkrb5 and libpam.
9# libcrypt must be built before libkrb5 and libpam.
10# libkvm must be built before libdevstat.

--- 26 unchanged lines hidden (view full) ---

37.if exists(${.CURDIR}/csu/${MACHINE_ARCH}-elf)
38_csu=csu/${MACHINE_ARCH}-elf
39.elif exists(${.CURDIR}/csu/${MACHINE_ARCH}/Makefile)
40_csu=csu/${MACHINE_ARCH}
41.else
42_csu=csu
43.endif
44
45# libc_r is obsolete on ia64.
46.if ${MACHINE_ARCH} != "ia64" && ${MACHINE_ARCH} != "powerpc" && \
47 ${MACHINE_ARCH} != "arm"
48.if !defined(NOLIBC_R)
49_libc_r= libc_r
50.endif
51.endif
52
53.if !defined(NOATM)
54_libatm= libatm
55_libngatm= libngatm
56.endif
57
58.if !defined(NO_BIND)
59_libbind= libbind
60.endif
61
45.if !defined(NOATM)
46_libatm= libatm
47_libngatm= libngatm
48.endif
49
50.if !defined(NO_BIND)
51_libbind= libbind
52.endif
53
62.if !defined(NO_SENDMAIL)
63_libmilter= libmilter
64_libsm= libsm
65_libsmdb= libsmdb
66_libsmutil= libsmutil
67.endif
68
69.if !defined(NO_USB)
70_libusbhid= libusbhid
71.endif
72
73.if ${MACHINE_ARCH} == "i386"
74.if !defined(NO_BLUETOOTH)
75_libbluetooth= libbluetooth
76_libsdp= libsdp
77.endif
78_compat= compat
79_libncp= libncp
80_libsmb= libsmb
81_libvgl= libvgl
82.endif
83
54.if ${MACHINE_ARCH} == "i386"
55.if !defined(NO_BLUETOOTH)
56_libbluetooth= libbluetooth
57_libsdp= libsdp
58.endif
59_compat= compat
60_libncp= libncp
61_libsmb= libsmb
62_libvgl= libvgl
63.endif
64
65# libc_r is obsolete on ia64.
66.if ${MACHINE_ARCH} != "ia64" && ${MACHINE_ARCH} != "powerpc" && \
67 ${MACHINE_ARCH} != "arm"
68.if !defined(NOLIBC_R)
69_libc_r= libc_r
70.endif
71.endif
72
73.if ${MACHINE_ARCH} != "arm"
74_libdisk= libdisk
75.endif
76
84.if ${MACHINE_ARCH} == "alpha"
85_libio= libio
86_compat= compat
87.endif
88
77.if ${MACHINE_ARCH} == "alpha"
78_libio= libio
79_compat= compat
80.endif
81
82.if !defined(NO_SENDMAIL)
83_libmilter= libmilter
84_libsm= libsm
85_libsmdb= libsmdb
86_libsmutil= libsmutil
87.endif
88
89.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
90_libmp= libmp
91.endif
92
89.if ${MACHINE_ARCH} == "amd64"
90_libncp= libncp
91_libsmb= libsmb
92.endif
93
94.if ${MACHINE_ARCH} != "powerpc"
95.if !defined(NOLIBPTHREAD)
96_libpthread= libpthread
97.endif
98.endif
99
100.if ${MACHINE_ARCH} != "amd64" && ${MACHINE_ARCH} != "arm"
101.if !defined(NOLIBTHR)
102_libthr= libthr
103.endif
104.endif
105
93.if ${MACHINE_ARCH} == "amd64"
94_libncp= libncp
95_libsmb= libsmb
96.endif
97
98.if ${MACHINE_ARCH} != "powerpc"
99.if !defined(NOLIBPTHREAD)
100_libpthread= libpthread
101.endif
102.endif
103
104.if ${MACHINE_ARCH} != "amd64" && ${MACHINE_ARCH} != "arm"
105.if !defined(NOLIBTHR)
106_libthr= libthr
107.endif
108.endif
109
106.if ${MACHINE_ARCH} != "arm"
107_libdisk= libdisk
110.if !defined(NO_USB)
111_libusbhid= libusbhid
108.endif
109
112.endif
113
110.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
111_libmp= libmp
112.endif
113
114.if !defined(NO_YP_LIBC)
115_libypclnt= libypclnt
116.endif
117
118.include <bsd.subdir.mk>
114.if !defined(NO_YP_LIBC)
115_libypclnt= libypclnt
116.endif
117
118.include <bsd.subdir.mk>