freebsd-dev/gnu/usr.bin/binutils/libiberty/Makefile
David E. O'Brien 7d437141ba Unconditionally use basename.c source vs. only doing this if the libc we
are linking against does not have basename().  There is a buffer overflow
bug in lib/libc/gen/basename.c rev 1.1.  There is no way for us to test
what revision of basename() we have in libc, thus this change.

Requested by:	ru
2001-09-26 20:51:51 +00:00

23 lines
496 B
Makefile

# $FreeBSD$
.include "../Makefile.inc0"
.PATH: ${SRCDIR}/libiberty
LIB= iberty
SRCS= argv.c choose-temp.c concat.c cp-demangle.c cplus-dem.c \
dyn-string.c getopt.c getopt1.c getpwd.c getruntime.c \
hex.c floatformat.c lbasename.c objalloc.c obstack.c safe-ctype.c \
xatexit.c xexit.c xmalloc.c \
xstrdup.c xstrerror.c
.if defined(BOOTSTRAPPING)
SRCS+= basename.c
.endif
CFLAGS+= -DHAVE_CONFIG_H
NOPROFILE= true
NOPIC= true
INTERNALLIB= true
INTERNALSTATICLIB=true
.include <bsd.lib.mk>