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