Initial import of binutils 2.22 on the new vendor branch
[dragonfly.git] / gnu / usr.bin / cc44 / libiberty / Makefile
1 LIB=            iberty
2 INTERNALLIB=    YES
3
4 # verbatim from libiberty/Makefile
5
6 REQUIRED_OFILES =                                                       \
7         ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o        \
8         ./alloca.o ./argv.o                                             \
9         ./choose-temp.o ./concat.o ./cp-demint.o                        \
10         ./dyn-string.o                                                  \
11         ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o        \
12         ./fnmatch.o ./fopen_unlocked.o                                  \
13         ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o                \
14         ./hashtab.o ./hex.o                                             \
15         ./lbasename.o ./lrealpath.o                                     \
16         ./make-relative-prefix.o ./make-temp-file.o                     \
17         ./objalloc.o ./obstack.o                                        \
18         ./partition.o ./pexecute.o ./physmem.o                          \
19         ./pex-common.o ./pex-one.o ./pex-unix.o                         \
20         ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o  \
21          ./strsignal.o                                                  \
22         ./unlink-if-ordinary.o                                          \
23         ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o       \
24          ./xstrerror.o ./xstrndup.o
25
26 SRCS=   ${REQUIRED_OFILES:T:.o=.c}
27 SRCS+=  mempcpy.c stpncpy.c strverscmp.c
28
29 GCC_NO_PATH=    # defined
30
31 CFLAGS+= -I${.CURDIR}
32
33 .include <bsd.lib.mk>
34
35 .PATH:  ${GCCDIR}/libiberty