aboutsummaryrefslogtreecommitdiff
path: root/src/tools/mac/upload_system_symbols/testdata/Makefile
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2014-02-03 22:52:49 +0000
committerrsesek@chromium.org <rsesek@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2014-02-03 22:52:49 +0000
commit299683dba6b4abd4f7ceca28a2ed8005081ed4ad (patch)
treea2ecd98728c23432afa1c414b5898f015243593b /src/tools/mac/upload_system_symbols/testdata/Makefile
parentSupport statically-linked libcurl for HTTP uploads in Linux (diff)
downloadbreakpad-299683dba6b4abd4f7ceca28a2ed8005081ed4ad.tar.xz
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
Diffstat (limited to 'src/tools/mac/upload_system_symbols/testdata/Makefile')
-rw-r--r--src/tools/mac/upload_system_symbols/testdata/Makefile22
1 files changed, 22 insertions, 0 deletions
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