If 'WITH_BSDAR' is defined, install as gnu-<util_name>.

This commit is contained in:
obrien 2008-02-21 16:59:02 +00:00
parent d7197f2c3d
commit 8c2ca3d81c
2 changed files with 10 additions and 0 deletions

View File

@ -4,7 +4,12 @@
.PATH: ${SRCDIR}/binutils ${SRCDIR}/binutils/doc
.if defined(WITH_BSDAR)
PROG= gnu-ar
#MAN= gnu-ar.1
.else
PROG= ar
.endif
SRCS= ar.c not-ranlib.c
CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils

View File

@ -4,7 +4,12 @@
.PATH: ${SRCDIR}/binutils ${SRCDIR}/binutils/doc
.if defined(WITH_BSDAR)
PROG= gnu-ranlib
#MAN= gnu-ranlib.1
.else
PROG= ranlib
.endif
SRCS= ar.c is-ranlib.c
CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils