binutils 2.22: Add makefiles, new incremental-dump binary
[dragonfly.git] / gnu / usr.bin / binutils222 / libgold / Makefile
1 .include "../Makefile.gld"
2
3 LIB=            gold
4 WARNS=          1
5 INTERNALLIB=    true
6
7 SRCS+=  archive.cc              \
8         attributes.cc           \
9         binary.cc               \
10         common.cc               \
11         compressed_output.cc    \
12         copy-relocs.cc          \
13         cref.cc                 \
14         defstd.cc               \
15         descriptors.cc          \
16         dirsearch.cc            \
17         dwarf_reader.cc         \
18         dynobj.cc               \
19         ehframe.cc              \
20         errors.cc               \
21         expression.cc           \
22         fileread.cc             \
23         gc.cc                   \
24         gold-threads.cc         \
25         gold.cc                 \
26         icf.cc                  \
27         incremental.cc          \
28         int_encoding.cc         \
29         layout.cc               \
30         mapfile.cc              \
31         merge.cc                \
32         object.cc               \
33         options.cc              \
34         output.cc               \
35         parameters.cc           \
36         plugin.cc               \
37         readsyms.cc             \
38         reduced_debug_output.cc \
39         reloc.cc                \
40         resolve.cc              \
41         script-sections.cc      \
42         script.cc               \
43         stringpool.cc           \
44         symtab.cc               \
45         target.cc               \
46         target-select.cc        \
47         timer.cc                \
48         version.cc              \
49         workqueue-threads.cc    \
50         workqueue.cc            \
51         yyscript.c              \
52         mremap.c
53
54 # The next files aren't really part of libgold, but they are common to both
55 # ld.gold and incremental dump, so add them here to avoid building object
56 # files twice
57
58 SRCS+=  i386.cc                 \
59         x86_64.cc               \
60         sparc.cc                \
61         powerpc.cc              \
62         arm.cc                  \
63         arm-reloc-property.cc
64
65
66 .include <bsd.lib.mk>