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