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