more __FreeBSD__ and __FreeBSD__ -> __DragonFly__ work.
[dragonfly.git] / gnu / usr.bin / ld / Makefile
1 # $FreeBSD: src/gnu/usr.bin/ld/Makefile,v 1.30.2.1 2001/04/25 12:03:51 ru Exp $
2 # $DragonFly: src/gnu/usr.bin/ld/Attic/Makefile,v 1.5 2004/02/04 15:39:54 rob Exp $
3 #
4
5 RTLD=   ${.CURDIR}/../../../libexec/rtld-aout
6 GCCDIR= ${.CURDIR}/../../../contrib/gcc
7
8 PROG=   ld
9 BINDIR= /usr/libexec/binutils212/aout
10 MAN=    ld.1aout
11 SRCS=   ld.c symbol.c lib.c shlib.c warnings.c support.c rrs.c xbits.c md.c \
12         cplus-dem.c
13 CFLAGS+= -I${.CURDIR} -I${RTLD} -I${RTLD}/${MACHINE_ARCH} \
14         -I${GCCDIR} -DIN_GCC -DDEMANGLE_CPLUSPLUS -DFREEBSD_AOUT
15 CFLAGS+= -D__FreeBSD__
16 NOSHARED?= yes
17
18 .PATH: ${RTLD} ${RTLD}/${MACHINE_ARCH} ${GCCDIR}
19
20 .include <bsd.prog.mk>