Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: src/third_party/libdisasm/swig/Makefile

Issue 1821293002: Replace libdisasm with capstone Base URL: https://chromium.googlesource.com/breakpad/breakpad.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # change these values if you need to
2 SWIG = swig # apt-get install swig !
3 GCC = gcc
4
5 CC_FLAGS = -c -fPIC
6 LD_FLAGS = -shared -L../.. -ldisasm
7
8 BASE_NAME = x86disasm
9
10 export INTERFACE_FILE BASE_NAME SWIG GCC CC_FLAGS LD_FLAGS
11
12 #====================================================
13 # TARGETS
14
15 all: swig
16 dummy: swig swig-python swig-ruby swig-perl swig-tcl install uninstall clean
17
18 swig: swig-python swig-perl
19 # swig-rub swig-tcl
20
21 swig-python:
22 cd python && make -f Makefile-swig
23
24 swig-ruby:
25 cd ruby && make -f Makefile-swig
26
27 swig-perl:
28 cd perl && make -f Makefile-swig
29
30 swig-tcl:
31 cd tcl && make -f Makefile-swig
32
33 # ==================================================================
34 install: install-python install-perl
35 # install-ruby install-tcl
36
37 install-python:
38 cd python && sudo make -f Makefile-swig install
39
40 install-ruby:
41 cd ruby && sudo make -f Makefile-swig install
42
43 install-perl:
44 cd perl && sudo make -f Makefile-swig install
45
46 install-tcl:
47 cd tcl && sudo make -f Makefile-swig install
48
49 # ==================================================================
50 uninstall: uninstall-python
51 #uninstall-ruby uninstall-perl uninstall-tcl
52
53 uninstall-python:
54 cd python && sudo make -f Makefile-swig uninstall
55
56 uninstall-ruby:
57 cd ruby && sudo make -f Makefile-swig uninstall
58
59 uninstall-perl:
60 cd perl && sudo make -f Makefile-swig uninstall
61
62 uninstall-tcl:
63 cd tcl && sudo make -f Makefile-swig uninstall
64
65 # ==================================================================
66 clean:
67 cd python && make -f Makefile-swig clean
68 cd ruby && make -f Makefile-swig clean
69 cd perl && make -f Makefile-swig clean
70 cd tcl && make -f Makefile-swig clean
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698