1# $FreeBSD: head/gnu/usr.bin/binutils/ld/Makefile 100872 2002-07-29 09:40:17Z ru $
| 1# $FreeBSD: head/gnu/usr.bin/binutils/ld/Makefile 113136 2003-04-05 20:30:30Z imp $
|
2 3.include "../Makefile.inc0" 4 5.PATH: ${SRCDIR}/ld 6 7PROG= ld 8SCRIPTDIR= /usr/libdata/ldscripts 9SRCS+= ldcref.c ldctor.c ldemul.c ldemul-list.h ldexp.c ldfile.c \ 10 ldgram.y ldlang.c ldlex.l ldmain.c ldmisc.c \ 11 ldver.c ldwrite.c lexsup.c mri.c 12
| 2 3.include "../Makefile.inc0" 4 5.PATH: ${SRCDIR}/ld 6 7PROG= ld 8SCRIPTDIR= /usr/libdata/ldscripts 9SRCS+= ldcref.c ldctor.c ldemul.c ldemul-list.h ldexp.c ldfile.c \ 10 ldgram.y ldlang.c ldlex.l ldmain.c ldmisc.c \ 11 ldver.c ldwrite.c lexsup.c mri.c 12
|
13.if defined(BOOTSTRAPPING) && !exists(/usr/include/elf-hints.h) 14SRCS+= elf-hints.h 15CLEANFILES+= elf-hints.h 16 17elf-hints.h: 18 ln -sf ${.CURDIR}/../../../../include/${.TARGET} . 19.endif 20
| |
21WARNS= 1 22CFLAGS+= -DSCRIPTDIR=\"${TOOLS_PREFIX}/usr/libdata\" 23CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\" 24CFLAGS+= -I${SRCDIR}/ld -I${SRCDIR}/bfd 25NOSHARED?= yes
| 13WARNS= 1 14CFLAGS+= -DSCRIPTDIR=\"${TOOLS_PREFIX}/usr/libdata\" 15CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\" 16CFLAGS+= -I${SRCDIR}/ld -I${SRCDIR}/bfd 17NOSHARED?= yes
|
26DPADD= ${RELTOP}/libbfd/libbfd.a
| 18DPADD+= ${RELTOP}/libbfd/libbfd.a
|
27DPADD+= ${RELTOP}/libiberty/libiberty.a 28LDADD= ${DPADD} 29CLEANDIRS+= ldscripts 30CLEANFILES+= ldemul-list.h stringify.sed 31 32# If set, BINUTILSDISTDIR is the path to a directory containing the full GNU 33# binutils release. FreeBSD only distributes the bits that are required to 34# build native architectures. BINUTILSDISTDIR is needed to build cross tools.
--- 24 unchanged lines hidden --- | 19DPADD+= ${RELTOP}/libiberty/libiberty.a 20LDADD= ${DPADD} 21CLEANDIRS+= ldscripts 22CLEANFILES+= ldemul-list.h stringify.sed 23 24# If set, BINUTILSDISTDIR is the path to a directory containing the full GNU 25# binutils release. FreeBSD only distributes the bits that are required to 26# build native architectures. BINUTILSDISTDIR is needed to build cross tools.
--- 24 unchanged lines hidden --- |