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.

     1 # change these values if you need to
     2 SWIG		=	swig	# apt-get install swig !
     3 GCC		=	gcc
     5 CC_FLAGS	=	-c -fPIC
     6 LD_FLAGS	=	-shared -L../.. -ldisasm
     8 BASE_NAME	=	x86disasm
    10 export INTERFACE_FILE BASE_NAME SWIG GCC CC_FLAGS LD_FLAGS
    12 #====================================================
    13 # TARGETS
    15 all: swig
    16 dummy: swig swig-python swig-ruby swig-perl swig-tcl install uninstall clean
    18 swig: swig-python swig-perl
    19 # swig-rub swig-tcl
    21 swig-python: 
    22 	cd python && make -f Makefile-swig
    24 swig-ruby:
    25 	cd ruby && make -f Makefile-swig
    27 swig-perl:
    28 	cd perl && make -f Makefile-swig
    30 swig-tcl:
    31 	cd tcl && make -f Makefile-swig
    33 # ==================================================================
    34 install: install-python install-perl
    35 # install-ruby install-tcl
    37 install-python:
    38 	cd python && sudo make -f Makefile-swig install
    40 install-ruby:
    41 	cd ruby && sudo make -f Makefile-swig install
    43 install-perl:
    44 	cd perl && sudo make -f Makefile-swig install
    46 install-tcl:
    47 	cd tcl && sudo make -f Makefile-swig install
    49 # ==================================================================
    50 uninstall: uninstall-python
    51 #uninstall-ruby uninstall-perl uninstall-tcl
    53 uninstall-python:
    54 	cd python && sudo make -f Makefile-swig uninstall
    56 uninstall-ruby:
    57 	cd ruby && sudo make -f Makefile-swig uninstall
    59 uninstall-perl:
    60 	cd perl && sudo make -f Makefile-swig uninstall
    62 uninstall-tcl:
    63 	cd tcl && sudo make -f Makefile-swig uninstall
    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

mercurial