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