Makefile (19f74c09b1640b60920446328556bd29041b9e66) Makefile (7f7489eba391a858b3930a34e7749d642b374c5c)
1# $FreeBSD$
2
3PACKAGE=clibs
4LIB=dl
5SHLIB_MAJOR=1
6
7.PATH: ${SRCTOP}/lib/libc/gen
8CFLAGS+=-I${SRCTOP}/lib/libc/include
1# $FreeBSD$
2
3PACKAGE=clibs
4LIB=dl
5SHLIB_MAJOR=1
6
7.PATH: ${SRCTOP}/lib/libc/gen
8CFLAGS+=-I${SRCTOP}/lib/libc/include
9RTLD_ELF_DIR=${SRCTOP}/libexec/rtld-elf
10.if exists(${RTLD_ELF_DIR}/${MACHINE_ARCH:S/powerpc64le/powerpc64/})
11RTLD_ARCH= ${MACHINE_ARCH:S/powerpc64le/powerpc64/}
12.else
13RTLD_ARCH= ${MACHINE_CPUARCH}
14.endif
15CFLAGS+= -I${RTLD_ELF_DIR}/${RTLD_ARCH} -I${RTLD_ELF_DIR}
9CFLAGS+=-DIN_LIBDL
10LDFLAGS+=-Wl,-F,libc.so.7
11VERSION_DEF=${SRCTOP}/lib/libc/Versions.def
12SYMBOL_MAPS=${.CURDIR}/Symbol.map
13
14SRCS = dlfcn.c
15
16.include <bsd.lib.mk>
16CFLAGS+=-DIN_LIBDL
17LDFLAGS+=-Wl,-F,libc.so.7
18VERSION_DEF=${SRCTOP}/lib/libc/Versions.def
19SYMBOL_MAPS=${.CURDIR}/Symbol.map
20
21SRCS = dlfcn.c
22
23.include <bsd.lib.mk>