diff options
author | Nick <nick@somerandomnick.ano> | 2011-10-30 18:27:46 +0000 |
---|---|---|
committer | Nick <nick@somerandomnick.ano> | 2011-10-30 18:27:46 +0000 |
commit | 05275e65b8e5123792ce930f4ca4b58084205c18 (patch) | |
tree | c9a5acd68092f55c2ec634693cb1ae0c16bc1662 /contrib/splicex/src/make.in | |
parent | 03995735e31fe02df9e13ea08c29ca67c239a2c1 (diff) | |
parent | 7524c24e37492467c93f5f47427994fa2281daf3 (diff) | |
download | resdb-05275e65b8e5123792ce930f4ca4b58084205c18.tar.gz resdb-05275e65b8e5123792ce930f4ca4b58084205c18.zip |
Merge commit '7524c24e37492467c93f5f47427994fa2281daf3'
Diffstat (limited to 'contrib/splicex/src/make.in')
-rw-r--r-- | contrib/splicex/src/make.in | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/contrib/splicex/src/make.in b/contrib/splicex/src/make.in index 1ed50d2..3ebd9a0 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 - 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 + cython build/deshadow.pyx -o build/deshadow.c + gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I HEADERS -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 HEADERS -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 |