summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/ld/Makefile
blob: 1c60e2b0b5407e7d1c5f734239438b94beb1c3ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $Id: Makefile,v 1.21 1997/02/22 15:46:17 peter Exp $
#

PROG=	ld
SRCS=	ld.c symbol.c lib.c shlib.c warnings.c support.c rrs.c xbits.c md.c \
	cplus-dem.c
CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/$(MACHINE) \
	-I$(GCCDIR) -DIN_GCC -DDEMANGLE_CPLUSPLUS
NOSHARED?= yes

GCCDIR=	${.CURDIR}/../../../contrib/gcc

SUBDIR=       ldconfig ldd
.if !defined(NOPIC)
SUBDIR+= rtld
.endif

.PATH: $(.CURDIR)/$(MACHINE) $(GCCDIR)

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud