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