build_clean.sh 4.69 KB
Newer Older
1
2

mkdir -p clean
3
cp clean-ide/CleanLicenseConditions.txt clean
4
5
cp clean-classic/macos-x64/txt/Makefile clean
cp clean-classic/macos-x64/txt/README clean
6
7

mkdir -p clean/bin
8
9
cp clm/clm clean/bin
cp clm/patch_bin clean/bin
10
cp htoclean/htoclean\ source\ code/htoclean clean/bin
11
12
#cp clean-ide/BatchBuild/BatchBuild clean/bin
cp clean-ide/BatchBuild/batch_build clean/bin
13
cp clean-ide/cpm/cpm clean/bin
14
15
16

mkdir -p clean/exe
cp compiler/cocl clean/exe
17
cp code-generator/cg clean/exe
18
19

mkdir -p clean/doc
20
cp write_clean_manual/CleanLanguageReport.pdf clean/doc
21
mkdir -p clean/doc/CleanLanguageReportHtml
22
cp write_clean_manual/CleanLanguageReport?*.html clean/doc/CleanLanguageReportHtml
23
( cd clean/doc/CleanLanguageReportHtml; mv CleanLanguageReportT.html CleanLanguageReport.html )
24
25
cp htoclean/Clean.h clean/doc
cp htoclean/CallingCFromClean.html clean/doc
26
mkdir -p clean/doc/Examples
27
28
29
30
cp -r htoclean/Examples/*.[ch] clean/doc/Examples
cp -r htoclean/Examples/*.[id]cl clean/doc/Examples
cp -r htoclean/Examples/*.prj clean/doc/Examples
cp -r htoclean/Examples/*.bat clean/doc/Examples
31
32

mkdir -p clean/man/man1
33
cp clm/clm.1 clean/man/man1
34
35

mkdir -p clean/data/ArgEnv
36
37
for f in ArgEnvC.c ArgEnv.dcl printenv.icl ArgEnv.icl Makefile README ; do
	cp "clean-libraries/Libraries/ArgEnvUnix/$f" "clean/data/ArgEnv/$f"
38
39
40
done

mkdir -p clean/data/Generics
41
cp clean-libraries/Libraries/GenLib/*.[id]cl clean/data/Generics/
42
43

mkdir -p clean/data/Gast
44
cp clean-libraries/Libraries/Gast/*.[id]cl clean/data/Gast/
45
46

mkdir -p clean/data/StdLib
47
cp clean-libraries/Libraries/StdLib/*.[id]cl clean/data/StdLib/
48
49

mkdir -p "clean/data/Directory/Clean System Files"
50
51
cp clean-libraries/Libraries/Directory/* clean/data/Directory
cp "clean-libraries/Libraries/Directory/Clean System Files Unix"/* "clean/data/Directory/Clean System Files"
52
53

mkdir -p "clean/data/MersenneTwister/Clean System Files"
54
cp clean-libraries/Libraries/MersenneTwister/*.* clean/data/MersenneTwister
55
56

mkdir -p "clean/data/TCPIP/Clean System Files"
57
58
59
60
cp clean-libraries/Libraries/TCPIP/TCPIP.dcl clean/data/TCPIP
cp clean-libraries/Libraries/TCPIP/TCPIP.icl clean/data/TCPIP
cp clean-libraries/Libraries/TCPIP/TCPDef.icl clean/data/TCPIP
cp clean-libraries/Libraries/TCPIP/TCPDef.dcl clean/data/TCPIP
61
cp clean-libraries/Libraries/TCPIP/TCPEvent.dcl clean/data/TCPIP
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
cp clean-libraries/Libraries/TCPIP/TCPEvent.icl clean/data/TCPIP
cp clean-libraries/Libraries/TCPIP/TCPChannelClass.dcl clean/data/TCPIP
cp clean-libraries/Libraries/TCPIP/TCPChannelClass.icl clean/data/TCPIP
cp clean-libraries/Libraries/TCPIP/TCPChannels.dcl clean/data/TCPIP
cp clean-libraries/Libraries/TCPIP/TCPChannels.icl clean/data/TCPIP
cp clean-libraries/Libraries/TCPIP/TCPStringChannels.dcl clean/data/TCPIP
cp clean-libraries/Libraries/TCPIP/TCPStringChannels.icl clean/data/TCPIP
cp clean-libraries/Libraries/TCPIP/TCPStringChannelsInternal.dcl clean/data/TCPIP
cp clean-libraries/Libraries/TCPIP/TCPStringChannelsInternal.icl clean/data/TCPIP
cp clean-libraries/Libraries/TCPIP/tcp_bytestreams.dcl clean/data/TCPIP
cp clean-libraries/Libraries/TCPIP/tcp_bytestreams.icl clean/data/TCPIP
cp clean-libraries/Libraries/TCPIP/Linux_C/tcp.dcl clean/data/TCPIP
cp clean-libraries/Libraries/TCPIP/Linux_C/tcp.icl clean/data/TCPIP
cp clean-libraries/Libraries/TCPIP/Linux_C/ostcp.dcl clean/data/TCPIP
cp clean-libraries/Libraries/TCPIP/Linux_C/ostcp.icl clean/data/TCPIP
cp clean-libraries/Libraries/TCPIP/Linux_C/cTCP_121.o "clean/data/TCPIP/Clean System Files"
cp clean-libraries/Libraries/TCPIP/Linux_C/cTCP_121.c "clean/data/TCPIP/Clean System Files"
cp clean-libraries/Libraries/TCPIP/Linux_C/cTCP_121.h "clean/data/TCPIP/Clean System Files"
80
81

mkdir -p "clean/data/Dynamics/Clean System Files"
82
83
84
85
86
87
cp StdDynamicEnv/extension/StdCleanTypes.dcl clean/data/Dynamics
cp StdDynamicEnv/extension/StdCleanTypes.icl clean/data/Dynamics
cp StdDynamicEnv/extension/StdDynamic.dcl clean/data/Dynamics
cp StdDynamicEnv/extension/StdDynamicNoLinker.icl clean/data/Dynamics/StdDynamic.icl
cp StdDynamicEnv/implementation/_SystemDynamic.dcl clean/data/Dynamics
cp StdDynamicEnv/implementation/_SystemDynamic.icl clean/data/Dynamics
88
89

mkdir -p clean/data/Platform
90
91
92
93
cp -r clean-platform/src/libraries/OS-Independent/* clean/data/Platform
cp -r clean-platform/src/libraries/OS-Posix/* clean/data/Platform
cp -r clean-platform/src/libraries/OS-Mac/* clean/data/Platform
cp -r clean-platform/src/libraries/Platform-x86/* clean/data/Platform
94
95
96
97
98
mkdir -p "clean/data/Platform/Clean System Files"
cp clean-platform/src/cdeps/bsearch.o "clean/data/Platform/Clean System Files/"
cp clean-platform/src/cdeps/systemsignal.o "clean/data/Platform/Clean System Files/"
cp clean-platform/src/cdeps/systemprocess.o "clean/data/Platform/Clean System Files/"
cp clean-platform/src/cdeps/WCsubst.o "clean/data/Platform/Clean System Files/"