summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/ld/Makefile
blob: 5c8040209326ffc3cf08684e83de608e32959caa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#	$NetBSD: Makefile,v 1.13 1995/04/23 07:58:46 cgd Exp $

PROG=	ld
SRCS=	ld.c symbol.c lib.c shlib.c warnings.c etc.c rrs.c xbits.c md.c
CFLAGS += -g -I$(.CURDIR) -I$(.CURDIR)/$(MACHINE_ARCH)

LDADD+=	-lgnumalloc
DPADD+= /usr/lib/libgnumalloc.a

SUBDIR=	ldconfig ldd

.PATH: $(.CURDIR)/$(MACHINE_ARCH)

.include <bsd.prog.mk>
.if !defined(NOPIC)
SUBDIR+= rtld
.endif