]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/make_dist.mk
really fix binary backwards compatibility for wxMotif
[wxWidgets.git] / build / bakefiles / make_dist.mk
1 #
2 # "make dist" target implementation:
3 #
4
5
6 ############################# Dirs #################################
7
8 WXDIR = $(top_srcdir)
9
10 # Subordinate library possibilities
11
12 SRCDIR = $(WXDIR)/src
13 GENDIR = $(WXDIR)/src/generic
14 COMMDIR = $(WXDIR)/src/common
15 HTMLDIR = $(WXDIR)/src/html
16 UNIXDIR = $(WXDIR)/src/unix
17 PNGDIR = $(WXDIR)/src/png
18 JPEGDIR = $(WXDIR)/src/jpeg
19 TIFFDIR = $(WXDIR)/src/tiff
20 ZLIBDIR = $(WXDIR)/src/zlib
21 REGEXDIR = $(WXDIR)/src/regex
22 EXPATDIR = $(WXDIR)/src/expat
23 GTKDIR = $(WXDIR)/src/gtk
24 X11DIR = $(WXDIR)/src/x11
25 X11INC = $(WXDIR)/include/wx/x11
26 MGLDIR = $(WXDIR)/src/mgl
27 MOTIFDIR = $(WXDIR)/src/motif
28 MSWDIR = $(WXDIR)/src/msw
29 PMDIR = $(WXDIR)/src/os2
30 MACDIR = $(WXDIR)/src/mac
31 COCOADIR = $(WXDIR)/src/cocoa
32 ODBCDIR = $(WXDIR)/src/iodbc
33 FTDIR = $(WXDIR)/src/freetype
34 INCDIR = $(WXDIR)/include
35 SAMPDIR = $(WXDIR)/samples
36 DEMODIR = $(WXDIR)/demos
37 UTILSDIR = $(WXDIR)/utils
38 MISCDIR = $(WXDIR)/misc
39
40 DOCDIR = $(WXDIR)/docs
41 INTLDIR = $(WXDIR)/locale
42
43 TOOLKITDIR = $(TOOLKIT_LOWERCASE)
44
45 ########################## Archive name ###############################
46
47 # append a version suffix x.y.z to all file names
48 WXARCHIVE=@DISTDIR@-$(WX_VERSION).tar.gz
49 WXGLARCHIVE=@DISTDIR@-gl-$(WX_VERSION).tar.gz
50 WXSAMPLES=wx$(TOOLKIT)-samples-$(WX_VERSION).tar.gz
51 WXDEMOS=wx$(TOOLKIT)-demos-$(WX_VERSION).tar.gz
52 WXARCHIVE_ZIP=wxMSW-$(WX_VERSION).zip
53
54 WXARCHIVE_BZIP=@DISTDIR@-$(WX_VERSION).tar.bz2
55 WXGLARCHIVE_BZIP=@DISTDIR@-gl-$(WX_VERSION).tar.bz2
56 WXSAMPLES_BZIP=wx$(TOOLKIT)-samples-$(WX_VERSION).tar.bz2
57 WXDEMOS_BZIP=wx$(TOOLKIT)-demos-$(WX_VERSION).tar.bz2
58
59 DISTDIRNAME=@DISTDIR@-$(WX_VERSION)
60 DISTDIR=./_dist_dir/$(DISTDIRNAME)
61
62
63 ########################## make dist rules ###############################
64
65 # this target should copy only the files common to really all ports (including
66 # wxBase) to the dist dir
67 ALL_DIST: distrib_clean
68 mkdir _dist_dir
69 mkdir $(DISTDIR)
70 cp $(WXDIR)/configure.in $(DISTDIR)
71 cp $(WXDIR)/configure $(DISTDIR)
72 cp $(WXDIR)/autoconf_inc.m4 $(DISTDIR)
73 cp $(WXDIR)/wxwin.m4 $(DISTDIR)
74 cp $(WXDIR)/aclocal.m4 $(DISTDIR)
75 cp $(WXDIR)/config.sub $(DISTDIR)
76 cp $(WXDIR)/config.guess $(DISTDIR)
77 cp $(WXDIR)/install-sh $(DISTDIR)
78 cp $(WXDIR)/mkinstalldirs $(DISTDIR)
79 cp $(WXDIR)/wx-config.in $(DISTDIR)
80 cp $(WXDIR)/wx-config-inplace.in $(DISTDIR)
81 cp $(WXDIR)/version-script.in $(DISTDIR)
82 cp $(WXDIR)/setup.h.in $(DISTDIR)
83 cp $(WXDIR)/setup.h_vms $(DISTDIR)
84 cp $(WXDIR)/descrip.mms $(DISTDIR)
85 cp $(WXDIR)/Makefile.in $(DISTDIR)
86 cp $(WXDIR)/wxBase.spec $(DISTDIR)
87 cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
88 cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
89 cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
90 mkdir $(DISTDIR)/lib
91 cp $(WXDIR)/lib/vms.opt $(DISTDIR)/lib
92 cp $(WXDIR)/lib/vms_gtk.opt $(DISTDIR)/lib
93 mkdir $(DISTDIR)/src
94 # temp hack for common/execcmn.cpp: it's not supported by tmake
95 # yet (it's a header-like file but in src/common directory and it
96 # shouldn't be distributed...)
97 mkdir $(DISTDIR)/src/common
98 cp $(SRCDIR)/common/execcmn.cpp $(DISTDIR)/src/common
99 mkdir $(DISTDIR)/src/xml
100 cp $(SRCDIR)/xml/*.cpp $(DISTDIR)/src/xml
101 mkdir $(DISTDIR)/src/zlib
102 cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
103 cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
104 cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
105 # cp $(ZLIBDIR)/*.mms $(DISTDIR)/src/zlib
106 mkdir $(DISTDIR)/src/regex
107 cp $(REGEXDIR)/*.h $(DISTDIR)/src/regex
108 cp $(REGEXDIR)/*.c $(DISTDIR)/src/regex
109 cp $(REGEXDIR)/COPYRIGHT $(DISTDIR)/src/regex
110 cp $(REGEXDIR)/README $(DISTDIR)/src/regex
111 cp -Rf $(EXPATDIR) $(DISTDIR)/src
112 (cd $(DISTDIR)/src/expat ; rm -rf `find -name CVS`)
113 mkdir $(DISTDIR)/src/iodbc
114 cp $(ODBCDIR)/*.h $(DISTDIR)/src/iodbc
115 cp $(ODBCDIR)/*.c $(DISTDIR)/src/iodbc
116 cp $(ODBCDIR)/*.ci $(DISTDIR)/src/iodbc
117 cp $(ODBCDIR)/*.exp $(DISTDIR)/src/iodbc
118 cp $(ODBCDIR)/README $(DISTDIR)/src/iodbc
119 cp $(ODBCDIR)/NEWS $(DISTDIR)/src/iodbc
120 cp $(ODBCDIR)/Changes.log $(DISTDIR)/src/iodbc
121 # copy some files from include/ that are not installed:
122 mkdir $(DISTDIR)/include
123 mkdir $(DISTDIR)/include/wx
124 cp $(INCDIR)/wx/fmappriv.h $(DISTDIR)/include/wx
125 # copy wxpresets
126 mkdir $(DISTDIR)/build
127 mkdir $(DISTDIR)/build/bakefiles
128 mkdir $(DISTDIR)/build/bakefiles/wxpresets
129 mkdir $(DISTDIR)/build/bakefiles/wxpresets/presets
130 mkdir $(DISTDIR)/build/bakefiles/wxpresets/sample
131 cp $(WXDIR)/build/bakefiles/wxpresets/presets/*.bkl $(DISTDIR)/build/bakefiles/wxpresets/presets
132 cp $(WXDIR)/build/bakefiles/wxpresets/sample/minimal* $(DISTDIR)/build/bakefiles/wxpresets/sample
133 cp $(WXDIR)/build/bakefiles/wxpresets/sample/config* $(DISTDIR)/build/bakefiles/wxpresets/sample
134 cp $(WXDIR)/build/bakefiles/wxpresets/*.txt $(DISTDIR)/build/bakefiles/wxpresets
135 # copy aclocal files
136 mkdir $(DISTDIR)/build/aclocal
137 cp $(WXDIR)/build/aclocal/*.m4 $(DISTDIR)/build/aclocal
138
139 # this target is the common part of distribution script for all GUI toolkits,
140 # but is not used when building wxBase distribution
141 ALL_GUI_DIST: ALL_DIST
142 cp $(DOCDIR)/readme.txt $(DISTDIR)/README.txt
143 cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt
144 if test -f $(DOCDIR)/$(TOOLKITDIR)/changes.txt ; then \
145 cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES-$(TOOLKIT).txt ; fi
146 cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README-$(TOOLKIT).txt
147 if test -f $(DOCDIR)/$(TOOLKITDIR)/todo.txt ; then \
148 cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt ; fi
149 mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)
150 mkdir $(DISTDIR)/include/wx/generic
151 mkdir $(DISTDIR)/include/wx/html
152 mkdir $(DISTDIR)/include/wx/protocol
153 mkdir $(DISTDIR)/include/wx/unix
154 mkdir $(DISTDIR)/include/wx/xml
155 mkdir $(DISTDIR)/include/wx/xrc
156 cp $(INCDIR)/wx/*.h $(DISTDIR)/include/wx
157 cp $(INCDIR)/wx/*.cpp $(DISTDIR)/include/wx
158 cp $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic
159 cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
160 cp $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
161 cp $(INCDIR)/wx/xml/*.h $(DISTDIR)/include/wx/xml
162 cp $(INCDIR)/wx/xrc/*.h $(DISTDIR)/include/wx/xrc
163 cp $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol
164 mkdir $(DISTDIR)/art
165 mkdir $(DISTDIR)/art/gtk
166 mkdir $(DISTDIR)/art/motif
167 cp $(WXDIR)/art/*.xpm $(DISTDIR)/art
168 cp $(WXDIR)/art/gtk/*.xpm $(DISTDIR)/art/gtk
169 cp $(WXDIR)/art/motif/*.xpm $(DISTDIR)/art/motif
170 mkdir $(DISTDIR)/src/generic
171 mkdir $(DISTDIR)/src/html
172 mkdir $(DISTDIR)/src/$(TOOLKITDIR)
173 mkdir $(DISTDIR)/src/png
174 mkdir $(DISTDIR)/src/jpeg
175 mkdir $(DISTDIR)/src/tiff
176 mkdir $(DISTDIR)/src/unix
177 mkdir $(DISTDIR)/src/xrc
178 cp $(SRCDIR)/xrc/*.cpp $(DISTDIR)/src/xrc
179 cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
180 cp $(COMMDIR)/*.c $(DISTDIR)/src/common
181 cp $(COMMDIR)/*.inc $(DISTDIR)/src/common
182 cp $(COMMDIR)/*.mms $(DISTDIR)/src/common
183 cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
184 cp $(UNIXDIR)/*.mms $(DISTDIR)/src/unix
185 cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic
186 cp $(GENDIR)/*.mms $(DISTDIR)/src/generic
187 cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
188 cp $(PNGDIR)/*.h $(DISTDIR)/src/png
189 cp $(PNGDIR)/*.c $(DISTDIR)/src/png
190 cp $(PNGDIR)/README $(DISTDIR)/src/png
191 cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
192 cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
193 cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg
194 cp $(TIFFDIR)/*.h $(DISTDIR)/src/tiff
195 cp $(TIFFDIR)/*.c $(DISTDIR)/src/tiff
196 cp $(TIFFDIR)/README $(DISTDIR)/src/tiff
197
198 BASE_DIST: ALL_DIST
199 # make --disable-gui the default
200 sed 's/DEFAULT_wxUSE_GUI=yes/DEFAULT_wxUSE_GUI=no/' \
201 $(WXDIR)/configure.in > $(DISTDIR)/configure.in
202 sed 's/DEFAULT_wxUSE_GUI=yes/DEFAULT_wxUSE_GUI=no/' \
203 $(WXDIR)/configure > $(DISTDIR)/configure
204 chmod +x $(DISTDIR)/configure
205 mkdir $(DISTDIR)/include/wx/protocol
206 mkdir $(DISTDIR)/include/wx/unix
207 mkdir $(DISTDIR)/include/wx/xml
208 mkdir $(DISTDIR)/include/wx/msw
209 mkdir $(DISTDIR)/include/wx/html
210 mkdir $(DISTDIR)/src/unix
211 mkdir $(DISTDIR)/src/msw
212 cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
213 cp $(DOCDIR)/base/readme.txt $(DISTDIR)/README.txt
214 cp $(WXDIR)/src/common/*.inc $(DISTDIR)/src/common
215 cp $(WXDIR)/src/common/base.rc $(DISTDIR)/src/common
216 list='$(ALL_BASE_HEADERS)'; for p in $$list; do \
217 cp $(WXDIR)/include/$$p $(DISTDIR)/include/$$p; \
218 done
219 list='$(ALL_BASE_SOURCES)'; for p in $$list; do \
220 cp $(WXDIR)/$$p $(DISTDIR)/$$p; \
221 done
222
223 mkdir $(DISTDIR)/samples
224 cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
225
226 mkdir $(DISTDIR)/samples/console
227 cp $(SAMPDIR)/console/Makefile.in $(DISTDIR)/samples/console
228 cp $(SAMPDIR)/console/makefile.unx $(DISTDIR)/samples/console
229 cp $(SAMPDIR)/console/console.cpp $(DISTDIR)/samples/console
230 cp $(SAMPDIR)/console/console.dsp $(DISTDIR)/samples/console
231 cp $(SAMPDIR)/console/testdata.fc $(DISTDIR)/samples/console
232
233 GTK_DIST: ALL_GUI_DIST
234 cp $(WXDIR)/wxGTK.spec $(DISTDIR)
235 cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
236 cp $(GTKDIR)/*.h $(DISTDIR)/src/gtk
237 cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk
238 cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
239 cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
240 cp $(GTKDIR)/*.mms $(DISTDIR)/src/gtk
241
242 mkdir $(DISTDIR)/include/wx/gtk/gnome
243 mkdir $(DISTDIR)/src/gtk/gnome
244 cp $(INCDIR)/wx/gtk/gnome/*.h $(DISTDIR)/include/wx/gtk/gnome
245 cp $(GTKDIR)/gnome/*.cpp $(DISTDIR)/src/gtk/gnome
246
247 mkdir $(DISTDIR)/src/mac
248 mkdir $(DISTDIR)/src/mac/corefoundation
249 cp $(WXDIR)/src/mac/corefoundation/*.cpp $(DISTDIR)/src/mac/corefoundation
250 mkdir $(DISTDIR)/include/wx/mac
251 mkdir $(DISTDIR)/include/wx/mac/corefoundation
252 cp $(WXDIR)/include/wx/mac/corefoundation/*.h $(DISTDIR)/include/wx/mac/corefoundation
253
254 mkdir $(DISTDIR)/contrib
255 cp -R $(WXDIR)/contrib $(DISTDIR)
256
257 X11_DIST: ALL_GUI_DIST UNIV_DIST
258 cp $(WXDIR)/wxX11.spec $(DISTDIR)
259 cp $(INCDIR)/wx/x11/*.h $(DISTDIR)/include/wx/x11
260 cp $(X11DIR)/*.cpp $(DISTDIR)/src/x11
261 cp $(X11DIR)/*.c $(DISTDIR)/src/x11
262 cp $(X11DIR)/*.xbm $(DISTDIR)/src/x11
263 mkdir $(DISTDIR)/src/mac
264 mkdir $(DISTDIR)/src/mac/corefoundation
265 cp $(WXDIR)/src/mac/corefoundation/*.cpp $(DISTDIR)/src/mac/corefoundation
266 mkdir $(DISTDIR)/include/wx/mac
267 mkdir $(DISTDIR)/include/wx/mac/corefoundation
268 cp $(WXDIR)/include/wx/mac/corefoundation/*.h $(DISTDIR)/include/wx/mac/corefoundation
269 mkdir $(DISTDIR)/contrib
270 cp -R $(WXDIR)/contrib $(DISTDIR)
271
272 MOTIF_DIST: ALL_GUI_DIST
273 cp $(WXDIR)/wxMotif.spec $(DISTDIR)
274 cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
275 cp $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif
276 cp $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif
277 mkdir $(DISTDIR)/src/motif/xmcombo
278 cp $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo
279 cp $(MOTIFDIR)/xmcombo/*.h $(DISTDIR)/src/motif/xmcombo
280 cp $(MOTIFDIR)/xmcombo/copying.txt $(DISTDIR)/src/motif/xmcombo
281 mkdir $(DISTDIR)/src/x11
282 mkdir $(DISTDIR)/include/wx/x11
283 cp $(X11DIR)/pen.cpp $(X11DIR)/brush.cpp $(X11DIR)/utilsx.cpp \
284 $(X11DIR)/bitmap.cpp $(X11DIR)/glcanvas.cpp $(X11DIR)/region.cpp \
285 $(DISTDIR)/src/x11
286 cp $(X11INC)/pen.h $(X11INC)/brush.h $(X11INC)/privx.h \
287 $(X11INC)/bitmap.h $(X11INC)/glcanvas.h $(X11INC)/private.h $(X11INC)/region.h \
288 $(DISTDIR)/include/wx/x11
289 mkdir $(DISTDIR)/contrib
290 cp -R $(WXDIR)/contrib $(DISTDIR)
291
292 MACX_DIST: ALL_GUI_DIST
293 cp $(INCDIR)/*.* $(DISTDIR)/include
294 mkdir $(DISTDIR)/include/wx/mac/carbon
295 mkdir $(DISTDIR)/include/wx/mac/private
296 mkdir $(DISTDIR)/include/wx/mac/carbon/private
297 cp $(INCDIR)/wx/mac/*.h $(DISTDIR)/include/wx/mac
298 cp $(INCDIR)/wx/mac/carbon/*.h $(DISTDIR)/include/wx/mac/carbon
299 cp $(INCDIR)/wx/mac/carbon/private/*.h $(DISTDIR)/include/wx/mac/carbon/private
300 cp $(INCDIR)/wx/mac/private/*.h $(DISTDIR)/include/wx/mac/private
301 mkdir $(DISTDIR)/include/wx/mac/corefoundation
302 cp $(INCDIR)/wx/mac/corefoundation/*.h $(DISTDIR)/include/wx/mac/corefoundation
303 mkdir $(DISTDIR)/src/mac/corefoundation
304 cp $(MACDIR)/corefoundation/*.cpp $(DISTDIR)/src/mac/corefoundation
305 mkdir $(DISTDIR)/src/html/htmlctrl
306 mkdir $(DISTDIR)/src/html/htmlctrl/webkit
307 cp $(WXDIR)/src/html/htmlctrl/webkit/*.mm $(DISTDIR)/src/html/htmlctrl/webkit
308 mkdir $(DISTDIR)/src/mac/carbon
309 cp $(MACDIR)/carbon/*.cpp $(DISTDIR)/src/mac/carbon
310 cp $(MACDIR)/carbon/*.mm $(DISTDIR)/src/mac/carbon
311 cp $(MACDIR)/carbon/*.icns $(DISTDIR)/src/mac/carbon
312 cp $(MACDIR)/carbon/Info.plist.in $(DISTDIR)/src/mac/carbon
313 cp $(MACDIR)/carbon/*.h $(DISTDIR)/src/mac/carbon
314 cp $(MACDIR)/carbon/*.r $(DISTDIR)/src/mac/carbon
315 mkdir $(DISTDIR)/src/mac/carbon/morefile
316 cp $(MACDIR)/carbon/morefile/*.h $(DISTDIR)/src/mac/carbon/morefile
317 cp $(MACDIR)/carbon/morefile/*.c $(DISTDIR)/src/mac/carbon/morefile
318 mkdir $(DISTDIR)/src/mac/carbon/morefilex
319 cp $(MACDIR)/carbon/morefilex/*.h $(DISTDIR)/src/mac/carbon/morefilex
320 cp $(MACDIR)/carbon/morefilex/*.c $(DISTDIR)/src/mac/carbon/morefilex
321 cp $(MACDIR)/carbon/morefilex/*.cpp $(DISTDIR)/src/mac/carbon/morefilex
322 # obsolete
323 # mkdir $(DISTDIR)/src/mac/macsock
324 # cp $(MACDIR)/macsock/*.lib $(DISTDIR)/src/mac/macsock
325 mkdir $(DISTDIR)/contrib
326 cp -R $(WXDIR)/contrib $(DISTDIR)
327
328 # TODO: Distribute some files
329 COCOA_DIST: ALL_GUI_DIST
330 cp $(COCOADIR)/*.mm $(DISTDIR)/src/cocoa
331
332 MSW_DIST: ALL_GUI_DIST
333 cp $(WXDIR)/wxWINE.spec $(DISTDIR)
334 mkdir $(DISTDIR)/include/wx/msw/ole
335 mkdir $(DISTDIR)/include/wx/msw/wince
336 cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
337 cp $(INCDIR)/wx/msw/*.cur $(DISTDIR)/include/wx/msw
338 cp $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw
339 cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
340 cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
341 cp $(INCDIR)/wx/msw/wx.manifest $(DISTDIR)/include/wx/msw
342 cp $(INCDIR)/wx/msw/ole/*.h $(DISTDIR)/include/wx/msw/ole
343 cp $(INCDIR)/wx/msw/wince/*.h $(DISTDIR)/include/wx/msw/wince
344 mkdir $(DISTDIR)/src/msw/ole
345 mkdir $(DISTDIR)/src/msw/wince
346 cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
347 cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
348 cp $(MSWDIR)/*.rc $(DISTDIR)/src/msw
349 cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
350
351 MSW_ZIP_TEXT_DIST: ALL_GUI_DIST
352 cp $(WXDIR)/wxWINE.spec $(DISTDIR)
353 mkdir $(DISTDIR)/include/wx/msw
354 mkdir $(DISTDIR)/include/wx/msw/ole
355 mkdir $(DISTDIR)/include/wx/msw/wince
356 cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
357 cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
358 cp $(INCDIR)/wx/msw/wx.manifest $(DISTDIR)/include/wx/msw
359 cp $(INCDIR)/wx/msw/ole/*.h $(DISTDIR)/include/wx/msw/ole
360 cp $(INCDIR)/wx/msw/wince/*.h $(DISTDIR)/include/wx/msw/wince
361 mkdir $(DISTDIR)/src/msw
362 mkdir $(DISTDIR)/src/msw/ole
363 mkdir $(DISTDIR)/src/msw/wince
364 cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
365 cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
366 cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
367 cp $(MSWDIR)/wince/*.* $(DISTDIR)/src/msw/wince
368 cp $(SRCDIR)/*.??? $(DISTDIR)/src
369 cp $(SRCDIR)/*.?? $(DISTDIR)/src
370 mkdir $(DISTDIR)/contrib
371 cp -R $(WXDIR)/contrib $(DISTDIR)
372
373 UNIV_DIST: ALL_GUI_DIST
374 mkdir $(DISTDIR)/include/wx/univ
375 mkdir $(DISTDIR)/src/univ
376 mkdir $(DISTDIR)/src/univ/themes
377 cp $(INCDIR)/wx/univ/*.h $(DISTDIR)/include/wx/univ
378 cp $(INCDIR)/wx/univ/setup0.h $(DISTDIR)/include/wx/univ/setup.h
379 cp $(SRCDIR)/univ/*.cpp $(DISTDIR)/src/univ
380 cp $(SRCDIR)/univ/themes/*.cpp $(DISTDIR)/src/univ/themes
381
382 MGL_DIST: UNIV_DIST
383 cp $(WXDIR)/wxMGL.spec $(DISTDIR)
384 cp $(INCDIR)/wx/mgl/*.h $(DISTDIR)/include/wx/mgl
385 cp $(SRCDIR)/mgl/make* $(DISTDIR)/src/mgl
386 cp $(SRCDIR)/mgl/*.cpp $(DISTDIR)/src/mgl
387 mkdir $(DISTDIR)/contrib
388 cp -R $(WXDIR)/contrib $(DISTDIR)
389
390 DEMOS_DIST: ALL_GUI_DIST
391 mkdir $(DISTDIR)/demos
392 cp $(DEMODIR)/Makefile.in $(DISTDIR)/demos
393
394 mkdir $(DISTDIR)/demos/bombs
395 cp $(DEMODIR)/bombs/Makefile.in $(DISTDIR)/demos/bombs
396 cp $(DEMODIR)/bombs/makefile.unx $(DISTDIR)/demos/bombs
397 cp $(DEMODIR)/bombs/*.cpp $(DISTDIR)/demos/bombs
398 cp $(DEMODIR)/bombs/*.h $(DISTDIR)/demos/bombs
399 cp $(DEMODIR)/bombs/*.xpm $(DISTDIR)/demos/bombs
400 cp $(DEMODIR)/bombs/readme.txt $(DISTDIR)/demos/bombs
401
402 cp -R $(DEMODIR)/dbbrowse $(DISTDIR)/demos/dbbrowse
403
404 mkdir $(DISTDIR)/demos/forty
405 cp $(DEMODIR)/forty/Makefile.in $(DISTDIR)/demos/forty
406 cp $(DEMODIR)/forty/makefile.unx $(DISTDIR)/demos/forty
407 cp $(DEMODIR)/forty/*.h $(DISTDIR)/demos/forty
408 cp $(DEMODIR)/forty/*.cpp $(DISTDIR)/demos/forty
409 cp $(DEMODIR)/forty/*.xpm $(DISTDIR)/demos/forty
410 cp $(DEMODIR)/forty/*.xbm $(DISTDIR)/demos/forty
411 cp $(DEMODIR)/forty/*.htm $(DISTDIR)/demos/forty
412
413 mkdir $(DISTDIR)/demos/life
414 mkdir $(DISTDIR)/demos/life/bitmaps
415 cp $(DEMODIR)/life/Makefile.in $(DISTDIR)/demos/life
416 cp $(DEMODIR)/life/makefile.unx $(DISTDIR)/demos/life
417 cp $(DEMODIR)/life/*.cpp $(DISTDIR)/demos/life
418 cp $(DEMODIR)/life/*.h $(DISTDIR)/demos/life
419 cp $(DEMODIR)/life/*.xpm $(DISTDIR)/demos/life
420 cp $(DEMODIR)/life/*.inc $(DISTDIR)/demos/life
421 cp $(DEMODIR)/life/*.lif $(DISTDIR)/demos/life
422 cp $(DEMODIR)/life/bitmaps/*.xpm $(DISTDIR)/demos/life/bitmaps
423
424 mkdir $(DISTDIR)/demos/poem
425 cp $(DEMODIR)/poem/Makefile.in $(DISTDIR)/demos/poem
426 cp $(DEMODIR)/poem/makefile.unx $(DISTDIR)/demos/poem
427 cp $(DEMODIR)/poem/*.h $(DISTDIR)/demos/poem
428 cp $(DEMODIR)/poem/*.cpp $(DISTDIR)/demos/poem
429 cp $(DEMODIR)/poem/*.xpm $(DISTDIR)/demos/poem
430 cp $(DEMODIR)/poem/*.dat $(DISTDIR)/demos/poem
431 cp $(DEMODIR)/poem/*.txt $(DISTDIR)/demos/poem
432
433 mkdir $(DISTDIR)/demos/fractal
434 cp $(DEMODIR)/fractal/Makefile.in $(DISTDIR)/demos/fractal
435 cp $(DEMODIR)/fractal/makefile.unx $(DISTDIR)/demos/fractal
436 cp $(DEMODIR)/fractal/*.cpp $(DISTDIR)/demos/fractal
437
438 SAMPLES_DIST: ALL_GUI_DIST
439 mkdir $(DISTDIR)/samples
440 cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
441 cp $(SAMPDIR)/sample.* $(DISTDIR)/samples
442
443 mkdir $(DISTDIR)/samples/artprov
444 cp $(SAMPDIR)/artprov/Makefile.in $(DISTDIR)/samples/artprov
445 cp $(SAMPDIR)/artprov/makefile.unx $(DISTDIR)/samples/artprov
446 cp $(SAMPDIR)/artprov/*.cpp $(DISTDIR)/samples/artprov
447 cp $(SAMPDIR)/artprov/*.h $(DISTDIR)/samples/artprov
448 cp $(SAMPDIR)/artprov/*.xpm $(DISTDIR)/samples/artprov
449
450 mkdir $(DISTDIR)/samples/calendar
451 cp $(SAMPDIR)/calendar/Makefile.in $(DISTDIR)/samples/calendar
452 cp $(SAMPDIR)/calendar/makefile.unx $(DISTDIR)/samples/calendar
453 cp $(SAMPDIR)/calendar/*.cpp $(DISTDIR)/samples/calendar
454
455 mkdir $(DISTDIR)/samples/caret
456 cp $(SAMPDIR)/caret/Makefile.in $(DISTDIR)/samples/caret
457 cp $(SAMPDIR)/caret/makefile.unx $(DISTDIR)/samples/caret
458 cp $(SAMPDIR)/caret/*.cpp $(DISTDIR)/samples/caret
459 cp $(SAMPDIR)/caret/*.xpm $(DISTDIR)/samples/caret
460
461 mkdir $(DISTDIR)/samples/checklst
462 cp $(SAMPDIR)/checklst/Makefile.in $(DISTDIR)/samples/checklst
463 cp $(SAMPDIR)/checklst/makefile.unx $(DISTDIR)/samples/checklst
464 cp $(SAMPDIR)/checklst/*.cpp $(DISTDIR)/samples/checklst
465 cp $(SAMPDIR)/checklst/*.xpm $(DISTDIR)/samples/checklst
466 cp $(SAMPDIR)/checklst/*.mms $(DISTDIR)/samples/checklst
467
468 mkdir $(DISTDIR)/samples/config
469 cp $(SAMPDIR)/config/Makefile.in $(DISTDIR)/samples/config
470 cp $(SAMPDIR)/config/makefile.unx $(DISTDIR)/samples/config
471 cp $(SAMPDIR)/config/*.cpp $(DISTDIR)/samples/config
472
473 mkdir $(DISTDIR)/samples/console
474 cp $(SAMPDIR)/console/Makefile.in $(DISTDIR)/samples/console
475 cp $(SAMPDIR)/console/makefile.unx $(DISTDIR)/samples/console
476 cp $(SAMPDIR)/console/*.cpp $(DISTDIR)/samples/console
477 cp $(SAMPDIR)/console/testdata.fc $(DISTDIR)/samples/console
478
479 mkdir $(DISTDIR)/samples/controls
480 mkdir $(DISTDIR)/samples/controls/icons
481 cp $(SAMPDIR)/controls/Makefile.in $(DISTDIR)/samples/controls
482 cp $(SAMPDIR)/controls/makefile.unx $(DISTDIR)/samples/controls
483 cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls
484 cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls
485 cp $(SAMPDIR)/controls/*.bmp $(DISTDIR)/samples/controls
486 cp $(SAMPDIR)/controls/*.ico $(DISTDIR)/samples/controls
487 cp $(SAMPDIR)/controls/*.rc $(DISTDIR)/samples/controls
488 cp $(SAMPDIR)/controls/*.mms $(DISTDIR)/samples/controls
489 cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons
490
491 mkdir $(DISTDIR)/samples/db
492 cp $(SAMPDIR)/db/Makefile.in $(DISTDIR)/samples/db
493 cp $(SAMPDIR)/db/makefile.unx $(DISTDIR)/samples/db
494 cp $(SAMPDIR)/db/*.cpp $(DISTDIR)/samples/db
495 cp $(SAMPDIR)/db/*.h $(DISTDIR)/samples/db
496 cp $(SAMPDIR)/db/*.xpm $(DISTDIR)/samples/db
497
498 mkdir $(DISTDIR)/samples/dialogs
499 cp $(SAMPDIR)/dialogs/Makefile.in $(DISTDIR)/samples/dialogs
500 cp $(SAMPDIR)/dialogs/makefile.unx $(DISTDIR)/samples/dialogs
501 cp $(SAMPDIR)/dialogs/*.cpp $(DISTDIR)/samples/dialogs
502 cp $(SAMPDIR)/dialogs/*.h $(DISTDIR)/samples/dialogs
503 cp $(SAMPDIR)/dialogs/*.txt $(DISTDIR)/samples/dialogs
504 cp $(SAMPDIR)/dialogs/*.mms $(DISTDIR)/samples/dialogs
505
506 mkdir $(DISTDIR)/samples/dialup
507 cp $(SAMPDIR)/dialup/Makefile.in $(DISTDIR)/samples/dialup
508 cp $(SAMPDIR)/dialup/makefile.unx $(DISTDIR)/samples/dialup
509 cp $(SAMPDIR)/dialup/*.cpp $(DISTDIR)/samples/dialup
510
511 mkdir $(DISTDIR)/samples/dnd
512 cp $(SAMPDIR)/dnd/Makefile.in $(DISTDIR)/samples/dnd
513 cp $(SAMPDIR)/dnd/makefile.unx $(DISTDIR)/samples/dnd
514 cp $(SAMPDIR)/dnd/*.cpp $(DISTDIR)/samples/dnd
515 cp $(SAMPDIR)/dnd/*.xpm $(DISTDIR)/samples/dnd
516 cp $(SAMPDIR)/dnd/*.txt $(DISTDIR)/samples/dnd
517 cp $(SAMPDIR)/dnd/*.png $(DISTDIR)/samples/dnd
518
519 mkdir $(DISTDIR)/samples/docview
520 cp $(SAMPDIR)/docview/Makefile.in $(DISTDIR)/samples/docview
521 cp $(SAMPDIR)/docview/makefile.unx $(DISTDIR)/samples/docview
522 cp $(SAMPDIR)/docview/*.cpp $(DISTDIR)/samples/docview
523 cp $(SAMPDIR)/docview/*.h $(DISTDIR)/samples/docview
524 cp $(SAMPDIR)/docview/*.xpm $(DISTDIR)/samples/docview
525
526 mkdir $(DISTDIR)/samples/docvwmdi
527 cp $(SAMPDIR)/docvwmdi/Makefile.in $(DISTDIR)/samples/docvwmdi
528 cp $(SAMPDIR)/docvwmdi/makefile.unx $(DISTDIR)/samples/docvwmdi
529 cp $(SAMPDIR)/docvwmdi/*.cpp $(DISTDIR)/samples/docvwmdi
530 cp $(SAMPDIR)/docvwmdi/*.h $(DISTDIR)/samples/docvwmdi
531
532 mkdir $(DISTDIR)/samples/dragimag
533 cp $(SAMPDIR)/dragimag/Makefile.in $(DISTDIR)/samples/dragimag
534 cp $(SAMPDIR)/dragimag/makefile.unx $(DISTDIR)/samples/dragimag
535 cp $(SAMPDIR)/dragimag/*.cpp $(DISTDIR)/samples/dragimag
536 cp $(SAMPDIR)/dragimag/*.h $(DISTDIR)/samples/dragimag
537 cp $(SAMPDIR)/dragimag/*.xpm $(DISTDIR)/samples/dragimag
538 cp $(SAMPDIR)/dragimag/*.png $(DISTDIR)/samples/dragimag
539
540 mkdir $(DISTDIR)/samples/drawing
541 cp $(SAMPDIR)/drawing/Makefile.in $(DISTDIR)/samples/drawing
542 cp $(SAMPDIR)/drawing/makefile.unx $(DISTDIR)/samples/drawing
543 cp $(SAMPDIR)/drawing/*.cpp $(DISTDIR)/samples/drawing
544 cp $(SAMPDIR)/drawing/*.xpm $(DISTDIR)/samples/drawing
545 cp $(SAMPDIR)/drawing/*.bmp $(DISTDIR)/samples/drawing
546
547 mkdir $(DISTDIR)/samples/dynamic
548 cp $(SAMPDIR)/dynamic/Makefile.in $(DISTDIR)/samples/dynamic
549 cp $(SAMPDIR)/dynamic/makefile.unx $(DISTDIR)/samples/dynamic
550 cp $(SAMPDIR)/dynamic/*.cpp $(DISTDIR)/samples/dynamic
551 cp $(SAMPDIR)/dynamic/*.xpm $(DISTDIR)/samples/dynamic
552
553 mkdir $(DISTDIR)/samples/erase
554 cp $(SAMPDIR)/erase/Makefile.in $(DISTDIR)/samples/erase
555 cp $(SAMPDIR)/erase/makefile.unx $(DISTDIR)/samples/erase
556 cp $(SAMPDIR)/erase/*.cpp $(DISTDIR)/samples/erase
557 cp $(SAMPDIR)/erase/*.xml $(DISTDIR)/samples/erase
558
559 mkdir $(DISTDIR)/samples/event
560 cp $(SAMPDIR)/event/Makefile.in $(DISTDIR)/samples/event
561 cp $(SAMPDIR)/event/makefile.unx $(DISTDIR)/samples/event
562 cp $(SAMPDIR)/event/*.cpp $(DISTDIR)/samples/event
563
564 mkdir $(DISTDIR)/samples/except
565 cp $(SAMPDIR)/except/Makefile.in $(DISTDIR)/samples/except
566 cp $(SAMPDIR)/except/*.cpp $(DISTDIR)/samples/except
567
568 mkdir $(DISTDIR)/samples/exec
569 cp $(SAMPDIR)/exec/Makefile.in $(DISTDIR)/samples/exec
570 cp $(SAMPDIR)/exec/makefile.unx $(DISTDIR)/samples/exec
571 cp $(SAMPDIR)/exec/*.cpp $(DISTDIR)/samples/exec
572
573 mkdir $(DISTDIR)/samples/font
574 cp $(SAMPDIR)/font/Makefile.in $(DISTDIR)/samples/font
575 cp $(SAMPDIR)/font/makefile.unx $(DISTDIR)/samples/font
576 cp $(SAMPDIR)/font/*.cpp $(DISTDIR)/samples/font
577
578 mkdir $(DISTDIR)/samples/grid
579 cp $(SAMPDIR)/grid/Makefile.in $(DISTDIR)/samples/grid
580 cp $(SAMPDIR)/grid/makefile.unx $(DISTDIR)/samples/grid
581 cp $(SAMPDIR)/grid/*.cpp $(SAMPDIR)/grid/*.h $(DISTDIR)/samples/grid
582
583 mkdir $(DISTDIR)/samples/help
584 mkdir $(DISTDIR)/samples/help/doc
585 cp $(SAMPDIR)/help/Makefile.in $(DISTDIR)/samples/help
586 cp $(SAMPDIR)/help/makefile.unx $(DISTDIR)/samples/help
587 cp $(SAMPDIR)/help/*.cpp $(DISTDIR)/samples/help
588 cp $(SAMPDIR)/help/*.xpm $(DISTDIR)/samples/help
589 cp $(SAMPDIR)/help/doc/*.* $(DISTDIR)/samples/help/doc
590
591 mkdir $(DISTDIR)/samples/htlbox
592 cp $(SAMPDIR)/htlbox/Makefile.in $(DISTDIR)/samples/htlbox
593 cp $(SAMPDIR)/htlbox/makefile.unx $(DISTDIR)/samples/htlbox
594 cp $(SAMPDIR)/htlbox/*.cpp $(DISTDIR)/samples/htlbox
595 cp $(SAMPDIR)/htlbox/*.xpm $(DISTDIR)/samples/htlbox
596
597 mkdir $(DISTDIR)/samples/html
598 cp $(SAMPDIR)/html/Makefile.in $(DISTDIR)/samples/html
599 mkdir $(DISTDIR)/samples/html/about
600 cp $(SAMPDIR)/html/about/Makefile.in $(DISTDIR)/samples/html/about
601 cp $(SAMPDIR)/html/about/*.cpp $(DISTDIR)/samples/html/about
602 mkdir $(DISTDIR)/samples/html/about/data
603 cp $(SAMPDIR)/html/about/data/*.htm $(DISTDIR)/samples/html/about/data
604 cp $(SAMPDIR)/html/about/data/*.png $(DISTDIR)/samples/html/about/data
605 mkdir $(DISTDIR)/samples/html/help
606 cp $(SAMPDIR)/html/help/Makefile.in $(DISTDIR)/samples/html/help
607 cp $(SAMPDIR)/html/help/*.cpp $(DISTDIR)/samples/html/help
608 mkdir $(DISTDIR)/samples/html/help/helpfiles
609 cp $(SAMPDIR)/html/help/helpfiles/*.??? $(DISTDIR)/samples/html/help/helpfiles
610 mkdir $(DISTDIR)/samples/html/helpview
611 cp $(SAMPDIR)/html/helpview/Makefile.in $(DISTDIR)/samples/html/helpview
612 cp $(SAMPDIR)/html/helpview/*.cpp $(DISTDIR)/samples/html/helpview
613 cp $(SAMPDIR)/html/helpview/*.zip $(DISTDIR)/samples/html/helpview
614 mkdir $(DISTDIR)/samples/html/printing
615 cp $(SAMPDIR)/html/printing/Makefile.in $(DISTDIR)/samples/html/printing
616 cp $(SAMPDIR)/html/printing/*.cpp $(DISTDIR)/samples/html/printing
617 cp $(SAMPDIR)/html/printing/*.htm $(DISTDIR)/samples/html/printing
618 mkdir $(DISTDIR)/samples/html/test
619 cp $(SAMPDIR)/html/test/Makefile.in $(DISTDIR)/samples/html/test
620 cp $(SAMPDIR)/html/test/*.cpp $(DISTDIR)/samples/html/test
621 cp $(SAMPDIR)/html/test/*.bmp $(DISTDIR)/samples/html/test
622 cp $(SAMPDIR)/html/test/*.png $(DISTDIR)/samples/html/test
623 cp $(SAMPDIR)/html/test/*.gif $(DISTDIR)/samples/html/test
624 cp $(SAMPDIR)/html/test/*.htm $(DISTDIR)/samples/html/test
625 cp $(SAMPDIR)/html/test/*.html $(DISTDIR)/samples/html/test
626 mkdir $(DISTDIR)/samples/html/virtual
627 cp $(SAMPDIR)/html/virtual/Makefile.in $(DISTDIR)/samples/html/virtual
628 cp $(SAMPDIR)/html/virtual/*.cpp $(DISTDIR)/samples/html/virtual
629 cp $(SAMPDIR)/html/virtual/*.htm $(DISTDIR)/samples/html/virtual
630 mkdir $(DISTDIR)/samples/html/widget
631 cp $(SAMPDIR)/html/widget/Makefile.in $(DISTDIR)/samples/html/widget
632 cp $(SAMPDIR)/html/widget/*.cpp $(DISTDIR)/samples/html/widget
633 cp $(SAMPDIR)/html/widget/*.htm $(DISTDIR)/samples/html/widget
634 mkdir $(DISTDIR)/samples/html/zip
635 cp $(SAMPDIR)/html/zip/Makefile.in $(DISTDIR)/samples/html/zip
636 cp $(SAMPDIR)/html/zip/*.cpp $(DISTDIR)/samples/html/zip
637 cp $(SAMPDIR)/html/zip/*.htm $(DISTDIR)/samples/html/zip
638 cp $(SAMPDIR)/html/zip/*.zip $(DISTDIR)/samples/html/zip
639
640 mkdir $(DISTDIR)/samples/image
641 cp $(SAMPDIR)/image/Makefile.in $(DISTDIR)/samples/image
642 cp $(SAMPDIR)/image/makefile.unx $(DISTDIR)/samples/image
643 cp $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image
644 cp $(SAMPDIR)/image/*.mms $(DISTDIR)/samples/image
645 cp $(SAMPDIR)/image/horse*.* $(DISTDIR)/samples/image
646 cp $(SAMPDIR)/image/smile.xbm $(DISTDIR)/samples/image
647 cp $(SAMPDIR)/image/smile.xpm $(DISTDIR)/samples/image
648
649 mkdir $(DISTDIR)/samples/internat
650 mkdir $(DISTDIR)/samples/internat/bg
651 mkdir $(DISTDIR)/samples/internat/cs
652 mkdir $(DISTDIR)/samples/internat/de
653 mkdir $(DISTDIR)/samples/internat/fr
654 mkdir $(DISTDIR)/samples/internat/ja
655 mkdir $(DISTDIR)/samples/internat/ka
656 mkdir $(DISTDIR)/samples/internat/pl
657 mkdir $(DISTDIR)/samples/internat/ru
658 mkdir $(DISTDIR)/samples/internat/sv
659 cp $(SAMPDIR)/internat/Makefile.in $(DISTDIR)/samples/internat
660 cp $(SAMPDIR)/internat/makefile.unx $(DISTDIR)/samples/internat
661 cp $(SAMPDIR)/internat/*.cpp $(DISTDIR)/samples/internat
662 cp $(SAMPDIR)/internat/*.xpm $(DISTDIR)/samples/internat
663 cp $(SAMPDIR)/internat/*.txt $(DISTDIR)/samples/internat
664 cp $(SAMPDIR)/internat/bg/*.mo $(DISTDIR)/samples/internat/bg
665 cp $(SAMPDIR)/internat/cs/*.mo $(DISTDIR)/samples/internat/cs
666 cp $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de
667 cp $(SAMPDIR)/internat/fr/*.mo $(DISTDIR)/samples/internat/fr
668 cp $(SAMPDIR)/internat/ja/*.mo $(DISTDIR)/samples/internat/ja
669 cp $(SAMPDIR)/internat/ka/*.mo $(DISTDIR)/samples/internat/ka
670 cp $(SAMPDIR)/internat/pl/*.mo $(DISTDIR)/samples/internat/pl
671 cp $(SAMPDIR)/internat/ru/*.mo $(DISTDIR)/samples/internat/ru
672 cp $(SAMPDIR)/internat/sv/*.mo $(DISTDIR)/samples/internat/sv
673 cp $(SAMPDIR)/internat/bg/*.po $(DISTDIR)/samples/internat/bg
674 cp $(SAMPDIR)/internat/cs/*.po $(DISTDIR)/samples/internat/cs
675 cp $(SAMPDIR)/internat/de/*.po $(DISTDIR)/samples/internat/de
676 cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr
677 cp $(SAMPDIR)/internat/ja/*.po $(DISTDIR)/samples/internat/ja
678 cp $(SAMPDIR)/internat/ka/*.po $(DISTDIR)/samples/internat/ka
679 cp $(SAMPDIR)/internat/pl/*.po $(DISTDIR)/samples/internat/pl
680 cp $(SAMPDIR)/internat/ru/*.po $(DISTDIR)/samples/internat/ru
681 cp $(SAMPDIR)/internat/sv/*.po $(DISTDIR)/samples/internat/sv
682
683 mkdir $(DISTDIR)/samples/ipc
684 cp $(SAMPDIR)/ipc/Makefile.in $(DISTDIR)/samples/ipc
685 cp $(SAMPDIR)/ipc/makefile.unx $(DISTDIR)/samples/ipc
686 cp $(SAMPDIR)/ipc/*.cpp $(DISTDIR)/samples/ipc
687 cp $(SAMPDIR)/ipc/*.h $(DISTDIR)/samples/ipc
688 cp $(SAMPDIR)/ipc/*.xpm $(DISTDIR)/samples/ipc
689
690 mkdir $(DISTDIR)/samples/joytest
691 cp $(SAMPDIR)/joytest/Makefile.in $(DISTDIR)/samples/joytest
692 cp $(SAMPDIR)/joytest/makefile.unx $(DISTDIR)/samples/joytest
693 cp $(SAMPDIR)/joytest/*.cpp $(DISTDIR)/samples/joytest
694 cp $(SAMPDIR)/joytest/*.h $(DISTDIR)/samples/joytest
695 cp $(SAMPDIR)/joytest/*.wav $(DISTDIR)/samples/joytest
696
697 mkdir $(DISTDIR)/samples/keyboard
698 cp $(SAMPDIR)/keyboard/Makefile.in $(DISTDIR)/samples/keyboard
699 cp $(SAMPDIR)/keyboard/*.cpp $(DISTDIR)/samples/keyboard
700
701 mkdir $(DISTDIR)/samples/layout
702 cp $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout
703 cp $(SAMPDIR)/layout/makefile.unx $(DISTDIR)/samples/layout
704 cp $(SAMPDIR)/layout/*.cpp $(DISTDIR)/samples/layout
705 cp $(SAMPDIR)/layout/*.h $(DISTDIR)/samples/layout
706
707 mkdir $(DISTDIR)/samples/listctrl
708 mkdir $(DISTDIR)/samples/listctrl/bitmaps
709 cp $(SAMPDIR)/listctrl/Makefile.in $(DISTDIR)/samples/listctrl
710 cp $(SAMPDIR)/listctrl/makefile.unx $(DISTDIR)/samples/listctrl
711 cp $(SAMPDIR)/listctrl/*.cpp $(DISTDIR)/samples/listctrl
712 cp $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl
713 cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
714 cp $(SAMPDIR)/listctrl/bitmaps/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
715
716 mkdir $(DISTDIR)/samples/mediaplayer
717 cp $(SAMPDIR)/mediaplayer/Makefile.in $(DISTDIR)/samples/mediaplayer
718 cp $(SAMPDIR)/mediaplayer/*.cpp $(DISTDIR)/samples/mediaplayer
719
720 mkdir $(DISTDIR)/samples/mdi
721 mkdir $(DISTDIR)/samples/mdi/bitmaps
722 cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
723 cp $(SAMPDIR)/mdi/makefile.unx $(DISTDIR)/samples/mdi
724 cp $(SAMPDIR)/mdi/*.cpp $(DISTDIR)/samples/mdi
725 cp $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi
726 cp $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi
727 cp $(SAMPDIR)/mdi/bitmaps/*.xpm $(DISTDIR)/samples/mdi/bitmaps
728
729 mkdir $(DISTDIR)/samples/memcheck
730 cp $(SAMPDIR)/memcheck/Makefile.in $(DISTDIR)/samples/memcheck
731 cp $(SAMPDIR)/memcheck/makefile.unx $(DISTDIR)/samples/memcheck
732 cp $(SAMPDIR)/memcheck/*.cpp $(DISTDIR)/samples/memcheck
733 cp $(SAMPDIR)/memcheck/*.xpm $(DISTDIR)/samples/memcheck
734
735 mkdir $(DISTDIR)/samples/menu
736 cp $(SAMPDIR)/menu/Makefile.in $(DISTDIR)/samples/menu
737 cp $(SAMPDIR)/menu/makefile.unx $(DISTDIR)/samples/menu
738 cp $(SAMPDIR)/menu/*.cpp $(DISTDIR)/samples/menu
739 cp $(SAMPDIR)/menu/*.xpm $(DISTDIR)/samples/menu
740
741 mkdir $(DISTDIR)/samples/minifram
742 mkdir $(DISTDIR)/samples/minifram/bitmaps
743 cp $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram
744 cp $(SAMPDIR)/minifram/makefile.unx $(DISTDIR)/samples/minifram
745 cp $(SAMPDIR)/minifram/*.cpp $(DISTDIR)/samples/minifram
746 cp $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram
747 cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram
748 cp $(SAMPDIR)/minifram/bitmaps/*.xpm $(DISTDIR)/samples/minifram/bitmaps
749
750 mkdir $(DISTDIR)/samples/minimal
751 cp $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal
752 cp $(SAMPDIR)/minimal/makefile.unx $(DISTDIR)/samples/minimal
753 cp $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal
754 cp $(SAMPDIR)/minimal/*.mms $(DISTDIR)/samples/minimal
755
756 mkdir $(DISTDIR)/samples/mobile
757 cp $(SAMPDIR)/mobile/Makefile.in $(DISTDIR)/samples/mobile
758 mkdir $(DISTDIR)/samples/mobile/wxedit
759 cp $(SAMPDIR)/mobile/wxedit/Makefile.in $(DISTDIR)/samples/mobile/wxedit
760 cp $(SAMPDIR)/mobile/wxedit/*.cpp $(DISTDIR)/samples/mobile/wxedit
761 cp $(SAMPDIR)/mobile/wxedit/*.h $(DISTDIR)/samples/mobile/wxedit
762 mkdir $(DISTDIR)/samples/mobile/styles
763 cp $(SAMPDIR)/mobile/styles/Makefile.in $(DISTDIR)/samples/mobile/styles
764 cp $(SAMPDIR)/mobile/styles/*.cpp $(DISTDIR)/samples/mobile/styles
765 cp $(SAMPDIR)/mobile/styles/*.h $(DISTDIR)/samples/mobile/styles
766 cp $(SAMPDIR)/mobile/styles/*.jpg $(DISTDIR)/samples/mobile/styles
767
768 mkdir $(DISTDIR)/samples/multimon
769 cp $(SAMPDIR)/multimon/Makefile.in $(DISTDIR)/samples/multimon
770 cp $(SAMPDIR)/multimon/makefile.unx $(DISTDIR)/samples/multimon
771 cp $(SAMPDIR)/multimon/*.cpp $(DISTDIR)/samples/multimon
772
773 mkdir $(DISTDIR)/samples/notebook
774 cp $(SAMPDIR)/notebook/Makefile.in $(DISTDIR)/samples/notebook
775 cp $(SAMPDIR)/notebook/makefile.unx $(DISTDIR)/samples/notebook
776 cp $(SAMPDIR)/notebook/*.cpp $(DISTDIR)/samples/notebook
777 cp $(SAMPDIR)/notebook/*.h $(DISTDIR)/samples/notebook
778
779 mkdir $(DISTDIR)/samples/opengl
780 cp $(SAMPDIR)/opengl/Makefile.in $(DISTDIR)/samples/opengl
781 mkdir $(DISTDIR)/samples/opengl/penguin
782 cp $(SAMPDIR)/opengl/penguin/Makefile.in $(DISTDIR)/samples/opengl/penguin
783 cp $(SAMPDIR)/opengl/penguin/makefile.unx $(DISTDIR)/samples/opengl/penguin
784 cp $(SAMPDIR)/opengl/penguin/*.cpp $(DISTDIR)/samples/opengl/penguin
785 cp $(SAMPDIR)/opengl/penguin/*.c $(DISTDIR)/samples/opengl/penguin
786 cp $(SAMPDIR)/opengl/penguin/*.h $(DISTDIR)/samples/opengl/penguin
787 cp $(SAMPDIR)/opengl/penguin/*.lwo $(DISTDIR)/samples/opengl/penguin
788 mkdir $(DISTDIR)/samples/opengl/cube
789 cp $(SAMPDIR)/opengl/cube/Makefile.in $(DISTDIR)/samples/opengl/cube
790 cp $(SAMPDIR)/opengl/cube/makefile.unx $(DISTDIR)/samples/opengl/cube
791 cp $(SAMPDIR)/opengl/cube/*.cpp $(DISTDIR)/samples/opengl/cube
792 cp $(SAMPDIR)/opengl/cube/*.h $(DISTDIR)/samples/opengl/cube
793 mkdir $(DISTDIR)/samples/opengl/isosurf
794 cp $(SAMPDIR)/opengl/isosurf/Makefile.in $(DISTDIR)/samples/opengl/isosurf
795 cp $(SAMPDIR)/opengl/isosurf/makefile.unx $(DISTDIR)/samples/opengl/isosurf
796 cp $(SAMPDIR)/opengl/isosurf/*.cpp $(DISTDIR)/samples/opengl/isosurf
797 cp $(SAMPDIR)/opengl/isosurf/*.h $(DISTDIR)/samples/opengl/isosurf
798 cp $(SAMPDIR)/opengl/isosurf/*.gz $(DISTDIR)/samples/opengl/isosurf
799
800 mkdir $(DISTDIR)/samples/png
801 cp $(SAMPDIR)/png/Makefile.in $(DISTDIR)/samples/png
802 cp $(SAMPDIR)/png/makefile.unx $(DISTDIR)/samples/png
803 cp $(SAMPDIR)/png/*.cpp $(DISTDIR)/samples/png
804 cp $(SAMPDIR)/png/*.h $(DISTDIR)/samples/png
805 cp $(SAMPDIR)/png/*.png $(DISTDIR)/samples/png
806
807 mkdir $(DISTDIR)/samples/popup
808 cp $(SAMPDIR)/popup/Makefile.in $(DISTDIR)/samples/popup
809 cp $(SAMPDIR)/popup/makefile.unx $(DISTDIR)/samples/popup
810 cp $(SAMPDIR)/popup/*.cpp $(DISTDIR)/samples/popup
811
812 mkdir $(DISTDIR)/samples/printing
813 cp $(SAMPDIR)/printing/Makefile.in $(DISTDIR)/samples/printing
814 cp $(SAMPDIR)/printing/makefile.unx $(DISTDIR)/samples/printing
815 cp $(SAMPDIR)/printing/*.cpp $(DISTDIR)/samples/printing
816 cp $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing
817 cp $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing
818
819 # mkdir $(DISTDIR)/samples/resource
820 # cp $(SAMPDIR)/resource/Makefile.in $(DISTDIR)/samples/resource
821 # cp $(SAMPDIR)/resource/makefile.unx $(DISTDIR)/samples/resource
822 # cp $(SAMPDIR)/resource/*.cpp $(DISTDIR)/samples/resource
823 # cp $(SAMPDIR)/resource/*.h $(DISTDIR)/samples/resource
824 # cp $(SAMPDIR)/resource/*.wxr $(DISTDIR)/samples/resource
825
826 mkdir $(DISTDIR)/samples/render
827 cp $(SAMPDIR)/render/Makefile.in $(DISTDIR)/samples/render
828 cp $(SAMPDIR)/render/makefile.unx $(DISTDIR)/samples/render
829 cp $(SAMPDIR)/render/*.cpp $(DISTDIR)/samples/render
830
831 mkdir $(DISTDIR)/samples/rotate
832 cp $(SAMPDIR)/rotate/Makefile.in $(DISTDIR)/samples/rotate
833 cp $(SAMPDIR)/rotate/makefile.unx $(DISTDIR)/samples/rotate
834 cp $(SAMPDIR)/rotate/*.cpp $(DISTDIR)/samples/rotate
835 cp $(SAMPDIR)/rotate/*.png $(DISTDIR)/samples/rotate
836
837 mkdir $(DISTDIR)/samples/richedit
838 cp $(SAMPDIR)/richedit/Makefile.in $(DISTDIR)/samples/richedit
839 cp $(SAMPDIR)/richedit/makefile.unx $(DISTDIR)/samples/richedit
840 cp $(SAMPDIR)/richedit/*.cpp $(DISTDIR)/samples/richedit
841 cp $(SAMPDIR)/richedit/*.h $(DISTDIR)/samples/richedit
842 cp $(SAMPDIR)/richedit/*.xpm $(DISTDIR)/samples/richedit
843 cp $(SAMPDIR)/richedit/README $(DISTDIR)/samples/richedit
844 cp $(SAMPDIR)/richedit/TODO $(DISTDIR)/samples/richedit
845
846 # mkdir $(DISTDIR)/samples/proplist
847 # cp $(SAMPDIR)/proplist/Makefile.in $(DISTDIR)/samples/proplist
848 # cp $(SAMPDIR)/proplist/makefile.unx $(DISTDIR)/samples/proplist
849 # cp $(SAMPDIR)/proplist/*.cpp $(DISTDIR)/samples/proplist
850 # cp $(SAMPDIR)/proplist/*.h $(DISTDIR)/samples/proplist
851
852 mkdir $(DISTDIR)/samples/propsize
853 cp $(SAMPDIR)/propsize/Makefile.in $(DISTDIR)/samples/propsize
854 cp $(SAMPDIR)/propsize/makefile.unx $(DISTDIR)/samples/propsize
855 cp $(SAMPDIR)/propsize/*.cpp $(DISTDIR)/samples/propsize
856 cp $(SAMPDIR)/propsize/*.xpm $(DISTDIR)/samples/propsize
857
858 mkdir $(DISTDIR)/samples/sashtest
859 cp $(SAMPDIR)/sashtest/Makefile.in $(DISTDIR)/samples/sashtest
860 cp $(SAMPDIR)/sashtest/makefile.unx $(DISTDIR)/samples/sashtest
861 cp $(SAMPDIR)/sashtest/*.cpp $(DISTDIR)/samples/sashtest
862 cp $(SAMPDIR)/sashtest/*.h $(DISTDIR)/samples/sashtest
863
864 mkdir $(DISTDIR)/samples/scroll
865 cp $(SAMPDIR)/scroll/Makefile.in $(DISTDIR)/samples/scroll
866 cp $(SAMPDIR)/scroll/makefile.unx $(DISTDIR)/samples/scroll
867 cp $(SAMPDIR)/scroll/*.cpp $(DISTDIR)/samples/scroll
868
869 mkdir $(DISTDIR)/samples/scrollsub
870 cp $(SAMPDIR)/scrollsub/Makefile.in $(DISTDIR)/samples/scrollsub
871 cp $(SAMPDIR)/scrollsub/makefile.unx $(DISTDIR)/samples/scrollsub
872 cp $(SAMPDIR)/scrollsub/*.cpp $(DISTDIR)/samples/scrollsub
873
874 mkdir $(DISTDIR)/samples/shaped
875 cp $(SAMPDIR)/shaped/Makefile.in $(DISTDIR)/samples/shaped
876 cp $(SAMPDIR)/shaped/makefile.unx $(DISTDIR)/samples/shaped
877 cp $(SAMPDIR)/shaped/*.cpp $(DISTDIR)/samples/shaped
878 cp $(SAMPDIR)/shaped/*.png $(DISTDIR)/samples/shaped
879
880 mkdir $(DISTDIR)/samples/sockets
881 cp $(SAMPDIR)/sockets/Makefile.in $(DISTDIR)/samples/sockets
882 cp $(SAMPDIR)/sockets/makefile.unx $(DISTDIR)/samples/sockets
883 cp $(SAMPDIR)/sockets/*.cpp $(DISTDIR)/samples/sockets
884 cp $(SAMPDIR)/sockets/*.xpm $(DISTDIR)/samples/sockets
885
886 mkdir $(DISTDIR)/samples/sound
887 cp $(SAMPDIR)/sound/Makefile.in $(DISTDIR)/samples/sound
888 cp $(SAMPDIR)/sound/*.cpp $(DISTDIR)/samples/sound
889 cp $(SAMPDIR)/sound/*.wav $(DISTDIR)/samples/sound
890
891 mkdir $(DISTDIR)/samples/splash
892 cp $(SAMPDIR)/splash/Makefile.in $(DISTDIR)/samples/splash
893 cp $(SAMPDIR)/splash/*.cpp $(DISTDIR)/samples/splash
894 cp $(SAMPDIR)/splash/*.png $(DISTDIR)/samples/splash
895 cp $(SAMPDIR)/splash/*.mpg $(DISTDIR)/samples/splash
896
897 mkdir $(DISTDIR)/samples/splitter
898 cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
899 cp $(SAMPDIR)/splitter/makefile.unx $(DISTDIR)/samples/splitter
900 cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
901
902 mkdir $(DISTDIR)/samples/statbar
903 cp $(SAMPDIR)/statbar/Makefile.in $(DISTDIR)/samples/statbar
904 cp $(SAMPDIR)/statbar/makefile.unx $(DISTDIR)/samples/statbar
905 cp $(SAMPDIR)/statbar/*.cpp $(DISTDIR)/samples/statbar
906 cp $(SAMPDIR)/statbar/*.xpm $(DISTDIR)/samples/statbar
907
908 mkdir $(DISTDIR)/samples/text
909 cp $(SAMPDIR)/text/Makefile.in $(DISTDIR)/samples/text
910 cp $(SAMPDIR)/text/makefile.unx $(DISTDIR)/samples/text
911 cp $(SAMPDIR)/text/*.cpp $(DISTDIR)/samples/text
912 cp $(SAMPDIR)/text/*.xpm $(DISTDIR)/samples/text
913
914 mkdir $(DISTDIR)/samples/thread
915 cp $(SAMPDIR)/thread/Makefile.in $(DISTDIR)/samples/thread
916 cp $(SAMPDIR)/thread/makefile.unx $(DISTDIR)/samples/thread
917 cp $(SAMPDIR)/thread/*.cpp $(DISTDIR)/samples/thread
918
919 mkdir $(DISTDIR)/samples/toolbar
920 cp $(SAMPDIR)/toolbar/Makefile.in $(DISTDIR)/samples/toolbar
921 cp $(SAMPDIR)/toolbar/makefile.unx $(DISTDIR)/samples/toolbar
922 cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar
923 cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar
924 mkdir $(DISTDIR)/samples/toolbar/bitmaps
925 cp $(SAMPDIR)/toolbar/bitmaps/*.xpm $(DISTDIR)/samples/toolbar/bitmaps
926
927 mkdir $(DISTDIR)/samples/treectrl
928 cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl
929 cp $(SAMPDIR)/treectrl/makefile.unx $(DISTDIR)/samples/treectrl
930 cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
931 cp $(SAMPDIR)/treectrl/*.h $(DISTDIR)/samples/treectrl
932 cp $(SAMPDIR)/treectrl/*.xpm $(DISTDIR)/samples/treectrl
933
934 # mkdir $(DISTDIR)/samples/treelay
935 # cp $(SAMPDIR)/treelay/Makefile.in $(DISTDIR)/samples/treelay
936 # cp $(SAMPDIR)/treelay/makefile.unx $(DISTDIR)/samples/treelay
937 # cp $(SAMPDIR)/treelay/*.cpp $(DISTDIR)/samples/treelay
938 # cp $(SAMPDIR)/treelay/*.h $(DISTDIR)/samples/treelay
939
940 mkdir $(DISTDIR)/samples/typetest
941 cp $(SAMPDIR)/typetest/Makefile.in $(DISTDIR)/samples/typetest
942 cp $(SAMPDIR)/typetest/makefile.unx $(DISTDIR)/samples/typetest
943 cp $(SAMPDIR)/typetest/*.cpp $(DISTDIR)/samples/typetest
944 cp $(SAMPDIR)/typetest/*.h $(DISTDIR)/samples/typetest
945 cp $(SAMPDIR)/typetest/*.xpm $(DISTDIR)/samples/typetest
946
947 mkdir $(DISTDIR)/samples/validate
948 cp $(SAMPDIR)/validate/Makefile.in $(DISTDIR)/samples/validate
949 cp $(SAMPDIR)/validate/makefile.unx $(DISTDIR)/samples/validate
950 cp $(SAMPDIR)/validate/*.cpp $(DISTDIR)/samples/validate
951 cp $(SAMPDIR)/validate/*.h $(DISTDIR)/samples/validate
952 cp $(SAMPDIR)/validate/*.xpm $(DISTDIR)/samples/validate
953
954 mkdir $(DISTDIR)/samples/vscroll
955 cp $(SAMPDIR)/vscroll/Makefile.in $(DISTDIR)/samples/vscroll
956 cp $(SAMPDIR)/vscroll/*.cpp $(DISTDIR)/samples/vscroll
957
958 mkdir $(DISTDIR)/samples/wizard
959 cp $(SAMPDIR)/wizard/Makefile.in $(DISTDIR)/samples/wizard
960 cp $(SAMPDIR)/wizard/makefile.unx $(DISTDIR)/samples/wizard
961 cp $(SAMPDIR)/wizard/*.cpp $(DISTDIR)/samples/wizard
962 cp $(SAMPDIR)/wizard/*.xpm $(DISTDIR)/samples/wizard
963
964 mkdir $(DISTDIR)/samples/widgets
965 mkdir $(DISTDIR)/samples/widgets/icons
966 cp $(SAMPDIR)/widgets/Makefile.in $(DISTDIR)/samples/widgets
967 cp $(SAMPDIR)/widgets/*.cpp $(DISTDIR)/samples/widgets
968 cp $(SAMPDIR)/widgets/*.h $(DISTDIR)/samples/widgets
969 cp $(SAMPDIR)/widgets/*.rc $(DISTDIR)/samples/widgets
970 cp $(SAMPDIR)/widgets/icons/*.xpm $(DISTDIR)/samples/widgets/icons
971
972 mkdir $(DISTDIR)/samples/xrc
973 mkdir $(DISTDIR)/samples/xrc/rc
974 cp $(SAMPDIR)/xrc/Makefile.in $(DISTDIR)/samples/xrc
975 cp $(SAMPDIR)/xrc/*.cpp $(DISTDIR)/samples/xrc
976 cp $(SAMPDIR)/xrc/*.h $(DISTDIR)/samples/xrc
977 cp $(SAMPDIR)/xrc/*.rc $(DISTDIR)/samples/xrc
978 cp $(SAMPDIR)/xrc/rc/*.xpm $(DISTDIR)/samples/xrc/rc
979 cp $(SAMPDIR)/xrc/rc/*.xrc $(DISTDIR)/samples/xrc/rc
980 cp $(SAMPDIR)/xrc/rc/*.gif $(DISTDIR)/samples/xrc/rc
981 cp $(SAMPDIR)/xrc/rc/*.ico $(DISTDIR)/samples/xrc/rc
982
983 UTILS_DIST: ALL_GUI_DIST
984 mkdir $(DISTDIR)/utils
985 cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils
986
987 mkdir $(DISTDIR)/utils/tex2rtf
988 mkdir $(DISTDIR)/utils/tex2rtf/src
989 cp $(UTILSDIR)/tex2rtf/*.in $(DISTDIR)/utils/tex2rtf
990 cp $(UTILSDIR)/tex2rtf/src/*.h $(DISTDIR)/utils/tex2rtf/src
991 cp $(UTILSDIR)/tex2rtf/src/*.in $(DISTDIR)/utils/tex2rtf/src
992 cp $(UTILSDIR)/tex2rtf/src/*.cpp $(DISTDIR)/utils/tex2rtf/src
993 cp $(UTILSDIR)/tex2rtf/src/tex2rtf.* $(DISTDIR)/utils/tex2rtf/src
994
995 mkdir $(DISTDIR)/utils/emulator
996 mkdir $(DISTDIR)/utils/emulator/src
997 mkdir $(DISTDIR)/utils/emulator/docs
998 cp $(UTILSDIR)/emulator/*.in $(DISTDIR)/utils/emulator
999 cp $(UTILSDIR)/emulator/src/*.h $(DISTDIR)/utils/emulator/src
1000 cp $(UTILSDIR)/emulator/src/*.in $(DISTDIR)/utils/emulator/src
1001 cp $(UTILSDIR)/emulator/src/*.cpp $(DISTDIR)/utils/emulator/src
1002 cp $(UTILSDIR)/emulator/src/*.jpg $(DISTDIR)/utils/emulator/src
1003 cp $(UTILSDIR)/emulator/src/*.wxe $(DISTDIR)/utils/emulator/src
1004 cp $(UTILSDIR)/emulator/docs/*.txt $(DISTDIR)/utils/emulator/docs
1005 cp $(UTILSDIR)/emulator/docs/*.jpg $(DISTDIR)/utils/emulator/docs
1006
1007 mkdir $(DISTDIR)/utils/hhp2cached
1008 cp $(UTILSDIR)/hhp2cached/Makefile.in $(DISTDIR)/utils/hhp2cached
1009 cp $(UTILSDIR)/hhp2cached/*.cpp $(DISTDIR)/utils/hhp2cached
1010 cp $(UTILSDIR)/hhp2cached/*.rc $(DISTDIR)/utils/hhp2cached
1011
1012 mkdir $(DISTDIR)/utils/HelpGen
1013 mkdir $(DISTDIR)/utils/HelpGen/src
1014 cp $(UTILSDIR)/HelpGen/Makefile.in $(DISTDIR)/utils/HelpGen
1015 cp $(UTILSDIR)/HelpGen/src/Makefile.in $(DISTDIR)/utils/HelpGen/src
1016 cp $(UTILSDIR)/HelpGen/src/*.h $(DISTDIR)/utils/HelpGen/src
1017 cp $(UTILSDIR)/HelpGen/src/*.cpp $(DISTDIR)/utils/HelpGen/src
1018
1019 mkdir $(DISTDIR)/utils/helpview
1020 mkdir $(DISTDIR)/utils/helpview/src
1021 mkdir $(DISTDIR)/utils/helpview/src/bitmaps
1022 cp $(UTILSDIR)/helpview/Makefile.in $(DISTDIR)/utils/helpview
1023 cp $(UTILSDIR)/helpview/src/*.h $(DISTDIR)/utils/helpview/src
1024 cp $(UTILSDIR)/helpview/src/*.cpp $(DISTDIR)/utils/helpview/src
1025 cp $(UTILSDIR)/helpview/src/Makefile.in $(DISTDIR)/utils/helpview/src
1026 cp $(UTILSDIR)/helpview/src/test.zip $(DISTDIR)/utils/helpview/src
1027 cp $(UTILSDIR)/helpview/src/bitmaps/*.xpm $(DISTDIR)/utils/helpview/src/bitmaps
1028
1029 mkdir $(DISTDIR)/utils/wxrc
1030 cp $(UTILSDIR)/wxrc/Makefile.in $(DISTDIR)/utils/wxrc
1031 cp $(UTILSDIR)/wxrc/*.cpp $(DISTDIR)/utils/wxrc
1032 cp $(UTILSDIR)/wxrc/*.rc $(DISTDIR)/utils/wxrc
1033
1034 MISC_DIST: ALL_GUI_DIST
1035
1036 INTL_DIST:
1037 mkdir $(DISTDIR)/locale
1038 cp $(INTLDIR)/Makefile $(DISTDIR)/locale
1039 cp $(INTLDIR)/*.po $(DISTDIR)/locale
1040 -cp $(INTLDIR)/*.mo $(DISTDIR)/locale
1041 subdirs=`cd $(INTLDIR) && ls */*.po | sed 's|/.*||' | uniq`; \
1042 for dir in "$$subdirs"; do \
1043 mkdir $(DISTDIR)/locale/$$dir; \
1044 cp $(INTLDIR)/$$dir/*.[pm]o $(DISTDIR)/locale/$$dir; \
1045 done
1046
1047 MANUAL_DIST:
1048 mkdir $(DISTDIR)/docs
1049 mkdir $(DISTDIR)/docs/latex
1050 mkdir $(DISTDIR)/docs/latex/wx
1051 cp $(DOCDIR)/latex/wx/*.tex $(DISTDIR)/docs/latex/wx
1052 cp $(DOCDIR)/latex/wx/*.inc $(DISTDIR)/docs/latex/wx
1053 cp $(DOCDIR)/latex/wx/*.gif $(DISTDIR)/docs/latex/wx
1054 cp $(DOCDIR)/latex/wx/*.ini $(DISTDIR)/docs/latex/wx
1055 cp $(DOCDIR)/latex/wx/*.bib $(DISTDIR)/docs/latex/wx
1056 cp $(DOCDIR)/latex/wx/*.sty $(DISTDIR)/docs/latex/wx
1057
1058
1059 # Copy all the files from wxPython needed for the Debian source package,
1060 # and then remove some that are not needed.
1061 PYTHON_DIST:
1062 for dir in `grep -v '#' $(WXDIR)/wxPython/distrib/DIRLIST`; do \
1063 echo "Copying dir: $$dir..."; \
1064 mkdir $(DISTDIR)/$$dir; \
1065 cp $(WXDIR)/$$dir/* $(DISTDIR)/$$dir > /dev/null 2>&1; \
1066 done; \
1067 \
1068 find $(DISTDIR)/wxPython -name "*~" > RM_FILES; \
1069 find $(DISTDIR)/wxPython -name "*.pyc" >> RM_FILES; \
1070 find $(DISTDIR)/wxPython -name "*.bat" >> RM_FILES; \
1071 find $(DISTDIR)/wxPython -name "core" >> RM_FILES; \
1072 find $(DISTDIR)/wxPython -name "core.[0-9]*" >> RM_FILES; \
1073 find $(DISTDIR)/wxPython -name "*.orig" >> RM_FILES; \
1074 find $(DISTDIR)/wxPython -name "*.rej" >> RM_FILES; \
1075 for f in `cat RM_FILES`; do rm $$f; done; \
1076 rm RM_FILES
1077
1078
1079 distrib_clean:
1080 $(RM) -r _dist_dir
1081
1082 # VZ: the -only targets allow to do "make dist bzip-dist-only" without copying
1083 # the files twice
1084 dist-only:
1085 @echo "*** Creating wxWidgets distribution in $(DISTDIR)..."
1086 @cd _dist_dir && tar ch $(DISTDIRNAME) | gzip -f9 > ../$(WXARCHIVE);
1087 @if test "$(USE_GUI)" = 1; then \
1088 cd $(DISTDIR); \
1089 mv samples wxSamples-$(WX_VERSION); \
1090 echo "*** Creating wxSamples archive..."; \
1091 tar ch wxSamples-$(WX_VERSION) | gzip -f9 > ../../$(WXSAMPLES); \
1092 mv wxSamples-$(WX_VERSION) samples; \
1093 mv demos wxDemos-$(WX_VERSION); \
1094 echo "*** Creating wxDemos archive..."; \
1095 tar ch wxDemos-$(WX_VERSION) | gzip -f9 > ../../$(WXDEMOS); \
1096 mv wxDemos-$(WX_VERSION) demos; \
1097 fi
1098
1099 dist: @GUIDIST@
1100 @echo "*** Creating wxWidgets distribution in $(DISTDIR)..."
1101 @# now prune away a lot of the crap included by using cp -R
1102 @# in other dist targets.
1103 find $(DISTDIR) \( -name "CVS" -o -name ".cvsignore" -o -name "*.dsp" -o -name "*.dsw" -o -name "*.hh*" -o \
1104 \( -name "makefile.*" -a ! -name "makefile.unx" \) \) \
1105 -print0 | xargs -0 rm -rf
1106 @cd _dist_dir && tar ch $(DISTDIRNAME) | gzip -f9 > ../$(WXARCHIVE);
1107 @if test "$(USE_GUI)" = 1; then \
1108 cd $(DISTDIR); \
1109 mv samples wxSamples-$(WX_VERSION); \
1110 echo "*** Creating wxSamples archive..."; \
1111 tar ch wxSamples-$(WX_VERSION) | gzip -f9 > ../../$(WXSAMPLES); \
1112 mv wxSamples-$(WX_VERSION) samples; \
1113 mv demos wxDemos-$(WX_VERSION); \
1114 echo "*** Creating wxDemos archive..."; \
1115 tar ch wxDemos-$(WX_VERSION) | gzip -f9 > ../../$(WXDEMOS); \
1116 mv wxDemos-$(WX_VERSION) demos; \
1117 fi
1118
1119 bzip-dist-only:
1120 @echo "*** Creating wxWidgets distribution in $(DISTDIR)..."
1121 @cd _dist_dir && tar ch $(DISTDIRNAME) | bzip2 -f9 > ../$(WXARCHIVE_BZIP);
1122 @if test "$(USE_GUI)" = 1; then \
1123 cd $(DISTDIR); \
1124 mv samples wxSamples-${WX_VERSION}; \
1125 echo "*** Creating wxSamples archive..."; \
1126 tar ch wxSamples-${WX_VERSION} | bzip2 -f9 > ../../$(WXSAMPLES_BZIP); \
1127 mv wxSamples-${WX_VERSION} samples; \
1128 mv demos wxDemos-${WX_VERSION}; \
1129 echo "*** Creating wxDemos archive..."; \
1130 tar ch wxDemos-${WX_VERSION} | bzip2 -f9 > ../../$(WXDEMOS_BZIP); \
1131 mv wxDemos-${WX_VERSION} demos; \
1132 fi
1133
1134 bzip-dist: @GUIDIST@
1135 @echo "*** Creating wxWidgets distribution in $(DISTDIR)..."
1136 @cd _dist_dir && tar ch $(DISTDIRNAME) | bzip2 -f9 > ../$(WXARCHIVE_BZIP)
1137 @if test "$(USE_GUI)" = 1; then \
1138 cd $(DISTDIR); \
1139 mv samples wxSamples; \
1140 tar ch wxSamples | bzip2 -f9 > ../../$(WXSAMPLES_BZIP); \
1141 mv wxSamples samples; \
1142 mv demos wxDemos; \
1143 tar ch wxDemos | bzip2 -f9 > ../../$(WXDEMOS_BZIP); \
1144 mv wxDemos demos; \
1145 fi
1146
1147 # RR: Copy text and binary data separatly
1148 win-dist: MSW_ZIP_TEXT_DIST
1149 @echo "*** Creating wxWidgets ZIP distribution in $(DISTDIR)..."
1150 @cd _dist_dir && mv $(DISTDIRNAME) wxMSW
1151 @cd _dist_dir && zip -r -l ../$(WXARCHIVE_ZIP) *
1152 cp $(INCDIR)/wx/msw/*.cur _dist_dir/wxMSW/include/wx/msw
1153 cp $(INCDIR)/wx/msw/*.ico _dist_dir/wxMSW/include/wx/msw
1154 cp $(INCDIR)/wx/msw/*.bmp _dist_dir/wxMSW/include/wx/msw
1155 @cd _dist_dir && zip -r ../$(WXARCHIVE_ZIP) wxMSW/include/wx/msw/*.cur
1156 @cd _dist_dir && zip -r ../$(WXARCHIVE_ZIP) wxMSW/include/wx/msw/*.ico
1157 @cd _dist_dir && zip -r ../$(WXARCHIVE_ZIP) wxMSW/include/wx/msw/*.bmp
1158
1159 debian-dist: DEBIAN_SOURCE_DIR = $(WXDIR)/../wxwidgets@WX_RELEASE@@WX_FLAVOUR@-@WX_SUBVERSION@
1160 debian-dist: debian-native-dist debian-msw-dirs MSW_DIST
1161 mkdir $(DISTDIR)/debian
1162 -cp $(WXDIR)/debian/* $(DISTDIR)/debian
1163 cp $(DOCDIR)/licence.txt $(DISTDIR)/docs
1164 cp $(DOCDIR)/licendoc.txt $(DISTDIR)/docs
1165 cp $(DOCDIR)/preamble.txt $(DISTDIR)/docs
1166 rm -f $(DISTDIR)/*.spec
1167
1168 @# now prune away a lot of the crap included by using cp -R
1169 @# in other dist targets. Ugly and hardly portable but it
1170 @# will run on any Debian box and that's enough for now.
1171
1172 rm -rf $(DISTDIR)/contrib/build
1173 find $(DISTDIR) \( -name "CVS" -o -name ".cvsignore" -o -name "*.dsp" \
1174 -o -name "*.dsw" -o -name "*.hh*" -o -name "*.mms" \
1175 -o -name "*.mcp" -o -name "*M*.xml" -o -name "*.r" \
1176 -o -name "*.bkl" -o -name "*.pro" \
1177 -o -name "*.vpj" -o -name "*.sc" \
1178 -o \( -name "makefile.*" -a ! -name "makefile.unx" \) \
1179 \) -print0 | xargs -0 rm -rf
1180
1181 rm -rf $(DISTDIR)/wxPython/SWIG
1182 rm -rf $(DISTDIR)/wxPython/distrib
1183 rm -rf $(DISTDIR)/wxPython/distutils
1184 rm -rf $(DISTDIR)/wxPython/samples
1185 rm -rf $(DISTDIR)/wxPython/contrib/iewin
1186 find $(DISTDIR)/wxPython \( -name "mac" -o -name "msw" \) -print0 | xargs -0 rm -rf
1187
1188 rm -rf $(DEBIAN_SOURCE_DIR)
1189 mv $(DISTDIR) $(DEBIAN_SOURCE_DIR)
1190
1191
1192 debian-native-dist: @GUIDIST@ UNIV_DIST MANUAL_DIST PYTHON_DIST
1193
1194 debian-msw-dirs:
1195 mkdir $(DISTDIR)/include/wx/msw
1196 mkdir $(DISTDIR)/src/msw
1197
1198
1199 RPMTOP=_dist_dir/_rpm_top
1200
1201 rpm: bzip-dist
1202 @echo "*** Building RPMs ***"
1203 -mkdir $(RPMTOP)
1204 -mkdir $(RPMTOP)/SOURCES
1205 -mkdir $(RPMTOP)/SPECS
1206 -mkdir $(RPMTOP)/BUILD
1207 -mkdir $(RPMTOP)/RPMS
1208 -mkdir $(RPMTOP)/SRPMS
1209 cp -f $(WXARCHIVE_BZIP) $(RPMTOP)/SOURCES
1210 rpm -ba --define "_topdir `pwd`/$(RPMTOP)" $(WXDIR)/wx$(TOOLKIT).spec
1211 mv -f `find $(RPMTOP) -name "wx$(TOOLKIT)*.rpm"` .