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