Mercurial > hg > anonet-resdb
annotate contrib/splicex/src/make.in @ 884:cd9d07046b1c draft
peer2anonet:
fix potential for unexecutable rc.local bug,
added visual support to README for guys with small
terminals.
author | d3v11 <d3v11@d3v11.ano> |
---|---|
date | Sun, 15 Jan 2012 22:40:56 +0000 |
parents | 1dcc647991ca |
children | 9b7f52cfc228 |
rev | line source |
---|---|
697 | 1 compile: |
705 | 2 cython build/deshadow.pyx -o build/deshadow.c |
706
de6fd9fc14e5
SpliceX patched compiler for /path/to/Python.h and /path/to/structmember.h
d3v11 <d3v11@d3v11.ano>
parents:
705
diff
changeset
|
3 gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I HEADERS -c build/deshadow.c -o build/deshadow.o |
705 | 4 gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/deshadow.o -o build/deshadow.so |
5 | |
6 cython build/splicex.pyx -o build/splicex.c | |
706
de6fd9fc14e5
SpliceX patched compiler for /path/to/Python.h and /path/to/structmember.h
d3v11 <d3v11@d3v11.ano>
parents:
705
diff
changeset
|
7 gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I HEADERS -c build/splicex.c -o build/splicex.o |
697 | 8 gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/splicex.o -o build/splicex.so |
9 | |
10 install-deb: | |
11 mkdir DEBIAN/splicex | |
12 mkdir DEBIAN/splicex/DEBIAN | |
13 mkdir DEBIAN/splicex/usr | |
14 mkdir DEBIAN/splicex/usr/bin | |
15 mkdir DEBIAN/splicex/etc | |
16 mkdir DEBIAN/splicex/etc/splicex | |
17 cp DEBIAN/control DEBIAN/splicex/DEBIAN/control | |
18 cp build/splicex DEBIAN/splicex/usr/bin/splicex | |
705 | 19 cp build/splicex.so DEBIAN/etc/splicex/splicex.so |
20 cp build/deshadow.so DEBIAN/etc/splicex/deshadow.so | |
697 | 21 cp build/splicex-deshadow DEBIAN/splicex/usr/bin/splicex-deshadow |
22 chmod +x DEBIAN/splicex/usr/bin/splicex | |
23 chmod +x DEBIAN/splicex/usr/bin/splicex-deshadow | |
24 cp src/splicex.list DEBIAN/splicex/etc/splicex/splicex.list | |
25 cp src/manual DEBIAN/splicex/etc/splicex/splicex.1 | |
26 gzip DEBIAN/splicex/etc/splicex/splicex.1 | |
27 cp src/splicex.L DEBIAN/splicex/etc/splicex/splicex.L | |
28 cp src/splicex.N DEBIAN/splicex/etc/splicex/splicex.N | |
29 cp src/splicex.S DEBIAN/splicex/etc/splicex/splicex.S | |
30 cp src/splicex.LN DEBIAN/splicex/etc/splicex/splicex.LN | |
31 cp src/splicex.LS DEBIAN/splicex/etc/splicex/splicex.LS | |
32 cp src/splicex.NS DEBIAN/splicex/etc/splicex/splicex.NS | |
33 cp src/splicex.ALL DEBIAN/splicex/etc/splicex/splicex.ALL | |
34 dpkg-deb --build DEBIAN/splicex | |
35 dpkg -i DEBIAN/splicex.deb | |
36 rm -rf DEBIAN/splicex DEBIAN/splicex.deb | |
37 | |
38 install: | |
39 make preinstall | |
40 mkdir /etc/splicex | |
41 cp build/splicex /usr/bin/splicex | |
42 cp build/splicex.so /etc/splicex/splicex.so | |
705 | 43 cp build/deshadow.so /etc/splicex/deshadow.so |
697 | 44 cp build/splicex-deshadow /usr/bin/splicex-deshadow |
45 chmod +x /usr/bin/splicex | |
46 chmod +x /usr/bin/splicex-deshadow | |
47 cp src/splicex.list /etc/splicex/splicex.list | |
48 cp src/manual /etc/splicex/splicex.1 | |
49 gzip /etc/splicex/splicex.1 | |
50 cp src/splicex.L /etc/splicex/splicex.L | |
51 cp src/splicex.N /etc/splicex/splicex.N | |
52 cp src/splicex.S /etc/splicex/splicex.S | |
53 cp src/splicex.LN /etc/splicex/splicex.LN | |
54 cp src/splicex.LS /etc/splicex/splicex.LS | |
55 cp src/splicex.NS /etc/splicex/splicex.NS | |
56 cp src/splicex.ALL /etc/splicex/splicex.ALL | |
57 | |
58 uninstall: | |
59 rm -rf /etc/splicex | |
60 rm -f /usr/bin/splicex | |
61 rm -f /usr/bin/splicex-deshadow | |
62 | |
63 clean: | |
831 | 64 rm Makefile DEBIAN/splicex DEBIAN/*.deb build -rf |
697 | 65 |
66 preinstall: | |
67 rm -rf /etc/splicex | |
68 rm -f /usr/bin/splicex | |
69 rm -f /usr/bin/splicex-deshadow | |
70 rm DEBIAN/splicex DEBIAN/*.deb -rf | |
71 | |
72 update: | |
73 wget http://www.d3v11.ano/splicex.tgz | |
74 tar -xvf ../splicex.tgz --directory='../' | |
75 rm ../splicex.tgz |