freebsd-dev/gnu/usr.bin/binutils/ar/Makefile
Ruslan Ermilov cc59b11e0f libbinutils.a needs basename(3); when the latter is provided
by -legacy, liblegacy.a should come last in the LDADD list.
2003-04-11 18:02:10 +00:00

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>