Changeset View
Changeset View
Standalone View
Standalone View
libexec/rtld-elf/Makefile
Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Lines | |||||
.PATH: ${RTLD_ELF_DIR}/${RTLD_ARCH} ${SRCTOP}/lib/csu/common | .PATH: ${RTLD_ELF_DIR}/${RTLD_ARCH} ${SRCTOP}/lib/csu/common | ||||
.if ${.CURDIR} == ${RTLD_ELF_DIR} | .if ${.CURDIR} == ${RTLD_ELF_DIR} | ||||
HAS_TESTS= | HAS_TESTS= | ||||
SUBDIR.${MK_TESTS}+= tests | SUBDIR.${MK_TESTS}+= tests | ||||
.endif | .endif | ||||
# Some of the required math functions (div & mod) are implemented in | |||||
# libcompiler_rt on some architectures. | |||||
LIBADD+= compiler_rt | |||||
.include <bsd.prog.mk> | .include <bsd.prog.mk> | ||||
${PROG_FULL}: ${VERSION_MAP} | ${PROG_FULL}: ${VERSION_MAP} | ||||
.include <bsd.symver.mk> | .include <bsd.symver.mk> | ||||
.if ${COMPILER_TYPE} == "gcc" | .if ${COMPILER_TYPE} == "gcc" | ||||
# GCC warns about redeclarations even though they have __exported | # GCC warns about redeclarations even though they have __exported | ||||
# and are therefore not identical to the ones from the system headers. | # and are therefore not identical to the ones from the system headers. | ||||
CFLAGS+= -Wno-redundant-decls | CFLAGS+= -Wno-redundant-decls | ||||
.endif | .endif |