From 299683dba6b4abd4f7ceca28a2ed8005081ed4ad Mon Sep 17 00:00:00 2001 From: "rsesek@chromium.org" Date: Mon, 3 Feb 2014 22:52:49 +0000 Subject: Create a new tool to upload Mac system library symbols. R=andybons@chromium.org, mark@chromium.org Review URL: https://breakpad.appspot.com/1124002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1278 4c0a9323-5329-0410-9bdc-e9ce6186880e --- .../mac/upload_system_symbols/testdata/Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/tools/mac/upload_system_symbols/testdata/Makefile (limited to 'src/tools/mac/upload_system_symbols/testdata/Makefile') diff --git a/src/tools/mac/upload_system_symbols/testdata/Makefile b/src/tools/mac/upload_system_symbols/testdata/Makefile new file mode 100644 index 00000000..cb481a3c --- /dev/null +++ b/src/tools/mac/upload_system_symbols/testdata/Makefile @@ -0,0 +1,22 @@ +all: libarchtest.dylib archtest.exe + +archtest32.exe: archtest.c + clang -m32 $< -o $@ + +archtest64.exe: archtest.c + clang -m64 $< -o $@ + +archtest.exe: archtest32.exe archtest64.exe + lipo $^ -create -output $@ + +libarchtest32.dylib: archtest.c + clang -m32 -dynamiclib $< -o $@ + +libarchtest64.dylib: archtest.c + clang -m64 -dynamiclib $< -o $@ + +libarchtest.dylib: libarchtest32.dylib libarchtest64.dylib + lipo $^ -create -output $@ + +clean: + rm -f *.dylib *.exe -- cgit v1.2.1