gcc50: Bring in makefiles but leave them unhooked
[dragonfly.git] / gnu / usr.bin / cc50 / cc_tools / libiberty / Makefile
1 LIB=            iberty
2 INTERNALLIB=    YES
3 CFLAGS+=        -I${.CURDIR}
4 GOOD_CONFIG=    ${.CURDIR}/../../support-libs/libiberty/config.h
5 CLEANFILES=     config.h
6
7 SRCS=   concat.c cp-demangle.c cp-demint.c cplus-dem.c dyn-string.c \
8         fibheap.c fopen_unlocked.c getpwd.c getruntime.c hashtab.c hex.c \
9         lbasename.c lrealpath.c make-relative-prefix.c make-temp-file.c \
10         md5.c obstack.c partition.c pex-unix.c physmem.c safe-ctype.c \
11         splay-tree.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c \
12         filename_cmp.c regex.c xstrndup.c xasprintf.c xvasprintf.c \
13         vprintf-support.c
14
15 config.h: ${GOOD_CONFIG}
16         cp ${.ALLSRC} .
17
18 beforedepend: config.h
19 afterdepend: libiberty.na
20
21 .include <bsd.hostlib.mk>
22 .PATH:  ${GCCDIR}/libiberty