34100a9517
I have held this back for over a year, as we will always have to wrestle with the question of "*which* libiberty sources to use". Sigh, if only the GNU people would treat it as a totally separate library from GCC, et al. and release it as such...
28 lines
749 B
Makefile
28 lines
749 B
Makefile
# $FreeBSD$
|
|
|
|
SRCDIR= ${.CURDIR}/../../../contrib/binutils/libiberty
|
|
|
|
.PATH: ${SRCDIR}
|
|
|
|
LIB= iberty
|
|
NOPIC= true
|
|
NOMAN= sorry
|
|
|
|
# miniumally required sources
|
|
SRCS= argv.c choose-temp.c concat.c cplus-dem.c fdmatch.c fnmatch.c getopt.c \
|
|
getopt1.c getruntime.c hex.c floatformat.c objalloc.c obstack.c \
|
|
pexecute.c spaces.c strerror.c strsignal.c xatexit.c xexit.c xmalloc.c \
|
|
xstrdup.c xstrerror.c
|
|
|
|
CFLAGS+= -I${SRCDIR}/../include -I${.CURDIR}
|
|
CFLAGS+= -DHAVE_CONFIG_H
|
|
|
|
HDRS= alloca-conf.h ansidecl.h demangle.h floatformat.h fnmatch.h getopt.h \
|
|
libiberty.h objalloc.h obstack.h
|
|
|
|
#beforeinstall:
|
|
# ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
|
|
# ${HDRS:S;^;${SRCDIR}/../include/;} ${DESTDIR}/usr/include/libiberty
|
|
|
|
.include <bsd.lib.mk>
|