Deleted Added
full compact
Makefile (258398) Makefile (260013)
1# @(#)Makefile 8.1 (Berkeley) 6/4/93
1# @(#)Makefile 8.1 (Berkeley) 6/4/93
2# $FreeBSD: stable/10/lib/Makefile 258398 2013-11-20 20:24:59Z peter $
2# $FreeBSD: stable/10/lib/Makefile 260013 2013-12-28 20:05:31Z jmmv $
3
4.include <bsd.own.mk>
5
6# To satisfy shared library or ELF linkage when only the libraries being
7# built are visible:
8#
9# csu must be built before all shared libaries for ELF.
10# libc must be built before all other shared libraries.

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

122 ${_libusb} \
123 ${_libvgl} \
124 ${_libvmmapi} \
125 libwrap \
126 liby \
127 libyaml \
128 libz \
129 ${_atf} \
3
4.include <bsd.own.mk>
5
6# To satisfy shared library or ELF linkage when only the libraries being
7# built are visible:
8#
9# csu must be built before all shared libaries for ELF.
10# libc must be built before all other shared libraries.

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

122 ${_libusb} \
123 ${_libvgl} \
124 ${_libvmmapi} \
125 libwrap \
126 liby \
127 libyaml \
128 libz \
129 ${_atf} \
130 ${_clang}
130 ${_clang} \
131 ${_tests}
131
132.if exists(${.CURDIR}/csu/${MACHINE_ARCH}-elf)
133_csu=csu/${MACHINE_ARCH}-elf
134.elif exists(${.CURDIR}/csu/${MACHINE_ARCH})
135_csu=csu/${MACHINE_ARCH}
136.elif exists(${.CURDIR}/csu/${MACHINE_CPUARCH}/Makefile)
137_csu=csu/${MACHINE_CPUARCH}
138.else
139_csu=csu
140.endif
141
142# NB: keep these sorted by MK_* knobs
143
132
133.if exists(${.CURDIR}/csu/${MACHINE_ARCH}-elf)
134_csu=csu/${MACHINE_ARCH}-elf
135.elif exists(${.CURDIR}/csu/${MACHINE_ARCH})
136_csu=csu/${MACHINE_ARCH}
137.elif exists(${.CURDIR}/csu/${MACHINE_CPUARCH}/Makefile)
138_csu=csu/${MACHINE_CPUARCH}
139.else
140_csu=csu
141.endif
142
143# NB: keep these sorted by MK_* knobs
144
144.if ${MK_ATF} != "no"
145_atf= atf
146.endif
147
148.if ${MK_ATM} != "no"
149_libngatm= libngatm
150.endif
151
152.if ${MK_BLUETOOTH} != "no"
153_libbluetooth= libbluetooth
154_libsdp= libsdp
155.endif

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

249_libsmdb= libsmdb
250_libsmutil= libsmutil
251.endif
252
253.if ${MK_TELNET} != "no"
254_libtelnet= libtelnet
255.endif
256
145.if ${MK_ATM} != "no"
146_libngatm= libngatm
147.endif
148
149.if ${MK_BLUETOOTH} != "no"
150_libbluetooth= libbluetooth
151_libsdp= libsdp
152.endif

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

246_libsmdb= libsmdb
247_libsmutil= libsmutil
248.endif
249
250.if ${MK_TELNET} != "no"
251_libtelnet= libtelnet
252.endif
253
254.if ${MK_TESTS} != "no"
255_atf= atf
256_tests= tests
257.endif
258
257.if ${MK_UNBOUND} != "no"
258_libunbound= libunbound
259.endif
260
261.if ${MK_USB} != "no"
262_libusbhid= libusbhid
263_libusb= libusb
264.endif
265
266.if !defined(LIBRARIES_ONLY)
267afterinstall:
268 ${INSTALL_SYMLINK} ../include ${DESTDIR}/usr/lib/include
269.endif
270
271.include <bsd.subdir.mk>
259.if ${MK_UNBOUND} != "no"
260_libunbound= libunbound
261.endif
262
263.if ${MK_USB} != "no"
264_libusbhid= libusbhid
265_libusb= libusb
266.endif
267
268.if !defined(LIBRARIES_ONLY)
269afterinstall:
270 ${INSTALL_SYMLINK} ../include ${DESTDIR}/usr/lib/include
271.endif
272
273.include <bsd.subdir.mk>