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