libbinutils.a needs basename(3); when the latter is provided

by -legacy, liblegacy.a should come last in the LDADD list.
This commit is contained in:
Ruslan Ermilov 2003-04-11 18:02:10 +00:00
parent 7552a592f4
commit cc59b11e0f
12 changed files with 48 additions and 36 deletions

View File

@ -9,9 +9,10 @@ SRCS= addr2line.c
WARNS= 2
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/binutils
DPADD= ${RELTOP}/libbinutils/libbinutils.a
DPADD+= ${RELTOP}/libbfd/libbfd.a
DPADD+= ${RELTOP}/libiberty/libiberty.a
DPADD:= ${RELTOP}/libbinutils/libbinutils.a \
${RELTOP}/libbfd/libbfd.a \
${RELTOP}/libiberty/libiberty.a \
${DPADD}
LDADD= ${DPADD}
.include <bsd.prog.mk>

View File

@ -10,9 +10,10 @@ CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/binutils
CFLAGS+= -I${SRCDIR}/bfd
NOSHARED?= yes
DPADD= ${RELTOP}/libbinutils/libbinutils.a
DPADD+= ${RELTOP}/libbfd/libbfd.a
DPADD+= ${RELTOP}/libiberty/libiberty.a
DPADD:= ${RELTOP}/libbinutils/libbinutils.a \
${RELTOP}/libbfd/libbfd.a \
${RELTOP}/libiberty/libiberty.a \
${DPADD}
LDADD= ${DPADD}
.include <bsd.prog.mk>

View File

@ -20,9 +20,10 @@ CFLAGS+= -I${SRCDIR}/gas -I${SRCDIR}/gas/config -I${SRCDIR} -I${.CURDIR}/..
CFLAGS+= -DVERSION=\"${VERSION:C/[ ]?${VERSION_DATE}[ ]?//g}\"
CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
NOSHARED?= yes
DPADD= ${RELTOP}/libbfd/libbfd.a
DPADD+= ${RELTOP}/libiberty/libiberty.a
DPADD+= ${RELTOP}/libopcodes/libopcodes.a
DPADD:= ${RELTOP}/libbfd/libbfd.a \
${RELTOP}/libiberty/libiberty.a \
${RELTOP}/libopcodes/libopcodes.a \
${DPADD}
LDADD= ${DPADD}
# If set, BINUTILSDISTDIR is the path to a directory containing the full GNU

View File

@ -15,8 +15,9 @@ CFLAGS+= -DSCRIPTDIR=\"${TOOLS_PREFIX}/usr/libdata\"
CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
CFLAGS+= -I${SRCDIR}/ld -I${SRCDIR}/bfd
NOSHARED?= yes
DPADD+= ${RELTOP}/libbfd/libbfd.a
DPADD+= ${RELTOP}/libiberty/libiberty.a
DPADD:= ${RELTOP}/libbfd/libbfd.a \
${RELTOP}/libiberty/libiberty.a \
${DPADD}
LDADD= ${DPADD}
CLEANDIRS+= ldscripts
CLEANFILES+= ldemul-list.h stringify.sed

View File

@ -10,9 +10,10 @@ WARNS= 2
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/bfd
CFLAGS+= -I${SRCDIR}/binutils
DPADD= ${RELTOP}/libbinutils/libbinutils.a
DPADD+= ${RELTOP}/libbfd/libbfd.a
DPADD+= ${RELTOP}/libiberty/libiberty.a
DPADD:= ${RELTOP}/libbinutils/libbinutils.a \
${RELTOP}/libbfd/libbfd.a \
${RELTOP}/libiberty/libiberty.a \
${DPADD}
LDADD= ${DPADD}
.include <bsd.prog.mk>

View File

@ -9,9 +9,10 @@ SRCS= objcopy.c not-strip.c
WARNS= 2
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/binutils
DPADD= ${RELTOP}/libbinutils/libbinutils.a
DPADD+= ${RELTOP}/libbfd/libbfd.a
DPADD+= ${RELTOP}/libiberty/libiberty.a
DPADD:= ${RELTOP}/libbinutils/libbinutils.a \
${RELTOP}/libbfd/libbfd.a \
${RELTOP}/libiberty/libiberty.a \
${DPADD}
LDADD= ${DPADD}
.include <bsd.prog.mk>

View File

@ -10,10 +10,11 @@ WARNS= 2
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/binutils
CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
DPADD= ${RELTOP}/libbinutils/libbinutils.a
DPADD+= ${RELTOP}/libopcodes/libopcodes.a
DPADD+= ${RELTOP}/libbfd/libbfd.a
DPADD+= ${RELTOP}/libiberty/libiberty.a
DPADD:= ${RELTOP}/libbinutils/libbinutils.a \
${RELTOP}/libopcodes/libopcodes.a \
${RELTOP}/libbfd/libbfd.a \
${RELTOP}/libiberty/libiberty.a \
${DPADD}
LDADD= ${DPADD}
.include <bsd.prog.mk>

View File

@ -10,9 +10,10 @@ CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/binutils
CFLAGS+= -I${SRCDIR}/bfd
NOSHARED?= yes
DPADD= ${RELTOP}/libbinutils/libbinutils.a
DPADD+= ${RELTOP}/libbfd/libbfd.a
DPADD+= ${RELTOP}/libiberty/libiberty.a
DPADD:= ${RELTOP}/libbinutils/libbinutils.a \
${RELTOP}/libbfd/libbfd.a \
${RELTOP}/libiberty/libiberty.a \
${DPADD}
LDADD= ${DPADD}
.include <bsd.prog.mk>

View File

@ -12,9 +12,10 @@ SRCS= ${PROG}.c
WARNS= 2
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils -I${SRCDIR}/binutils
DPADD= ${RELTOP}/libbinutils/libbinutils.a
DPADD+= ${RELTOP}/libbfd/libbfd.a
DPADD+= ${RELTOP}/libiberty/libiberty.a
DPADD:= ${RELTOP}/libbinutils/libbinutils.a \
${RELTOP}/libbfd/libbfd.a \
${RELTOP}/libiberty/libiberty.a \
${DPADD}
LDADD= ${DPADD}
.include <bsd.prog.mk>

View File

@ -9,9 +9,10 @@ SRCS= size.c
WARNS= 2
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/binutils
DPADD= ${RELTOP}/libbinutils/libbinutils.a
DPADD+= ${RELTOP}/libbfd/libbfd.a
DPADD+= ${RELTOP}/libiberty/libiberty.a
DPADD:= ${RELTOP}/libbinutils/libbinutils.a \
${RELTOP}/libbfd/libbfd.a \
${RELTOP}/libiberty/libiberty.a \
${DPADD}
LDADD= ${DPADD}
.include <bsd.prog.mk>

View File

@ -9,9 +9,10 @@ SRCS= strings.c
WARNS= 2
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/binutils
DPADD= ${RELTOP}/libbinutils/libbinutils.a
DPADD+= ${RELTOP}/libbfd/libbfd.a
DPADD+= ${RELTOP}/libiberty/libiberty.a
DPADD:= ${RELTOP}/libbinutils/libbinutils.a \
${RELTOP}/libbfd/libbfd.a \
${RELTOP}/libiberty/libiberty.a \
${DPADD}
LDADD= ${DPADD}
.include <bsd.prog.mk>

View File

@ -9,9 +9,10 @@ SRCS= objcopy.c is-strip.c
WARNS= 2
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/binutils
DPADD= ${RELTOP}/libbinutils/libbinutils.a
DPADD+= ${RELTOP}/libbfd/libbfd.a
DPADD+= ${RELTOP}/libiberty/libiberty.a
DPADD:= ${RELTOP}/libbinutils/libbinutils.a \
${RELTOP}/libbfd/libbfd.a \
${RELTOP}/libiberty/libiberty.a \
${DPADD}
LDADD= ${DPADD}
CLEANFILES+= maybe_stripped