]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/copybase.bat
cleanup
[wxWidgets.git] / distrib / msw / copybase.bat
1 @echo off
2
3 rem VZ: this is quick and _very_ dirty, to be replaced by a script directly
4 rem parsing the files.txt and include/wx/version.h...
5
6 set VER=2.3.4
7 set DEST=t:\wxBase-%VER%
8
9 mkdir %DEST%
10 mkdir %DEST%\include
11 mkdir %DEST%\include\wx
12 mkdir %DEST%\include\wx\msw
13 mkdir %DEST%\include\wx\protocol
14 mkdir %DEST%\include\wx\unix
15 mkdir %DEST%\locale
16 mkdir %DEST%\samples
17 mkdir %DEST%\samples\console
18 mkdir %DEST%\src
19 mkdir %DEST%\src\common
20 mkdir %DEST%\src\msw
21 mkdir %DEST%\src\regex
22 mkdir %DEST%\src\unix
23 mkdir %DEST%\src\zlib
24 mkdir %DEST%\lib
25
26 chdir %WXWIN%
27
28 rem Copy the files to the root directory
29
30 copy /q configure.in %DEST%
31 copy /q configure %DEST%
32 copy /q wxwin.m4 %DEST%
33 copy /q aclocal.m4 %DEST%
34 copy /q config.sub %DEST%
35 copy /q config.guess %DEST%
36 copy /q install-sh %DEST%
37 copy /q mkinstalldirs %DEST%
38 copy /q wx-config.in %DEST%
39 copy /q setup.h.in %DEST%
40 copy /q Makefile.in %DEST%
41 copy /q wxBase.spec %DEST%
42 copy /q docs\changes.txt %DEST%\CHANGES.txt
43 copy /q docs\licence.txt %DEST%\LICENCE.txt
44 copy /q docs\base\readme.txt %DEST%\README.txt
45
46 rem Copy the project/make files
47
48 copy /q src\wxBase.dsp %DEST%\src\wxBase.dsp
49 copy /q src\wxBase.dsw %DEST%\src\wxBase.dsw
50 copy /q include\wx\msw\setup0.h %DEST%\include\wx\msw\setup.h
51 copy /q src\makeb32.env %DEST%\src\makeb32.env
52 copy /q src\makelib.b32 %DEST%\src\makelib.b32
53 copy /q src\makeprog.b32 %DEST%\src\makeprog.b32
54 copy /q src\msw\makebase.b32 %DEST%\src\msw\makebase.b32
55 copy /q src\*.in %DEST%\src
56
57 rem Copy the sample
58
59 copy /q samples\console\console.cpp %DEST%\samples\console\console.cpp
60 copy /q samples\console\console.dsp %DEST%\samples\console\console.dsp
61 copy /q samples\console\makefile.b32 %DEST%\samples\console\makefile.b32
62 copy /q samples\console\makefile.unx %DEST%\samples\console
63 copy /q samples\console\Makefile.in %DEST%\samples\console
64 copy /q samples\console\testdata.fc %DEST%\samples\console\testdata.fc
65
66 rem Copy regex and zlib files
67
68 copy /q src\regex\*.* %DEST%\src\regex
69 copy /q src\zlib\*.* %DEST%\src\zlib
70
71 rem The files not in src/files.lst
72 copy /q src\msw\dummy.cpp %DEST%\src\msw\dummy.cpp
73 copy /q src\msw\dummydll.cpp %DEST%\src\msw\dummydll.cpp
74
75 copy /q src\common\execcmn.cpp %DEST%\src\common\execcmn.cpp
76 copy /q src\common\unictabl.inc %DEST%\src\common\unictabl.inc
77 copy /q src\common\unzip.h %DEST%\src\common\unzip.h
78
79 copy /q include\wx\msw\gsockmsw.h %DEST%\include\wx\msw\gsockmsw.h
80 copy /q include\wx\msw\missing.h %DEST%\include\wx\msw\missing.h
81 copy /q include\wx\msw\mslu.h %DEST%\include\wx\msw\mslu.h
82 copy /q include\wx\msw\msvcrt.h %DEST%\include\wx\msw\msvcrt.h
83 copy /q include\wx\msw\private.h %DEST%\include\wx\msw\private.h
84 copy /q include\wx\msw\regconf.h %DEST%\include\wx\msw\regconf.h
85 copy /q include\wx\msw\registry.h %DEST%\include\wx\msw\registry.h
86
87 rem The rest is generated from src/files.lst by pasting the ALL_SOURCES and
88 rem ALL_HEADERS here and doing
89 rem
90 rem .,$s@^\s*\(.*\)/\([^ ]*\)\( \\\)\?$@copy /q src\\\1\\\2 %DEST%\\src\\\1\\\2
91 rem
92 rem and
93 rem
94 rem .,$s@/@\\@|exe "normal \ f"|.,$s@^\s*\([^ ]*\)\( \\\)\?$@copy /q include\\wx\\\1 %DEST%\\include\\wx\\\1
95 rem
96 copy /q src\common\init.cpp %DEST%\src\common\init.cpp
97 copy /q src\common\appcmn.cpp %DEST%\src\common\appcmn.cpp
98 copy /q src\common\clntdata.cpp %DEST%\src\common\clntdata.cpp
99 copy /q src\common\cmdline.cpp %DEST%\src\common\cmdline.cpp
100 copy /q src\common\config.cpp %DEST%\src\common\config.cpp
101 copy /q src\common\datetime.cpp %DEST%\src\common\datetime.cpp
102 copy /q src\common\datstrm.cpp %DEST%\src\common\datstrm.cpp
103 copy /q src\common\db.cpp %DEST%\src\common\db.cpp
104 copy /q src\common\dbtable.cpp %DEST%\src\common\dbtable.cpp
105 copy /q src\common\dircmn.cpp %DEST%\src\common\dircmn.cpp
106 copy /q src\common\dynarray.cpp %DEST%\src\common\dynarray.cpp
107 copy /q src\common\dynlib.cpp %DEST%\src\common\dynlib.cpp
108 copy /q src\common\dynload.cpp %DEST%\src\common\dynload.cpp
109 copy /q src\common\encconv.cpp %DEST%\src\common\encconv.cpp
110 copy /q src\common\event.cpp %DEST%\src\common\event.cpp
111 copy /q src\common\extended.c %DEST%\src\common\extended.c
112 copy /q src\common\ffile.cpp %DEST%\src\common\ffile.cpp
113 copy /q src\common\file.cpp %DEST%\src\common\file.cpp
114 copy /q src\common\fileconf.cpp %DEST%\src\common\fileconf.cpp
115 copy /q src\common\filefn.cpp %DEST%\src\common\filefn.cpp
116 copy /q src\common\filename.cpp %DEST%\src\common\filename.cpp
117 copy /q src\common\filesys.cpp %DEST%\src\common\filesys.cpp
118 copy /q src\common\fontmap.cpp %DEST%\src\common\fontmap.cpp
119 copy /q src\common\fs_inet.cpp %DEST%\src\common\fs_inet.cpp
120 copy /q src\common\fs_mem.cpp %DEST%\src\common\fs_mem.cpp
121 copy /q src\common\fs_zip.cpp %DEST%\src\common\fs_zip.cpp
122 copy /q src\common\ftp.cpp %DEST%\src\common\ftp.cpp
123 copy /q src\common\hash.cpp %DEST%\src\common\hash.cpp
124 copy /q src\common\hashmap.cpp %DEST%\src\common\hashmap.cpp
125 copy /q src\common\http.cpp %DEST%\src\common\http.cpp
126 copy /q src\common\intl.cpp %DEST%\src\common\intl.cpp
127 copy /q src\common\ipcbase.cpp %DEST%\src\common\ipcbase.cpp
128 copy /q src\common\list.cpp %DEST%\src\common\list.cpp
129 copy /q src\common\log.cpp %DEST%\src\common\log.cpp
130 copy /q src\common\longlong.cpp %DEST%\src\common\longlong.cpp
131 copy /q src\common\memory.cpp %DEST%\src\common\memory.cpp
132 copy /q src\common\mimecmn.cpp %DEST%\src\common\mimecmn.cpp
133 copy /q src\common\module.cpp %DEST%\src\common\module.cpp
134 copy /q src\common\msgout.cpp %DEST%\src\common\msgout.cpp
135 copy /q src\common\mstream.cpp %DEST%\src\common\mstream.cpp
136 copy /q src\common\object.cpp %DEST%\src\common\object.cpp
137 copy /q src\common\process.cpp %DEST%\src\common\process.cpp
138 copy /q src\common\protocol.cpp %DEST%\src\common\protocol.cpp
139 copy /q src\common\regex.cpp %DEST%\src\common\regex.cpp
140 copy /q src\common\sckaddr.cpp %DEST%\src\common\sckaddr.cpp
141 copy /q src\common\sckfile.cpp %DEST%\src\common\sckfile.cpp
142 copy /q src\common\sckipc.cpp %DEST%\src\common\sckipc.cpp
143 copy /q src\common\sckstrm.cpp %DEST%\src\common\sckstrm.cpp
144 copy /q src\common\socket.cpp %DEST%\src\common\socket.cpp
145 copy /q src\common\strconv.cpp %DEST%\src\common\strconv.cpp
146 copy /q src\common\stream.cpp %DEST%\src\common\stream.cpp
147 copy /q src\common\string.cpp %DEST%\src\common\string.cpp
148 copy /q src\common\sysopt.cpp %DEST%\src\common\sysopt.cpp
149 copy /q src\common\textbuf.cpp %DEST%\src\common\textbuf.cpp
150 copy /q src\common\textfile.cpp %DEST%\src\common\textfile.cpp
151 copy /q src\common\timercmn.cpp %DEST%\src\common\timercmn.cpp
152 copy /q src\common\tokenzr.cpp %DEST%\src\common\tokenzr.cpp
153 copy /q src\common\txtstrm.cpp %DEST%\src\common\txtstrm.cpp
154 copy /q src\common\unzip.c %DEST%\src\common\unzip.c
155 copy /q src\common\url.cpp %DEST%\src\common\url.cpp
156 copy /q src\common\utilscmn.cpp %DEST%\src\common\utilscmn.cpp
157 copy /q src\common\variant.cpp %DEST%\src\common\variant.cpp
158 copy /q src\common\wfstream.cpp %DEST%\src\common\wfstream.cpp
159 copy /q src\common\wxchar.cpp %DEST%\src\common\wxchar.cpp
160 copy /q src\common\zipstrm.cpp %DEST%\src\common\zipstrm.cpp
161 copy /q src\common\zstream.cpp %DEST%\src\common\zstream.cpp
162 copy /q src\unix\dir.cpp %DEST%\src\unix\dir.cpp
163 copy /q src\unix\gsocket.c %DEST%\src\unix\gsocket.c
164 copy /q src\unix\mimetype.cpp %DEST%\src\unix\mimetype.cpp
165 copy /q src\unix\snglinst.cpp %DEST%\src\unix\snglinst.cpp
166 copy /q src\unix\threadpsx.cpp %DEST%\src\unix\threadpsx.cpp
167 copy /q src\unix\utilsunx.cpp %DEST%\src\unix\utilsunx.cpp
168 copy /q src\msw\dde.cpp %DEST%\src\msw\dde.cpp
169 copy /q src\msw\dir.cpp %DEST%\src\msw\dir.cpp
170 copy /q src\msw\gsocket.c %DEST%\src\msw\gsocket.c
171 copy /q src\msw\gsockmsw.c %DEST%\src\msw\gsockmsw.c
172 copy /q src\msw\main.cpp %DEST%\src\msw\main.cpp
173 copy /q src\msw\mimetype.cpp %DEST%\src\msw\mimetype.cpp
174 copy /q src\msw\regconf.cpp %DEST%\src\msw\regconf.cpp
175 copy /q src\msw\registry.cpp %DEST%\src\msw\registry.cpp
176 copy /q src\msw\snglinst.cpp %DEST%\src\msw\snglinst.cpp
177 copy /q src\msw\thread.cpp %DEST%\src\msw\thread.cpp
178 copy /q src\msw\utils.cpp %DEST%\src\msw\utils.cpp
179 copy /q src\msw\utilsexc.cpp %DEST%\src\msw\utilsexc.cpp
180 copy /q src\msw\volume.cpp %DEST%\src\msw\volume.cpp
181
182 copy /q include\wx\app.h %DEST%\include\wx\app.h
183 copy /q include\wx\arrimpl.cpp %DEST%\include\wx\arrimpl.cpp
184 copy /q include\wx\buffer.h %DEST%\include\wx\buffer.h
185 copy /q include\wx\build.h %DEST%\include\wx\build.h
186 copy /q include\wx\chkconf.h %DEST%\include\wx\chkconf.h
187 copy /q include\wx\clntdata.h %DEST%\include\wx\clntdata.h
188 copy /q include\wx\cmdline.h %DEST%\include\wx\cmdline.h
189 copy /q include\wx\confbase.h %DEST%\include\wx\confbase.h
190 copy /q include\wx\config.h %DEST%\include\wx\config.h
191 copy /q include\wx\date.h %DEST%\include\wx\date.h
192 copy /q include\wx\datetime.h %DEST%\include\wx\datetime.h
193 copy /q include\wx\datetime.inl %DEST%\include\wx\datetime.inl
194 copy /q include\wx\datstrm.h %DEST%\include\wx\datstrm.h
195 copy /q include\wx\db.h %DEST%\include\wx\db.h
196 copy /q include\wx\dbkeyg.h %DEST%\include\wx\dbkeyg.h
197 copy /q include\wx\dbtable.h %DEST%\include\wx\dbtable.h
198 copy /q include\wx\dde.h %DEST%\include\wx\dde.h
199 copy /q include\wx\debug.h %DEST%\include\wx\debug.h
200 copy /q include\wx\defs.h %DEST%\include\wx\defs.h
201 copy /q include\wx\dir.h %DEST%\include\wx\dir.h
202 copy /q include\wx\dynarray.h %DEST%\include\wx\dynarray.h
203 copy /q include\wx\dynlib.h %DEST%\include\wx\dynlib.h
204 copy /q include\wx\dynload.h %DEST%\include\wx\dynload.h
205 copy /q include\wx\encconv.h %DEST%\include\wx\encconv.h
206 copy /q include\wx\event.h %DEST%\include\wx\event.h
207 copy /q include\wx\features.h %DEST%\include\wx\features.h
208 copy /q include\wx\ffile.h %DEST%\include\wx\ffile.h
209 copy /q include\wx\file.h %DEST%\include\wx\file.h
210 copy /q include\wx\fileconf.h %DEST%\include\wx\fileconf.h
211 copy /q include\wx\filefn.h %DEST%\include\wx\filefn.h
212 copy /q include\wx\filename.h %DEST%\include\wx\filename.h
213 copy /q include\wx\filesys.h %DEST%\include\wx\filesys.h
214 copy /q include\wx\fontenc.h %DEST%\include\wx\fontenc.h
215 copy /q include\wx\fontmap.h %DEST%\include\wx\fontmap.h
216 copy /q include\wx\fs_inet.h %DEST%\include\wx\fs_inet.h
217 copy /q include\wx\fs_mem.h %DEST%\include\wx\fs_mem.h
218 copy /q include\wx\fs_zip.h %DEST%\include\wx\fs_zip.h
219 copy /q include\wx\gsocket.h %DEST%\include\wx\gsocket.h
220 copy /q include\wx\hash.h %DEST%\include\wx\hash.h
221 copy /q include\wx\hashmap.h %DEST%\include\wx\hashmap.h
222 copy /q include\wx\intl.h %DEST%\include\wx\intl.h
223 copy /q include\wx\ioswrap.h %DEST%\include\wx\ioswrap.h
224 copy /q include\wx\ipc.h %DEST%\include\wx\ipc.h
225 copy /q include\wx\ipcbase.h %DEST%\include\wx\ipcbase.h
226 copy /q include\wx\isql.h %DEST%\include\wx\isql.h
227 copy /q include\wx\isqlext.h %DEST%\include\wx\isqlext.h
228 copy /q include\wx\list.h %DEST%\include\wx\list.h
229 copy /q include\wx\listimpl.cpp %DEST%\include\wx\listimpl.cpp
230 copy /q include\wx\log.h %DEST%\include\wx\log.h
231 copy /q include\wx\longlong.h %DEST%\include\wx\longlong.h
232 copy /q include\wx\memconf.h %DEST%\include\wx\memconf.h
233 copy /q include\wx\memory.h %DEST%\include\wx\memory.h
234 copy /q include\wx\memtext.h %DEST%\include\wx\memtext.h
235 copy /q include\wx\mimetype.h %DEST%\include\wx\mimetype.h
236 copy /q include\wx\module.h %DEST%\include\wx\module.h
237 copy /q include\wx\msgout.h %DEST%\include\wx\msgout.h
238 copy /q include\wx\mstream.h %DEST%\include\wx\mstream.h
239 copy /q include\wx\object.h %DEST%\include\wx\object.h
240 copy /q include\wx\platform.h %DEST%\include\wx\platform.h
241 copy /q include\wx\process.h %DEST%\include\wx\process.h
242 copy /q include\wx\regex.h %DEST%\include\wx\regex.h
243 copy /q include\wx\sckaddr.h %DEST%\include\wx\sckaddr.h
244 copy /q include\wx\sckipc.h %DEST%\include\wx\sckipc.h
245 copy /q include\wx\sckstrm.h %DEST%\include\wx\sckstrm.h
246 copy /q include\wx\snglinst.h %DEST%\include\wx\snglinst.h
247 copy /q include\wx\socket.h %DEST%\include\wx\socket.h
248 copy /q include\wx\strconv.h %DEST%\include\wx\strconv.h
249 copy /q include\wx\stream.h %DEST%\include\wx\stream.h
250 copy /q include\wx\string.h %DEST%\include\wx\string.h
251 copy /q include\wx\sysopt.h %DEST%\include\wx\sysopt.h
252 copy /q include\wx\textbuf.h %DEST%\include\wx\textbuf.h
253 copy /q include\wx\textfile.h %DEST%\include\wx\textfile.h
254 copy /q include\wx\thread.h %DEST%\include\wx\thread.h
255 copy /q include\wx\thrimpl.cpp %DEST%\include\wx\thrimpl.cpp
256 copy /q include\wx\time.h %DEST%\include\wx\time.h
257 copy /q include\wx\timer.h %DEST%\include\wx\timer.h
258 copy /q include\wx\tokenzr.h %DEST%\include\wx\tokenzr.h
259 copy /q include\wx\txtstrm.h %DEST%\include\wx\txtstrm.h
260 copy /q include\wx\url.h %DEST%\include\wx\url.h
261 copy /q include\wx\utils.h %DEST%\include\wx\utils.h
262 copy /q include\wx\variant.h %DEST%\include\wx\variant.h
263 copy /q include\wx\vector.h %DEST%\include\wx\vector.h
264 copy /q include\wx\version.h %DEST%\include\wx\version.h
265 copy /q include\wx\volume.h %DEST%\include\wx\volume.h
266 copy /q include\wx\wfstream.h %DEST%\include\wx\wfstream.h
267 copy /q include\wx\wx.h %DEST%\include\wx\wx.h
268 copy /q include\wx\wxchar.h %DEST%\include\wx\wxchar.h
269 copy /q include\wx\wxprec.h %DEST%\include\wx\wxprec.h
270 copy /q include\wx\zipstrm.h %DEST%\include\wx\zipstrm.h
271 copy /q include\wx\zstream.h %DEST%\include\wx\zstream.h
272 copy /q include\wx\unix\gsockunx.h %DEST%\include\wx\unix\gsockunx.h
273 copy /q include\wx\unix\mimetype.h %DEST%\include\wx\unix\mimetype.h
274 copy /q include\wx\msw\dde.h %DEST%\include\wx\msw\dde.h
275 copy /q include\wx\msw\gccpriv.h %DEST%\include\wx\msw\gccpriv.h
276 copy /q include\wx\msw\mimetype.h %DEST%\include\wx\msw\mimetype.h
277 copy /q include\wx\msw\winundef.h %DEST%\include\wx\msw\winundef.h
278 copy /q include\wx\protocol\file.h %DEST%\include\wx\protocol\file.h
279 copy /q include\wx\protocol\ftp.h %DEST%\include\wx\protocol\ftp.h
280 copy /q include\wx\protocol\http.h %DEST%\include\wx\protocol\http.h
281 copy /q include\wx\protocol\protocol.h %DEST%\include\wx\protocol\protocol.h