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

This commit is contained in:
David E. O'Brien 2008-02-21 16:59:02 +00:00
parent a72d00742b
commit fcc69fd9f7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=176441
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