gcc80: Bring in makefiles but leave them unhooked.
[dragonfly.git] / gnu / usr.bin / cc80 / support-libs / libiberty_pic / Makefile
1 GCC_NO_PATH=    yes
2 GCC_NO_LIBS=    yes
3 LOCAL_CONFIG=   yes
4 .include "../Makefile.inc"
5 .PATH:  ${GCCDIR}/libiberty
6
7 LIB=            iberty_pic
8 NOPROFILE=      yes
9 INTERNALLIB=    yes
10
11 # Bare minimum for liblto_plugin.so, this is a special case
12 NOSHARED=       YES
13 CFLAGS+=        -fpic
14
15 GOOD_CONFIG=    ${.CURDIR}/../libiberty/config.h
16 CLEANFILES=     config.h
17
18 SRCS=           argv.c \
19                 concat.c \
20                 hashtab.c \
21                 make-temp-file.c \
22                 pex-common.c \
23                 pex-unix.c \
24                 safe-ctype.c \
25                 simple-object-coff.c \
26                 simple-object-elf.c \
27                 simple-object-mach-o.c \
28                 simple-object-xcoff.c \
29                 simple-object.c \
30                 vprintf-support.c \
31                 xasprintf.c \
32                 xexit.c \
33                 xmalloc.c \
34                 xstrdup.c \
35                 xstrerror.c \
36                 xvasprintf.c
37
38 config.h: ${GOOD_CONFIG}
39         cp ${.ALLSRC} .
40
41 depend all: config.h
42
43 .include <bsd.lib.mk>