aboutsummaryrefslogtreecommitdiff
path: root/libexec/rtld-elf/Makefile
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>2003-04-07 16:21:26 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>2003-04-07 16:21:26 +0000
commit29ade362259ab5b1bcb692c1f5c74fb839b4e91c (patch)
tree36bdb2349a03bc43a769c15fd3ddd1063c1bf86b /libexec/rtld-elf/Makefile
parentfce2287796018d351c0c37a156003348119f4c06 (diff)
Notes
Diffstat (limited to 'libexec/rtld-elf/Makefile')
-rw-r--r--libexec/rtld-elf/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
index cf406881a162e..ff03080411cb3 100644
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -10,6 +10,15 @@ INSTALLFLAGS= -fschg -C -b
MLINKS= rtld.1 ld-elf.so.1.1 \
rtld.1 ld.so.1
+#
+# To enable the libmap.conf functionality please
+# add 'WITH_LIBMAP=yes' to /etc/make.conf, recompile
+# and reinstall rtld-elf.
+.ifdef WITH_LIBMAP
+CFLAGS+= -DWITH_LIBMAP
+SRCS+= libmap.c
+.endif
+
.if exists(${.CURDIR}/${MACHINE_ARCH}/Makefile.inc)
.include "${.CURDIR}/${MACHINE_ARCH}/Makefile.inc"
.endif