1998-03-07 19:24:35 +00:00
|
|
|
#
|
1998-08-17 04:59:15 +00:00
|
|
|
# $Id: Makefile,v 1.2 1998/04/30 07:47:58 dfr Exp $
|
1998-03-07 19:24:35 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
PROG= ld-elf.so.1
|
|
|
|
SRCS= rtld_start.S rtld.c map_object.c malloc.c xmalloc.c debug.c
|
|
|
|
NOMAN= true
|
1998-04-30 07:48:02 +00:00
|
|
|
CFLAGS+= -elf -fpic -DFREEBSD_ELF
|
1998-03-07 19:24:35 +00:00
|
|
|
CFLAGS+= -Wall
|
|
|
|
LDFLAGS+= -elf -nostdlib -Wl,-Bshareable,-Bsymbolic
|
|
|
|
LDADD+= -lc_pic
|
1998-08-17 04:59:15 +00:00
|
|
|
# Atomic installation with "-C" is very important for this program.
|
|
|
|
INSTALLFLAGS+= -C
|
1998-03-07 19:24:35 +00:00
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/${MACHINE}
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|