diff options
Diffstat (limited to 'toolkit/crashreporter/google-breakpad/src/third_party/libdisasm/swig/tcl/Makefile-swig')
-rw-r--r-- | toolkit/crashreporter/google-breakpad/src/third_party/libdisasm/swig/tcl/Makefile-swig | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/toolkit/crashreporter/google-breakpad/src/third_party/libdisasm/swig/tcl/Makefile-swig b/toolkit/crashreporter/google-breakpad/src/third_party/libdisasm/swig/tcl/Makefile-swig deleted file mode 100644 index 5145a8293..000000000 --- a/toolkit/crashreporter/google-breakpad/src/third_party/libdisasm/swig/tcl/Makefile-swig +++ /dev/null @@ -1,63 +0,0 @@ -ifndef BASE_NAME -BASE_NAME = x86disasm -endif - -ifndef SWIG -SWIG = swig # apt-get install swig ! -endif - -ifndef GCC -GCC = gcc -endif - -ifndef CC_FLAGS -CC_FLAGS = -c -fPIC -endif - -ifndef LD_FLAGS -LD_FLAGS = -shared -L../.. -ldisasm -endif - -INTERFACE_FILE = libdisasm.i - -SWIG_INTERFACE = ../$(INTERFACE_FILE) - -# TCL rules -TCL_VERSION = 8.3 -TCL_MOD = $(BASE_NAME)-tcl.so -TCL_SHADOW = $(BASE_NAME)_wrap.c -TCL_OBJ = $(BASE_NAME)_wrap.o -TCL_INC = /usr/include/tcl$(TCL_VERSION) -TCL_LIB = /usr/lib/tcl$(TCL_VERSION) -TCL_DEST = $(TCL_LIB)/$(BASE_NAME).so - -#==================================================== -# TARGETS - -all: swig-tcl - -dummy: swig-tcl install uninstall clean - -swig-tcl: $(TCL_MOD) - -$(TCL_MOD): $(TCL_OBJ) - $(GCC) $(LD_FLAGS) $(TCL_OBJ) -o $@ - -$(TCL_OBJ): $(TCL_SHADOW) - $(GCC) $(CC_FLAGS) -I$(TCL_INC) -I.. -o $@ $< - -$(TCL_SHADOW): $(SWIG_INTERFACE) - swig -tcl -o $(TCL_SHADOW) -outdir . $< - -# ================================================================== -install: $(TCL_MOD) - sudo cp $(TCL_MOD) $(TCL_DEST) - -# ================================================================== -uninstall: - -# ================================================================== -clean: - rm $(TCL_MOD) $(TCL_SWIG) $(TCL_OBJ) - rm $(TCL_SHADOW) - |