61f9ce8d32
warning handling and allows for link-time warnings with a modified version of gas. Note: Not all of the newer bits were updated such as some of the non-x86 machine-dependant code is relevant to FreeBSD right now. Obtained from: NetBSD
20 lines
381 B
Makefile
20 lines
381 B
Makefile
# $Id: Makefile,v 1.15 1994/08/19 12:24:45 davidg Exp $
|
|
#
|
|
|
|
PROG= ld
|
|
SRCS= ld.c symbol.c lib.c shlib.c warnings.c etc.c rrs.c xbits.c md.c
|
|
CFLAGS += -I$(.CURDIR) -I$(.CURDIR)/$(MACHINE)
|
|
LDFLAGS+= -Xlinker -Bstatic
|
|
|
|
DPADD+= $(LIBGNUMALLOC)
|
|
LDADD+= -lgnumalloc
|
|
|
|
SUBDIR= ldconfig ldd
|
|
.if !defined(NOPIC)
|
|
SUBDIR+= rtld
|
|
.endif
|
|
|
|
.PATH: $(.CURDIR)/$(MACHINE)
|
|
|
|
.include <bsd.prog.mk>
|