build_libraries.sh 1002 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(cd git/clean-libraries; git checkout master \
	Libraries/Directory Libraries/TCPIP Libraries/StdLib Libraries/GenLib Libraries/MersenneTwister)

mkdir -p clean-libraries/Libraries
mv git/clean-libraries/Libraries/* clean-libraries/Libraries/

(cd git/clean-platform; git checkout master .)
mkdir clean-platform
mv git/clean-platform/* clean-platform/

cp htoclean/Clean.h "clean-libraries/Libraries/Directory/Clean System Files Unix/Clean.h"
(cd "clean-libraries/Libraries/Directory/Clean System Files Unix"; gcc -c -O cDirectory.c)

cp htoclean/Clean.h "clean-libraries/Libraries/TCPIP/Linux_C/Clean.h"
(cd "clean-libraries/Libraries/TCPIP/Linux_C"; gcc -c -O cTCP_121.c)
(cd "clean-libraries/Libraries/TCPIP"; sed 's/, library "wsock_library"//' <ostcp.icl >ostcp.icl_; rm -f ostcp.icl; mv ostcp.icl_ ostcp.icl)
(cd "clean-libraries/Libraries/TCPIP/Linux_C"; sed 's/, library "wsock_library"//' <ostcp.icl >ostcp.icl_; rm -f ostcp.icl; mv ostcp.icl_ ostcp.icl)

(cd clean-platform/src/cdeps; make)