diff options
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 |