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