diff options
author | d3v11 <d3v11@d3v11.ano> | 2011-10-29 10:17:30 -0400 |
---|---|---|
committer | d3v11 <d3v11@d3v11.ano> | 2011-10-29 10:17:30 -0400 |
commit | 81aab712cfe805dc00010cb2ff5761787d0a4050 (patch) | |
tree | 61b67ad7fd6bd307c63653082c7ab34e9b27f09d /contrib/splicex/src/make.in | |
parent | e04f0562d401b1d44c49f8a03e73cd8fdd27c0d4 (diff) | |
download | resdb-81aab712cfe805dc00010cb2ff5761787d0a4050.tar.gz resdb-81aab712cfe805dc00010cb2ff5761787d0a4050.zip |
SpliceX update: pyinstall added
Diffstat (limited to 'contrib/splicex/src/make.in')
-rw-r--r-- | contrib/splicex/src/make.in | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/contrib/splicex/src/make.in b/contrib/splicex/src/make.in index 1ed50d2..5393658 100644 --- a/contrib/splicex/src/make.in +++ b/contrib/splicex/src/make.in @@ -1,10 +1,13 @@ compile: - cython src/splicex.pyx -o build/splicex.c + cython build/deshadow.pyx -o build/deshadow.c + gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/PYTHON -c build/deshadow.c -o build/deshadow.o + gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/deshadow.o -o build/deshadow.so + + cython build/splicex.pyx -o build/splicex.c gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/PYTHON -c build/splicex.c -o build/splicex.o gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/splicex.o -o build/splicex.so install-deb: - make preinstall mkdir DEBIAN/splicex mkdir DEBIAN/splicex/DEBIAN mkdir DEBIAN/splicex/usr @@ -13,7 +16,8 @@ install-deb: mkdir DEBIAN/splicex/etc/splicex cp DEBIAN/control DEBIAN/splicex/DEBIAN/control cp build/splicex DEBIAN/splicex/usr/bin/splicex - cp build/splicex.so /etc/splicex/splicex.so + cp build/splicex.so DEBIAN/etc/splicex/splicex.so + cp build/deshadow.so DEBIAN/etc/splicex/deshadow.so cp build/splicex-deshadow DEBIAN/splicex/usr/bin/splicex-deshadow chmod +x DEBIAN/splicex/usr/bin/splicex chmod +x DEBIAN/splicex/usr/bin/splicex-deshadow @@ -36,6 +40,7 @@ install: mkdir /etc/splicex cp build/splicex /usr/bin/splicex cp build/splicex.so /etc/splicex/splicex.so + cp build/deshadow.so /etc/splicex/deshadow.so cp build/splicex-deshadow /usr/bin/splicex-deshadow chmod +x /usr/bin/splicex chmod +x /usr/bin/splicex-deshadow |