]> git.saurik.com Git - wxWidgets.git/blame - Makefile.in
Demo cleanup
[wxWidgets.git] / Makefile.in
CommitLineData
ad9edf45
RR
1#
2# File: makefile.unx
3a922bb4 3# Author: Julian Smart, Robert Roebling, Vadim Zeitlin, Ron Lee
ad9edf45 4# Created: 1993
3a922bb4 5# Updated: 2001
ad9edf45
RR
6# Copyright:(c) 1993, AIAI, University of Edinburgh,
7# Copyright:(c) 1999, Vadim Zeitlin
8# Copyright:(c) 1999, Robert Roebling
3a922bb4 9# Copyright:(c) 2001, Ron Lee
ad9edf45
RR
10#
11# Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a
12
13###################################################################
14
15include ./src/make.env
16
17############## override make.env for PIC ##########################
18
3a922bb4 19%.o : %.c
25d0687a 20 $(CC) -c $(CFLAGS) $(PICFLAGS) -o $@ $<
ad9edf45 21
3a922bb4 22%.o : %.cpp
25d0687a 23 $(CXX) -c $(CXXFLAGS) $(PICFLAGS) -o $@ $<
ad9edf45 24
3a922bb4 25%.o : %.cxx
25d0687a 26 $(CXX) -c $(CXXFLAGS) $(PICFLAGS) -o $@ $<
ad9edf45 27
3a922bb4 28%.r : %.rsrc
d08b457b 29 $(DEREZ) $^ Carbon.r -useDF > $@
ad9edf45
RR
30
31########################### Paths #################################
32
33srcdir = @srcdir@
1e6feb95 34top_srcdir = @top_srcdir@
ad9edf45 35
1e6feb95
VZ
36VP1 = @TOOLKIT_VPATH@
37VP2 = @top_srcdir@/src/common
38VP3 = @top_srcdir@/src/generic
39VP4 = @top_srcdir@/src/unix
40VP5 = @top_srcdir@/src/html
41VP6 = @top_srcdir@/src/png
42VP7 = @top_srcdir@/src/jpeg
43VP8 = @top_srcdir@/src/tiff
44VP9 = @top_srcdir@/src/zlib
0b2effe9 45VPA = @top_srcdir@/src/regex
1e6feb95
VZ
46VP10 = @top_srcdir@/src/iodbc
47VP11 = @top_srcdir@/src/msw/ole
3fed1840 48
e183484e
VZ
49# the comment at the end of the next line is needed because otherwise autoconf
50# would remove this line completely - it contains a built-in hack to remove
51# any VPATH assignment not containing ':'
3a922bb4 52VPATH = $(VP1)@PATH_IFS@$(VP2)@PATH_IFS@$(VP3)@PATH_IFS@$(VP4)@PATH_IFS@$(VP5)@PATH_IFS@$(VP6)@PATH_IFS@$(VP7)@PATH_IFS@$(VP8)@PATH_IFS@$(VP9)@PATH_IFS@$(VPA)@PATH_IFS@$(VP10)@PATH_IFS@$(VP11) # ':' for autoconf
ad9edf45 53
ad9edf45
RR
54prefix = @prefix@
55exec_prefix = @exec_prefix@
56
57bindir = @bindir@
ad9edf45 58datadir = @datadir@
ad9edf45 59libdir = @libdir@
ad9edf45
RR
60mandir = @mandir@
61includedir = @includedir@
ad9edf45 62
f6bcfd97
BP
63localedir = $(datadir)/locale
64
ad9edf45 65top_builddir = .
3a922bb4 66build_libdir = $(top_builddir)/lib
ad9edf45
RR
67
68INSTALL = @INSTALL@
69INSTALL_PROGRAM = @INSTALL_PROGRAM@
70INSTALL_DATA = @INSTALL_DATA@
2224580a 71INSTALL_SCRIPT = @INSTALL@
3a922bb4 72
ad9edf45
RR
73build_alias = @build_alias@
74build_triplet = @build@
75host_alias = @host_alias@
76host_triplet = @host@
77target_alias = @target_alias@
78target_triplet = @target@
79
dad6c0ea
VZ
80USE_GUI=@USE_GUI@
81
ad9edf45
RR
82############################# Dirs #################################
83
84WXDIR = $(top_srcdir)
85
86# Subordinate library possibilities
87
4cb122de
RR
88SRCDIR = $(WXDIR)/src
89GENDIR = $(WXDIR)/src/generic
90COMMDIR = $(WXDIR)/src/common
91HTMLDIR = $(WXDIR)/src/html
92UNIXDIR = $(WXDIR)/src/unix
93PNGDIR = $(WXDIR)/src/png
94JPEGDIR = $(WXDIR)/src/jpeg
1d62a8b4 95TIFFDIR = $(WXDIR)/src/tiff
4cb122de 96ZLIBDIR = $(WXDIR)/src/zlib
3a922bb4 97REGEXDIR = $(WXDIR)/src/regex
4cb122de 98GTKDIR = $(WXDIR)/src/gtk
ad9edf45 99MOTIFDIR = $(WXDIR)/src/motif
4cb122de 100MSWDIR = $(WXDIR)/src/msw
9260520f 101PMDIR = $(WXDIR)/src/os2
b4085ce6 102MACDIR = $(WXDIR)/src/mac
c09ab26a 103ODBCDIR = $(WXDIR)/src/iodbc
3fed1840 104FTDIR = $(WXDIR)/src/freetype
4cb122de
RR
105INCDIR = $(WXDIR)/include
106SAMPDIR = $(WXDIR)/samples
dfd6b52f 107DEMODIR = $(WXDIR)/demos
641d87d8 108UTILSDIR = $(WXDIR)/utils
a6f3598d 109MISCDIR = $(WXDIR)/misc
ad9edf45 110
f6bcfd97
BP
111DOCDIR = $(WXDIR)/docs
112INTLDIR = $(WXDIR)/locale
ad9edf45 113
a4aad961
RR
114########################## Archive name ###############################
115
31fe72b6 116# append a version suffix x.y.z to all file names
e59a8895 117VER_SUFFIX=$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)$(EXTRA_VER)
16b0e4ac
VZ
118WXARCHIVE=@DISTDIR@-$(VER_SUFFIX).tar.gz
119WXGLARCHIVE=@DISTDIR@-gl-$(VER_SUFFIX).tar.gz
120WXSAMPLES=wx$(TOOLKIT)-samples-$(VER_SUFFIX).tar.gz
121WXDEMOS=wx$(TOOLKIT)-demos-$(VER_SUFFIX).tar.gz
31fe72b6 122
16b0e4ac
VZ
123WXARCHIVE_BZIP=@DISTDIR@-$(VER_SUFFIX).tar.bz2
124WXGLARCHIVE_BZIP=@DISTDIR@-gl-$(VER_SUFFIX).tar.bz2
125WXSAMPLES_BZIP=wx$(TOOLKIT)-samples-$(VER_SUFFIX).tar.bz2
126WXDEMOS_BZIP=wx$(TOOLKIT)-demos-$(VER_SUFFIX).tar.bz2
f6bcfd97 127
16b0e4ac
VZ
128DISTDIRNAME=@DISTDIR@-$(VER_SUFFIX)
129DISTDIR=./_dist_dir/$(DISTDIRNAME)
a4aad961 130
f6bcfd97 131
ad9edf45
RR
132############################## Files ##################################
133
f6bcfd97
BP
134WX_LINGUAS = `cd $(top_srcdir)/locale && ls *.mo 2> /dev/null | sed -n 's/\.mo//p'`
135
2224580a
VZ
136# this line will include a file which defines ALL_SOURCES, ALL_OBJECTS,
137# ALL_DEPFILES and ALL_HEADERS variables with the complete list of .cpp, .o,
138# .d and .h/.inl files for the current toolkit
879df073 139include @PORT_FILES@
2224580a
VZ
140
141SOURCES = $(ALL_SOURCES)
142HEADERS = $(ALL_HEADERS)
143
144# for the objects and depfiles, we might be bulding only part of them
145# depending on configure arguments, so select a subset of ALL
146OBJECTS = @ALL_OBJECTS@
ad9edf45 147
2224580a
VZ
148# the object files of sublibraries (we assume that they don't change [often],
149# so we don't generate these lists with tmake but embed them here)
0b2effe9
VZ
150REGEXOBJS = \
151 regcomp.o \
152 regexec.o \
153 regerror.o \
154 regfree.o
155
156ZLIBOBJS = \
5586805b
RR
157 adler32.o \
158 compress.o \
159 crc32.o \
160 gzio.o \
161 uncompr.o \
162 deflate.o \
163 trees.o \
164 zutil.o \
165 inflate.o \
166 infblock.o \
167 inftrees.o \
168 infcodes.o \
169 infutil.o \
170 inffast.o
ad9edf45 171
0b2effe9 172PNGOBJS = \
5586805b
RR
173 png.o \
174 pngread.o \
175 pngrtran.o \
176 pngrutil.o \
177 pngpread.o \
178 pngtrans.o \
179 pngwrite.o \
180 pngwtran.o \
181 pngwutil.o \
182 pngerror.o \
183 pngmem.o \
184 pngwio.o \
185 pngrio.o \
186 pngget.o \
187 pngset.o
ad9edf45 188
3fed1840
RR
189FREETYPEOBJS = \
190 ftsystem.o \
3fed1840
RR
191 autohint.o \
192 ftbase.o \
3fed1840 193 ftdebug.o \
3fed1840
RR
194 ftglyph.o \
195 ftinit.o \
3fed1840 196 ftmm.o \
3fed1840 197 cff.o \
3fed1840 198 type1cid.o \
3fed1840 199 psnames.o \
37b09a9a 200 psmodule.o \
3fed1840 201 raster1.o \
3fed1840 202 sfnt.o \
3fed1840
RR
203 smooth.o \
204 truetype.o \
3fed1840
RR
205 type1z.o \
206 winfnt.o
ad9edf45 207
0b2effe9 208JPEGOBJS = \
5586805b
RR
209 jcomapi.o \
210 jutils.o \
211 jerror.o \
212 jmemmgr.o \
213 jmemnobs.o \
214 jcapimin.o \
215 jcapistd.o \
216 jctrans.o \
217 jcparam.o \
218 jdatadst.o \
219 jcinit.o \
220 jcmaster.o \
221 jcmarker.o \
222 jcmainct.o \
223 jcprepct.o \
224 jccoefct.o \
225 jccolor.o \
226 jcsample.o \
227 jchuff.o \
228 jcphuff.o \
229 jcdctmgr.o \
230 jfdctfst.o \
231 jfdctflt.o \
232 jfdctint.o \
233 jdapimin.o \
234 jdapistd.o \
235 jdtrans.o \
236 jdatasrc.o \
237 jdmaster.o \
238 jdinput.o \
239 jdmarker.o \
240 jdhuff.o \
241 jdphuff.o \
242 jdmainct.o \
243 jdcoefct.o \
244 jdpostct.o \
245 jddctmgr.o \
246 jidctfst.o \
247 jidctflt.o \
248 jidctint.o \
249 jidctred.o \
250 jdsample.o \
251 jdcolor.o \
252 jquant1.o \
253 jquant2.o \
254 jdmerge.o
ad9edf45 255
0b2effe9 256TIFFOBJS = \
c7a2bf27
RR
257 tif_aux.o \
258 tif_close.o \
259 tif_codec.o \
260 tif_compress.o \
261 tif_dir.o \
262 tif_dirinfo.o \
263 tif_dirread.o \
264 tif_dirwrite.o \
265 tif_dumpmode.o \
266 tif_error.o \
267 tif_fax3.o \
268 tif_fax3sm.o \
269 tif_getimage.o \
270 tif_jpeg.o \
271 tif_flush.o \
272 tif_lzw.o \
b47c832e 273 tif_luv.o \
c7a2bf27
RR
274 tif_next.o \
275 tif_open.o \
276 tif_packbits.o \
277 tif_pixarlog.o \
278 tif_predict.o \
279 tif_print.o \
280 tif_read.o \
281 tif_swab.o \
282 tif_strip.o \
283 tif_thunder.o \
284 tif_tile.o \
285 tif_unix.o \
286 tif_version.o \
287 tif_warning.o \
288 tif_write.o \
289 tif_zip.o
290
103aab26 291IODBCOBJS = \
e115e771
RR
292 catalog.o \
293 connect.o \
294 dlf.o \
295 dlproc.o \
296 execute.o \
297 fetch.o \
298 hdbc.o \
299 henv.o \
300 herr.o \
301 hstmt.o \
302 info.o \
303 itrace.o \
304 misc.o \
305 prepare.o \
306 result.o
7d88e244 307
e59a8895 308
2224580a 309############################## Rules ##################################
f85afd4e 310
3a922bb4
RL
311SONAME_FLAGS = @SONAME_FLAGS@
312SONAME_FLAGS_GL = @SONAME_FLAGS_GL@
1d62a8b4 313
de87c353 314all: @WX_ALL@
ad9edf45 315
3a922bb4
RL
316$(build_libdir)/@WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
317 @$(INSTALL) -d $(build_libdir)
65fd49a4 318 @$(RM) $@
3a922bb4
RL
319 $(AR) $(AROPTIONS) $@ $(OBJECTS)
320 $(RANLIB) $@
ad9edf45 321
3a922bb4
RL
322$(build_libdir)/@WX_LIBRARY_NAME_STATIC_GL@: glcanvas.o
323 @$(INSTALL) -d $(build_libdir)
65fd49a4 324 @$(RM) $@
3a922bb4
RL
325 $(AR) $(AROPTIONS) $@ glcanvas.o
326 $(RANLIB) $@
bdad4e7e 327
3a922bb4
RL
328$(build_libdir)/@WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
329 @$(INSTALL) -d $(build_libdir)
330 $(SHARED_LD) $@ $(SONAME_FLAGS) $(OBJECTS) $(EXTRALIBS)
b4085ce6 331
3a922bb4
RL
332$(build_libdir)/@WX_LIBRARY_NAME_SHARED_GL@: glcanvas.o $(build_libdir)/@WX_LIBRARY_NAME_SHARED@
333 @$(INSTALL) -d $(build_libdir)
334 $(SHARED_LD) $@ $(SONAME_FLAGS_GL) glcanvas.o -L$(build_libdir) @WXCONFIG_LIBS@ $(EXTRALIBS) $(OPENGLLIBS)
b4085ce6 335
d08b457b 336$(build_libdir)/@WX_RESOURCES_MACOSX@: $(MACRESOURCES)
3a922bb4
RL
337 @$(INSTALL) -d $(build_libdir)
338 $(RESCOMP) -d __UNIX__ -useDF $^ -o $@
2f51a9ec 339
3a922bb4
RL
340$(build_libdir)/@WX_LIBRARY_LINK1@: $(build_libdir)/@WX_LIBRARY_NAME_SHARED@
341 @$(RM) $(build_libdir)/@WX_LIBRARY_LINK1@
342 @$(RM) $(build_libdir)/@WX_LIBRARY_LINK2@
343 cd $(build_libdir) \
07eb77a6 344 && $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK1@ \
3a922bb4 345 && $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK2@
b4085ce6 346
3a922bb4
RL
347$(build_libdir)/@WX_LIBRARY_LINK1_GL@: $(build_libdir)/@WX_LIBRARY_NAME_SHARED_GL@
348 @$(RM) $(build_libdir)/@WX_LIBRARY_LINK1_GL@
349 @$(RM) $(build_libdir)/@WX_LIBRARY_LINK2_GL@
350 cd $(build_libdir) \
351 && $(LN_S) @WX_TARGET_LIBRARY_GL@ @WX_LIBRARY_LINK1_GL@ \
352 && $(LN_S) @WX_TARGET_LIBRARY_GL@ @WX_LIBRARY_LINK2_GL@
b4085ce6 353
257980e6 354$(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h
ad9edf45
RR
355
356parser.o: parser.c lexer.c
d22ff69d 357 $(CCLEX) -c $(CFLAGS) -I. $(PICFLAGS) -o $@ parser.c
ad9edf45
RR
358
359parser.c: $(COMMDIR)/parser.y lexer.c
360 $(YACC) $(COMMDIR)/parser.y
361 @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
362 sed -e "s/BUFSIZ/5000/g" | \
363 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
364 sed -e "s/yy/PROIO_yy/g" | \
365 sed -e "s/input/PROIO_input/g" | \
366 sed -e "s/unput/PROIO_unput/g" > parser.c
367 @$(RM) y.tab.c
368
369lexer.c: $(COMMDIR)/lexer.l
370 $(LEX) $(COMMDIR)/lexer.l
9260520f 371 @sed -e "s;$(COMMDIR)/@LEX_STEM@.c;lexer.l;g" < @LEX_STEM@.c | \
ad9edf45
RR
372 sed -e "s/yy/PROIO_yy/g" | \
373 sed -e "s/input/PROIO_input/g" | \
374 sed -e "s/unput/PROIO_unput/g" > lexer.c
9260520f 375 @$(RM) @LEX_STEM@.c
ad9edf45 376
3a922bb4
RL
377-include $(OBJECTS:.o=.d)
378
379
380CREATE_INSTALLED_LINKS: preinstall
381 $(RM) $(libdir)/@WX_LIBRARY_LINK1@
382 $(RM) $(libdir)/@WX_LIBRARY_LINK2@
383 cd $(libdir) \
384 && $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK1@ \
385 && $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK2@
386
387CREATE_INSTALLED_LINKS_GL: preinstall_gl
388 $(RM) $(libdir)/@WX_LIBRARY_LINK1_GL@
389 $(RM) $(libdir)/@WX_LIBRARY_LINK2_GL@
390 cd $(libdir) \
391 && $(LN_S) @WX_LIBRARY_NAME_SHARED_GL@ @WX_LIBRARY_LINK1_GL@ \
392 && $(LN_S) @WX_LIBRARY_NAME_SHARED_GL@ @WX_LIBRARY_LINK2_GL@
5586805b 393
2224580a 394afminstall: preinstall
e09bdfbe 395 @if test ! -d $(datadir); then $(INSTALL) -d $(datadir); fi
dad6c0ea
VZ
396 $(INSTALL) -d $(datadir)/wx
397 $(INSTALL) -d $(datadir)/wx/afm
398 $(INSTALL) -d $(datadir)/wx/gs_afm
399 $(INSTALL_DATA) $(top_srcdir)/misc/afm/*.afm $(datadir)/wx/afm
400 $(INSTALL_DATA) $(top_srcdir)/misc/gs_afm/*.afm $(datadir)/wx/gs_afm
2224580a
VZ
401
402# this is the real install target: copies the library, wx-config and the
403# headers to the installation directory
3a922bb4 404preinstall: $(build_libdir)/@WX_TARGET_LIBRARY@ $(top_builddir)/wx@TOOLCHAIN_NAME@-config
ad9edf45
RR
405 @echo " "
406 @echo " Installing wxWindows..."
407 @echo " "
408
e09bdfbe
VZ
409 @if test ! -d $(prefix); then $(INSTALL) -d $(prefix); fi
410 @if test ! -d $(bindir); then $(INSTALL) -d $(bindir); fi
411 @if test ! -d $(libdir); then $(INSTALL) -d $(libdir); fi
8b17ba72 412
3a922bb4
RL
413 $(INSTALL_SCRIPT) $(top_builddir)/wx@TOOLCHAIN_NAME@-config $(bindir)/wx@TOOLCHAIN_NAME@-config
414 cd $(bindir) && rm -f wx-config && $(LN_S) wx@TOOLCHAIN_NAME@-config wx-config
415 $(INSTALL_PROGRAM) $(build_libdir)/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@
77e13408
RL
416 @if test "x@WX_LIBRARY_IMPORTLIB@" != "x"; then \
417 $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_LIBRARY_IMPORTLIB@ $(libdir)/@WX_LIBRARY_IMPORTLIB@; fi
8b17ba72
RR
418
419 $(INSTALL) -d $(libdir)/wx
420 $(INSTALL) -d $(libdir)/wx/include
3a922bb4
RL
421 $(INSTALL) -d $(libdir)/wx/include/@TOOLCHAIN_NAME@
422 $(INSTALL) -d $(libdir)/wx/include/@TOOLCHAIN_NAME@/wx
423 $(INSTALL_DATA) $(build_libdir)/wx/include/@TOOLCHAIN_NAME@/wx/setup.h \
424 $(libdir)/wx/include/@TOOLCHAIN_NAME@/wx/setup.h
b4085ce6 425
8b17ba72 426 $(INSTALL) -d $(includedir)/wx
3a922bb4 427 @# FIXME: This will erroneously install a wx/base dir for wxBase..
9260520f
VZ
428 @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/@TOOLKIT_DIR@; fi
429 @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/html; fi
9260520f 430 @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/generic; fi
f676c7ff
MB
431 @if test "@TOOLKIT_DIR@" = "msw"; then $(INSTALL) -d $(includedir)/wx/msw/ole; fi
432
2224580a
VZ
433 $(INSTALL) -d $(includedir)/wx/protocol
434 $(INSTALL) -d $(includedir)/wx/unix
ad9edf45
RR
435 @list='$(HEADERS)'; for p in $$list; do \
436 $(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p; \
437 echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \
438 done
9260520f 439
e09bdfbe 440 @if test ! -d $(localedir); then $(INSTALL) -d $(localedir); fi
f6bcfd97 441 @for p in $(WX_LINGUAS); do \
e09bdfbe
VZ
442 if test ! -d $(localedir)/$$p; then $(INSTALL) -d $(localedir)/$$p; fi;\
443 if test ! -d $(localedir)/$$p/LC_MESSAGES; then $(INSTALL) -d $(localedir)/$$p/LC_MESSAGES; fi;\
f6bcfd97
BP
444 $(INSTALL_DATA) $(top_srcdir)/locale/$$p.mo $(localedir)/$$p/LC_MESSAGES/wxstd.mo; \
445 echo "$(INSTALL_DATA) $(top_srcdir)/locale/$$p.mo $(localedir)/$$p/LC_MESSAGES/wxstd.mo"; \
446 done
447
e23081de
RR
448preinstall_res: $(build_libdir)/@WX_RESOURCES_MACOSX_COMPILED@
449 @echo " "
450 @echo " Installing wxWindows Mac resource ..."
451 @echo " "
452 @if test ! -d $(libdir); then $(INSTALL) -d $(libdir); fi
453 $(INSTALL_PROGRAM) $(build_libdir)/@WX_RESOURCES_MACOSX_COMPILED@ $(libdir)/@WX_RESOURCES_MACOSX_COMPILED@
454
3a922bb4 455preinstall_gl: $(build_libdir)/@WX_TARGET_LIBRARY_GL@
c661ecca
RR
456 @echo " "
457 @echo " Installing wxWindows OpenGl add-on..."
458 @echo " "
e09bdfbe 459 @if test ! -d $(libdir); then $(INSTALL) -d $(libdir); fi
3a922bb4 460 $(INSTALL_PROGRAM) $(build_libdir)/@WX_TARGET_LIBRARY_GL@ $(libdir)/@WX_TARGET_LIBRARY_GL@
c661ecca 461
2224580a 462install: @AFMINSTALL@ @WX_ALL_INSTALLED@
549c6f67 463 @echo " "
ad9edf45 464 @echo " The installation of wxWindows is finished. On certain"
c09ab26a 465 @echo " platforms (e.g. Linux) you'll now have to run ldconfig"
2224580a
VZ
466 @echo " if you installed a shared library and also modify"
467 @echo " LD_LIBRARY_PATH (or equivalent) environment variable."
ad9edf45 468 @echo " "
2224580a 469 @echo " wxWindows comes with no guarantees and doesn't claim"
ad9edf45
RR
470 @echo " to be suitable for any purpose."
471 @echo " "
472 @echo " Read the wxWindows Licence on licencing conditions."
473 @echo " "
474
ad9edf45
RR
475uninstall:
476 @echo " "
477 @echo " Uninstalling wxWindows..."
478 @echo " "
479 @echo " Removing library..."
8b17ba72
RR
480 @$(RM) $(libdir)/@WX_TARGET_LIBRARY@
481 @$(RM) $(libdir)/@WX_LIBRARY_LINK1@
482 @$(RM) $(libdir)/@WX_LIBRARY_LINK2@
bdad4e7e
RR
483 @echo " Removing GL library..."
484 @$(RM) $(libdir)/@WX_TARGET_LIBRARY_GL@
485 @$(RM) $(libdir)/@WX_LIBRARY_LINK1_GL@
486 @$(RM) $(libdir)/@WX_LIBRARY_LINK2_GL@
ad9edf45 487 @echo " Removing helper files..."
3a922bb4 488 @$(RM) $(libdir)/wx/include/@TOOLCHAIN_NAME@/wx/setup.h
8b17ba72 489 @$(RM) $(bindir)/wx-config
3a922bb4 490 @$(RM) $(bindir)/wx@TOOLCHAIN_NAME@-config
a6f3598d
RR
491 @$(RM) $(datadir)/wx/afm/*
492 @$(RM) $(datadir)/wx/gs_afm/*
07eb77a6
RL
493# FIXME: wxBase doesnt install these next 3 dirs.
494 @-rmdir $(datadir)/wx/gs_afm
495 @-rmdir $(datadir)/wx/afm
496 @-rmdir $(datadir)/wx
ad9edf45
RR
497 @echo " Removing headers..."
498 @list='$(HEADERS)'; for p in $$list; do \
8b17ba72 499 $(RM) $(includedir)/wx/$$p; \
ad9edf45 500 done
f6bcfd97
BP
501 @echo " Removing i18n files..."
502 @-for p in $(WX_LINGUAS); do \
503 $(RM) $(localedir)/$$p/LC_MESSAGES/wxstd.mo; \
504 rmdir $(localedir)/$$p/LC_MESSAGES; \
505 rmdir $(localedir)/$$p; \
506 done
ad9edf45 507 @echo " Removing directories..."
f6bcfd97 508 @-rmdir $(localedir)
3a922bb4
RL
509 @if test -d $(libdir)/wx/include/@TOOLCHAIN_NAME@/wx; then rmdir $(libdir)/wx/include/@TOOLCHAIN_NAME@/wx; fi
510 @if test -d $(libdir)/wx/include/@TOOLCHAIN_NAME@; then rmdir $(libdir)/wx/include/@TOOLCHAIN_NAME@; fi
ad9edf45
RR
511 @if test -d $(libdir)/wx/include; then rmdir $(libdir)/wx/include; fi
512 @if test -d $(libdir)/wx; then rmdir $(libdir)/wx; fi
513 @if test -d $(includedir)/wx/gtk; then rmdir $(includedir)/wx/gtk; fi
514 @if test -d $(includedir)/wx/motif; then rmdir $(includedir)/wx/motif; fi
a6f3598d 515 @if test -d $(includedir)/wx/msw; then rmdir $(includedir)/wx/msw; fi
ad9edf45
RR
516 @if test -d $(includedir)/wx/html; then rmdir $(includedir)/wx/html; fi
517 @if test -d $(includedir)/wx/unix; then rmdir $(includedir)/wx/unix; fi
518 @if test -d $(includedir)/wx/generic; then rmdir $(includedir)/wx/generic; fi
519 @if test -d $(includedir)/wx/protocol; then rmdir $(includedir)/wx/protocol; fi
520 @if test -d $(includedir)/wx; then rmdir $(includedir)/wx; fi
521
2224580a
VZ
522# this target should copy only the files common to really all ports (including
523# wxBase) to the dist dir
524ALL_DIST: distclean
a4aad961
RR
525 mkdir _dist_dir
526 mkdir $(DISTDIR)
b96848d3 527 cp $(WXDIR)/aclocal.m4 $(DISTDIR)
257980e6 528 cp $(WXDIR)/configure.in $(DISTDIR)
a4aad961
RR
529 cp $(WXDIR)/configure $(DISTDIR)
530 cp $(WXDIR)/config.sub $(DISTDIR)
531 cp $(WXDIR)/config.guess $(DISTDIR)
532 cp $(WXDIR)/install-sh $(DISTDIR)
533 cp $(WXDIR)/mkinstalldirs $(DISTDIR)
534 cp $(WXDIR)/wx-config.in $(DISTDIR)
535 cp $(WXDIR)/setup.h.in $(DISTDIR)
6e7b6cc6
RR
536 cp $(WXDIR)/setup.h_vms $(DISTDIR)
537 cp $(WXDIR)/descrip.mms $(DISTDIR)
a4aad961
RR
538 cp $(WXDIR)/Makefile.in $(DISTDIR)
539 cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
540 cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
541 cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt
6e7b6cc6
RR
542 mkdir $(DISTDIR)/lib
543 cp $(WXDIR)/lib/vms.opt $(DISTDIR)/lib
544 cp $(WXDIR)/lib/vms_gtk.opt $(DISTDIR)/lib
dc3d889d
VZ
545 mkdir $(DISTDIR)/src
546 mkdir $(DISTDIR)/src/zlib
547 cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
548 cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
9bfaa55f 549 cp $(ZLIBDIR)/*.mcp $(DISTDIR)/src/zlib
dc3d889d
VZ
550 cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
551 cp $(ZLIBDIR)/*.mms $(DISTDIR)/src/zlib
3a922bb4 552 mkdir $(DISTDIR)/src/regex
9bfaa55f 553 cp $(REGEXDIR)/*.h $(DISTDIR)/src/regex
cb4a5a73 554 cp $(REGEXDIR)/*.ih $(DISTDIR)/src/regex
3a922bb4 555 cp $(REGEXDIR)/*.c $(DISTDIR)/src/regex
9bfaa55f
RR
556 cp $(REGEXDIR)/Makefile $(DISTDIR)/src/regex
557 cp $(REGEXDIR)/COPYRIGHT $(DISTDIR)/src/regex
558 cp $(REGEXDIR)/README $(DISTDIR)/src/regex
559 cp $(REGEXDIR)/WHATSNEW $(DISTDIR)/src/regex
560 cp $(REGEXDIR)/mkh $(DISTDIR)/src/regex
561 cp $(REGEXDIR)/tests $(DISTDIR)/src/regex
2224580a
VZ
562
563# this target is the common part of distribution script for all GUI toolkits,
564# but is not used when building wxBase distribution
565ALL_GUI_DIST: ALL_DIST
5a7faf1e 566 cp $(WXDIR)/wxBase.spec $(DISTDIR)
a4aad961
RR
567 cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt
568 cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES.txt
569 cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README.txt
570 cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt
571 mkdir $(DISTDIR)/include
572 mkdir $(DISTDIR)/include/wx
573 mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)
574 mkdir $(DISTDIR)/include/wx/generic
575 mkdir $(DISTDIR)/include/wx/html
a4aad961 576 mkdir $(DISTDIR)/include/wx/protocol
2224580a
VZ
577 mkdir $(DISTDIR)/include/wx/unix
578 cp $(INCDIR)/wx/*.h $(DISTDIR)/include/wx
579 cp $(INCDIR)/wx/*.inl $(DISTDIR)/include/wx
a4aad961
RR
580 cp $(INCDIR)/wx/*.cpp $(DISTDIR)/include/wx
581 cp $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic
582 cp $(INCDIR)/wx/generic/*.xpm $(DISTDIR)/include/wx/generic
583 cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
584 cp $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
585 cp $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol
4cb122de
RR
586 mkdir $(DISTDIR)/src/common
587 mkdir $(DISTDIR)/src/generic
588 mkdir $(DISTDIR)/src/html
589 mkdir $(DISTDIR)/src/html/bitmaps
590 mkdir $(DISTDIR)/src/$(TOOLKITDIR)
4cb122de
RR
591 mkdir $(DISTDIR)/src/png
592 mkdir $(DISTDIR)/src/jpeg
1d62a8b4 593 mkdir $(DISTDIR)/src/tiff
c09ab26a 594 mkdir $(DISTDIR)/src/iodbc
2224580a 595 mkdir $(DISTDIR)/src/unix
3a922bb4 596 cp $(SRCDIR)/files.lst $(DISTDIR)/src/
4cb122de
RR
597 cp $(SRCDIR)/*.in $(DISTDIR)/src
598 cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
599 cp $(COMMDIR)/*.c $(DISTDIR)/src/common
600 cp $(COMMDIR)/*.inc $(DISTDIR)/src/common
601 cp $(COMMDIR)/*.l $(DISTDIR)/src/common
602 cp $(COMMDIR)/*.h $(DISTDIR)/src/common
603 cp $(COMMDIR)/*.y $(DISTDIR)/src/common
6e7b6cc6
RR
604 cp $(COMMDIR)/*.mms $(DISTDIR)/src/common
605 cp $(UNIXDIR)/*.c $(DISTDIR)/src/unix
606 cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
607 cp $(UNIXDIR)/*.mms $(DISTDIR)/src/unix
4cb122de 608 cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic
6e7b6cc6 609 cp $(GENDIR)/*.mms $(DISTDIR)/src/generic
4cb122de 610 cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
4cb122de 611 cp $(HTMLDIR)/bitmaps/*.xpm $(DISTDIR)/src/html/bitmaps
4cb122de
RR
612 cp $(PNGDIR)/*.h $(DISTDIR)/src/png
613 cp $(PNGDIR)/*.c $(DISTDIR)/src/png
9bfaa55f 614 cp $(PNGDIR)/*.mcp $(DISTDIR)/src/png
4cb122de 615 cp $(PNGDIR)/README $(DISTDIR)/src/png
4cb122de
RR
616 cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
617 cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
9bfaa55f 618 cp $(JPEGDIR)/*.mcp $(DISTDIR)/src/jpeg
4cb122de 619 cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg
1d62a8b4
RR
620 cp $(TIFFDIR)/*.h $(DISTDIR)/src/tiff
621 cp $(TIFFDIR)/*.c $(DISTDIR)/src/tiff
9bfaa55f 622 cp $(TIFFDIR)/*.mcp $(DISTDIR)/src/tiff
1d62a8b4 623 cp $(TIFFDIR)/README $(DISTDIR)/src/tiff
c09ab26a
RR
624 cp $(ODBCDIR)/*.h $(DISTDIR)/src/iodbc
625 cp $(ODBCDIR)/*.c $(DISTDIR)/src/iodbc
626 cp $(ODBCDIR)/*.ci $(DISTDIR)/src/iodbc
627 cp $(ODBCDIR)/*.exp $(DISTDIR)/src/iodbc
628 cp $(ODBCDIR)/README $(DISTDIR)/src/iodbc
629 cp $(ODBCDIR)/NEWS $(DISTDIR)/src/iodbc
630 cp $(ODBCDIR)/Changes.log $(DISTDIR)/src/iodbc
a4aad961 631
2224580a
VZ
632BASE_DIST: ALL_DIST
633 mkdir $(DISTDIR)/include
634 mkdir $(DISTDIR)/include/wx
635 mkdir $(DISTDIR)/include/wx/protocol
636 mkdir $(DISTDIR)/include/wx/unix
2224580a
VZ
637 mkdir $(DISTDIR)/src/common
638 mkdir $(DISTDIR)/src/unix
9bfaa55f 639 cp $(WXDIR)/wxBase.spec $(DISTDIR)
3a922bb4 640 cp @PORT_FILES@ $(DISTDIR)
2224580a 641 cp $(WXDIR)/@RPM_FILES@ $(DISTDIR)/@RPM_FILES@
9bfaa55f
RR
642 cp $(WXDIR)/wxBase*.dsp $(DISTDIR)
643 cp $(WXDIR)/wxBase*.dsw $(DISTDIR)
2224580a
VZ
644 cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
645 cp $(DOCDIR)/readme.txt $(DISTDIR)/README.txt
2224580a 646 cp $(SRCDIR)/*.in $(DISTDIR)/src
5a7faf1e
VZ
647 cp $(WXDIR)/src/common/*.inc $(DISTDIR)/src/common
648 cp $(WXDIR)/src/common/base.rc $(DISTDIR)/src/common
649 cp $(WXDIR)/src/common/unzip.h $(DISTDIR)/src/common
2224580a
VZ
650 list='$(HEADERS)'; for p in $$list; do \
651 cp $(WXDIR)/include/wx/$$p $(DISTDIR)/include/wx/$$p; \
652 done
653 list='$(SOURCES)'; for p in $$list; do \
654 cp $(WXDIR)/src/$$p $(DISTDIR)/src/$$p; \
655 done
656
5a7faf1e
VZ
657 mkdir $(DISTDIR)/samples
658 cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
659 cp $(SAMPDIR)/configure $(DISTDIR)/samples
660 cp $(SAMPDIR)/configure.in $(DISTDIR)/samples
661
662 mkdir $(DISTDIR)/samples/console
663 cp $(SAMPDIR)/console/Makefile.in $(DISTDIR)/samples/console
664 cp $(SAMPDIR)/console/makefile.unx $(DISTDIR)/samples/console
665 cp $(SAMPDIR)/console/console.cpp $(DISTDIR)/samples/console
666 cp $(SAMPDIR)/console/testdata.fc $(DISTDIR)/samples/console
667
2224580a 668GTK_DIST: ALL_GUI_DIST
9bfaa55f 669 cp $(WXDIR)/wxGTK.spec $(DISTDIR)
a4aad961 670 cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
4cb122de 671 cp $(INCDIR)/wx/gtk/*.xpm $(DISTDIR)/include/wx/gtk
3a922bb4 672 cp $(GTKDIR)/files.lst $(DISTDIR)/src/gtk
4cb122de
RR
673 cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk
674 cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
675 cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
6e7b6cc6
RR
676 cp $(GTKDIR)/*.mms $(DISTDIR)/src/gtk
677 mkdir $(DISTDIR)/contrib
678 cp -R $(WXDIR)/contrib $(DISTDIR)
a4aad961 679
2224580a 680MOTIF_DIST: ALL_GUI_DIST
4cb122de 681 cp $(WXDIR)/wxMOTIF.spec $(DISTDIR)
a4aad961 682 cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
3a922bb4 683 cp $(MOTIFDIR)/files.lst $(DISTDIR)/src/motif
4cb122de
RR
684 cp $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif
685 cp $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif
686 mkdir $(DISTDIR)/src/motif/xmcombo
687 cp $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo
688 cp $(MOTIFDIR)/xmcombo/*.h $(DISTDIR)/src/motif/xmcombo
689 cp $(MOTIFDIR)/xmcombo/copying.txt $(DISTDIR)/src/motif/xmcombo
a4aad961 690
c521c494 691MACX_DIST: ALL_GUI_DIST
d15a8ad4 692 cp $(INCDIR)/*.* $(DISTDIR)/include
dd8914bc 693 cp $(INCDIR)/wx/mac/*.h $(DISTDIR)/include/wx/mac
9bfaa55f 694 cp $(SRCDIR)/*.mcp $(DISTDIR)/src
dd8914bc
GD
695 cp $(MACDIR)/files.lst $(DISTDIR)/src/mac
696 cp $(MACDIR)/*.cpp $(DISTDIR)/src/mac
697 cp $(MACDIR)/*.c $(DISTDIR)/src/mac
2f53787c
RR
698 cp $(MACDIR)/*.h $(DISTDIR)/src/mac
699 cp $(MACDIR)/*.r $(DISTDIR)/src/mac
dd8914bc
GD
700 mkdir $(DISTDIR)/src/mac/morefile
701 cp $(MACDIR)/morefile/*.h $(DISTDIR)/src/mac/morefile
9bfaa55f 702 cp $(MACDIR)/morefile/*.c $(DISTDIR)/src/mac/morefile
dd8914bc
GD
703 mkdir $(DISTDIR)/src/mac/cdef
704 cp $(MACDIR)/cdef/*.h $(DISTDIR)/src/mac/cdef
9bfaa55f 705 cp $(MACDIR)/cdef/*.c $(DISTDIR)/src/mac/cdef
dd8914bc
GD
706 cp $(MACDIR)/cdef/*.mcp $(DISTDIR)/src/mac/cdef
707 mkdir $(DISTDIR)/src/mac/ldef
708 cp $(MACDIR)/ldef/*.h $(DISTDIR)/src/mac/ldef
9bfaa55f 709 cp $(MACDIR)/ldef/*.c $(DISTDIR)/src/mac/ldef
dd8914bc 710 cp $(MACDIR)/ldef/*.mcp $(DISTDIR)/src/mac/cdef
9bfaa55f
RR
711 mkdir $(DISTDIR)/src/mac/macsock
712 cp $(MACDIR)/macsock/*.lib $(DISTDIR)/src/mac/macsock
b4085ce6 713
2224580a 714MSW_DIST: ALL_GUI_DIST
4cb122de 715 cp $(WXDIR)/wxWINE.spec $(DISTDIR)
3a922bb4
RL
716 mkdir $(DISTDIR)/include/wx/msw/ctl3d
717 mkdir $(DISTDIR)/include/wx/msw/gnuwin32
718 mkdir $(DISTDIR)/include/wx/msw/gnuwin32/gl
719 mkdir $(DISTDIR)/include/wx/msw/ole
a4aad961
RR
720 cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
721 cp $(INCDIR)/wx/msw/*.cur $(DISTDIR)/include/wx/msw
722 cp $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw
723 cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
724 cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
3a922bb4
RL
725 cp $(INCDIR)/wx/msw/ctl3d/*.h $(DISTDIR)/include/wx/msw/ctl3d
726 cp $(INCDIR)/wx/msw/gnuwin32/*.h $(DISTDIR)/include/wx/msw/gnuwin32
727 cp $(INCDIR)/wx/msw/gnuwin32/gl/*.h $(DISTDIR)/include/wx/msw/gnuwin32/gl
728 cp $(INCDIR)/wx/msw/gnuwin32/gl/*.def $(DISTDIR)/include/wx/msw/gnuwin32/gl
729 cp $(INCDIR)/wx/msw/ole/*.h $(DISTDIR)/include/wx/msw/ole
730
731 mkdir $(DISTDIR)/src/msw/ole
732 cp $(MSWDIR)/files.lst $(DISTDIR)/src/msw
4cb122de
RR
733 cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
734 cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
735 cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
4cb122de
RR
736 cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
737
7b7a7637
RL
738UNIV_DIST: ALL_GUI_DIST
739 mkdir $(DISTDIR)/include/wx/univ
740 mkdir $(DISTDIR)/src/univ
741 mkdir $(DISTDIR)/src/univ/themes
742 cp $(INCDIR)/wx/univ/*.h $(DISTDIR)/include/wx/univ
743 cp $(SRCDIR)/univ/files.lst $(DISTDIR)/src/univ
744 cp $(SRCDIR)/univ/*.cpp $(DISTDIR)/src/univ
745 cp $(SRCDIR)/univ/themes/*.cpp $(DISTDIR)/src/univ/themes
746
2224580a 747DEMOS_DIST: ALL_GUI_DIST
dfd6b52f
RR
748 mkdir $(DISTDIR)/demos
749 cp $(DEMODIR)/Makefile.in $(DISTDIR)/demos
cc977e5f
RR
750 cp $(DEMODIR)/configure $(DISTDIR)/demos
751 cp $(DEMODIR)/configure.in $(DISTDIR)/demos
b4085ce6 752
cc977e5f 753 cp -R $(DEMODIR)/dbbrowse $(DISTDIR)/demos/dbbrowse
e59a8895 754
dfd6b52f
RR
755 mkdir $(DISTDIR)/demos/bombs
756 cp $(DEMODIR)/bombs/Makefile.in $(DISTDIR)/demos/bombs
757 cp $(DEMODIR)/bombs/makefile.unx $(DISTDIR)/demos/bombs
758 cp $(DEMODIR)/bombs/*.cpp $(DISTDIR)/demos/bombs
759 cp $(DEMODIR)/bombs/*.h $(DISTDIR)/demos/bombs
760 cp $(DEMODIR)/bombs/*.xpm $(DISTDIR)/demos/bombs
761 cp $(DEMODIR)/bombs/readme.txt $(DISTDIR)/demos/bombs
b4085ce6 762
dfd6b52f
RR
763 mkdir $(DISTDIR)/demos/forty
764 cp $(DEMODIR)/forty/Makefile.in $(DISTDIR)/demos/forty
765 cp $(DEMODIR)/forty/makefile.unx $(DISTDIR)/demos/forty
766 cp $(DEMODIR)/forty/*.h $(DISTDIR)/demos/forty
767 cp $(DEMODIR)/forty/*.cpp $(DISTDIR)/demos/forty
768 cp $(DEMODIR)/forty/*.xpm $(DISTDIR)/demos/forty
769 cp $(DEMODIR)/forty/*.xbm $(DISTDIR)/demos/forty
b4085ce6 770
dfd6b52f
RR
771 mkdir $(DISTDIR)/demos/life
772 mkdir $(DISTDIR)/demos/life/bitmaps
773 cp $(DEMODIR)/life/Makefile.in $(DISTDIR)/demos/life
774 cp $(DEMODIR)/life/makefile.unx $(DISTDIR)/demos/life
775 cp $(DEMODIR)/life/*.cpp $(DISTDIR)/demos/life
776 cp $(DEMODIR)/life/*.h $(DISTDIR)/demos/life
777 cp $(DEMODIR)/life/*.xpm $(DISTDIR)/demos/life
491e9f50 778 cp $(DEMODIR)/life/*.inc $(DISTDIR)/demos/life
f6bcfd97 779 cp $(DEMODIR)/life/*.lif $(DISTDIR)/demos/life
dfd6b52f 780 cp $(DEMODIR)/life/bitmaps/*.xpm $(DISTDIR)/demos/life/bitmaps
b4085ce6 781
dfd6b52f
RR
782 mkdir $(DISTDIR)/demos/poem
783 cp $(DEMODIR)/poem/Makefile.in $(DISTDIR)/demos/poem
88413fec 784 cp $(DEMODIR)/poem/makefile.unx $(DISTDIR)/demos/poem
491e9f50 785 cp $(DEMODIR)/poem/*.h $(DISTDIR)/demos/poem
dfd6b52f
RR
786 cp $(DEMODIR)/poem/*.cpp $(DISTDIR)/demos/poem
787 cp $(DEMODIR)/poem/*.xpm $(DISTDIR)/demos/poem
788 cp $(DEMODIR)/poem/*.dat $(DISTDIR)/demos/poem
789 cp $(DEMODIR)/poem/*.txt $(DISTDIR)/demos/poem
b4085ce6 790
dfd6b52f
RR
791 mkdir $(DISTDIR)/demos/fractal
792 cp $(DEMODIR)/fractal/Makefile.in $(DISTDIR)/demos/fractal
793 cp $(DEMODIR)/fractal/makefile.unx $(DISTDIR)/demos/fractal
794 cp $(DEMODIR)/fractal/*.cpp $(DISTDIR)/demos/fractal
b4085ce6 795
2224580a 796SAMPLES_DIST: ALL_GUI_DIST
4cb122de
RR
797 mkdir $(DISTDIR)/samples
798 cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
2224580a
VZ
799 cp $(SAMPDIR)/configure $(DISTDIR)/samples
800 cp $(SAMPDIR)/configure.in $(DISTDIR)/samples
c661ecca
RR
801
802 mkdir $(DISTDIR)/samples/calendar
803 cp $(SAMPDIR)/calendar/Makefile.in $(DISTDIR)/samples/calendar
804 cp $(SAMPDIR)/calendar/makefile.unx $(DISTDIR)/samples/calendar
9bfaa55f 805 cp $(SAMPDIR)/calendar/*.mcp $(DISTDIR)/samples/calendar
c661ecca
RR
806 cp $(SAMPDIR)/calendar/*.cpp $(DISTDIR)/samples/calendar
807
4cb122de
RR
808 mkdir $(DISTDIR)/samples/caret
809 cp $(SAMPDIR)/caret/Makefile.in $(DISTDIR)/samples/caret
c4fda16b 810 cp $(SAMPDIR)/caret/makefile.unx $(DISTDIR)/samples/caret
4cb122de
RR
811 cp $(SAMPDIR)/caret/*.cpp $(DISTDIR)/samples/caret
812 cp $(SAMPDIR)/caret/*.xpm $(DISTDIR)/samples/caret
c661ecca
RR
813
814 mkdir $(DISTDIR)/samples/checklst
815 cp $(SAMPDIR)/checklst/Makefile.in $(DISTDIR)/samples/checklst
816 cp $(SAMPDIR)/checklst/makefile.unx $(DISTDIR)/samples/checklst
9bfaa55f 817 cp $(SAMPDIR)/checklst/*.mcp $(DISTDIR)/samples/checklst
c661ecca
RR
818 cp $(SAMPDIR)/checklst/*.cpp $(DISTDIR)/samples/checklst
819 cp $(SAMPDIR)/checklst/*.xpm $(DISTDIR)/samples/checklst
6e7b6cc6 820 cp $(SAMPDIR)/checklst/*.mms $(DISTDIR)/samples/checklst
c661ecca 821
4cb122de
RR
822 mkdir $(DISTDIR)/samples/config
823 cp $(SAMPDIR)/config/Makefile.in $(DISTDIR)/samples/config
c4fda16b 824 cp $(SAMPDIR)/config/makefile.unx $(DISTDIR)/samples/config
9bfaa55f 825 cp $(SAMPDIR)/config/*.mcp $(DISTDIR)/samples/config
4cb122de 826 cp $(SAMPDIR)/config/*.cpp $(DISTDIR)/samples/config
c661ecca 827
1e8d2f69
RR
828 mkdir $(DISTDIR)/samples/console
829 cp $(SAMPDIR)/console/Makefile.in $(DISTDIR)/samples/console
830 cp $(SAMPDIR)/console/makefile.unx $(DISTDIR)/samples/console
831 cp $(SAMPDIR)/console/*.cpp $(DISTDIR)/samples/console
c661ecca 832
4cb122de
RR
833 mkdir $(DISTDIR)/samples/controls
834 mkdir $(DISTDIR)/samples/controls/icons
835 cp $(SAMPDIR)/controls/Makefile.in $(DISTDIR)/samples/controls
c4fda16b 836 cp $(SAMPDIR)/controls/makefile.unx $(DISTDIR)/samples/controls
9bfaa55f 837 cp $(SAMPDIR)/controls/*.mcp $(DISTDIR)/samples/controls
4cb122de
RR
838 cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls
839 cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls
6e7b6cc6 840 cp $(SAMPDIR)/controls/*.mms $(DISTDIR)/samples/controls
4cb122de 841 cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons
c661ecca 842
79144b8a
RR
843 mkdir $(DISTDIR)/samples/db
844 cp $(SAMPDIR)/db/Makefile.in $(DISTDIR)/samples/db
c4fda16b 845 cp $(SAMPDIR)/db/makefile.unx $(DISTDIR)/samples/db
79144b8a
RR
846 cp $(SAMPDIR)/db/*.cpp $(DISTDIR)/samples/db
847 cp $(SAMPDIR)/db/*.h $(DISTDIR)/samples/db
848 cp $(SAMPDIR)/db/*.xpm $(DISTDIR)/samples/db
c661ecca 849
641d87d8
RR
850 mkdir $(DISTDIR)/samples/dialogs
851 cp $(SAMPDIR)/dialogs/Makefile.in $(DISTDIR)/samples/dialogs
c4fda16b 852 cp $(SAMPDIR)/dialogs/makefile.unx $(DISTDIR)/samples/dialogs
9bfaa55f 853 cp $(SAMPDIR)/dialogs/*.mcp $(DISTDIR)/samples/dialogs
641d87d8
RR
854 cp $(SAMPDIR)/dialogs/*.cpp $(DISTDIR)/samples/dialogs
855 cp $(SAMPDIR)/dialogs/*.h $(DISTDIR)/samples/dialogs
856 cp $(SAMPDIR)/dialogs/*.txt $(DISTDIR)/samples/dialogs
6e7b6cc6 857 cp $(SAMPDIR)/dialogs/*.mms $(DISTDIR)/samples/dialogs
c661ecca 858
641d87d8
RR
859 mkdir $(DISTDIR)/samples/dnd
860 cp $(SAMPDIR)/dnd/Makefile.in $(DISTDIR)/samples/dnd
c4fda16b 861 cp $(SAMPDIR)/dnd/makefile.unx $(DISTDIR)/samples/dnd
4b59bea3 862 cp $(SAMPDIR)/dnd/*.wxr $(DISTDIR)/samples/dnd
641d87d8
RR
863 cp $(SAMPDIR)/dnd/*.cpp $(DISTDIR)/samples/dnd
864 cp $(SAMPDIR)/dnd/*.xpm $(DISTDIR)/samples/dnd
865 cp $(SAMPDIR)/dnd/*.txt $(DISTDIR)/samples/dnd
866 cp $(SAMPDIR)/dnd/*.png $(DISTDIR)/samples/dnd
c661ecca 867
641d87d8
RR
868 mkdir $(DISTDIR)/samples/docview
869 cp $(SAMPDIR)/docview/Makefile.in $(DISTDIR)/samples/docview
e9093718 870 cp $(SAMPDIR)/docview/makefile.unx $(DISTDIR)/samples/docview
641d87d8
RR
871 cp $(SAMPDIR)/docview/*.cpp $(DISTDIR)/samples/docview
872 cp $(SAMPDIR)/docview/*.h $(DISTDIR)/samples/docview
873 cp $(SAMPDIR)/docview/*.xpm $(DISTDIR)/samples/docview
c661ecca 874
641d87d8
RR
875 mkdir $(DISTDIR)/samples/docvwmdi
876 cp $(SAMPDIR)/docvwmdi/Makefile.in $(DISTDIR)/samples/docvwmdi
e9093718 877 cp $(SAMPDIR)/docvwmdi/makefile.unx $(DISTDIR)/samples/docvwmdi
641d87d8
RR
878 cp $(SAMPDIR)/docvwmdi/*.cpp $(DISTDIR)/samples/docvwmdi
879 cp $(SAMPDIR)/docvwmdi/*.h $(DISTDIR)/samples/docvwmdi
c661ecca
RR
880
881 mkdir $(DISTDIR)/samples/dragimag
882 cp $(SAMPDIR)/dragimag/Makefile.in $(DISTDIR)/samples/dragimag
883 cp $(SAMPDIR)/dragimag/makefile.unx $(DISTDIR)/samples/dragimag
884 cp $(SAMPDIR)/dragimag/*.cpp $(DISTDIR)/samples/dragimag
885 cp $(SAMPDIR)/dragimag/*.h $(DISTDIR)/samples/dragimag
886 cp $(SAMPDIR)/dragimag/*.xpm $(DISTDIR)/samples/dragimag
887 cp $(SAMPDIR)/dragimag/*.png $(DISTDIR)/samples/dragimag
888
641d87d8
RR
889 mkdir $(DISTDIR)/samples/drawing
890 cp $(SAMPDIR)/drawing/Makefile.in $(DISTDIR)/samples/drawing
e9093718 891 cp $(SAMPDIR)/drawing/makefile.unx $(DISTDIR)/samples/drawing
641d87d8
RR
892 cp $(SAMPDIR)/drawing/*.cpp $(DISTDIR)/samples/drawing
893 cp $(SAMPDIR)/drawing/*.xpm $(DISTDIR)/samples/drawing
b6fa52db 894 cp $(SAMPDIR)/drawing/*.bmp $(DISTDIR)/samples/drawing
c661ecca 895
641d87d8
RR
896 mkdir $(DISTDIR)/samples/dynamic
897 cp $(SAMPDIR)/dynamic/Makefile.in $(DISTDIR)/samples/dynamic
e9093718 898 cp $(SAMPDIR)/dynamic/makefile.unx $(DISTDIR)/samples/dynamic
641d87d8
RR
899 cp $(SAMPDIR)/dynamic/*.cpp $(DISTDIR)/samples/dynamic
900 cp $(SAMPDIR)/dynamic/*.xpm $(DISTDIR)/samples/dynamic
c661ecca 901
16b0e4ac
VZ
902 mkdir $(DISTDIR)/samples/erase
903 cp $(SAMPDIR)/erase/Makefile.in $(DISTDIR)/samples/erase
904 cp $(SAMPDIR)/erase/makefile.unx $(DISTDIR)/samples/erase
905 cp $(SAMPDIR)/erase/*.cpp $(DISTDIR)/samples/erase
906
907 mkdir $(DISTDIR)/samples/event
908 cp $(SAMPDIR)/event/Makefile.in $(DISTDIR)/samples/event
909 cp $(SAMPDIR)/event/makefile.unx $(DISTDIR)/samples/event
910 cp $(SAMPDIR)/event/*.cpp $(DISTDIR)/samples/event
911
88413fec
RR
912 mkdir $(DISTDIR)/samples/exec
913 cp $(SAMPDIR)/exec/Makefile.in $(DISTDIR)/samples/exec
e893cd66 914 cp $(SAMPDIR)/exec/makefile.unx $(DISTDIR)/samples/exec
88413fec 915 cp $(SAMPDIR)/exec/*.cpp $(DISTDIR)/samples/exec
c661ecca 916
1e8d2f69
RR
917 mkdir $(DISTDIR)/samples/font
918 cp $(SAMPDIR)/font/Makefile.in $(DISTDIR)/samples/font
919 cp $(SAMPDIR)/font/makefile.unx $(DISTDIR)/samples/font
920 cp $(SAMPDIR)/font/*.cpp $(DISTDIR)/samples/font
c661ecca 921
1e8d2f69
RR
922 mkdir $(DISTDIR)/samples/grid
923 cp $(SAMPDIR)/grid/Makefile.in $(DISTDIR)/samples/grid
924 cp $(SAMPDIR)/grid/makefile.unx $(DISTDIR)/samples/grid
925 cp $(SAMPDIR)/grid/*.cpp $(DISTDIR)/samples/grid
c661ecca 926
e9093718
RR
927 mkdir $(DISTDIR)/samples/help
928 mkdir $(DISTDIR)/samples/help/doc
929 cp $(SAMPDIR)/help/Makefile.in $(DISTDIR)/samples/help
930 cp $(SAMPDIR)/help/makefile.unx $(DISTDIR)/samples/help
931 cp $(SAMPDIR)/help/*.cpp $(DISTDIR)/samples/help
932 cp $(SAMPDIR)/help/*.xpm $(DISTDIR)/samples/help
933 cp $(SAMPDIR)/help/doc/*.* $(DISTDIR)/samples/help/doc
c661ecca 934
641d87d8
RR
935 mkdir $(DISTDIR)/samples/html
936 cp $(SAMPDIR)/html/Makefile.in $(DISTDIR)/samples/html
937 mkdir $(DISTDIR)/samples/html/about
938 cp $(SAMPDIR)/html/about/Makefile.in $(DISTDIR)/samples/html/about
939 cp $(SAMPDIR)/html/about/*.cpp $(DISTDIR)/samples/html/about
940 mkdir $(DISTDIR)/samples/html/about/data
941 cp $(SAMPDIR)/html/about/data/*.htm $(DISTDIR)/samples/html/about/data
942 cp $(SAMPDIR)/html/about/data/*.png $(DISTDIR)/samples/html/about/data
943 mkdir $(DISTDIR)/samples/html/help
944 cp $(SAMPDIR)/html/help/Makefile.in $(DISTDIR)/samples/html/help
945 cp $(SAMPDIR)/html/help/*.cpp $(DISTDIR)/samples/html/help
946 mkdir $(DISTDIR)/samples/html/help/helpfiles
947 cp $(SAMPDIR)/html/help/helpfiles/*.??? $(DISTDIR)/samples/html/help/helpfiles
fc9c7c09
RR
948 mkdir $(DISTDIR)/samples/html/helpview
949 cp $(SAMPDIR)/html/helpview/Makefile.in $(DISTDIR)/samples/html/helpview
950 cp $(SAMPDIR)/html/helpview/*.cpp $(DISTDIR)/samples/html/helpview
951 cp $(SAMPDIR)/html/helpview/*.zip $(DISTDIR)/samples/html/helpview
641d87d8
RR
952 mkdir $(DISTDIR)/samples/html/printing
953 cp $(SAMPDIR)/html/printing/Makefile.in $(DISTDIR)/samples/html/printing
641d87d8 954 cp $(SAMPDIR)/html/printing/*.cpp $(DISTDIR)/samples/html/printing
641d87d8
RR
955 cp $(SAMPDIR)/html/printing/*.htm $(DISTDIR)/samples/html/printing
956 mkdir $(DISTDIR)/samples/html/test
957 cp $(SAMPDIR)/html/test/Makefile.in $(DISTDIR)/samples/html/test
958 cp $(SAMPDIR)/html/test/*.cpp $(DISTDIR)/samples/html/test
959 cp $(SAMPDIR)/html/test/*.bmp $(DISTDIR)/samples/html/test
960 cp $(SAMPDIR)/html/test/*.png $(DISTDIR)/samples/html/test
b6fa52db 961 cp $(SAMPDIR)/html/test/*.gif $(DISTDIR)/samples/html/test
641d87d8
RR
962 cp $(SAMPDIR)/html/test/*.htm $(DISTDIR)/samples/html/test
963 cp $(SAMPDIR)/html/test/*.html $(DISTDIR)/samples/html/test
964 mkdir $(DISTDIR)/samples/html/virtual
965 cp $(SAMPDIR)/html/virtual/Makefile.in $(DISTDIR)/samples/html/virtual
966 cp $(SAMPDIR)/html/virtual/*.cpp $(DISTDIR)/samples/html/virtual
967 cp $(SAMPDIR)/html/virtual/*.htm $(DISTDIR)/samples/html/virtual
968 mkdir $(DISTDIR)/samples/html/widget
969 cp $(SAMPDIR)/html/widget/Makefile.in $(DISTDIR)/samples/html/widget
970 cp $(SAMPDIR)/html/widget/*.cpp $(DISTDIR)/samples/html/widget
971 cp $(SAMPDIR)/html/widget/*.htm $(DISTDIR)/samples/html/widget
972 mkdir $(DISTDIR)/samples/html/zip
973 cp $(SAMPDIR)/html/zip/Makefile.in $(DISTDIR)/samples/html/zip
974 cp $(SAMPDIR)/html/zip/*.cpp $(DISTDIR)/samples/html/zip
975 cp $(SAMPDIR)/html/zip/*.htm $(DISTDIR)/samples/html/zip
976 cp $(SAMPDIR)/html/zip/*.zip $(DISTDIR)/samples/html/zip
c661ecca 977
641d87d8
RR
978 mkdir $(DISTDIR)/samples/image
979 cp $(SAMPDIR)/image/Makefile.in $(DISTDIR)/samples/image
e9093718 980 cp $(SAMPDIR)/image/makefile.unx $(DISTDIR)/samples/image
641d87d8 981 cp $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image
6e7b6cc6 982 cp $(SAMPDIR)/image/*.mms $(DISTDIR)/samples/image
641d87d8 983 cp $(SAMPDIR)/image/horse.* $(DISTDIR)/samples/image
1e8d2f69 984 cp $(SAMPDIR)/image/smile.xbm $(DISTDIR)/samples/image
ff7c6c9c 985 cp $(SAMPDIR)/image/smile.xpm $(DISTDIR)/samples/image
e59a8895 986
c09ab26a
RR
987 mkdir $(DISTDIR)/samples/internat
988 mkdir $(DISTDIR)/samples/internat/de
989 mkdir $(DISTDIR)/samples/internat/fr
d6e969f6 990 mkdir $(DISTDIR)/samples/internat/ru
c09ab26a 991 cp $(SAMPDIR)/internat/Makefile.in $(DISTDIR)/samples/internat
e9093718 992 cp $(SAMPDIR)/internat/makefile.unx $(DISTDIR)/samples/internat
c09ab26a
RR
993 cp $(SAMPDIR)/internat/*.cpp $(DISTDIR)/samples/internat
994 cp $(SAMPDIR)/internat/*.xpm $(DISTDIR)/samples/internat
995 cp $(SAMPDIR)/internat/*.txt $(DISTDIR)/samples/internat
996 cp $(SAMPDIR)/internat/*.po $(DISTDIR)/samples/internat
b6fa52db 997 cp $(SAMPDIR)/internat/fr/*.mo $(DISTDIR)/samples/internat/fr
c09ab26a 998 cp $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de
d6e969f6 999 cp $(SAMPDIR)/internat/ru/*.mo $(DISTDIR)/samples/internat/ru
c09ab26a 1000 cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr
b6fa52db 1001 cp $(SAMPDIR)/internat/de/*.po $(DISTDIR)/samples/internat/de
d6e969f6 1002 cp $(SAMPDIR)/internat/ru/*.po $(DISTDIR)/samples/internat/ru
c661ecca
RR
1003
1004 mkdir $(DISTDIR)/samples/ipc
1005 cp $(SAMPDIR)/ipc/Makefile.in $(DISTDIR)/samples/ipc
e893cd66 1006 cp $(SAMPDIR)/ipc/makefile.unx $(DISTDIR)/samples/ipc
c661ecca
RR
1007 cp $(SAMPDIR)/ipc/*.cpp $(DISTDIR)/samples/ipc
1008 cp $(SAMPDIR)/ipc/*.h $(DISTDIR)/samples/ipc
1009 cp $(SAMPDIR)/ipc/*.xpm $(DISTDIR)/samples/ipc
1010
ceded8b9
RL
1011 mkdir $(DISTDIR)/samples/joytest
1012 cp $(SAMPDIR)/joytest/Makefile.in $(DISTDIR)/samples/joytest
1013 cp $(SAMPDIR)/joytest/makefile.unx $(DISTDIR)/samples/joytest
1014 cp $(SAMPDIR)/joytest/*.cpp $(DISTDIR)/samples/joytest
1015 cp $(SAMPDIR)/joytest/*.h $(DISTDIR)/samples/joytest
1016 cp $(SAMPDIR)/joytest/*.wav $(DISTDIR)/samples/joytest
1017
641d87d8
RR
1018 mkdir $(DISTDIR)/samples/layout
1019 cp $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout
e9093718 1020 cp $(SAMPDIR)/layout/makefile.unx $(DISTDIR)/samples/layout
641d87d8
RR
1021 cp $(SAMPDIR)/layout/*.cpp $(DISTDIR)/samples/layout
1022 cp $(SAMPDIR)/layout/*.h $(DISTDIR)/samples/layout
c661ecca 1023
641d87d8 1024 mkdir $(DISTDIR)/samples/listctrl
e9093718 1025 mkdir $(DISTDIR)/samples/listctrl/bitmaps
641d87d8 1026 cp $(SAMPDIR)/listctrl/Makefile.in $(DISTDIR)/samples/listctrl
e9093718 1027 cp $(SAMPDIR)/listctrl/makefile.unx $(DISTDIR)/samples/listctrl
641d87d8
RR
1028 cp $(SAMPDIR)/listctrl/*.cpp $(DISTDIR)/samples/listctrl
1029 cp $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl
1030 cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
d8d474af 1031 cp $(SAMPDIR)/listctrl/bitmaps/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
c661ecca 1032
641d87d8 1033 mkdir $(DISTDIR)/samples/mdi
e9093718 1034 mkdir $(DISTDIR)/samples/mdi/bitmaps
641d87d8 1035 cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
e9093718 1036 cp $(SAMPDIR)/mdi/makefile.unx $(DISTDIR)/samples/mdi
641d87d8
RR
1037 cp $(SAMPDIR)/mdi/*.cpp $(DISTDIR)/samples/mdi
1038 cp $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi
1039 cp $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi
d8d474af 1040 cp $(SAMPDIR)/mdi/bitmaps/*.xpm $(DISTDIR)/samples/mdi/bitmaps
c661ecca 1041
e9093718
RR
1042 mkdir $(DISTDIR)/samples/memcheck
1043 cp $(SAMPDIR)/memcheck/Makefile.in $(DISTDIR)/samples/memcheck
1044 cp $(SAMPDIR)/memcheck/makefile.unx $(DISTDIR)/samples/memcheck
1045 cp $(SAMPDIR)/memcheck/*.cpp $(DISTDIR)/samples/memcheck
1046 cp $(SAMPDIR)/memcheck/*.xpm $(DISTDIR)/samples/memcheck
c661ecca 1047
e9093718
RR
1048 mkdir $(DISTDIR)/samples/menu
1049 cp $(SAMPDIR)/menu/Makefile.in $(DISTDIR)/samples/menu
1050 cp $(SAMPDIR)/menu/makefile.unx $(DISTDIR)/samples/menu
1051 cp $(SAMPDIR)/menu/*.cpp $(DISTDIR)/samples/menu
c661ecca 1052
641d87d8 1053 mkdir $(DISTDIR)/samples/minifram
e9093718 1054 mkdir $(DISTDIR)/samples/minifram/bitmaps
641d87d8 1055 cp $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram
e9093718 1056 cp $(SAMPDIR)/minifram/makefile.unx $(DISTDIR)/samples/minifram
641d87d8
RR
1057 cp $(SAMPDIR)/minifram/*.cpp $(DISTDIR)/samples/minifram
1058 cp $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram
1059 cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram
d8d474af 1060 cp $(SAMPDIR)/minifram/bitmaps/*.xpm $(DISTDIR)/samples/minifram/bitmaps
c661ecca 1061
641d87d8
RR
1062 mkdir $(DISTDIR)/samples/minimal
1063 cp $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal
e9093718 1064 cp $(SAMPDIR)/minimal/makefile.unx $(DISTDIR)/samples/minimal
641d87d8
RR
1065 cp $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal
1066 cp $(SAMPDIR)/minimal/*.xpm $(DISTDIR)/samples/minimal
6e7b6cc6 1067 cp $(SAMPDIR)/minimal/*.mms $(DISTDIR)/samples/minimal
c661ecca 1068
dfd6b52f
RR
1069 mkdir $(DISTDIR)/samples/dialup
1070 cp $(SAMPDIR)/dialup/Makefile.in $(DISTDIR)/samples/dialup
1071 cp $(SAMPDIR)/dialup/makefile.unx $(DISTDIR)/samples/dialup
1072 cp $(SAMPDIR)/dialup/*.cpp $(DISTDIR)/samples/dialup
c661ecca 1073
f85afd4e
MB
1074 mkdir $(DISTDIR)/samples/newgrid
1075 cp $(SAMPDIR)/newgrid/Makefile.in $(DISTDIR)/samples/newgrid
1e8d2f69 1076 cp $(SAMPDIR)/newgrid/makefile.unx $(DISTDIR)/samples/newgrid
f85afd4e
MB
1077 cp $(SAMPDIR)/newgrid/*.cpp $(DISTDIR)/samples/newgrid
1078 cp $(SAMPDIR)/newgrid/*.h $(DISTDIR)/samples/newgrid
c661ecca 1079
641d87d8
RR
1080 mkdir $(DISTDIR)/samples/notebook
1081 cp $(SAMPDIR)/notebook/Makefile.in $(DISTDIR)/samples/notebook
1e8d2f69 1082 cp $(SAMPDIR)/notebook/makefile.unx $(DISTDIR)/samples/notebook
641d87d8
RR
1083 cp $(SAMPDIR)/notebook/*.cpp $(DISTDIR)/samples/notebook
1084 cp $(SAMPDIR)/notebook/*.h $(DISTDIR)/samples/notebook
c661ecca
RR
1085
1086 mkdir $(DISTDIR)/samples/opengl
1087 cp $(SAMPDIR)/opengl/Makefile.in $(DISTDIR)/samples/opengl
1088 mkdir $(DISTDIR)/samples/opengl/penguin
1089 cp $(SAMPDIR)/opengl/penguin/Makefile.in $(DISTDIR)/samples/opengl/penguin
1090 cp $(SAMPDIR)/opengl/penguin/makefile.unx $(DISTDIR)/samples/opengl/penguin
1091 cp $(SAMPDIR)/opengl/penguin/*.cpp $(DISTDIR)/samples/opengl/penguin
1092 cp $(SAMPDIR)/opengl/penguin/*.c $(DISTDIR)/samples/opengl/penguin
1093 cp $(SAMPDIR)/opengl/penguin/*.h $(DISTDIR)/samples/opengl/penguin
1094 cp $(SAMPDIR)/opengl/penguin/*.lwo $(DISTDIR)/samples/opengl/penguin
1095 mkdir $(DISTDIR)/samples/opengl/cube
1096 cp $(SAMPDIR)/opengl/cube/Makefile.in $(DISTDIR)/samples/opengl/cube
1097 cp $(SAMPDIR)/opengl/cube/makefile.unx $(DISTDIR)/samples/opengl/cube
1098 cp $(SAMPDIR)/opengl/cube/*.cpp $(DISTDIR)/samples/opengl/cube
1099 cp $(SAMPDIR)/opengl/cube/*.h $(DISTDIR)/samples/opengl/cube
1100 mkdir $(DISTDIR)/samples/opengl/isosurf
1101 cp $(SAMPDIR)/opengl/isosurf/Makefile.in $(DISTDIR)/samples/opengl/isosurf
1102 cp $(SAMPDIR)/opengl/isosurf/makefile.unx $(DISTDIR)/samples/opengl/isosurf
1103 cp $(SAMPDIR)/opengl/isosurf/*.cpp $(DISTDIR)/samples/opengl/isosurf
1104 cp $(SAMPDIR)/opengl/isosurf/*.h $(DISTDIR)/samples/opengl/isosurf
1105 cp $(SAMPDIR)/opengl/isosurf/*.gz $(DISTDIR)/samples/opengl/isosurf
1106
79144b8a
RR
1107 mkdir $(DISTDIR)/samples/png
1108 cp $(SAMPDIR)/png/Makefile.in $(DISTDIR)/samples/png
1e8d2f69 1109 cp $(SAMPDIR)/png/makefile.unx $(DISTDIR)/samples/png
79144b8a
RR
1110 cp $(SAMPDIR)/png/*.cpp $(DISTDIR)/samples/png
1111 cp $(SAMPDIR)/png/*.h $(DISTDIR)/samples/png
1112 cp $(SAMPDIR)/png/*.png $(DISTDIR)/samples/png
c661ecca 1113
1e8d2f69
RR
1114 mkdir $(DISTDIR)/samples/printing
1115 cp $(SAMPDIR)/printing/Makefile.in $(DISTDIR)/samples/printing
1116 cp $(SAMPDIR)/printing/makefile.unx $(DISTDIR)/samples/printing
1117 cp $(SAMPDIR)/printing/*.cpp $(DISTDIR)/samples/printing
1118 cp $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing
1119 cp $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing
1120 cp $(SAMPDIR)/printing/*.xbm $(DISTDIR)/samples/printing
c661ecca 1121
3fd528b9
RR
1122 mkdir $(DISTDIR)/samples/resource
1123 cp $(SAMPDIR)/resource/Makefile.in $(DISTDIR)/samples/resource
1e8d2f69 1124 cp $(SAMPDIR)/resource/makefile.unx $(DISTDIR)/samples/resource
3fd528b9
RR
1125 cp $(SAMPDIR)/resource/*.cpp $(DISTDIR)/samples/resource
1126 cp $(SAMPDIR)/resource/*.h $(DISTDIR)/samples/resource
1127 cp $(SAMPDIR)/resource/*.wxr $(DISTDIR)/samples/resource
c661ecca 1128
46132182
RR
1129 mkdir $(DISTDIR)/samples/rotate
1130 cp $(SAMPDIR)/rotate/Makefile.in $(DISTDIR)/samples/rotate
1131 cp $(SAMPDIR)/rotate/makefile.unx $(DISTDIR)/samples/rotate
1132 cp $(SAMPDIR)/rotate/*.cpp $(DISTDIR)/samples/rotate
1133 cp $(SAMPDIR)/rotate/*.bmp $(DISTDIR)/samples/rotate
e59a8895 1134
3fd528b9
RR
1135 mkdir $(DISTDIR)/samples/richedit
1136 cp $(SAMPDIR)/richedit/Makefile.in $(DISTDIR)/samples/richedit
e893cd66 1137 cp $(SAMPDIR)/richedit/makefile.unx $(DISTDIR)/samples/richedit
3fd528b9
RR
1138 cp $(SAMPDIR)/richedit/*.cpp $(DISTDIR)/samples/richedit
1139 cp $(SAMPDIR)/richedit/*.h $(DISTDIR)/samples/richedit
1140 cp $(SAMPDIR)/richedit/*.xpm $(DISTDIR)/samples/richedit
1141 cp $(SAMPDIR)/richedit/README $(DISTDIR)/samples/richedit
1142 cp $(SAMPDIR)/richedit/TODO $(DISTDIR)/samples/richedit
e59a8895 1143
641d87d8
RR
1144 mkdir $(DISTDIR)/samples/proplist
1145 cp $(SAMPDIR)/proplist/Makefile.in $(DISTDIR)/samples/proplist
e893cd66 1146 cp $(SAMPDIR)/proplist/makefile.unx $(DISTDIR)/samples/proplist
641d87d8
RR
1147 cp $(SAMPDIR)/proplist/*.cpp $(DISTDIR)/samples/proplist
1148 cp $(SAMPDIR)/proplist/*.h $(DISTDIR)/samples/proplist
e59a8895 1149
ba0e7d41
RR
1150 mkdir $(DISTDIR)/samples/propsize
1151 cp $(SAMPDIR)/propsize/Makefile.in $(DISTDIR)/samples/propsize
e893cd66 1152 cp $(SAMPDIR)/propsize/makefile.unx $(DISTDIR)/samples/propsize
ba0e7d41
RR
1153 cp $(SAMPDIR)/propsize/*.cpp $(DISTDIR)/samples/propsize
1154 cp $(SAMPDIR)/propsize/*.xpm $(DISTDIR)/samples/propsize
e59a8895 1155
641d87d8
RR
1156 mkdir $(DISTDIR)/samples/sashtest
1157 cp $(SAMPDIR)/sashtest/Makefile.in $(DISTDIR)/samples/sashtest
e893cd66 1158 cp $(SAMPDIR)/sashtest/makefile.unx $(DISTDIR)/samples/sashtest
641d87d8
RR
1159 cp $(SAMPDIR)/sashtest/*.cpp $(DISTDIR)/samples/sashtest
1160 cp $(SAMPDIR)/sashtest/*.h $(DISTDIR)/samples/sashtest
e59a8895 1161
641d87d8
RR
1162 mkdir $(DISTDIR)/samples/scroll
1163 cp $(SAMPDIR)/scroll/Makefile.in $(DISTDIR)/samples/scroll
1e8d2f69 1164 cp $(SAMPDIR)/scroll/makefile.unx $(DISTDIR)/samples/scroll
641d87d8 1165 cp $(SAMPDIR)/scroll/*.cpp $(DISTDIR)/samples/scroll
e59a8895 1166
d8d474af
RR
1167 mkdir $(DISTDIR)/samples/scrollsub
1168 cp $(SAMPDIR)/scrollsub/Makefile.in $(DISTDIR)/samples/scrollsub
1e8d2f69 1169 cp $(SAMPDIR)/scrollsub/makefile.unx $(DISTDIR)/samples/scrollsub
d8d474af 1170 cp $(SAMPDIR)/scrollsub/*.cpp $(DISTDIR)/samples/scrollsub
e59a8895 1171
c661ecca
RR
1172 mkdir $(DISTDIR)/samples/sockets
1173 cp $(SAMPDIR)/sockets/Makefile.in $(DISTDIR)/samples/sockets
e893cd66 1174 cp $(SAMPDIR)/sockets/makefile.unx $(DISTDIR)/samples/sockets
c661ecca
RR
1175 cp $(SAMPDIR)/sockets/*.cpp $(DISTDIR)/samples/sockets
1176 cp $(SAMPDIR)/sockets/*.xpm $(DISTDIR)/samples/sockets
1177
641d87d8
RR
1178 mkdir $(DISTDIR)/samples/splitter
1179 cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
e893cd66 1180 cp $(SAMPDIR)/splitter/makefile.unx $(DISTDIR)/samples/splitter
641d87d8 1181 cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
e59a8895 1182
2286341c
VZ
1183 mkdir $(DISTDIR)/samples/statbar
1184 cp $(SAMPDIR)/statbar/Makefile.in $(DISTDIR)/samples/statbar
e893cd66 1185 cp $(SAMPDIR)/statbar/makefile.unx $(DISTDIR)/samples/statbar
2286341c
VZ
1186 cp $(SAMPDIR)/statbar/*.cpp $(DISTDIR)/samples/statbar
1187 cp $(SAMPDIR)/statbar/*.xpm $(DISTDIR)/samples/statbar
1188
641d87d8
RR
1189 mkdir $(DISTDIR)/samples/text
1190 cp $(SAMPDIR)/text/Makefile.in $(DISTDIR)/samples/text
1e8d2f69 1191 cp $(SAMPDIR)/text/makefile.unx $(DISTDIR)/samples/text
641d87d8
RR
1192 cp $(SAMPDIR)/text/*.cpp $(DISTDIR)/samples/text
1193 cp $(SAMPDIR)/text/*.xpm $(DISTDIR)/samples/text
e59a8895 1194
641d87d8
RR
1195 mkdir $(DISTDIR)/samples/thread
1196 cp $(SAMPDIR)/thread/Makefile.in $(DISTDIR)/samples/thread
1e8d2f69 1197 cp $(SAMPDIR)/thread/makefile.unx $(DISTDIR)/samples/thread
641d87d8 1198 cp $(SAMPDIR)/thread/*.cpp $(DISTDIR)/samples/thread
e59a8895 1199
641d87d8
RR
1200 mkdir $(DISTDIR)/samples/toolbar
1201 cp $(SAMPDIR)/toolbar/Makefile.in $(DISTDIR)/samples/toolbar
e893cd66 1202 cp $(SAMPDIR)/toolbar/makefile.unx $(DISTDIR)/samples/toolbar
641d87d8 1203 cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar
641d87d8 1204 cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar
d8d474af
RR
1205 mkdir $(DISTDIR)/samples/toolbar/bitmaps
1206 cp $(SAMPDIR)/toolbar/bitmaps/*.xpm $(DISTDIR)/samples/toolbar/bitmaps
e59a8895 1207
641d87d8
RR
1208 mkdir $(DISTDIR)/samples/treectrl
1209 cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl
e893cd66 1210 cp $(SAMPDIR)/treectrl/makefile.unx $(DISTDIR)/samples/treectrl
641d87d8
RR
1211 cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
1212 cp $(SAMPDIR)/treectrl/*.h $(DISTDIR)/samples/treectrl
1213 cp $(SAMPDIR)/treectrl/*.xpm $(DISTDIR)/samples/treectrl
c661ecca
RR
1214 mkdir $(DISTDIR)/samples/treectrl/bitmaps
1215 cp $(SAMPDIR)/treectrl/bitmaps/*.bmp $(DISTDIR)/samples/treectrl/bitmaps
e59a8895 1216
c661ecca
RR
1217 mkdir $(DISTDIR)/samples/treelay
1218 cp $(SAMPDIR)/treelay/Makefile.in $(DISTDIR)/samples/treelay
1219 cp $(SAMPDIR)/treelay/makefile.unx $(DISTDIR)/samples/treelay
1220 cp $(SAMPDIR)/treelay/*.cpp $(DISTDIR)/samples/treelay
1221 cp $(SAMPDIR)/treelay/*.h $(DISTDIR)/samples/treelay
e59a8895 1222
641d87d8
RR
1223 mkdir $(DISTDIR)/samples/typetest
1224 cp $(SAMPDIR)/typetest/Makefile.in $(DISTDIR)/samples/typetest
e893cd66 1225 cp $(SAMPDIR)/typetest/makefile.unx $(DISTDIR)/samples/typetest
641d87d8
RR
1226 cp $(SAMPDIR)/typetest/*.cpp $(DISTDIR)/samples/typetest
1227 cp $(SAMPDIR)/typetest/*.h $(DISTDIR)/samples/typetest
1228 cp $(SAMPDIR)/typetest/*.xpm $(DISTDIR)/samples/typetest
e59a8895 1229
641d87d8
RR
1230 mkdir $(DISTDIR)/samples/validate
1231 cp $(SAMPDIR)/validate/Makefile.in $(DISTDIR)/samples/validate
e893cd66 1232 cp $(SAMPDIR)/validate/makefile.unx $(DISTDIR)/samples/validate
641d87d8
RR
1233 cp $(SAMPDIR)/validate/*.cpp $(DISTDIR)/samples/validate
1234 cp $(SAMPDIR)/validate/*.h $(DISTDIR)/samples/validate
1235 cp $(SAMPDIR)/validate/*.xpm $(DISTDIR)/samples/validate
e59a8895 1236
641d87d8
RR
1237 mkdir $(DISTDIR)/samples/wizard
1238 cp $(SAMPDIR)/wizard/Makefile.in $(DISTDIR)/samples/wizard
e893cd66 1239 cp $(SAMPDIR)/wizard/makefile.unx $(DISTDIR)/samples/wizard
641d87d8
RR
1240 cp $(SAMPDIR)/wizard/*.cpp $(DISTDIR)/samples/wizard
1241 cp $(SAMPDIR)/wizard/*.xpm $(DISTDIR)/samples/wizard
e59a8895 1242
3a922bb4
RL
1243 mkdir $(DISTDIR)/samples/widgets
1244 mkdir $(DISTDIR)/samples/widgets/icons
1245 cp $(SAMPDIR)/widgets/Makefile.in $(DISTDIR)/samples/widgets
9bfaa55f
RR
1246 cp $(SAMPDIR)/widgets/*.cpp $(DISTDIR)/samples/widgets
1247 cp $(SAMPDIR)/widgets/*.h $(DISTDIR)/samples/widgets
1248 cp $(SAMPDIR)/widgets/*.rc $(DISTDIR)/samples/widgets
3a922bb4
RL
1249 cp $(SAMPDIR)/widgets/icons/*.xpm $(DISTDIR)/samples/widgets/icons
1250
2224580a 1251UTILS_DIST: ALL_GUI_DIST
39fc1a6a
RL
1252 mkdir $(DISTDIR)/utils
1253 cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils
1254 cp $(UTILSDIR)/configure $(DISTDIR)/utils
1255 cp $(UTILSDIR)/configure.in $(DISTDIR)/utils
1256
1257 mkdir $(DISTDIR)/utils/tex2rtf
1258 mkdir $(DISTDIR)/utils/tex2rtf/src
1259 cp $(UTILSDIR)/tex2rtf/*.in $(DISTDIR)/utils/tex2rtf
1260 cp $(UTILSDIR)/tex2rtf/src/*.h $(DISTDIR)/utils/tex2rtf/src
1261 cp $(UTILSDIR)/tex2rtf/src/*.in $(DISTDIR)/utils/tex2rtf/src
1262 cp $(UTILSDIR)/tex2rtf/src/*.cpp $(DISTDIR)/utils/tex2rtf/src
1263 cp $(UTILSDIR)/tex2rtf/src/tex2rtf.* $(DISTDIR)/utils/tex2rtf/src
1264
1265 mkdir $(DISTDIR)/utils/makegen
1266 mkdir $(DISTDIR)/utils/makegen/templates
1267 cp $(UTILSDIR)/makegen/Makefile.in $(DISTDIR)/utils/makegen
1268 cp $(UTILSDIR)/makegen/*.cpp $(DISTDIR)/utils/makegen
1269 cp $(UTILSDIR)/makegen/templates/*.* $(DISTDIR)/utils/makegen/templates
bdad4e7e 1270
5d9fe089
RR
1271 mkdir $(DISTDIR)/utils/hhp2cached
1272 cp $(UTILSDIR)/hhp2cached/*.* $(DISTDIR)/utils/hhp2cached
1273
1274 mkdir $(DISTDIR)/utils/HelpGen
1275 mkdir $(DISTDIR)/utils/HelpGen/src
1276 cp $(UTILSDIR)/HelpGen/Makefile.in $(DISTDIR)/utils/HelpGen
1277 cp $(UTILSDIR)/HelpGen/src/*.* $(DISTDIR)/utils/HelpGen/src
1278
1279 cp -R $(UTILSDIR)/dialoged $(DISTDIR)/utils/dialoged
1280
2224580a 1281MISC_DIST: ALL_GUI_DIST
a6f3598d
RR
1282 mkdir $(DISTDIR)/misc
1283 mkdir $(DISTDIR)/misc/afm
1284 cp $(MISCDIR)/afm/*.afm $(DISTDIR)/misc/afm
1285 mkdir $(DISTDIR)/misc/gs_afm
1286 cp $(MISCDIR)/gs_afm/*.afm $(DISTDIR)/misc/gs_afm
2224580a 1287
f6bcfd97
BP
1288INTL_DIST:
1289 mkdir $(DISTDIR)/locale
1290 cp $(INTLDIR)/Makefile $(DISTDIR)/locale
1291 cp $(INTLDIR)/*.po $(DISTDIR)/locale
1292 -cp $(INTLDIR)/*.mo $(DISTDIR)/locale
1293
e4c4c1c6
RL
1294MANUAL_DIST:
1295 mkdir $(DISTDIR)/docs
1296 mkdir $(DISTDIR)/docs/latex
1297 mkdir $(DISTDIR)/docs/latex/wx
1298 cp $(DOCDIR)/latex/wx/*.tex $(DISTDIR)/docs/latex/wx
b36d8c8f 1299 cp $(DOCDIR)/latex/wx/*.inc $(DISTDIR)/docs/latex/wx
e4c4c1c6
RL
1300 cp $(DOCDIR)/latex/wx/*.gif $(DISTDIR)/docs/latex/wx
1301 cp $(DOCDIR)/latex/wx/*.ini $(DISTDIR)/docs/latex/wx
1302 cp $(DOCDIR)/latex/wx/*.bib $(DISTDIR)/docs/latex/wx
1303 cp $(DOCDIR)/latex/wx/*.sty $(DISTDIR)/docs/latex/wx
1304
9b0326f7
RL
1305# this target does not generate a complete wxPython dist, it only includes
1306# those files needed for the Debian source package.
1307# see utils/wxPython/distrib for scripts to make a proper wxPython dist.
1308PYTHON_DIST:
f6bcfd97
BP
1309 mkdir $(DISTDIR)/wxPython
1310 mkdir $(DISTDIR)/wxPython/contrib
1311 mkdir $(DISTDIR)/wxPython/contrib/glcanvas
1312 mkdir $(DISTDIR)/wxPython/contrib/glcanvas/gtk
1313 mkdir $(DISTDIR)/wxPython/contrib/ogl
1314 mkdir $(DISTDIR)/wxPython/contrib/stc
f3507ce4 1315 mkdir $(DISTDIR)/wxPython/contrib/stc/gtk
3a922bb4 1316 mkdir $(DISTDIR)/wxPython/contrib/xrc
f6bcfd97
BP
1317 mkdir $(DISTDIR)/wxPython/demo
1318 mkdir $(DISTDIR)/wxPython/demo/bitmaps
1319 mkdir $(DISTDIR)/wxPython/demo/data
f6bcfd97
BP
1320 mkdir $(DISTDIR)/wxPython/src
1321 mkdir $(DISTDIR)/wxPython/src/gtk
1322 mkdir $(DISTDIR)/wxPython/wxPython
1323 mkdir $(DISTDIR)/wxPython/wxPython/lib
1324 mkdir $(DISTDIR)/wxPython/wxPython/lib/editor
3a922bb4 1325 mkdir $(DISTDIR)/wxPython/wxPython/lib/mixins
f6bcfd97
BP
1326
1327 cp $(WXDIR)/wxPython/*.txt $(DISTDIR)/wxPython
050207ec
RL
1328 cp $(WXDIR)/wxPython/*.py $(DISTDIR)/wxPython
1329 cp $(WXDIR)/wxPython/setup.cfg $(DISTDIR)/wxPython
1330 cp $(WXDIR)/wxPython/MANIFEST.in $(DISTDIR)/wxPython
f6bcfd97
BP
1331 -cp $(WXDIR)/wxPython/contrib/glcanvas/* $(DISTDIR)/wxPython/contrib/glcanvas
1332 cp $(WXDIR)/wxPython/contrib/glcanvas/gtk/glcanvas.* $(DISTDIR)/wxPython/contrib/glcanvas/gtk
1333 -cp $(WXDIR)/wxPython/contrib/ogl/* $(DISTDIR)/wxPython/contrib/ogl
1334 -cp $(WXDIR)/wxPython/contrib/stc/* $(DISTDIR)/wxPython/contrib/stc
f3507ce4 1335 -cp $(WXDIR)/wxPython/contrib/stc/gtk/* $(DISTDIR)/wxPython/contrib/stc/gtk
3a922bb4 1336 -cp $(WXDIR)/wxPython/contrib/xrc/xrc.* $(DISTDIR)/wxPython/contrib/xrc
f6bcfd97
BP
1337 -cp $(WXDIR)/wxPython/demo/* $(DISTDIR)/wxPython/demo
1338 -cp $(WXDIR)/wxPython/demo/bitmaps/* $(DISTDIR)/wxPython/demo/bitmaps
1339 -cp $(WXDIR)/wxPython/demo/data/* $(DISTDIR)/wxPython/demo/data
f6bcfd97
BP
1340 -cp $(WXDIR)/wxPython/src/* $(DISTDIR)/wxPython/src
1341 cp $(WXDIR)/wxPython/src/gtk/*.py $(DISTDIR)/wxPython/src/gtk
1342 cp $(WXDIR)/wxPython/src/gtk/*.cpp $(DISTDIR)/wxPython/src/gtk
1343 cp $(WXDIR)/wxPython/wxPython/lib/*.py $(DISTDIR)/wxPython/wxPython/lib
1344 cp $(WXDIR)/wxPython/wxPython/lib/editor/*.py $(DISTDIR)/wxPython/wxPython/lib/editor
3a922bb4 1345 cp $(WXDIR)/wxPython/wxPython/lib/mixins/*.py $(DISTDIR)/wxPython/wxPython/lib/mixins
9b0326f7 1346
2224580a 1347distclean:
8b17ba72 1348 $(RM) -r _dist_dir
a4aad961 1349
d6e969f6
VZ
1350# VZ: the -only targets allow to do "make dist bzip-dist-only" without copying
1351# the files twice
1352dist-only:
1353 @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
16b0e4ac 1354 @cd _dist_dir && tar ch $(DISTDIRNAME) | gzip -f9 > ../$(WXARCHIVE);
d6e969f6
VZ
1355 @if test "$(USE_GUI)" = 1; then \
1356 cd $(DISTDIR); \
1357 mv samples wxSamples-$(VER_SUFFIX); \
1358 echo "*** Creating wxSamples archive..."; \
1359 tar ch wxSamples-$(VER_SUFFIX) | gzip -f9 > ../../$(WXSAMPLES); \
1360 mv wxSamples-$(VER_SUFFIX) samples; \
1361 mv demos wxDemos-$(VER_SUFFIX); \
1362 echo "*** Creating wxDemos archive..."; \
1363 tar ch wxDemos-$(VER_SUFFIX) | gzip -f9 > ../../$(WXDEMOS); \
1364 mv wxDemos-$(VER_SUFFIX) demos; \
1365 fi
1366
2224580a
VZ
1367dist: @GUIDIST@
1368 @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
16b0e4ac 1369 @cd _dist_dir && tar ch $(DISTDIRNAME) | gzip -f9 > ../$(WXARCHIVE);
2224580a
VZ
1370 @if test "$(USE_GUI)" = 1; then \
1371 cd $(DISTDIR); \
31fe72b6 1372 mv samples wxSamples-$(VER_SUFFIX); \
d6e969f6 1373 echo "*** Creating wxSamples archive..."; \
31fe72b6
VZ
1374 tar ch wxSamples-$(VER_SUFFIX) | gzip -f9 > ../../$(WXSAMPLES); \
1375 mv wxSamples-$(VER_SUFFIX) samples; \
1376 mv demos wxDemos-$(VER_SUFFIX); \
d6e969f6 1377 echo "*** Creating wxDemos archive..."; \
31fe72b6
VZ
1378 tar ch wxDemos-$(VER_SUFFIX) | gzip -f9 > ../../$(WXDEMOS); \
1379 mv wxDemos-$(VER_SUFFIX) demos; \
2224580a
VZ
1380 fi
1381
d6e969f6
VZ
1382bzip-dist-only:
1383 @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
16b0e4ac 1384 @cd _dist_dir && tar ch $(DISTDIRNAME) | bzip2 -f9 > ../$(WXARCHIVE_BZIP);
d6e969f6
VZ
1385 @if test "$(USE_GUI)" = 1; then \
1386 cd $(DISTDIR); \
1387 mv samples wxSamples-${VER_SUFFIX}; \
1388 echo "*** Creating wxSamples archive..."; \
1389 tar ch wxSamples-${VER_SUFFIX} | bzip2 -f9 > ../../$(WXSAMPLES_BZIP); \
1390 mv wxSamples-${VER_SUFFIX} samples; \
1391 mv demos wxDemos-${VER_SUFFIX}; \
1392 echo "*** Creating wxDemos archive..."; \
1393 tar ch wxDemos-${VER_SUFFIX} | bzip2 -f9 > ../../$(WXDEMOS_BZIP); \
1394 mv wxDemos-${VER_SUFFIX} demos; \
1395 fi
16b0e4ac 1396
f6bcfd97 1397bzip-dist: @GUIDIST@
f6bcfd97 1398 @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
16b0e4ac 1399 @cd _dist_dir && tar ch $(DISTDIRNAME) | bzip2 -f9 > ../$(WXARCHIVE_BZIP)
f6bcfd97
BP
1400 @if test "$(USE_GUI)" = 1; then \
1401 cd $(DISTDIR); \
1402 mv samples wxSamples; \
1403 tar ch wxSamples | bzip2 -f9 > ../../$(WXSAMPLES_BZIP); \
1404 mv wxSamples samples; \
1405 mv demos wxDemos; \
1406 tar ch wxDemos | bzip2 -f9 > ../../$(WXDEMOS_BZIP); \
1407 mv wxDemos demos; \
1408 fi
1409
3a922bb4 1410debian-dist: debian-native-dist debian-msw-dirs MSW_DIST
e4c4c1c6 1411 mkdir $(DISTDIR)/debian
676b8fb6 1412 -cp $(WXDIR)/debian/* $(DISTDIR)/debian
e4c4c1c6
RL
1413 cp $(DOCDIR)/licence.txt $(DISTDIR)/docs
1414 cp $(DOCDIR)/licendoc.txt $(DISTDIR)/docs
1415 cp $(DOCDIR)/preamble.txt $(DISTDIR)/docs
6be0044c 1416 rm -f $(DISTDIR)/*.spec
3a922bb4
RL
1417
1418 @# now prune away a lot of the crap included by using cp -R
1419 @# in other dist targets. Ugly and hardly portable but it
1420 @# will run on any Debian box and that's enough for now.
1421
655b7383 1422 find $(DISTDIR) \( -name "CVS" -o -name ".cvsignore" -o -name "*.dsp" -o -name "*.dsw" -o -name "*.hh*" -o \
3a922bb4
RL
1423 \( -name "makefile.*" -a ! -name "makefile.unx" \) \) \
1424 -print0 | xargs -0 rm -rf
1425
9b0326f7
RL
1426 rm -rf $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
1427 mv $(DISTDIR) $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
e4c4c1c6 1428
7b7a7637 1429debian-native-dist: @GUIDIST@ UNIV_DIST MANUAL_DIST PYTHON_DIST
3a922bb4
RL
1430
1431debian-msw-dirs:
1432 mkdir $(DISTDIR)/include/wx/msw
1433 mkdir $(DISTDIR)/src/msw
1434
1435
ad9edf45 1436clean:
8b17ba72 1437 $(RM) *.o
5586805b 1438 $(RM) *.d
8b17ba72
RR
1439 $(RM) parser.c
1440 $(RM) lexer.c
3a922bb4
RL
1441 $(RM) $(build_libdir)/lib*
1442 # Don't remove this lot, configure will reuse it
1443 # if it's still good
1444 # $(RM) -r $(build_libdir)/wx/*
ad9edf45
RR
1445
1446cleanall: clean
862fed93
RD
1447
1448
1449RPMTOP=_dist_dir/_rpm_top
1450
1451rpm: dist
1452 @echo "*** Building RPMs ***"
1453 -mkdir $(RPMTOP)
1454 -mkdir $(RPMTOP)/SOURCES
1455 -mkdir $(RPMTOP)/SPECS
1456 -mkdir $(RPMTOP)/BUILD
1457 -mkdir $(RPMTOP)/RPMS
1458 -mkdir $(RPMTOP)/SRPMS
1459 cp -f $(WXARCHIVE) $(RPMTOP)/SOURCES
1460 rpm -ba --define "_topdir `pwd`/$(RPMTOP)" $(WXDIR)/wx$(TOOLKIT).spec
1461 mv -f `find $(RPMTOP) -name "wx$(TARGET)*.rpm"` .
3a922bb4 1462