]> git.saurik.com Git - wxWidgets.git/blame_incremental - Makefile.in
Demo cleanup
[wxWidgets.git] / Makefile.in
... / ...
CommitLineData
1#
2# File: makefile.unx
3# Author: Julian Smart, Robert Roebling, Vadim Zeitlin, Ron Lee
4# Created: 1993
5# Updated: 2001
6# Copyright:(c) 1993, AIAI, University of Edinburgh,
7# Copyright:(c) 1999, Vadim Zeitlin
8# Copyright:(c) 1999, Robert Roebling
9# Copyright:(c) 2001, Ron Lee
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
19%.o : %.c
20 $(CC) -c $(CFLAGS) $(PICFLAGS) -o $@ $<
21
22%.o : %.cpp
23 $(CXX) -c $(CXXFLAGS) $(PICFLAGS) -o $@ $<
24
25%.o : %.cxx
26 $(CXX) -c $(CXXFLAGS) $(PICFLAGS) -o $@ $<
27
28%.r : %.rsrc
29 $(DEREZ) $^ Carbon.r -useDF > $@
30
31########################### Paths #################################
32
33srcdir = @srcdir@
34top_srcdir = @top_srcdir@
35
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
45VPA = @top_srcdir@/src/regex
46VP10 = @top_srcdir@/src/iodbc
47VP11 = @top_srcdir@/src/msw/ole
48
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 ':'
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
53
54prefix = @prefix@
55exec_prefix = @exec_prefix@
56
57bindir = @bindir@
58datadir = @datadir@
59libdir = @libdir@
60mandir = @mandir@
61includedir = @includedir@
62
63localedir = $(datadir)/locale
64
65top_builddir = .
66build_libdir = $(top_builddir)/lib
67
68INSTALL = @INSTALL@
69INSTALL_PROGRAM = @INSTALL_PROGRAM@
70INSTALL_DATA = @INSTALL_DATA@
71INSTALL_SCRIPT = @INSTALL@
72
73build_alias = @build_alias@
74build_triplet = @build@
75host_alias = @host_alias@
76host_triplet = @host@
77target_alias = @target_alias@
78target_triplet = @target@
79
80USE_GUI=@USE_GUI@
81
82############################# Dirs #################################
83
84WXDIR = $(top_srcdir)
85
86# Subordinate library possibilities
87
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
95TIFFDIR = $(WXDIR)/src/tiff
96ZLIBDIR = $(WXDIR)/src/zlib
97REGEXDIR = $(WXDIR)/src/regex
98GTKDIR = $(WXDIR)/src/gtk
99MOTIFDIR = $(WXDIR)/src/motif
100MSWDIR = $(WXDIR)/src/msw
101PMDIR = $(WXDIR)/src/os2
102MACDIR = $(WXDIR)/src/mac
103ODBCDIR = $(WXDIR)/src/iodbc
104FTDIR = $(WXDIR)/src/freetype
105INCDIR = $(WXDIR)/include
106SAMPDIR = $(WXDIR)/samples
107DEMODIR = $(WXDIR)/demos
108UTILSDIR = $(WXDIR)/utils
109MISCDIR = $(WXDIR)/misc
110
111DOCDIR = $(WXDIR)/docs
112INTLDIR = $(WXDIR)/locale
113
114########################## Archive name ###############################
115
116# append a version suffix x.y.z to all file names
117VER_SUFFIX=$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)$(EXTRA_VER)
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
122
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
127
128DISTDIRNAME=@DISTDIR@-$(VER_SUFFIX)
129DISTDIR=./_dist_dir/$(DISTDIRNAME)
130
131
132############################## Files ##################################
133
134WX_LINGUAS = `cd $(top_srcdir)/locale && ls *.mo 2> /dev/null | sed -n 's/\.mo//p'`
135
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
139include @PORT_FILES@
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@
147
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)
150REGEXOBJS = \
151 regcomp.o \
152 regexec.o \
153 regerror.o \
154 regfree.o
155
156ZLIBOBJS = \
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
171
172PNGOBJS = \
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
188
189FREETYPEOBJS = \
190 ftsystem.o \
191 autohint.o \
192 ftbase.o \
193 ftdebug.o \
194 ftglyph.o \
195 ftinit.o \
196 ftmm.o \
197 cff.o \
198 type1cid.o \
199 psnames.o \
200 psmodule.o \
201 raster1.o \
202 sfnt.o \
203 smooth.o \
204 truetype.o \
205 type1z.o \
206 winfnt.o
207
208JPEGOBJS = \
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
255
256TIFFOBJS = \
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 \
273 tif_luv.o \
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
291IODBCOBJS = \
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
307
308
309############################## Rules ##################################
310
311SONAME_FLAGS = @SONAME_FLAGS@
312SONAME_FLAGS_GL = @SONAME_FLAGS_GL@
313
314all: @WX_ALL@
315
316$(build_libdir)/@WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
317 @$(INSTALL) -d $(build_libdir)
318 @$(RM) $@
319 $(AR) $(AROPTIONS) $@ $(OBJECTS)
320 $(RANLIB) $@
321
322$(build_libdir)/@WX_LIBRARY_NAME_STATIC_GL@: glcanvas.o
323 @$(INSTALL) -d $(build_libdir)
324 @$(RM) $@
325 $(AR) $(AROPTIONS) $@ glcanvas.o
326 $(RANLIB) $@
327
328$(build_libdir)/@WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
329 @$(INSTALL) -d $(build_libdir)
330 $(SHARED_LD) $@ $(SONAME_FLAGS) $(OBJECTS) $(EXTRALIBS)
331
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)
335
336$(build_libdir)/@WX_RESOURCES_MACOSX@: $(MACRESOURCES)
337 @$(INSTALL) -d $(build_libdir)
338 $(RESCOMP) -d __UNIX__ -useDF $^ -o $@
339
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) \
344 && $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK1@ \
345 && $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK2@
346
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@
353
354$(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h
355
356parser.o: parser.c lexer.c
357 $(CCLEX) -c $(CFLAGS) -I. $(PICFLAGS) -o $@ parser.c
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
371 @sed -e "s;$(COMMDIR)/@LEX_STEM@.c;lexer.l;g" < @LEX_STEM@.c | \
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
375 @$(RM) @LEX_STEM@.c
376
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@
393
394afminstall: preinstall
395 @if test ! -d $(datadir); then $(INSTALL) -d $(datadir); fi
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
401
402# this is the real install target: copies the library, wx-config and the
403# headers to the installation directory
404preinstall: $(build_libdir)/@WX_TARGET_LIBRARY@ $(top_builddir)/wx@TOOLCHAIN_NAME@-config
405 @echo " "
406 @echo " Installing wxWindows..."
407 @echo " "
408
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
412
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@
416 @if test "x@WX_LIBRARY_IMPORTLIB@" != "x"; then \
417 $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_LIBRARY_IMPORTLIB@ $(libdir)/@WX_LIBRARY_IMPORTLIB@; fi
418
419 $(INSTALL) -d $(libdir)/wx
420 $(INSTALL) -d $(libdir)/wx/include
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
425
426 $(INSTALL) -d $(includedir)/wx
427 @# FIXME: This will erroneously install a wx/base dir for wxBase..
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
430 @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/generic; fi
431 @if test "@TOOLKIT_DIR@" = "msw"; then $(INSTALL) -d $(includedir)/wx/msw/ole; fi
432
433 $(INSTALL) -d $(includedir)/wx/protocol
434 $(INSTALL) -d $(includedir)/wx/unix
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
439
440 @if test ! -d $(localedir); then $(INSTALL) -d $(localedir); fi
441 @for p in $(WX_LINGUAS); do \
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;\
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
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
455preinstall_gl: $(build_libdir)/@WX_TARGET_LIBRARY_GL@
456 @echo " "
457 @echo " Installing wxWindows OpenGl add-on..."
458 @echo " "
459 @if test ! -d $(libdir); then $(INSTALL) -d $(libdir); fi
460 $(INSTALL_PROGRAM) $(build_libdir)/@WX_TARGET_LIBRARY_GL@ $(libdir)/@WX_TARGET_LIBRARY_GL@
461
462install: @AFMINSTALL@ @WX_ALL_INSTALLED@
463 @echo " "
464 @echo " The installation of wxWindows is finished. On certain"
465 @echo " platforms (e.g. Linux) you'll now have to run ldconfig"
466 @echo " if you installed a shared library and also modify"
467 @echo " LD_LIBRARY_PATH (or equivalent) environment variable."
468 @echo " "
469 @echo " wxWindows comes with no guarantees and doesn't claim"
470 @echo " to be suitable for any purpose."
471 @echo " "
472 @echo " Read the wxWindows Licence on licencing conditions."
473 @echo " "
474
475uninstall:
476 @echo " "
477 @echo " Uninstalling wxWindows..."
478 @echo " "
479 @echo " Removing library..."
480 @$(RM) $(libdir)/@WX_TARGET_LIBRARY@
481 @$(RM) $(libdir)/@WX_LIBRARY_LINK1@
482 @$(RM) $(libdir)/@WX_LIBRARY_LINK2@
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@
487 @echo " Removing helper files..."
488 @$(RM) $(libdir)/wx/include/@TOOLCHAIN_NAME@/wx/setup.h
489 @$(RM) $(bindir)/wx-config
490 @$(RM) $(bindir)/wx@TOOLCHAIN_NAME@-config
491 @$(RM) $(datadir)/wx/afm/*
492 @$(RM) $(datadir)/wx/gs_afm/*
493# FIXME: wxBase doesnt install these next 3 dirs.
494 @-rmdir $(datadir)/wx/gs_afm
495 @-rmdir $(datadir)/wx/afm
496 @-rmdir $(datadir)/wx
497 @echo " Removing headers..."
498 @list='$(HEADERS)'; for p in $$list; do \
499 $(RM) $(includedir)/wx/$$p; \
500 done
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
507 @echo " Removing directories..."
508 @-rmdir $(localedir)
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
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
515 @if test -d $(includedir)/wx/msw; then rmdir $(includedir)/wx/msw; fi
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
522# this target should copy only the files common to really all ports (including
523# wxBase) to the dist dir
524ALL_DIST: distclean
525 mkdir _dist_dir
526 mkdir $(DISTDIR)
527 cp $(WXDIR)/aclocal.m4 $(DISTDIR)
528 cp $(WXDIR)/configure.in $(DISTDIR)
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)
536 cp $(WXDIR)/setup.h_vms $(DISTDIR)
537 cp $(WXDIR)/descrip.mms $(DISTDIR)
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
542 mkdir $(DISTDIR)/lib
543 cp $(WXDIR)/lib/vms.opt $(DISTDIR)/lib
544 cp $(WXDIR)/lib/vms_gtk.opt $(DISTDIR)/lib
545 mkdir $(DISTDIR)/src
546 mkdir $(DISTDIR)/src/zlib
547 cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
548 cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
549 cp $(ZLIBDIR)/*.mcp $(DISTDIR)/src/zlib
550 cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
551 cp $(ZLIBDIR)/*.mms $(DISTDIR)/src/zlib
552 mkdir $(DISTDIR)/src/regex
553 cp $(REGEXDIR)/*.h $(DISTDIR)/src/regex
554 cp $(REGEXDIR)/*.ih $(DISTDIR)/src/regex
555 cp $(REGEXDIR)/*.c $(DISTDIR)/src/regex
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
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
566 cp $(WXDIR)/wxBase.spec $(DISTDIR)
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
576 mkdir $(DISTDIR)/include/wx/protocol
577 mkdir $(DISTDIR)/include/wx/unix
578 cp $(INCDIR)/wx/*.h $(DISTDIR)/include/wx
579 cp $(INCDIR)/wx/*.inl $(DISTDIR)/include/wx
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
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)
591 mkdir $(DISTDIR)/src/png
592 mkdir $(DISTDIR)/src/jpeg
593 mkdir $(DISTDIR)/src/tiff
594 mkdir $(DISTDIR)/src/iodbc
595 mkdir $(DISTDIR)/src/unix
596 cp $(SRCDIR)/files.lst $(DISTDIR)/src/
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
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
608 cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic
609 cp $(GENDIR)/*.mms $(DISTDIR)/src/generic
610 cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
611 cp $(HTMLDIR)/bitmaps/*.xpm $(DISTDIR)/src/html/bitmaps
612 cp $(PNGDIR)/*.h $(DISTDIR)/src/png
613 cp $(PNGDIR)/*.c $(DISTDIR)/src/png
614 cp $(PNGDIR)/*.mcp $(DISTDIR)/src/png
615 cp $(PNGDIR)/README $(DISTDIR)/src/png
616 cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
617 cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
618 cp $(JPEGDIR)/*.mcp $(DISTDIR)/src/jpeg
619 cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg
620 cp $(TIFFDIR)/*.h $(DISTDIR)/src/tiff
621 cp $(TIFFDIR)/*.c $(DISTDIR)/src/tiff
622 cp $(TIFFDIR)/*.mcp $(DISTDIR)/src/tiff
623 cp $(TIFFDIR)/README $(DISTDIR)/src/tiff
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
631
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
637 mkdir $(DISTDIR)/src/common
638 mkdir $(DISTDIR)/src/unix
639 cp $(WXDIR)/wxBase.spec $(DISTDIR)
640 cp @PORT_FILES@ $(DISTDIR)
641 cp $(WXDIR)/@RPM_FILES@ $(DISTDIR)/@RPM_FILES@
642 cp $(WXDIR)/wxBase*.dsp $(DISTDIR)
643 cp $(WXDIR)/wxBase*.dsw $(DISTDIR)
644 cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
645 cp $(DOCDIR)/readme.txt $(DISTDIR)/README.txt
646 cp $(SRCDIR)/*.in $(DISTDIR)/src
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
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
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
668GTK_DIST: ALL_GUI_DIST
669 cp $(WXDIR)/wxGTK.spec $(DISTDIR)
670 cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
671 cp $(INCDIR)/wx/gtk/*.xpm $(DISTDIR)/include/wx/gtk
672 cp $(GTKDIR)/files.lst $(DISTDIR)/src/gtk
673 cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk
674 cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
675 cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
676 cp $(GTKDIR)/*.mms $(DISTDIR)/src/gtk
677 mkdir $(DISTDIR)/contrib
678 cp -R $(WXDIR)/contrib $(DISTDIR)
679
680MOTIF_DIST: ALL_GUI_DIST
681 cp $(WXDIR)/wxMOTIF.spec $(DISTDIR)
682 cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
683 cp $(MOTIFDIR)/files.lst $(DISTDIR)/src/motif
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
690
691MACX_DIST: ALL_GUI_DIST
692 cp $(INCDIR)/*.* $(DISTDIR)/include
693 cp $(INCDIR)/wx/mac/*.h $(DISTDIR)/include/wx/mac
694 cp $(SRCDIR)/*.mcp $(DISTDIR)/src
695 cp $(MACDIR)/files.lst $(DISTDIR)/src/mac
696 cp $(MACDIR)/*.cpp $(DISTDIR)/src/mac
697 cp $(MACDIR)/*.c $(DISTDIR)/src/mac
698 cp $(MACDIR)/*.h $(DISTDIR)/src/mac
699 cp $(MACDIR)/*.r $(DISTDIR)/src/mac
700 mkdir $(DISTDIR)/src/mac/morefile
701 cp $(MACDIR)/morefile/*.h $(DISTDIR)/src/mac/morefile
702 cp $(MACDIR)/morefile/*.c $(DISTDIR)/src/mac/morefile
703 mkdir $(DISTDIR)/src/mac/cdef
704 cp $(MACDIR)/cdef/*.h $(DISTDIR)/src/mac/cdef
705 cp $(MACDIR)/cdef/*.c $(DISTDIR)/src/mac/cdef
706 cp $(MACDIR)/cdef/*.mcp $(DISTDIR)/src/mac/cdef
707 mkdir $(DISTDIR)/src/mac/ldef
708 cp $(MACDIR)/ldef/*.h $(DISTDIR)/src/mac/ldef
709 cp $(MACDIR)/ldef/*.c $(DISTDIR)/src/mac/ldef
710 cp $(MACDIR)/ldef/*.mcp $(DISTDIR)/src/mac/cdef
711 mkdir $(DISTDIR)/src/mac/macsock
712 cp $(MACDIR)/macsock/*.lib $(DISTDIR)/src/mac/macsock
713
714MSW_DIST: ALL_GUI_DIST
715 cp $(WXDIR)/wxWINE.spec $(DISTDIR)
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
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
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
733 cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
734 cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
735 cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
736 cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
737
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
747DEMOS_DIST: ALL_GUI_DIST
748 mkdir $(DISTDIR)/demos
749 cp $(DEMODIR)/Makefile.in $(DISTDIR)/demos
750 cp $(DEMODIR)/configure $(DISTDIR)/demos
751 cp $(DEMODIR)/configure.in $(DISTDIR)/demos
752
753 cp -R $(DEMODIR)/dbbrowse $(DISTDIR)/demos/dbbrowse
754
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
762
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
770
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
778 cp $(DEMODIR)/life/*.inc $(DISTDIR)/demos/life
779 cp $(DEMODIR)/life/*.lif $(DISTDIR)/demos/life
780 cp $(DEMODIR)/life/bitmaps/*.xpm $(DISTDIR)/demos/life/bitmaps
781
782 mkdir $(DISTDIR)/demos/poem
783 cp $(DEMODIR)/poem/Makefile.in $(DISTDIR)/demos/poem
784 cp $(DEMODIR)/poem/makefile.unx $(DISTDIR)/demos/poem
785 cp $(DEMODIR)/poem/*.h $(DISTDIR)/demos/poem
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
790
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
795
796SAMPLES_DIST: ALL_GUI_DIST
797 mkdir $(DISTDIR)/samples
798 cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
799 cp $(SAMPDIR)/configure $(DISTDIR)/samples
800 cp $(SAMPDIR)/configure.in $(DISTDIR)/samples
801
802 mkdir $(DISTDIR)/samples/calendar
803 cp $(SAMPDIR)/calendar/Makefile.in $(DISTDIR)/samples/calendar
804 cp $(SAMPDIR)/calendar/makefile.unx $(DISTDIR)/samples/calendar
805 cp $(SAMPDIR)/calendar/*.mcp $(DISTDIR)/samples/calendar
806 cp $(SAMPDIR)/calendar/*.cpp $(DISTDIR)/samples/calendar
807
808 mkdir $(DISTDIR)/samples/caret
809 cp $(SAMPDIR)/caret/Makefile.in $(DISTDIR)/samples/caret
810 cp $(SAMPDIR)/caret/makefile.unx $(DISTDIR)/samples/caret
811 cp $(SAMPDIR)/caret/*.cpp $(DISTDIR)/samples/caret
812 cp $(SAMPDIR)/caret/*.xpm $(DISTDIR)/samples/caret
813
814 mkdir $(DISTDIR)/samples/checklst
815 cp $(SAMPDIR)/checklst/Makefile.in $(DISTDIR)/samples/checklst
816 cp $(SAMPDIR)/checklst/makefile.unx $(DISTDIR)/samples/checklst
817 cp $(SAMPDIR)/checklst/*.mcp $(DISTDIR)/samples/checklst
818 cp $(SAMPDIR)/checklst/*.cpp $(DISTDIR)/samples/checklst
819 cp $(SAMPDIR)/checklst/*.xpm $(DISTDIR)/samples/checklst
820 cp $(SAMPDIR)/checklst/*.mms $(DISTDIR)/samples/checklst
821
822 mkdir $(DISTDIR)/samples/config
823 cp $(SAMPDIR)/config/Makefile.in $(DISTDIR)/samples/config
824 cp $(SAMPDIR)/config/makefile.unx $(DISTDIR)/samples/config
825 cp $(SAMPDIR)/config/*.mcp $(DISTDIR)/samples/config
826 cp $(SAMPDIR)/config/*.cpp $(DISTDIR)/samples/config
827
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
832
833 mkdir $(DISTDIR)/samples/controls
834 mkdir $(DISTDIR)/samples/controls/icons
835 cp $(SAMPDIR)/controls/Makefile.in $(DISTDIR)/samples/controls
836 cp $(SAMPDIR)/controls/makefile.unx $(DISTDIR)/samples/controls
837 cp $(SAMPDIR)/controls/*.mcp $(DISTDIR)/samples/controls
838 cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls
839 cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls
840 cp $(SAMPDIR)/controls/*.mms $(DISTDIR)/samples/controls
841 cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons
842
843 mkdir $(DISTDIR)/samples/db
844 cp $(SAMPDIR)/db/Makefile.in $(DISTDIR)/samples/db
845 cp $(SAMPDIR)/db/makefile.unx $(DISTDIR)/samples/db
846 cp $(SAMPDIR)/db/*.cpp $(DISTDIR)/samples/db
847 cp $(SAMPDIR)/db/*.h $(DISTDIR)/samples/db
848 cp $(SAMPDIR)/db/*.xpm $(DISTDIR)/samples/db
849
850 mkdir $(DISTDIR)/samples/dialogs
851 cp $(SAMPDIR)/dialogs/Makefile.in $(DISTDIR)/samples/dialogs
852 cp $(SAMPDIR)/dialogs/makefile.unx $(DISTDIR)/samples/dialogs
853 cp $(SAMPDIR)/dialogs/*.mcp $(DISTDIR)/samples/dialogs
854 cp $(SAMPDIR)/dialogs/*.cpp $(DISTDIR)/samples/dialogs
855 cp $(SAMPDIR)/dialogs/*.h $(DISTDIR)/samples/dialogs
856 cp $(SAMPDIR)/dialogs/*.txt $(DISTDIR)/samples/dialogs
857 cp $(SAMPDIR)/dialogs/*.mms $(DISTDIR)/samples/dialogs
858
859 mkdir $(DISTDIR)/samples/dnd
860 cp $(SAMPDIR)/dnd/Makefile.in $(DISTDIR)/samples/dnd
861 cp $(SAMPDIR)/dnd/makefile.unx $(DISTDIR)/samples/dnd
862 cp $(SAMPDIR)/dnd/*.wxr $(DISTDIR)/samples/dnd
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
867
868 mkdir $(DISTDIR)/samples/docview
869 cp $(SAMPDIR)/docview/Makefile.in $(DISTDIR)/samples/docview
870 cp $(SAMPDIR)/docview/makefile.unx $(DISTDIR)/samples/docview
871 cp $(SAMPDIR)/docview/*.cpp $(DISTDIR)/samples/docview
872 cp $(SAMPDIR)/docview/*.h $(DISTDIR)/samples/docview
873 cp $(SAMPDIR)/docview/*.xpm $(DISTDIR)/samples/docview
874
875 mkdir $(DISTDIR)/samples/docvwmdi
876 cp $(SAMPDIR)/docvwmdi/Makefile.in $(DISTDIR)/samples/docvwmdi
877 cp $(SAMPDIR)/docvwmdi/makefile.unx $(DISTDIR)/samples/docvwmdi
878 cp $(SAMPDIR)/docvwmdi/*.cpp $(DISTDIR)/samples/docvwmdi
879 cp $(SAMPDIR)/docvwmdi/*.h $(DISTDIR)/samples/docvwmdi
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
889 mkdir $(DISTDIR)/samples/drawing
890 cp $(SAMPDIR)/drawing/Makefile.in $(DISTDIR)/samples/drawing
891 cp $(SAMPDIR)/drawing/makefile.unx $(DISTDIR)/samples/drawing
892 cp $(SAMPDIR)/drawing/*.cpp $(DISTDIR)/samples/drawing
893 cp $(SAMPDIR)/drawing/*.xpm $(DISTDIR)/samples/drawing
894 cp $(SAMPDIR)/drawing/*.bmp $(DISTDIR)/samples/drawing
895
896 mkdir $(DISTDIR)/samples/dynamic
897 cp $(SAMPDIR)/dynamic/Makefile.in $(DISTDIR)/samples/dynamic
898 cp $(SAMPDIR)/dynamic/makefile.unx $(DISTDIR)/samples/dynamic
899 cp $(SAMPDIR)/dynamic/*.cpp $(DISTDIR)/samples/dynamic
900 cp $(SAMPDIR)/dynamic/*.xpm $(DISTDIR)/samples/dynamic
901
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
912 mkdir $(DISTDIR)/samples/exec
913 cp $(SAMPDIR)/exec/Makefile.in $(DISTDIR)/samples/exec
914 cp $(SAMPDIR)/exec/makefile.unx $(DISTDIR)/samples/exec
915 cp $(SAMPDIR)/exec/*.cpp $(DISTDIR)/samples/exec
916
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
921
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
926
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
934
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
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
952 mkdir $(DISTDIR)/samples/html/printing
953 cp $(SAMPDIR)/html/printing/Makefile.in $(DISTDIR)/samples/html/printing
954 cp $(SAMPDIR)/html/printing/*.cpp $(DISTDIR)/samples/html/printing
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
961 cp $(SAMPDIR)/html/test/*.gif $(DISTDIR)/samples/html/test
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
977
978 mkdir $(DISTDIR)/samples/image
979 cp $(SAMPDIR)/image/Makefile.in $(DISTDIR)/samples/image
980 cp $(SAMPDIR)/image/makefile.unx $(DISTDIR)/samples/image
981 cp $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image
982 cp $(SAMPDIR)/image/*.mms $(DISTDIR)/samples/image
983 cp $(SAMPDIR)/image/horse.* $(DISTDIR)/samples/image
984 cp $(SAMPDIR)/image/smile.xbm $(DISTDIR)/samples/image
985 cp $(SAMPDIR)/image/smile.xpm $(DISTDIR)/samples/image
986
987 mkdir $(DISTDIR)/samples/internat
988 mkdir $(DISTDIR)/samples/internat/de
989 mkdir $(DISTDIR)/samples/internat/fr
990 mkdir $(DISTDIR)/samples/internat/ru
991 cp $(SAMPDIR)/internat/Makefile.in $(DISTDIR)/samples/internat
992 cp $(SAMPDIR)/internat/makefile.unx $(DISTDIR)/samples/internat
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
997 cp $(SAMPDIR)/internat/fr/*.mo $(DISTDIR)/samples/internat/fr
998 cp $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de
999 cp $(SAMPDIR)/internat/ru/*.mo $(DISTDIR)/samples/internat/ru
1000 cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr
1001 cp $(SAMPDIR)/internat/de/*.po $(DISTDIR)/samples/internat/de
1002 cp $(SAMPDIR)/internat/ru/*.po $(DISTDIR)/samples/internat/ru
1003
1004 mkdir $(DISTDIR)/samples/ipc
1005 cp $(SAMPDIR)/ipc/Makefile.in $(DISTDIR)/samples/ipc
1006 cp $(SAMPDIR)/ipc/makefile.unx $(DISTDIR)/samples/ipc
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
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
1018 mkdir $(DISTDIR)/samples/layout
1019 cp $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout
1020 cp $(SAMPDIR)/layout/makefile.unx $(DISTDIR)/samples/layout
1021 cp $(SAMPDIR)/layout/*.cpp $(DISTDIR)/samples/layout
1022 cp $(SAMPDIR)/layout/*.h $(DISTDIR)/samples/layout
1023
1024 mkdir $(DISTDIR)/samples/listctrl
1025 mkdir $(DISTDIR)/samples/listctrl/bitmaps
1026 cp $(SAMPDIR)/listctrl/Makefile.in $(DISTDIR)/samples/listctrl
1027 cp $(SAMPDIR)/listctrl/makefile.unx $(DISTDIR)/samples/listctrl
1028 cp $(SAMPDIR)/listctrl/*.cpp $(DISTDIR)/samples/listctrl
1029 cp $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl
1030 cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
1031 cp $(SAMPDIR)/listctrl/bitmaps/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
1032
1033 mkdir $(DISTDIR)/samples/mdi
1034 mkdir $(DISTDIR)/samples/mdi/bitmaps
1035 cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
1036 cp $(SAMPDIR)/mdi/makefile.unx $(DISTDIR)/samples/mdi
1037 cp $(SAMPDIR)/mdi/*.cpp $(DISTDIR)/samples/mdi
1038 cp $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi
1039 cp $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi
1040 cp $(SAMPDIR)/mdi/bitmaps/*.xpm $(DISTDIR)/samples/mdi/bitmaps
1041
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
1047
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
1052
1053 mkdir $(DISTDIR)/samples/minifram
1054 mkdir $(DISTDIR)/samples/minifram/bitmaps
1055 cp $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram
1056 cp $(SAMPDIR)/minifram/makefile.unx $(DISTDIR)/samples/minifram
1057 cp $(SAMPDIR)/minifram/*.cpp $(DISTDIR)/samples/minifram
1058 cp $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram
1059 cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram
1060 cp $(SAMPDIR)/minifram/bitmaps/*.xpm $(DISTDIR)/samples/minifram/bitmaps
1061
1062 mkdir $(DISTDIR)/samples/minimal
1063 cp $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal
1064 cp $(SAMPDIR)/minimal/makefile.unx $(DISTDIR)/samples/minimal
1065 cp $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal
1066 cp $(SAMPDIR)/minimal/*.xpm $(DISTDIR)/samples/minimal
1067 cp $(SAMPDIR)/minimal/*.mms $(DISTDIR)/samples/minimal
1068
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
1073
1074 mkdir $(DISTDIR)/samples/newgrid
1075 cp $(SAMPDIR)/newgrid/Makefile.in $(DISTDIR)/samples/newgrid
1076 cp $(SAMPDIR)/newgrid/makefile.unx $(DISTDIR)/samples/newgrid
1077 cp $(SAMPDIR)/newgrid/*.cpp $(DISTDIR)/samples/newgrid
1078 cp $(SAMPDIR)/newgrid/*.h $(DISTDIR)/samples/newgrid
1079
1080 mkdir $(DISTDIR)/samples/notebook
1081 cp $(SAMPDIR)/notebook/Makefile.in $(DISTDIR)/samples/notebook
1082 cp $(SAMPDIR)/notebook/makefile.unx $(DISTDIR)/samples/notebook
1083 cp $(SAMPDIR)/notebook/*.cpp $(DISTDIR)/samples/notebook
1084 cp $(SAMPDIR)/notebook/*.h $(DISTDIR)/samples/notebook
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
1107 mkdir $(DISTDIR)/samples/png
1108 cp $(SAMPDIR)/png/Makefile.in $(DISTDIR)/samples/png
1109 cp $(SAMPDIR)/png/makefile.unx $(DISTDIR)/samples/png
1110 cp $(SAMPDIR)/png/*.cpp $(DISTDIR)/samples/png
1111 cp $(SAMPDIR)/png/*.h $(DISTDIR)/samples/png
1112 cp $(SAMPDIR)/png/*.png $(DISTDIR)/samples/png
1113
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
1121
1122 mkdir $(DISTDIR)/samples/resource
1123 cp $(SAMPDIR)/resource/Makefile.in $(DISTDIR)/samples/resource
1124 cp $(SAMPDIR)/resource/makefile.unx $(DISTDIR)/samples/resource
1125 cp $(SAMPDIR)/resource/*.cpp $(DISTDIR)/samples/resource
1126 cp $(SAMPDIR)/resource/*.h $(DISTDIR)/samples/resource
1127 cp $(SAMPDIR)/resource/*.wxr $(DISTDIR)/samples/resource
1128
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
1134
1135 mkdir $(DISTDIR)/samples/richedit
1136 cp $(SAMPDIR)/richedit/Makefile.in $(DISTDIR)/samples/richedit
1137 cp $(SAMPDIR)/richedit/makefile.unx $(DISTDIR)/samples/richedit
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
1143
1144 mkdir $(DISTDIR)/samples/proplist
1145 cp $(SAMPDIR)/proplist/Makefile.in $(DISTDIR)/samples/proplist
1146 cp $(SAMPDIR)/proplist/makefile.unx $(DISTDIR)/samples/proplist
1147 cp $(SAMPDIR)/proplist/*.cpp $(DISTDIR)/samples/proplist
1148 cp $(SAMPDIR)/proplist/*.h $(DISTDIR)/samples/proplist
1149
1150 mkdir $(DISTDIR)/samples/propsize
1151 cp $(SAMPDIR)/propsize/Makefile.in $(DISTDIR)/samples/propsize
1152 cp $(SAMPDIR)/propsize/makefile.unx $(DISTDIR)/samples/propsize
1153 cp $(SAMPDIR)/propsize/*.cpp $(DISTDIR)/samples/propsize
1154 cp $(SAMPDIR)/propsize/*.xpm $(DISTDIR)/samples/propsize
1155
1156 mkdir $(DISTDIR)/samples/sashtest
1157 cp $(SAMPDIR)/sashtest/Makefile.in $(DISTDIR)/samples/sashtest
1158 cp $(SAMPDIR)/sashtest/makefile.unx $(DISTDIR)/samples/sashtest
1159 cp $(SAMPDIR)/sashtest/*.cpp $(DISTDIR)/samples/sashtest
1160 cp $(SAMPDIR)/sashtest/*.h $(DISTDIR)/samples/sashtest
1161
1162 mkdir $(DISTDIR)/samples/scroll
1163 cp $(SAMPDIR)/scroll/Makefile.in $(DISTDIR)/samples/scroll
1164 cp $(SAMPDIR)/scroll/makefile.unx $(DISTDIR)/samples/scroll
1165 cp $(SAMPDIR)/scroll/*.cpp $(DISTDIR)/samples/scroll
1166
1167 mkdir $(DISTDIR)/samples/scrollsub
1168 cp $(SAMPDIR)/scrollsub/Makefile.in $(DISTDIR)/samples/scrollsub
1169 cp $(SAMPDIR)/scrollsub/makefile.unx $(DISTDIR)/samples/scrollsub
1170 cp $(SAMPDIR)/scrollsub/*.cpp $(DISTDIR)/samples/scrollsub
1171
1172 mkdir $(DISTDIR)/samples/sockets
1173 cp $(SAMPDIR)/sockets/Makefile.in $(DISTDIR)/samples/sockets
1174 cp $(SAMPDIR)/sockets/makefile.unx $(DISTDIR)/samples/sockets
1175 cp $(SAMPDIR)/sockets/*.cpp $(DISTDIR)/samples/sockets
1176 cp $(SAMPDIR)/sockets/*.xpm $(DISTDIR)/samples/sockets
1177
1178 mkdir $(DISTDIR)/samples/splitter
1179 cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
1180 cp $(SAMPDIR)/splitter/makefile.unx $(DISTDIR)/samples/splitter
1181 cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
1182
1183 mkdir $(DISTDIR)/samples/statbar
1184 cp $(SAMPDIR)/statbar/Makefile.in $(DISTDIR)/samples/statbar
1185 cp $(SAMPDIR)/statbar/makefile.unx $(DISTDIR)/samples/statbar
1186 cp $(SAMPDIR)/statbar/*.cpp $(DISTDIR)/samples/statbar
1187 cp $(SAMPDIR)/statbar/*.xpm $(DISTDIR)/samples/statbar
1188
1189 mkdir $(DISTDIR)/samples/text
1190 cp $(SAMPDIR)/text/Makefile.in $(DISTDIR)/samples/text
1191 cp $(SAMPDIR)/text/makefile.unx $(DISTDIR)/samples/text
1192 cp $(SAMPDIR)/text/*.cpp $(DISTDIR)/samples/text
1193 cp $(SAMPDIR)/text/*.xpm $(DISTDIR)/samples/text
1194
1195 mkdir $(DISTDIR)/samples/thread
1196 cp $(SAMPDIR)/thread/Makefile.in $(DISTDIR)/samples/thread
1197 cp $(SAMPDIR)/thread/makefile.unx $(DISTDIR)/samples/thread
1198 cp $(SAMPDIR)/thread/*.cpp $(DISTDIR)/samples/thread
1199
1200 mkdir $(DISTDIR)/samples/toolbar
1201 cp $(SAMPDIR)/toolbar/Makefile.in $(DISTDIR)/samples/toolbar
1202 cp $(SAMPDIR)/toolbar/makefile.unx $(DISTDIR)/samples/toolbar
1203 cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar
1204 cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar
1205 mkdir $(DISTDIR)/samples/toolbar/bitmaps
1206 cp $(SAMPDIR)/toolbar/bitmaps/*.xpm $(DISTDIR)/samples/toolbar/bitmaps
1207
1208 mkdir $(DISTDIR)/samples/treectrl
1209 cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl
1210 cp $(SAMPDIR)/treectrl/makefile.unx $(DISTDIR)/samples/treectrl
1211 cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
1212 cp $(SAMPDIR)/treectrl/*.h $(DISTDIR)/samples/treectrl
1213 cp $(SAMPDIR)/treectrl/*.xpm $(DISTDIR)/samples/treectrl
1214 mkdir $(DISTDIR)/samples/treectrl/bitmaps
1215 cp $(SAMPDIR)/treectrl/bitmaps/*.bmp $(DISTDIR)/samples/treectrl/bitmaps
1216
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
1222
1223 mkdir $(DISTDIR)/samples/typetest
1224 cp $(SAMPDIR)/typetest/Makefile.in $(DISTDIR)/samples/typetest
1225 cp $(SAMPDIR)/typetest/makefile.unx $(DISTDIR)/samples/typetest
1226 cp $(SAMPDIR)/typetest/*.cpp $(DISTDIR)/samples/typetest
1227 cp $(SAMPDIR)/typetest/*.h $(DISTDIR)/samples/typetest
1228 cp $(SAMPDIR)/typetest/*.xpm $(DISTDIR)/samples/typetest
1229
1230 mkdir $(DISTDIR)/samples/validate
1231 cp $(SAMPDIR)/validate/Makefile.in $(DISTDIR)/samples/validate
1232 cp $(SAMPDIR)/validate/makefile.unx $(DISTDIR)/samples/validate
1233 cp $(SAMPDIR)/validate/*.cpp $(DISTDIR)/samples/validate
1234 cp $(SAMPDIR)/validate/*.h $(DISTDIR)/samples/validate
1235 cp $(SAMPDIR)/validate/*.xpm $(DISTDIR)/samples/validate
1236
1237 mkdir $(DISTDIR)/samples/wizard
1238 cp $(SAMPDIR)/wizard/Makefile.in $(DISTDIR)/samples/wizard
1239 cp $(SAMPDIR)/wizard/makefile.unx $(DISTDIR)/samples/wizard
1240 cp $(SAMPDIR)/wizard/*.cpp $(DISTDIR)/samples/wizard
1241 cp $(SAMPDIR)/wizard/*.xpm $(DISTDIR)/samples/wizard
1242
1243 mkdir $(DISTDIR)/samples/widgets
1244 mkdir $(DISTDIR)/samples/widgets/icons
1245 cp $(SAMPDIR)/widgets/Makefile.in $(DISTDIR)/samples/widgets
1246 cp $(SAMPDIR)/widgets/*.cpp $(DISTDIR)/samples/widgets
1247 cp $(SAMPDIR)/widgets/*.h $(DISTDIR)/samples/widgets
1248 cp $(SAMPDIR)/widgets/*.rc $(DISTDIR)/samples/widgets
1249 cp $(SAMPDIR)/widgets/icons/*.xpm $(DISTDIR)/samples/widgets/icons
1250
1251UTILS_DIST: ALL_GUI_DIST
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
1270
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
1281MISC_DIST: ALL_GUI_DIST
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
1287
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
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
1299 cp $(DOCDIR)/latex/wx/*.inc $(DISTDIR)/docs/latex/wx
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
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:
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
1315 mkdir $(DISTDIR)/wxPython/contrib/stc/gtk
1316 mkdir $(DISTDIR)/wxPython/contrib/xrc
1317 mkdir $(DISTDIR)/wxPython/demo
1318 mkdir $(DISTDIR)/wxPython/demo/bitmaps
1319 mkdir $(DISTDIR)/wxPython/demo/data
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
1325 mkdir $(DISTDIR)/wxPython/wxPython/lib/mixins
1326
1327 cp $(WXDIR)/wxPython/*.txt $(DISTDIR)/wxPython
1328 cp $(WXDIR)/wxPython/*.py $(DISTDIR)/wxPython
1329 cp $(WXDIR)/wxPython/setup.cfg $(DISTDIR)/wxPython
1330 cp $(WXDIR)/wxPython/MANIFEST.in $(DISTDIR)/wxPython
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
1335 -cp $(WXDIR)/wxPython/contrib/stc/gtk/* $(DISTDIR)/wxPython/contrib/stc/gtk
1336 -cp $(WXDIR)/wxPython/contrib/xrc/xrc.* $(DISTDIR)/wxPython/contrib/xrc
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
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
1345 cp $(WXDIR)/wxPython/wxPython/lib/mixins/*.py $(DISTDIR)/wxPython/wxPython/lib/mixins
1346
1347distclean:
1348 $(RM) -r _dist_dir
1349
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)..."
1354 @cd _dist_dir && tar ch $(DISTDIRNAME) | gzip -f9 > ../$(WXARCHIVE);
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
1367dist: @GUIDIST@
1368 @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
1369 @cd _dist_dir && tar ch $(DISTDIRNAME) | gzip -f9 > ../$(WXARCHIVE);
1370 @if test "$(USE_GUI)" = 1; then \
1371 cd $(DISTDIR); \
1372 mv samples wxSamples-$(VER_SUFFIX); \
1373 echo "*** Creating wxSamples archive..."; \
1374 tar ch wxSamples-$(VER_SUFFIX) | gzip -f9 > ../../$(WXSAMPLES); \
1375 mv wxSamples-$(VER_SUFFIX) samples; \
1376 mv demos wxDemos-$(VER_SUFFIX); \
1377 echo "*** Creating wxDemos archive..."; \
1378 tar ch wxDemos-$(VER_SUFFIX) | gzip -f9 > ../../$(WXDEMOS); \
1379 mv wxDemos-$(VER_SUFFIX) demos; \
1380 fi
1381
1382bzip-dist-only:
1383 @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
1384 @cd _dist_dir && tar ch $(DISTDIRNAME) | bzip2 -f9 > ../$(WXARCHIVE_BZIP);
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
1396
1397bzip-dist: @GUIDIST@
1398 @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
1399 @cd _dist_dir && tar ch $(DISTDIRNAME) | bzip2 -f9 > ../$(WXARCHIVE_BZIP)
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
1410debian-dist: debian-native-dist debian-msw-dirs MSW_DIST
1411 mkdir $(DISTDIR)/debian
1412 -cp $(WXDIR)/debian/* $(DISTDIR)/debian
1413 cp $(DOCDIR)/licence.txt $(DISTDIR)/docs
1414 cp $(DOCDIR)/licendoc.txt $(DISTDIR)/docs
1415 cp $(DOCDIR)/preamble.txt $(DISTDIR)/docs
1416 rm -f $(DISTDIR)/*.spec
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
1422 find $(DISTDIR) \( -name "CVS" -o -name ".cvsignore" -o -name "*.dsp" -o -name "*.dsw" -o -name "*.hh*" -o \
1423 \( -name "makefile.*" -a ! -name "makefile.unx" \) \) \
1424 -print0 | xargs -0 rm -rf
1425
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)
1428
1429debian-native-dist: @GUIDIST@ UNIV_DIST MANUAL_DIST PYTHON_DIST
1430
1431debian-msw-dirs:
1432 mkdir $(DISTDIR)/include/wx/msw
1433 mkdir $(DISTDIR)/src/msw
1434
1435
1436clean:
1437 $(RM) *.o
1438 $(RM) *.d
1439 $(RM) parser.c
1440 $(RM) lexer.c
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/*
1445
1446cleanall: clean
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"` .
1462