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