toolkit/crashreporter/google-breakpad/src/third_party/libdisasm/swig/Makefile

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

michael@0 1 # change these values if you need to
michael@0 2 SWIG = swig # apt-get install swig !
michael@0 3 GCC = gcc
michael@0 4
michael@0 5 CC_FLAGS = -c -fPIC
michael@0 6 LD_FLAGS = -shared -L../.. -ldisasm
michael@0 7
michael@0 8 BASE_NAME = x86disasm
michael@0 9
michael@0 10 export INTERFACE_FILE BASE_NAME SWIG GCC CC_FLAGS LD_FLAGS
michael@0 11
michael@0 12 #====================================================
michael@0 13 # TARGETS
michael@0 14
michael@0 15 all: swig
michael@0 16 dummy: swig swig-python swig-ruby swig-perl swig-tcl install uninstall clean
michael@0 17
michael@0 18 swig: swig-python swig-perl
michael@0 19 # swig-rub swig-tcl
michael@0 20
michael@0 21 swig-python:
michael@0 22 cd python && make -f Makefile-swig
michael@0 23
michael@0 24 swig-ruby:
michael@0 25 cd ruby && make -f Makefile-swig
michael@0 26
michael@0 27 swig-perl:
michael@0 28 cd perl && make -f Makefile-swig
michael@0 29
michael@0 30 swig-tcl:
michael@0 31 cd tcl && make -f Makefile-swig
michael@0 32
michael@0 33 # ==================================================================
michael@0 34 install: install-python install-perl
michael@0 35 # install-ruby install-tcl
michael@0 36
michael@0 37 install-python:
michael@0 38 cd python && sudo make -f Makefile-swig install
michael@0 39
michael@0 40 install-ruby:
michael@0 41 cd ruby && sudo make -f Makefile-swig install
michael@0 42
michael@0 43 install-perl:
michael@0 44 cd perl && sudo make -f Makefile-swig install
michael@0 45
michael@0 46 install-tcl:
michael@0 47 cd tcl && sudo make -f Makefile-swig install
michael@0 48
michael@0 49 # ==================================================================
michael@0 50 uninstall: uninstall-python
michael@0 51 #uninstall-ruby uninstall-perl uninstall-tcl
michael@0 52
michael@0 53 uninstall-python:
michael@0 54 cd python && sudo make -f Makefile-swig uninstall
michael@0 55
michael@0 56 uninstall-ruby:
michael@0 57 cd ruby && sudo make -f Makefile-swig uninstall
michael@0 58
michael@0 59 uninstall-perl:
michael@0 60 cd perl && sudo make -f Makefile-swig uninstall
michael@0 61
michael@0 62 uninstall-tcl:
michael@0 63 cd tcl && sudo make -f Makefile-swig uninstall
michael@0 64
michael@0 65 # ==================================================================
michael@0 66 clean:
michael@0 67 cd python && make -f Makefile-swig clean
michael@0 68 cd ruby && make -f Makefile-swig clean
michael@0 69 cd perl && make -f Makefile-swig clean
michael@0 70 cd tcl && make -f Makefile-swig clean

mercurial