cc59b11e0f
by -legacy, liblegacy.a should come last in the LDADD list.
20 lines
399 B
Makefile
20 lines
399 B
Makefile
# $FreeBSD$
|
|
|
|
.include "../Makefile.inc0"
|
|
|
|
.PATH: ${SRCDIR}/binutils ${SRCDIR}/binutils/doc
|
|
|
|
PROG= ar
|
|
SRCS= ar.c not-ranlib.c
|
|
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
|
|
CFLAGS+= -I${SRCDIR}/binutils
|
|
CFLAGS+= -I${SRCDIR}/bfd
|
|
NOSHARED?= yes
|
|
DPADD:= ${RELTOP}/libbinutils/libbinutils.a \
|
|
${RELTOP}/libbfd/libbfd.a \
|
|
${RELTOP}/libiberty/libiberty.a \
|
|
${DPADD}
|
|
LDADD= ${DPADD}
|
|
|
|
.include <bsd.prog.mk>
|