summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2014-04-21 16:14:27 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2014-04-21 16:14:27 +0200
commit87acb87dffa227329512079334fc2657197792a2 (patch)
tree7b8593238c7c1c47f5eb91d99bcbeb7439748f44 /Makefile
parent09221cfefe6f7c1d4fff320b6bcee56a23deb54d (diff)
downloadm2crypto_ext-87acb87dffa227329512079334fc2657197792a2.tar.gz
m2crypto_ext-87acb87dffa227329512079334fc2657197792a2.tar.bz2
m2crypto_ext-87acb87dffa227329512079334fc2657197792a2.zip
use distutils
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 0 insertions, 20 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index b682e4d..0000000
--- a/Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
-PYTHON_INCLUDES=$(shell python-config --includes)
-
-all: M2Crypto_ext
-
-clean:
- $(RM) _M2Crypto_ext.so M2Crypto_ext.py* M2Crypto_ext_wrap.c M2Crypto_ext_wrap.o
-
-M2Crypto_ext: _M2Crypto_ext.so M2Crypto_ext.py
-
-M2Crypto_ext.py: M2Crypto_ext.i
- swig -python -I/usr/include $<
-
-M2Crypto_ext_wrap.c: M2Crypto_ext.i
- swig -python -I/usr/include $<
-
-M2Crypto_ext_wrap.o: M2Crypto_ext_wrap.c
- gcc -O2 -fPIC -o $@ -c $< $(PYTHON_INCLUDES)
-
-_M2Crypto_ext.so: M2Crypto_ext_wrap.o
- gcc -shared -o $@ $<