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