mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 13:32:45 +00:00
023fc80ee3
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Similar commit in main:
(cherry picked from commit d0b2dbfa0e
)
23 lines
528 B
Makefile
23 lines
528 B
Makefile
|
|
PACKAGE=clibs
|
|
LIB=dl
|
|
SHLIB_MAJOR=1
|
|
|
|
.PATH: ${SRCTOP}/lib/libc/gen
|
|
CFLAGS+=-I${SRCTOP}/lib/libc/include
|
|
RTLD_ELF_DIR=${SRCTOP}/libexec/rtld-elf
|
|
.if exists(${RTLD_ELF_DIR}/${MACHINE_ARCH:S/powerpc64le/powerpc64/})
|
|
RTLD_ARCH= ${MACHINE_ARCH:S/powerpc64le/powerpc64/}
|
|
.else
|
|
RTLD_ARCH= ${MACHINE_CPUARCH}
|
|
.endif
|
|
CFLAGS+= -I${RTLD_ELF_DIR}/${RTLD_ARCH} -I${RTLD_ELF_DIR}
|
|
CFLAGS+=-DIN_LIBDL
|
|
LDFLAGS+=-Wl,-F,libc.so.7
|
|
VERSION_DEF=${SRCTOP}/lib/libc/Versions.def
|
|
SYMBOL_MAPS=${.CURDIR}/Symbol.map
|
|
|
|
SRCS = dlfcn.c
|
|
|
|
.include <bsd.lib.mk>
|