Deleted Added
full compact
Makefile (110836) Makefile (113229)
1# $FreeBSD: head/libexec/rtld-elf/Makefile 110836 2003-02-13 23:07:28Z phantom $
1# $FreeBSD: head/libexec/rtld-elf/Makefile 113229 2003-04-07 16:21:26Z mdodd $
2
3PROG= ld-elf.so.1
4SRCS= rtld_start.S rtld.c lockdflt.c map_object.c malloc.c \
5 xmalloc.c debug.c reloc.c
6MAN= rtld.1
7CFLAGS+= -Wall -DFREEBSD_ELF -I${.CURDIR}/${MACHINE_ARCH} -I${.CURDIR}
8LDFLAGS+= -nostdlib -e .rtld_start
9INSTALLFLAGS= -fschg -C -b
10MLINKS= rtld.1 ld-elf.so.1.1 \
11 rtld.1 ld.so.1
12
2
3PROG= ld-elf.so.1
4SRCS= rtld_start.S rtld.c lockdflt.c map_object.c malloc.c \
5 xmalloc.c debug.c reloc.c
6MAN= rtld.1
7CFLAGS+= -Wall -DFREEBSD_ELF -I${.CURDIR}/${MACHINE_ARCH} -I${.CURDIR}
8LDFLAGS+= -nostdlib -e .rtld_start
9INSTALLFLAGS= -fschg -C -b
10MLINKS= rtld.1 ld-elf.so.1.1 \
11 rtld.1 ld.so.1
12
13#
14# To enable the libmap.conf functionality please
15# add 'WITH_LIBMAP=yes' to /etc/make.conf, recompile
16# and reinstall rtld-elf.
17.ifdef WITH_LIBMAP
18CFLAGS+= -DWITH_LIBMAP
19SRCS+= libmap.c
20.endif
21
13.if exists(${.CURDIR}/${MACHINE_ARCH}/Makefile.inc)
14.include "${.CURDIR}/${MACHINE_ARCH}/Makefile.inc"
15.endif
16
17# If LDSCRIPT is defined, we build the dynamic linker as an
18# executable. Otherwise we build it as a shared object. We ignore
19# LDSCRIPT if the running kernel is too old to support it.
20.if defined(LDSCRIPT)

--- 24 unchanged lines hidden ---
22.if exists(${.CURDIR}/${MACHINE_ARCH}/Makefile.inc)
23.include "${.CURDIR}/${MACHINE_ARCH}/Makefile.inc"
24.endif
25
26# If LDSCRIPT is defined, we build the dynamic linker as an
27# executable. Otherwise we build it as a shared object. We ignore
28# LDSCRIPT if the running kernel is too old to support it.
29.if defined(LDSCRIPT)

--- 24 unchanged lines hidden ---