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