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