xref: /freebsd-12.1/gnu/usr.bin/binutils/libiberty/Makefile (revision 6d87bbdf)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# $FreeBSD$
2
3.include "../Makefile.inc0"
4
5# Get __FreeBSD_version
6.if exists(/sbin/sysctl)
7SYSCTL=	/sbin/sysctl
8.else
9SYSCTL=	/usr/sbin/sysctl
10.endif
11OSVERSION!=	${SYSCTL} -n kern.osreldate
12
13.PATH: ${SRCDIR}/libiberty
14
15LIB=	iberty
16SRCS=	argv.c choose-temp.c concat.c cp-demangle.c cplus-dem.c \
17	dyn-string.c getopt.c getopt1.c getpwd.c getruntime.c \
18	hex.c floatformat.c lbasename.c objalloc.c obstack.c safe-ctype.c \
19	xatexit.c xexit.c xmalloc.c \
20	xstrdup.c xstrerror.c
21.if ${OSVERSION} < 420000
22SRCS+=	basename.c
23.endif
24CFLAGS+=	-DHAVE_CONFIG_H
25NOPROFILE=	true
26NOPIC=		true
27INTERNALLIB=	true
28INTERNALSTATICLIB=true
29
30.include <bsd.lib.mk>
31

served by {OpenGrok

Last Index Update: Fri May 15 20:09:11 GMT 2026