diff options
Diffstat (limited to 'sys-devel/binutils-apple/files/ld64-123.2-Makefile')
-rw-r--r-- | sys-devel/binutils-apple/files/ld64-123.2-Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sys-devel/binutils-apple/files/ld64-123.2-Makefile b/sys-devel/binutils-apple/files/ld64-123.2-Makefile new file mode 100644 index 000000000000..9c3e43fcad7b --- /dev/null +++ b/sys-devel/binutils-apple/files/ld64-123.2-Makefile @@ -0,0 +1,26 @@ +CPPFLAGS += -Iinclude -Iabstraction -Ild -Iother -I. + +# dropped machocheck due to compilation failures +all: rebase unwinddump dyldinfo ObjectDump ld64 + +libprunetrie.a: other/PruneTrie.o other/prune_trie.h + $(AR) -s -r -c libprunetrie.a other/PruneTrie.o + +ld64: libprunetrie.a ld/ld.o ld/Options.o ld/debugline.o version.o + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ + +rebase: other/rebase.o + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ + +dyldinfo: other/dyldinfo.o + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ + +unwinddump: other/unwinddump.o + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ + +ObjectDump: other/ObjectDump.o ld/debugline.o ld/parsers/macho_relocatable_file.o + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ + +machocheck: other/machochecker.o + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ + |