aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/ld/Makefile
blob: 91d4acdbc4bb90bf93280b75583a4c5edc5710b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $Id: Makefile,v 1.16 1994/12/23 22:30:29 nate 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>