1 |
grobian 12/03/04 16:16:19 |
2 |
|
3 |
Added: ld64-128.2-Makefile |
4 |
Log: |
5 |
Bump to version from Developer Tools 4.3 |
6 |
|
7 |
(Portage version: 2.2.01.20271-prefix/cvs/Darwin i386) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sys-devel/binutils-apple/files/ld64-128.2-Makefile |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/binutils-apple/files/ld64-128.2-Makefile?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/binutils-apple/files/ld64-128.2-Makefile?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: ld64-128.2-Makefile |
16 |
=================================================================== |
17 |
CPPFLAGS += "-DCPU_SUBTYPE_X86_ALL=((cpu_subtype_t)3)" -Iinclude -Iabstraction -Ild -Ild/parsers -Iother -I. |
18 |
|
19 |
# dropped machocheck due to compilation failures |
20 |
all: rebase unwinddump dyldinfo ld64 ObjectDump |
21 |
|
22 |
libprunetrie.a: other/PruneTrie.o other/prune_trie.h |
23 |
$(AR) -s -r -c libprunetrie.a other/PruneTrie.o |
24 |
|
25 |
LD64LIBS=ld/parsers/archive_file.o ld/parsers/macho_relocatable_file.o \ |
26 |
ld/parsers/opaque_section_file.o \ |
27 |
ld/parsers/macho_dylib_file.o \ |
28 |
ld/passes/branch_island.o ld/passes/dylibs.o ld/passes/order.o \ |
29 |
ld/passes/branch_shim.o ld/passes/got.o ld/passes/tlvp.o \ |
30 |
ld/passes/compact_unwind.o ld/passes/huge.o \ |
31 |
ld/passes/dtrace_dof.o ld/passes/objc.o \ |
32 |
ld/passes/stubs/stubs.o \ |
33 |
ld/InputFiles.o ld/OutputFile.o ld/SymbolTable.o \ |
34 |
ld/Options.o ld/Resolver.o ld/debugline.o ld/ld.o |
35 |
|
36 |
ifeq ($(LTO),1) |
37 |
CPPFLAGS += "-DLTO" |
38 |
LTO_OBJ = ld/parsers/lto_file.o |
39 |
LIBLTO = -lLTO |
40 |
else |
41 |
CPPFLAGS += "-ULTO" |
42 |
LTO_OBJ = |
43 |
LIBLTO = |
44 |
endif |
45 |
|
46 |
ld64: libprunetrie.a version.o $(LD64LIBS) $(LTO_OBJ) |
47 |
$(CXX) $(CXXFLAGS) $(LDFLAGS) $(LIBLTO) -o $@ $^ |
48 |
|
49 |
rebase: other/rebase.o |
50 |
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ |
51 |
|
52 |
dyldinfo: other/dyldinfo.o |
53 |
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ |
54 |
|
55 |
unwinddump: other/unwinddump.o |
56 |
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ |
57 |
|
58 |
ObjectDump: other/ObjectDump.o ld/debugline.o ld/parsers/macho_relocatable_file.o $(LTO_OBJ) |
59 |
$(CXX) $(CXXFLAGS) $(LDFLAGS) $(LIBLTO) -o $@ $^ |
60 |
|
61 |
machocheck: other/machochecker.o |
62 |
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ |