3 # Author: Julian Smart, Robert Roebling, Vadim Zeitlin
6 # Copyright:(c) 1993, AIAI, University of Edinburgh,
7 # Copyright:(c) 1999, Vadim Zeitlin
8 # Copyright:(c) 1999, Robert Roebling
10 # Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a
12 ###################################################################
14 include ./src/make.env
16 ############## override make.env for PIC ##########################
18 # Clears all default suffixes
19 .SUFFIXES: .o .cpp .c .cxx
22 $(CCC) -c @DEP_INFO_FLAGS@ $(CFLAGS) $(PICFLAGS) -o $@ $<
25 $(CC) -c @DEP_INFO_FLAGS@ $(CPPFLAGS) $(PICFLAGS) -o $@ $<
28 $(CC) -c @DEP_INFO_FLAGS@ $(CPPFLAGS) $(PICFLAGS) -o $@ $<
30 ########################### Paths #################################
34 VP1 = @top_srcdir@/src/common
35 VP2 = @top_srcdir@/src/@TOOLKIT_DIR@
36 VP3 = @top_srcdir@/src/motif/xmcombo
37 VP4 = @top_srcdir@/src/generic
38 VP5 = @top_srcdir@/src/unix
39 VP6 = @top_srcdir@/src/html
40 VP7 = @top_srcdir@/src/png
41 VP8 = @top_srcdir@/src/jpeg
42 VP9 = @top_srcdir@/src/tiff
43 VP10 = @top_srcdir@/src/zlib
44 VP11 = @top_srcdir@/src/iodbc
45 VP12 = @top_srcdir@/src/ogl
47 # the comment at the end of the next line is needed because otherwise autoconf
48 # would remove this line completely - it contains a built-in hack to remove
49 # any VPATH assignment not containing ':'
50 VPATH = $(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@$(VP10)@PATH_IFS@$(VP11)@PATH_IFS@$(VP12) # ':' for autoconf
52 top_srcdir = @top_srcdir@
54 exec_prefix = @exec_prefix@
58 libexecdir = @libexecdir@
60 sysconfdir = @sysconfdir@
61 sharedstatedir = @sharedstatedir@
62 localstatedir = @localstatedir@
66 includedir = @includedir@
67 oldincludedir = /usr/include
71 pkgdatadir = $(datadir)/@PACKAGE@
72 pkglibdir = $(libdir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
78 INSTALL_PROGRAM = @INSTALL_PROGRAM@
79 INSTALL_DATA = @INSTALL_DATA@
80 # my autoconf doesn't set this
81 #INSTALL_SCRIPT = @INSTALL_SCRIPT@
82 # maybe do an additional chmod if needed?
83 INSTALL_SCRIPT = @INSTALL@
84 transform = @program_transform_name@
92 build_alias = @build_alias@
93 build_triplet = @build@
94 host_alias = @host_alias@
96 target_alias = @target_alias@
97 target_triplet = @target@
101 ############################# Dirs #################################
103 WXDIR = $(top_srcdir)
105 # Subordinate library possibilities
107 SRCDIR = $(WXDIR)/src
108 GENDIR = $(WXDIR)/src/generic
109 COMMDIR = $(WXDIR)/src/common
110 HTMLDIR = $(WXDIR)/src/html
111 OGLDIR = $(WXDIR)/src/ogl
112 UNIXDIR = $(WXDIR)/src/unix
113 PNGDIR = $(WXDIR)/src/png
114 JPEGDIR = $(WXDIR)/src/jpeg
115 TIFFDIR = $(WXDIR)/src/tiff
116 ZLIBDIR = $(WXDIR)/src/zlib
117 GTKDIR = $(WXDIR)/src/gtk
118 MOTIFDIR = $(WXDIR)/src/motif
119 MSWDIR = $(WXDIR)/src/msw
120 PMDIR = $(WXDIR)/src/os2
121 ODBCDIR = $(WXDIR)/src/iodbc
122 INCDIR = $(WXDIR)/include
123 SAMPDIR = $(WXDIR)/samples
124 DEMODIR = $(WXDIR)/demos
125 UTILSDIR = $(WXDIR)/utils
126 MISCDIR = $(WXDIR)/misc
128 DOCDIR = $(WXDIR)/docs
130 ########################## Archive name ###############################
132 WXARCHIVE = @DISTDIR@-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tgz
133 WXGLARCHIVE = @DISTDIR@-gl-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tgz
134 WXSAMPLES = wx$(TOOLKIT)-samples-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tgz
135 WXDEMOS = wx$(TOOLKIT)-demos-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tgz
136 DISTDIR = ./_dist_dir/@DISTDIR@
138 ############################## Files ##################################
140 # this line will include a file which defines ALL_SOURCES, ALL_OBJECTS,
141 # ALL_DEPFILES and ALL_HEADERS variables with the complete list of .cpp, .o,
142 # .d and .h/.inl files for the current toolkit
143 include $(top_srcdir)/@PORT_FILES@
145 SOURCES = $(ALL_SOURCES)
146 HEADERS = $(ALL_HEADERS)
148 # for the objects and depfiles, we might be bulding only part of them
149 # depending on configure arguments, so select a subset of ALL
150 OBJECTS = @ALL_OBJECTS@
151 DEPFILES = @ALL_DEPFILES@
153 # the object files of sublibraries (we assume that they don't change [often],
154 # so we don't generate these lists with tmake but embed them here)
289 ############################## Rules ##################################
291 BURNT_LIBRARY_NAME = @BURNT_LIBRARY_NAME@
292 BURNT_LIBRARY_NAME_GL = @BURNT_LIBRARY_NAME_GL@
296 @WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
298 $(AR) $(AROPTIONS) ./lib/$@ $(OBJECTS)
301 @WX_LIBRARY_NAME_STATIC_GL@: glcanvas.o
303 $(AR) $(AROPTIONS) ./lib/$@ glcanvas.o
306 @WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
308 $(SHARED_LD) ./lib/$@ $(BURNT_LIBRARY_NAME) $(OBJECTS) $(EXTRALIBS)
310 @WX_LIBRARY_NAME_SHARED_GL@: glcanvas.o
312 $(SHARED_LD) ./lib/$@ $(BURNT_LIBRARY_NAME_GL) glcanvas.o $(EXTRALIBS)
314 CREATE_LINKS: @WX_LIBRARY_NAME_SHARED@
315 @$(RM) ./lib/@WX_LIBRARY_LINK1@
316 @$(RM) ./lib/@WX_LIBRARY_LINK2@
317 @$(RM) ./lib/@WX_LIBRARY_LINK3@
319 && $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK1@ \
320 && $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK2@ \
321 && $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK3@
323 CREATE_LINKS_GL: @WX_LIBRARY_NAME_SHARED_GL@
324 @$(RM) ./lib/@WX_LIBRARY_LINK1_GL@
325 @$(RM) ./lib/@WX_LIBRARY_LINK2_GL@
326 @$(RM) ./lib/@WX_LIBRARY_LINK3_GL@
328 && $(LN_S) @WX_TARGET_LIBRARY_GL@ @WX_LIBRARY_LINK1_GL@ \
329 && $(LN_S) @WX_TARGET_LIBRARY_GL@ @WX_LIBRARY_LINK2_GL@ \
330 && $(LN_S) @WX_TARGET_LIBRARY_GL@ @WX_LIBRARY_LINK3_GL@
332 CREATE_INSTALLED_LINKS: preinstall
333 $(RM) $(libdir)/@WX_LIBRARY_LINK1@
334 $(RM) $(libdir)/@WX_LIBRARY_LINK2@
335 $(RM) $(libdir)/@WX_LIBRARY_LINK3@
337 && $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK1@ \
338 && $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK2@ \
339 && $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK3@
341 CREATE_INSTALLED_LINKS_GL: preinstall
342 $(RM) $(libdir)/@WX_LIBRARY_LINK1_GL@
343 $(RM) $(libdir)/@WX_LIBRARY_LINK2_GL@
344 $(RM) $(libdir)/@WX_LIBRARY_LINK3_GL@
346 && $(LN_S) @WX_LIBRARY_NAME_SHARED_GL@ @WX_LIBRARY_LINK1_GL@ \
347 && $(LN_S) @WX_LIBRARY_NAME_SHARED_GL@ @WX_LIBRARY_LINK2_GL@ \
348 && $(LN_S) @WX_LIBRARY_NAME_SHARED_GL@ @WX_LIBRARY_LINK3_GL@
350 $(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h
352 parser.o: parser.c lexer.c
353 $(CCLEX) -c $(CFLAGS) $(PICFLAGS) -o $@ parser.c
355 parser.c: $(COMMDIR)/parser.y lexer.c
356 $(YACC) $(COMMDIR)/parser.y
357 @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
358 sed -e "s/BUFSIZ/5000/g" | \
359 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
360 sed -e "s/yy/PROIO_yy/g" | \
361 sed -e "s/input/PROIO_input/g" | \
362 sed -e "s/unput/PROIO_unput/g" > parser.c
365 lexer.c: $(COMMDIR)/lexer.l
366 $(LEX) $(COMMDIR)/lexer.l
367 @sed -e "s;$(COMMDIR)/@LEX_STEM@.c;lexer.l;g" < @LEX_STEM@.c | \
368 sed -e "s/yy/PROIO_yy/g" | \
369 sed -e "s/input/PROIO_input/g" | \
370 sed -e "s/unput/PROIO_unput/g" > lexer.c
375 afminstall: preinstall
376 $(INSTALL) -d $(datadir)
377 $(INSTALL) -d $(datadir)/wx
378 $(INSTALL) -d $(datadir)/wx/afm
379 $(INSTALL) -d $(datadir)/wx/gs_afm
380 $(INSTALL_DATA) $(top_srcdir)/misc/afm/*.afm $(datadir)/wx/afm
381 $(INSTALL_DATA) $(top_srcdir)/misc/gs_afm/*.afm $(datadir)/wx/gs_afm
383 # this is the real install target: copies the library, wx-config and the
384 # headers to the installation directory
385 preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx@TOOLKIT_DIR@-config
387 @echo " Installing wxWindows..."
390 $(INSTALL) -d $(prefix)
391 $(INSTALL) -d $(bindir)
392 $(INSTALL) -d $(libdir)
394 $(INSTALL_SCRIPT) $(top_builddir)/wx@TOOLKIT_DIR@-config $(bindir)/wx@TOOLKIT_DIR@-config
395 cd $(bindir) && rm -f wx-config && $(LN_S) wx@TOOLKIT_DIR@-config wx-config
396 $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@
398 $(INSTALL) -d $(libdir)/wx
399 $(INSTALL) -d $(libdir)/wx/include
400 $(INSTALL) -d $(libdir)/wx/include/wx
401 $(INSTALL) -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@
402 $(INSTALL_DATA) $(top_builddir)/include/wx/@TOOLKIT_DIR@/setup.h $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
404 $(INSTALL) -d $(includedir)/wx
405 @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/@TOOLKIT_DIR@; fi
406 @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/html; fi
407 @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/generic; fi
408 $(INSTALL) -d $(includedir)/wx/protocol
409 $(INSTALL) -d $(includedir)/wx/unix
410 @list='$(HEADERS)'; for p in $$list; do \
411 $(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p; \
412 echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \
415 install: @AFMINSTALL@ @WX_ALL_INSTALLED@
417 @echo " The installation of wxWindows is finished. On certain"
418 @echo " platforms (e.g. Linux) you'll now have to run ldconfig"
419 @echo " if you installed a shared library and also modify"
420 @echo " LD_LIBRARY_PATH (or equivalent) environment variable."
422 @echo " wxWindows comes with no guarantees and doesn't claim"
423 @echo " to be suitable for any purpose."
425 @echo " Read the wxWindows Licence on licencing conditions."
430 @echo " Uninstalling wxWindows..."
432 @echo " Removing library..."
433 @$(RM) $(libdir)/@WX_TARGET_LIBRARY@
434 @$(RM) $(libdir)/@WX_LIBRARY_LINK1@
435 @$(RM) $(libdir)/@WX_LIBRARY_LINK2@
436 @$(RM) $(libdir)/@WX_LIBRARY_LINK3@
437 @echo " Removing GL library..."
438 @$(RM) $(libdir)/@WX_TARGET_LIBRARY_GL@
439 @$(RM) $(libdir)/@WX_LIBRARY_LINK1_GL@
440 @$(RM) $(libdir)/@WX_LIBRARY_LINK2_GL@
441 @$(RM) $(libdir)/@WX_LIBRARY_LINK3_GL@
442 @echo " Removing helper files..."
443 @$(RM) $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
444 @$(RM) $(bindir)/wx-config
445 @$(RM) $(bindir)/wx@TOOLKIT_DIR@-config
446 @$(RM) $(datadir)/wx/afm/*
447 @$(RM) $(datadir)/wx/gs_afm/*
448 # FIXME: wxBase doesnt install these next 3 dirs.
449 @-rmdir $(datadir)/wx/gs_afm
450 @-rmdir $(datadir)/wx/afm
451 @-rmdir $(datadir)/wx
452 @echo " Removing headers..."
453 @list='$(HEADERS)'; for p in $$list; do \
454 $(RM) $(includedir)/wx/$$p; \
456 @echo " Removing directories..."
457 @if test -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@; then rmdir $(libdir)/wx/include/wx/@TOOLKIT_DIR@; fi
458 @if test -d $(libdir)/wx/include/wx; then rmdir $(libdir)/wx/include/wx; fi
459 @if test -d $(libdir)/wx/include; then rmdir $(libdir)/wx/include; fi
460 @if test -d $(libdir)/wx; then rmdir $(libdir)/wx; fi
461 @if test -d $(includedir)/wx/gtk; then rmdir $(includedir)/wx/gtk; fi
462 @if test -d $(includedir)/wx/motif; then rmdir $(includedir)/wx/motif; fi
463 @if test -d $(includedir)/wx/msw; then rmdir $(includedir)/wx/msw; fi
464 @if test -d $(includedir)/wx/html; then rmdir $(includedir)/wx/html; fi
465 @if test -d $(includedir)/wx/ogl; then rmdir $(includedir)/wx/ogl; fi
466 @if test -d $(includedir)/wx/unix; then rmdir $(includedir)/wx/unix; fi
467 @if test -d $(includedir)/wx/generic; then rmdir $(includedir)/wx/generic; fi
468 @if test -d $(includedir)/wx/protocol; then rmdir $(includedir)/wx/protocol; fi
469 @if test -d $(includedir)/wx; then rmdir $(includedir)/wx; fi
471 # this target should copy only the files common to really all ports (including
472 # wxBase) to the dist dir
476 cp $(WXDIR)/configure.in $(DISTDIR)
477 cp $(WXDIR)/configure $(DISTDIR)
478 cp $(WXDIR)/config.sub $(DISTDIR)
479 cp $(WXDIR)/config.guess $(DISTDIR)
480 cp $(WXDIR)/install-sh $(DISTDIR)
481 cp $(WXDIR)/mkinstalldirs $(DISTDIR)
482 cp $(WXDIR)/wx-config.in $(DISTDIR)
483 cp $(WXDIR)/setup.h.in $(DISTDIR)
484 cp $(WXDIR)/Makefile.in $(DISTDIR)
485 cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
486 cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
487 cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt
489 # this target is the common part of distribution script for all GUI toolkits,
490 # but is not used when building wxBase distribution
491 ALL_GUI_DIST: ALL_DIST
492 cp $(WXDIR)/wx$(TOOLKIT).spec $(DISTDIR)
493 cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt
494 cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES.txt
495 cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README.txt
496 cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt
497 mkdir $(DISTDIR)/include
498 mkdir $(DISTDIR)/include/wx
499 mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)
500 mkdir $(DISTDIR)/include/wx/generic
501 mkdir $(DISTDIR)/include/wx/html
502 mkdir $(DISTDIR)/include/wx/ogl
503 mkdir $(DISTDIR)/include/wx/protocol
504 mkdir $(DISTDIR)/include/wx/unix
505 cp $(INCDIR)/wx/*.h $(DISTDIR)/include/wx
506 cp $(INCDIR)/wx/*.inl $(DISTDIR)/include/wx
507 cp $(INCDIR)/wx/*.cpp $(DISTDIR)/include/wx
508 cp $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic
509 cp $(INCDIR)/wx/generic/*.xpm $(DISTDIR)/include/wx/generic
510 cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
511 cp $(INCDIR)/wx/ogl/*.h $(DISTDIR)/include/wx/ogl
512 cp $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
513 cp $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol
515 mkdir $(DISTDIR)/src/common
516 mkdir $(DISTDIR)/src/generic
517 mkdir $(DISTDIR)/src/html
518 mkdir $(DISTDIR)/src/ogl
519 mkdir $(DISTDIR)/src/html/bitmaps
520 mkdir $(DISTDIR)/src/$(TOOLKITDIR)
521 mkdir $(DISTDIR)/src/png
522 mkdir $(DISTDIR)/src/jpeg
523 mkdir $(DISTDIR)/src/tiff
524 mkdir $(DISTDIR)/src/zlib
525 mkdir $(DISTDIR)/src/iodbc
526 mkdir $(DISTDIR)/src/unix
527 cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)/@PORT_FILES@
528 cp $(SRCDIR)/*.in $(DISTDIR)/src
529 cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
530 cp $(COMMDIR)/*.c $(DISTDIR)/src/common
531 cp $(UNIXDIR)/*.c $(DISTDIR)/src/unix
532 cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
533 cp $(COMMDIR)/*.inc $(DISTDIR)/src/common
534 cp $(COMMDIR)/*.l $(DISTDIR)/src/common
535 cp $(COMMDIR)/*.h $(DISTDIR)/src/common
536 cp $(COMMDIR)/*.y $(DISTDIR)/src/common
537 cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic
538 cp $(OGLDIR)/*.cpp $(DISTDIR)/src/ogl
539 cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
540 cp $(HTMLDIR)/bitmaps/*.xpm $(DISTDIR)/src/html/bitmaps
541 cp $(PNGDIR)/*.h $(DISTDIR)/src/png
542 cp $(PNGDIR)/*.c $(DISTDIR)/src/png
543 cp $(PNGDIR)/README $(DISTDIR)/src/png
544 cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
545 cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
546 cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
547 cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
548 cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
549 cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg
550 cp $(TIFFDIR)/*.h $(DISTDIR)/src/tiff
551 cp $(TIFFDIR)/*.c $(DISTDIR)/src/tiff
552 cp $(TIFFDIR)/README $(DISTDIR)/src/tiff
553 cp $(ODBCDIR)/*.h $(DISTDIR)/src/iodbc
554 cp $(ODBCDIR)/*.c $(DISTDIR)/src/iodbc
555 cp $(ODBCDIR)/*.ci $(DISTDIR)/src/iodbc
556 cp $(ODBCDIR)/*.exp $(DISTDIR)/src/iodbc
557 cp $(ODBCDIR)/README $(DISTDIR)/src/iodbc
558 cp $(ODBCDIR)/NEWS $(DISTDIR)/src/iodbc
559 cp $(ODBCDIR)/Changes.log $(DISTDIR)/src/iodbc
562 mkdir $(DISTDIR)/include
563 mkdir $(DISTDIR)/include/wx
564 mkdir $(DISTDIR)/include/wx/protocol
565 mkdir $(DISTDIR)/include/wx/unix
567 mkdir $(DISTDIR)/src/common
568 mkdir $(DISTDIR)/src/unix
569 cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)/@PORT_FILES@
570 cp $(WXDIR)/@RPM_FILES@ $(DISTDIR)/@RPM_FILES@
571 cp $(WXDIR)/@RPM_SPEC@ $(DISTDIR)/@RPM_SPEC@
572 cp $(WXDIR)/wxBase.dsp $(DISTDIR)
573 cp $(DOCDIR)/install.txt $(DISTDIR)/INSTALL.txt
574 cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
575 cp $(DOCDIR)/readme.txt $(DISTDIR)/README.txt
576 cp $(DOCDIR)/todo.txt $(DISTDIR)/TODO.txt
577 cp $(SRCDIR)/*.in $(DISTDIR)/src
578 list='$(HEADERS)'; for p in $$list; do \
579 cp $(WXDIR)/include/wx/$$p $(DISTDIR)/include/wx/$$p; \
581 list='$(SOURCES)'; for p in $$list; do \
582 cp $(WXDIR)/src/$$p $(DISTDIR)/src/$$p; \
585 GTK_DIST: ALL_GUI_DIST
586 cp $(WXDIR)/wxGTK.spec $(DISTDIR)
587 cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
588 cp $(INCDIR)/wx/gtk/*.xpm $(DISTDIR)/include/wx/gtk
589 cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk
590 cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
591 cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
593 MOTIF_DIST: ALL_GUI_DIST
594 cp $(WXDIR)/wxMOTIF.spec $(DISTDIR)
595 cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
596 cp $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif
597 cp $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif
598 mkdir $(DISTDIR)/src/motif/xmcombo
599 cp $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo
600 cp $(MOTIFDIR)/xmcombo/*.h $(DISTDIR)/src/motif/xmcombo
601 cp $(MOTIFDIR)/xmcombo/copying.txt $(DISTDIR)/src/motif/xmcombo
603 MSW_DIST: ALL_GUI_DIST
604 cp $(WXDIR)/wxWINE.spec $(DISTDIR)
605 cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
606 cp $(INCDIR)/wx/msw/*.cur $(DISTDIR)/include/wx/msw
607 cp $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw
608 cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
609 cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
610 cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
611 cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
612 cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
613 mkdir $(DISTDIR)/src/msw/ole
614 cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
616 DEMOS_DIST: ALL_GUI_DIST
617 mkdir $(DISTDIR)/demos
618 cp $(DEMODIR)/Makefile.in $(DISTDIR)/demos
619 cp $(DEMODIR)/configure $(DISTDIR)/demos
620 cp $(DEMODIR)/configure.in $(DISTDIR)/demos
622 cp -R $(DEMODIR)/dbbrowse $(DISTDIR)/demos/dbbrowse
624 mkdir $(DISTDIR)/demos/bombs
625 cp $(DEMODIR)/bombs/Makefile.in $(DISTDIR)/demos/bombs
626 cp $(DEMODIR)/bombs/makefile.unx $(DISTDIR)/demos/bombs
627 cp $(DEMODIR)/bombs/*.cpp $(DISTDIR)/demos/bombs
628 cp $(DEMODIR)/bombs/*.h $(DISTDIR)/demos/bombs
629 cp $(DEMODIR)/bombs/*.xpm $(DISTDIR)/demos/bombs
630 cp $(DEMODIR)/bombs/readme.txt $(DISTDIR)/demos/bombs
632 mkdir $(DISTDIR)/demos/forty
633 cp $(DEMODIR)/forty/Makefile.in $(DISTDIR)/demos/forty
634 cp $(DEMODIR)/forty/makefile.unx $(DISTDIR)/demos/forty
635 cp $(DEMODIR)/forty/*.h $(DISTDIR)/demos/forty
636 cp $(DEMODIR)/forty/*.cpp $(DISTDIR)/demos/forty
637 cp $(DEMODIR)/forty/*.xpm $(DISTDIR)/demos/forty
638 cp $(DEMODIR)/forty/*.xbm $(DISTDIR)/demos/forty
640 mkdir $(DISTDIR)/demos/life
641 mkdir $(DISTDIR)/demos/life/bitmaps
642 cp $(DEMODIR)/life/Makefile.in $(DISTDIR)/demos/life
643 cp $(DEMODIR)/life/makefile.unx $(DISTDIR)/demos/life
644 cp $(DEMODIR)/life/*.cpp $(DISTDIR)/demos/life
645 cp $(DEMODIR)/life/*.h $(DISTDIR)/demos/life
646 cp $(DEMODIR)/life/*.xpm $(DISTDIR)/demos/life
647 cp $(DEMODIR)/life/*.inc $(DISTDIR)/demos/life
648 cp $(DEMODIR)/life/bitmaps/*.xpm $(DISTDIR)/demos/life/bitmaps
650 mkdir $(DISTDIR)/demos/poem
651 cp $(DEMODIR)/poem/Makefile.in $(DISTDIR)/demos/poem
652 cp $(DEMODIR)/poem/makefile.unx $(DISTDIR)/demos/poem
653 cp $(DEMODIR)/poem/*.h $(DISTDIR)/demos/poem
654 cp $(DEMODIR)/poem/*.cpp $(DISTDIR)/demos/poem
655 cp $(DEMODIR)/poem/*.xpm $(DISTDIR)/demos/poem
656 cp $(DEMODIR)/poem/*.dat $(DISTDIR)/demos/poem
657 cp $(DEMODIR)/poem/*.txt $(DISTDIR)/demos/poem
659 mkdir $(DISTDIR)/demos/fractal
660 cp $(DEMODIR)/fractal/Makefile.in $(DISTDIR)/demos/fractal
661 cp $(DEMODIR)/fractal/makefile.unx $(DISTDIR)/demos/fractal
662 cp $(DEMODIR)/fractal/*.cpp $(DISTDIR)/demos/fractal
664 SAMPLES_DIST: ALL_GUI_DIST
665 mkdir $(DISTDIR)/samples
666 cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
667 cp $(SAMPDIR)/configure $(DISTDIR)/samples
668 cp $(SAMPDIR)/configure.in $(DISTDIR)/samples
670 mkdir $(DISTDIR)/samples/caret
671 cp $(SAMPDIR)/caret/Makefile.in $(DISTDIR)/samples/caret
672 cp $(SAMPDIR)/caret/makefile.unx $(DISTDIR)/samples/caret
673 cp $(SAMPDIR)/caret/*.cpp $(DISTDIR)/samples/caret
674 cp $(SAMPDIR)/caret/*.xpm $(DISTDIR)/samples/caret
676 mkdir $(DISTDIR)/samples/calendar
677 cp $(SAMPDIR)/calendar/Makefile.in $(DISTDIR)/samples/calendar
678 cp $(SAMPDIR)/calendar/makefile.unx $(DISTDIR)/samples/calendar
679 cp $(SAMPDIR)/calendar/*.cpp $(DISTDIR)/samples/calendar
681 mkdir $(DISTDIR)/samples/config
682 cp $(SAMPDIR)/config/Makefile.in $(DISTDIR)/samples/config
683 cp $(SAMPDIR)/config/makefile.unx $(DISTDIR)/samples/config
684 cp $(SAMPDIR)/config/*.cpp $(DISTDIR)/samples/config
686 mkdir $(DISTDIR)/samples/console
687 cp $(SAMPDIR)/console/Makefile.in $(DISTDIR)/samples/console
688 cp $(SAMPDIR)/console/makefile.unx $(DISTDIR)/samples/console
689 cp $(SAMPDIR)/console/*.cpp $(DISTDIR)/samples/console
691 mkdir $(DISTDIR)/samples/controls
692 mkdir $(DISTDIR)/samples/controls/icons
693 cp $(SAMPDIR)/controls/Makefile.in $(DISTDIR)/samples/controls
694 cp $(SAMPDIR)/controls/makefile.unx $(DISTDIR)/samples/controls
695 cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls
696 cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls
697 cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons
699 mkdir $(DISTDIR)/samples/checklst
700 cp $(SAMPDIR)/checklst/Makefile.in $(DISTDIR)/samples/checklst
701 cp $(SAMPDIR)/checklst/makefile.unx $(DISTDIR)/samples/checklst
702 cp $(SAMPDIR)/checklst/*.cpp $(DISTDIR)/samples/checklst
703 cp $(SAMPDIR)/checklst/*.xpm $(DISTDIR)/samples/checklst
705 mkdir $(DISTDIR)/samples/db
706 cp $(SAMPDIR)/db/Makefile.in $(DISTDIR)/samples/db
707 cp $(SAMPDIR)/db/makefile.unx $(DISTDIR)/samples/db
708 cp $(SAMPDIR)/db/*.cpp $(DISTDIR)/samples/db
709 cp $(SAMPDIR)/db/*.h $(DISTDIR)/samples/db
710 cp $(SAMPDIR)/db/*.xpm $(DISTDIR)/samples/db
712 mkdir $(DISTDIR)/samples/dialogs
713 cp $(SAMPDIR)/dialogs/Makefile.in $(DISTDIR)/samples/dialogs
714 cp $(SAMPDIR)/dialogs/makefile.unx $(DISTDIR)/samples/dialogs
715 cp $(SAMPDIR)/dialogs/*.cpp $(DISTDIR)/samples/dialogs
716 cp $(SAMPDIR)/dialogs/*.h $(DISTDIR)/samples/dialogs
717 cp $(SAMPDIR)/dialogs/*.txt $(DISTDIR)/samples/dialogs
719 mkdir $(DISTDIR)/samples/dnd
720 cp $(SAMPDIR)/dnd/Makefile.in $(DISTDIR)/samples/dnd
721 cp $(SAMPDIR)/dnd/makefile.unx $(DISTDIR)/samples/dnd
722 cp $(SAMPDIR)/dnd/*.wxr $(DISTDIR)/samples/dnd
723 cp $(SAMPDIR)/dnd/*.cpp $(DISTDIR)/samples/dnd
724 cp $(SAMPDIR)/dnd/*.xpm $(DISTDIR)/samples/dnd
725 cp $(SAMPDIR)/dnd/*.txt $(DISTDIR)/samples/dnd
726 cp $(SAMPDIR)/dnd/*.png $(DISTDIR)/samples/dnd
728 mkdir $(DISTDIR)/samples/docview
729 cp $(SAMPDIR)/docview/Makefile.in $(DISTDIR)/samples/docview
730 cp $(SAMPDIR)/docview/makefile.unx $(DISTDIR)/samples/docview
731 cp $(SAMPDIR)/docview/*.cpp $(DISTDIR)/samples/docview
732 cp $(SAMPDIR)/docview/*.h $(DISTDIR)/samples/docview
733 cp $(SAMPDIR)/docview/*.xpm $(DISTDIR)/samples/docview
735 mkdir $(DISTDIR)/samples/docvwmdi
736 cp $(SAMPDIR)/docvwmdi/Makefile.in $(DISTDIR)/samples/docvwmdi
737 cp $(SAMPDIR)/docvwmdi/makefile.unx $(DISTDIR)/samples/docvwmdi
738 cp $(SAMPDIR)/docvwmdi/*.cpp $(DISTDIR)/samples/docvwmdi
739 cp $(SAMPDIR)/docvwmdi/*.h $(DISTDIR)/samples/docvwmdi
741 mkdir $(DISTDIR)/samples/drawing
742 cp $(SAMPDIR)/drawing/Makefile.in $(DISTDIR)/samples/drawing
743 cp $(SAMPDIR)/drawing/makefile.unx $(DISTDIR)/samples/drawing
744 cp $(SAMPDIR)/drawing/*.cpp $(DISTDIR)/samples/drawing
745 cp $(SAMPDIR)/drawing/*.xpm $(DISTDIR)/samples/drawing
747 mkdir $(DISTDIR)/samples/dynamic
748 cp $(SAMPDIR)/dynamic/Makefile.in $(DISTDIR)/samples/dynamic
749 cp $(SAMPDIR)/dynamic/makefile.unx $(DISTDIR)/samples/dynamic
750 cp $(SAMPDIR)/dynamic/*.cpp $(DISTDIR)/samples/dynamic
751 cp $(SAMPDIR)/dynamic/*.xpm $(DISTDIR)/samples/dynamic
753 mkdir $(DISTDIR)/samples/exec
754 cp $(SAMPDIR)/exec/Makefile.in $(DISTDIR)/samples/exec
755 cp $(SAMPDIR)/exec/*.cpp $(DISTDIR)/samples/exec
757 mkdir $(DISTDIR)/samples/ipc
758 cp $(SAMPDIR)/ipc/Makefile.in $(DISTDIR)/samples/ipc
759 cp $(SAMPDIR)/ipc/*.xpm $(DISTDIR)/samples/ipc
760 cp $(SAMPDIR)/ipc/*.h $(DISTDIR)/samples/ipc
761 cp $(SAMPDIR)/ipc/*.cpp $(DISTDIR)/samples/ipc
763 mkdir $(DISTDIR)/samples/font
764 cp $(SAMPDIR)/font/Makefile.in $(DISTDIR)/samples/font
765 cp $(SAMPDIR)/font/makefile.unx $(DISTDIR)/samples/font
766 cp $(SAMPDIR)/font/*.cpp $(DISTDIR)/samples/font
768 mkdir $(DISTDIR)/samples/grid
769 cp $(SAMPDIR)/grid/Makefile.in $(DISTDIR)/samples/grid
770 cp $(SAMPDIR)/grid/makefile.unx $(DISTDIR)/samples/grid
771 cp $(SAMPDIR)/grid/*.cpp $(DISTDIR)/samples/grid
773 mkdir $(DISTDIR)/samples/help
774 mkdir $(DISTDIR)/samples/help/doc
775 cp $(SAMPDIR)/help/Makefile.in $(DISTDIR)/samples/help
776 cp $(SAMPDIR)/help/makefile.unx $(DISTDIR)/samples/help
777 cp $(SAMPDIR)/help/*.cpp $(DISTDIR)/samples/help
778 cp $(SAMPDIR)/help/*.xpm $(DISTDIR)/samples/help
779 cp $(SAMPDIR)/help/doc/*.* $(DISTDIR)/samples/help/doc
781 mkdir $(DISTDIR)/samples/html
782 cp $(SAMPDIR)/html/Makefile.in $(DISTDIR)/samples/html
783 mkdir $(DISTDIR)/samples/html/about
784 cp $(SAMPDIR)/html/about/Makefile.in $(DISTDIR)/samples/html/about
785 cp $(SAMPDIR)/html/about/*.cpp $(DISTDIR)/samples/html/about
786 mkdir $(DISTDIR)/samples/html/about/data
787 cp $(SAMPDIR)/html/about/data/*.htm $(DISTDIR)/samples/html/about/data
788 cp $(SAMPDIR)/html/about/data/*.png $(DISTDIR)/samples/html/about/data
789 mkdir $(DISTDIR)/samples/html/help
790 cp $(SAMPDIR)/html/help/Makefile.in $(DISTDIR)/samples/html/help
791 cp $(SAMPDIR)/html/help/*.cpp $(DISTDIR)/samples/html/help
792 mkdir $(DISTDIR)/samples/html/help/helpfiles
793 cp $(SAMPDIR)/html/help/helpfiles/*.??? $(DISTDIR)/samples/html/help/helpfiles
794 mkdir $(DISTDIR)/samples/html/helpview
795 cp $(SAMPDIR)/html/helpview/Makefile.in $(DISTDIR)/samples/html/helpview
796 cp $(SAMPDIR)/html/helpview/*.cpp $(DISTDIR)/samples/html/helpview
797 cp $(SAMPDIR)/html/helpview/*.zip $(DISTDIR)/samples/html/helpview
798 mkdir $(DISTDIR)/samples/html/printing
799 cp $(SAMPDIR)/html/printing/Makefile.in $(DISTDIR)/samples/html/printing
800 cp $(SAMPDIR)/html/printing/*.cpp $(DISTDIR)/samples/html/printing
801 cp $(SAMPDIR)/html/printing/*.htm $(DISTDIR)/samples/html/printing
802 mkdir $(DISTDIR)/samples/html/test
803 cp $(SAMPDIR)/html/test/Makefile.in $(DISTDIR)/samples/html/test
804 cp $(SAMPDIR)/html/test/*.cpp $(DISTDIR)/samples/html/test
805 cp $(SAMPDIR)/html/test/*.bmp $(DISTDIR)/samples/html/test
806 cp $(SAMPDIR)/html/test/*.png $(DISTDIR)/samples/html/test
807 cp $(SAMPDIR)/html/test/*.htm $(DISTDIR)/samples/html/test
808 cp $(SAMPDIR)/html/test/*.html $(DISTDIR)/samples/html/test
809 mkdir $(DISTDIR)/samples/html/virtual
810 cp $(SAMPDIR)/html/virtual/Makefile.in $(DISTDIR)/samples/html/virtual
811 cp $(SAMPDIR)/html/virtual/*.cpp $(DISTDIR)/samples/html/virtual
812 cp $(SAMPDIR)/html/virtual/*.htm $(DISTDIR)/samples/html/virtual
813 mkdir $(DISTDIR)/samples/html/widget
814 cp $(SAMPDIR)/html/widget/Makefile.in $(DISTDIR)/samples/html/widget
815 cp $(SAMPDIR)/html/widget/*.cpp $(DISTDIR)/samples/html/widget
816 cp $(SAMPDIR)/html/widget/*.htm $(DISTDIR)/samples/html/widget
817 mkdir $(DISTDIR)/samples/html/zip
818 cp $(SAMPDIR)/html/zip/Makefile.in $(DISTDIR)/samples/html/zip
819 cp $(SAMPDIR)/html/zip/*.cpp $(DISTDIR)/samples/html/zip
820 cp $(SAMPDIR)/html/zip/*.htm $(DISTDIR)/samples/html/zip
821 cp $(SAMPDIR)/html/zip/*.zip $(DISTDIR)/samples/html/zip
823 mkdir $(DISTDIR)/samples/image
824 cp $(SAMPDIR)/image/Makefile.in $(DISTDIR)/samples/image
825 cp $(SAMPDIR)/image/makefile.unx $(DISTDIR)/samples/image
826 cp $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image
827 cp $(SAMPDIR)/image/horse.* $(DISTDIR)/samples/image
828 cp $(SAMPDIR)/image/smile.xbm $(DISTDIR)/samples/image
829 cp $(SAMPDIR)/image/smile.xpm $(DISTDIR)/samples/image
831 mkdir $(DISTDIR)/samples/internat
832 mkdir $(DISTDIR)/samples/internat/de
833 mkdir $(DISTDIR)/samples/internat/fr
834 cp $(SAMPDIR)/internat/Makefile.in $(DISTDIR)/samples/internat
835 cp $(SAMPDIR)/internat/makefile.unx $(DISTDIR)/samples/internat
836 cp $(SAMPDIR)/internat/*.cpp $(DISTDIR)/samples/internat
837 cp $(SAMPDIR)/internat/*.xpm $(DISTDIR)/samples/internat
838 cp $(SAMPDIR)/internat/*.txt $(DISTDIR)/samples/internat
839 cp $(SAMPDIR)/internat/*.po $(DISTDIR)/samples/internat
840 cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr
841 cp $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de
842 cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr
843 cp $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de
845 mkdir $(DISTDIR)/samples/layout
846 cp $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout
847 cp $(SAMPDIR)/layout/makefile.unx $(DISTDIR)/samples/layout
848 cp $(SAMPDIR)/layout/*.cpp $(DISTDIR)/samples/layout
849 cp $(SAMPDIR)/layout/*.h $(DISTDIR)/samples/layout
851 mkdir $(DISTDIR)/samples/listctrl
852 mkdir $(DISTDIR)/samples/listctrl/bitmaps
853 cp $(SAMPDIR)/listctrl/Makefile.in $(DISTDIR)/samples/listctrl
854 cp $(SAMPDIR)/listctrl/makefile.unx $(DISTDIR)/samples/listctrl
855 cp $(SAMPDIR)/listctrl/*.cpp $(DISTDIR)/samples/listctrl
856 cp $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl
857 cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
858 cp $(SAMPDIR)/listctrl/bitmaps/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
860 mkdir $(DISTDIR)/samples/mdi
861 mkdir $(DISTDIR)/samples/mdi/bitmaps
862 cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
863 cp $(SAMPDIR)/mdi/makefile.unx $(DISTDIR)/samples/mdi
864 cp $(SAMPDIR)/mdi/*.cpp $(DISTDIR)/samples/mdi
865 cp $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi
866 cp $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi
867 cp $(SAMPDIR)/mdi/bitmaps/*.xpm $(DISTDIR)/samples/mdi/bitmaps
869 mkdir $(DISTDIR)/samples/memcheck
870 cp $(SAMPDIR)/memcheck/Makefile.in $(DISTDIR)/samples/memcheck
871 cp $(SAMPDIR)/memcheck/makefile.unx $(DISTDIR)/samples/memcheck
872 cp $(SAMPDIR)/memcheck/*.cpp $(DISTDIR)/samples/memcheck
873 cp $(SAMPDIR)/memcheck/*.xpm $(DISTDIR)/samples/memcheck
875 mkdir $(DISTDIR)/samples/menu
876 cp $(SAMPDIR)/menu/Makefile.in $(DISTDIR)/samples/menu
877 cp $(SAMPDIR)/menu/makefile.unx $(DISTDIR)/samples/menu
878 cp $(SAMPDIR)/menu/*.cpp $(DISTDIR)/samples/menu
880 mkdir $(DISTDIR)/samples/minifram
881 mkdir $(DISTDIR)/samples/minifram/bitmaps
882 cp $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram
883 cp $(SAMPDIR)/minifram/makefile.unx $(DISTDIR)/samples/minifram
884 cp $(SAMPDIR)/minifram/*.cpp $(DISTDIR)/samples/minifram
885 cp $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram
886 cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram
887 cp $(SAMPDIR)/minifram/bitmaps/*.xpm $(DISTDIR)/samples/minifram/bitmaps
889 mkdir $(DISTDIR)/samples/minimal
890 cp $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal
891 cp $(SAMPDIR)/minimal/makefile.unx $(DISTDIR)/samples/minimal
892 cp $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal
893 cp $(SAMPDIR)/minimal/*.xpm $(DISTDIR)/samples/minimal
895 mkdir $(DISTDIR)/samples/dialup
896 cp $(SAMPDIR)/dialup/Makefile.in $(DISTDIR)/samples/dialup
897 cp $(SAMPDIR)/dialup/makefile.unx $(DISTDIR)/samples/dialup
898 cp $(SAMPDIR)/dialup/*.cpp $(DISTDIR)/samples/dialup
900 mkdir $(DISTDIR)/samples/newgrid
901 cp $(SAMPDIR)/newgrid/Makefile.in $(DISTDIR)/samples/newgrid
902 cp $(SAMPDIR)/newgrid/makefile.unx $(DISTDIR)/samples/newgrid
903 cp $(SAMPDIR)/newgrid/*.cpp $(DISTDIR)/samples/newgrid
904 cp $(SAMPDIR)/newgrid/*.h $(DISTDIR)/samples/newgrid
906 mkdir $(DISTDIR)/samples/notebook
907 cp $(SAMPDIR)/notebook/Makefile.in $(DISTDIR)/samples/notebook
908 cp $(SAMPDIR)/notebook/makefile.unx $(DISTDIR)/samples/notebook
909 cp $(SAMPDIR)/notebook/*.cpp $(DISTDIR)/samples/notebook
910 cp $(SAMPDIR)/notebook/*.h $(DISTDIR)/samples/notebook
912 mkdir $(DISTDIR)/samples/png
913 cp $(SAMPDIR)/png/Makefile.in $(DISTDIR)/samples/png
914 cp $(SAMPDIR)/png/makefile.unx $(DISTDIR)/samples/png
915 cp $(SAMPDIR)/png/*.cpp $(DISTDIR)/samples/png
916 cp $(SAMPDIR)/png/*.h $(DISTDIR)/samples/png
917 cp $(SAMPDIR)/png/*.png $(DISTDIR)/samples/png
919 mkdir $(DISTDIR)/samples/printing
920 cp $(SAMPDIR)/printing/Makefile.in $(DISTDIR)/samples/printing
921 cp $(SAMPDIR)/printing/makefile.unx $(DISTDIR)/samples/printing
922 cp $(SAMPDIR)/printing/*.cpp $(DISTDIR)/samples/printing
923 cp $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing
924 cp $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing
925 cp $(SAMPDIR)/printing/*.xbm $(DISTDIR)/samples/printing
927 mkdir $(DISTDIR)/samples/resource
928 cp $(SAMPDIR)/resource/Makefile.in $(DISTDIR)/samples/resource
929 cp $(SAMPDIR)/resource/makefile.unx $(DISTDIR)/samples/resource
930 cp $(SAMPDIR)/resource/*.cpp $(DISTDIR)/samples/resource
931 cp $(SAMPDIR)/resource/*.h $(DISTDIR)/samples/resource
932 cp $(SAMPDIR)/resource/*.wxr $(DISTDIR)/samples/resource
934 mkdir $(DISTDIR)/samples/rotate
935 cp $(SAMPDIR)/rotate/Makefile.in $(DISTDIR)/samples/rotate
936 cp $(SAMPDIR)/rotate/makefile.unx $(DISTDIR)/samples/rotate
937 cp $(SAMPDIR)/rotate/*.cpp $(DISTDIR)/samples/rotate
938 cp $(SAMPDIR)/rotate/*.bmp $(DISTDIR)/samples/rotate
940 mkdir $(DISTDIR)/samples/richedit
941 cp $(SAMPDIR)/richedit/Makefile.in $(DISTDIR)/samples/richedit
942 cp $(SAMPDIR)/richedit/*.cpp $(DISTDIR)/samples/richedit
943 cp $(SAMPDIR)/richedit/*.h $(DISTDIR)/samples/richedit
944 cp $(SAMPDIR)/richedit/*.xpm $(DISTDIR)/samples/richedit
945 cp $(SAMPDIR)/richedit/README $(DISTDIR)/samples/richedit
946 cp $(SAMPDIR)/richedit/TODO $(DISTDIR)/samples/richedit
948 mkdir $(DISTDIR)/samples/plot
949 cp $(SAMPDIR)/plot/Makefile.in $(DISTDIR)/samples/plot
950 cp $(SAMPDIR)/plot/makefile.unx $(DISTDIR)/samples/plot
951 cp $(SAMPDIR)/plot/*.cpp $(DISTDIR)/samples/plot
953 mkdir $(DISTDIR)/samples/proplist
954 cp $(SAMPDIR)/proplist/Makefile.in $(DISTDIR)/samples/proplist
955 cp $(SAMPDIR)/proplist/*.cpp $(DISTDIR)/samples/proplist
956 cp $(SAMPDIR)/proplist/*.h $(DISTDIR)/samples/proplist
958 mkdir $(DISTDIR)/samples/propsize
959 cp $(SAMPDIR)/propsize/Makefile.in $(DISTDIR)/samples/propsize
960 cp $(SAMPDIR)/propsize/*.cpp $(DISTDIR)/samples/propsize
961 cp $(SAMPDIR)/propsize/*.xpm $(DISTDIR)/samples/propsize
963 mkdir $(DISTDIR)/samples/sashtest
964 cp $(SAMPDIR)/sashtest/Makefile.in $(DISTDIR)/samples/sashtest
965 cp $(SAMPDIR)/sashtest/*.cpp $(DISTDIR)/samples/sashtest
966 cp $(SAMPDIR)/sashtest/*.h $(DISTDIR)/samples/sashtest
968 mkdir $(DISTDIR)/samples/scroll
969 cp $(SAMPDIR)/scroll/Makefile.in $(DISTDIR)/samples/scroll
970 cp $(SAMPDIR)/scroll/makefile.unx $(DISTDIR)/samples/scroll
971 cp $(SAMPDIR)/scroll/*.cpp $(DISTDIR)/samples/scroll
973 mkdir $(DISTDIR)/samples/scrollsub
974 cp $(SAMPDIR)/scrollsub/Makefile.in $(DISTDIR)/samples/scrollsub
975 cp $(SAMPDIR)/scrollsub/makefile.unx $(DISTDIR)/samples/scrollsub
976 cp $(SAMPDIR)/scrollsub/*.cpp $(DISTDIR)/samples/scrollsub
978 mkdir $(DISTDIR)/samples/splitter
979 cp $(SAMPDIR)/splitter/makefile.unx $(DISTDIR)/samples/splitter
980 cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
981 cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
983 mkdir $(DISTDIR)/samples/statbar
984 cp $(SAMPDIR)/statbar/Makefile.in $(DISTDIR)/samples/statbar
985 cp $(SAMPDIR)/statbar/*.cpp $(DISTDIR)/samples/statbar
986 cp $(SAMPDIR)/statbar/*.xpm $(DISTDIR)/samples/statbar
988 mkdir $(DISTDIR)/samples/text
989 cp $(SAMPDIR)/text/Makefile.in $(DISTDIR)/samples/text
990 cp $(SAMPDIR)/text/makefile.unx $(DISTDIR)/samples/text
991 cp $(SAMPDIR)/text/*.cpp $(DISTDIR)/samples/text
992 cp $(SAMPDIR)/text/*.xpm $(DISTDIR)/samples/text
994 mkdir $(DISTDIR)/samples/thread
995 cp $(SAMPDIR)/thread/Makefile.in $(DISTDIR)/samples/thread
996 cp $(SAMPDIR)/thread/makefile.unx $(DISTDIR)/samples/thread
997 cp $(SAMPDIR)/thread/*.cpp $(DISTDIR)/samples/thread
999 mkdir $(DISTDIR)/samples/toolbar
1000 cp $(SAMPDIR)/toolbar/Makefile.in $(DISTDIR)/samples/toolbar
1001 cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar
1002 cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar
1003 mkdir $(DISTDIR)/samples/toolbar/bitmaps
1004 cp $(SAMPDIR)/toolbar/bitmaps/*.xpm $(DISTDIR)/samples/toolbar/bitmaps
1006 mkdir $(DISTDIR)/samples/treectrl
1007 cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl
1008 cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
1009 cp $(SAMPDIR)/treectrl/*.h $(DISTDIR)/samples/treectrl
1010 cp $(SAMPDIR)/treectrl/*.xpm $(DISTDIR)/samples/treectrl
1012 mkdir $(DISTDIR)/samples/typetest
1013 cp $(SAMPDIR)/typetest/Makefile.in $(DISTDIR)/samples/typetest
1014 cp $(SAMPDIR)/typetest/*.cpp $(DISTDIR)/samples/typetest
1015 cp $(SAMPDIR)/typetest/*.h $(DISTDIR)/samples/typetest
1016 cp $(SAMPDIR)/typetest/*.xpm $(DISTDIR)/samples/typetest
1018 mkdir $(DISTDIR)/samples/validate
1019 cp $(SAMPDIR)/validate/Makefile.in $(DISTDIR)/samples/validate
1020 cp $(SAMPDIR)/validate/*.cpp $(DISTDIR)/samples/validate
1021 cp $(SAMPDIR)/validate/*.h $(DISTDIR)/samples/validate
1022 cp $(SAMPDIR)/validate/*.xpm $(DISTDIR)/samples/validate
1024 mkdir $(DISTDIR)/samples/wizard
1025 cp $(SAMPDIR)/wizard/Makefile.in $(DISTDIR)/samples/wizard
1026 cp $(SAMPDIR)/wizard/*.cpp $(DISTDIR)/samples/wizard
1027 cp $(SAMPDIR)/wizard/*.xpm $(DISTDIR)/samples/wizard
1029 mkdir $(DISTDIR)/samples/sockets
1030 cp $(SAMPDIR)/sockets/Makefile.in $(DISTDIR)/samples/sockets
1031 cp $(SAMPDIR)/sockets/*.cpp $(DISTDIR)/samples/sockets
1032 cp $(SAMPDIR)/sockets/*.xpm $(DISTDIR)/samples/sockets
1034 UTILS_DIST: ALL_GUI_DIST
1035 mkdir $(DISTDIR)/utils
1036 cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils
1037 cp $(UTILSDIR)/configure $(DISTDIR)/utils
1038 cp $(UTILSDIR)/configure.in $(DISTDIR)/utils
1040 MISC_DIST: ALL_GUI_DIST
1041 mkdir $(DISTDIR)/misc
1042 mkdir $(DISTDIR)/misc/afm
1043 cp $(MISCDIR)/afm/*.afm $(DISTDIR)/misc/afm
1044 mkdir $(DISTDIR)/misc/gs_afm
1045 cp $(MISCDIR)/gs_afm/*.afm $(DISTDIR)/misc/gs_afm
1048 mkdir $(DISTDIR)/docs
1049 mkdir $(DISTDIR)/docs/latex
1050 mkdir $(DISTDIR)/docs/latex/wx
1051 cp $(DOCDIR)/latex/wx/*.tex $(DISTDIR)/docs/latex/wx
1052 cp $(DOCDIR)/latex/wx/*.gif $(DISTDIR)/docs/latex/wx
1053 cp $(DOCDIR)/latex/wx/*.ini $(DISTDIR)/docs/latex/wx
1054 cp $(DOCDIR)/latex/wx/*.bib $(DISTDIR)/docs/latex/wx
1055 cp $(DOCDIR)/latex/wx/*.sty $(DISTDIR)/docs/latex/wx
1057 -mkdir $(DISTDIR)/utils
1058 mkdir $(DISTDIR)/utils/tex2rtf
1059 mkdir $(DISTDIR)/utils/tex2rtf/src
1060 cp $(UTILSDIR)/tex2rtf/*.in $(DISTDIR)/utils/tex2rtf
1061 cp $(UTILSDIR)/tex2rtf/src/*.h $(DISTDIR)/utils/tex2rtf/src
1062 cp $(UTILSDIR)/tex2rtf/src/*.in $(DISTDIR)/utils/tex2rtf/src
1063 cp $(UTILSDIR)/tex2rtf/src/*.cpp $(DISTDIR)/utils/tex2rtf/src
1064 cp $(UTILSDIR)/tex2rtf/src/tex2rtf.* $(DISTDIR)/utils/tex2rtf/src
1066 # this target does not generate a complete wxPython dist, it only includes
1067 # those files needed for the Debian source package.
1068 # see utils/wxPython/distrib for scripts to make a proper wxPython dist.
1070 mkdir $(DISTDIR)/utils/wxPython
1071 mkdir $(DISTDIR)/utils/wxPython/demo
1072 mkdir $(DISTDIR)/utils/wxPython/demo/bitmaps
1073 mkdir $(DISTDIR)/utils/wxPython/demo/data
1074 mkdir $(DISTDIR)/utils/wxPython/distrib
1075 mkdir $(DISTDIR)/utils/wxPython/lib
1076 mkdir $(DISTDIR)/utils/wxPython/lib/editor
1077 mkdir $(DISTDIR)/utils/wxPython/lib/sizers
1078 mkdir $(DISTDIR)/utils/wxPython/modules
1079 mkdir $(DISTDIR)/utils/wxPython/modules/html
1080 mkdir $(DISTDIR)/utils/wxPython/modules/utils
1081 mkdir $(DISTDIR)/utils/wxPython/modules/utils/gtk
1082 mkdir $(DISTDIR)/utils/wxPython/src
1083 mkdir $(DISTDIR)/utils/wxPython/src/gtk
1085 cp $(UTILSDIR)/wxPython/*.txt $(DISTDIR)/utils/wxPython
1086 -cp $(UTILSDIR)/wxPython/demo/* $(DISTDIR)/utils/wxPython/demo
1087 -cp $(UTILSDIR)/wxPython/demo/bitmaps/* $(DISTDIR)/utils/wxPython/demo/bitmaps
1088 -cp $(UTILSDIR)/wxPython/demo/data/* $(DISTDIR)/utils/wxPython/demo/data
1089 cp $(UTILSDIR)/wxPython/distrib/build.py $(DISTDIR)/utils/wxPython/distrib
1090 cp $(UTILSDIR)/wxPython/lib/*.py $(DISTDIR)/utils/wxPython/lib
1091 cp $(UTILSDIR)/wxPython/lib/editor/*.py $(DISTDIR)/utils/wxPython/lib/editor
1092 cp $(UTILSDIR)/wxPython/lib/sizers/*.py $(DISTDIR)/utils/wxPython/lib/sizers
1093 -cp $(UTILSDIR)/wxPython/modules/html/* $(DISTDIR)/utils/wxPython/modules/html
1094 -cp $(UTILSDIR)/wxPython/modules/utils/* $(DISTDIR)/utils/wxPython/modules/utils
1095 cp $(UTILSDIR)/wxPython/modules/utils/gtk/utils.* $(DISTDIR)/utils/wxPython/modules/utils/gtk
1096 -cp $(UTILSDIR)/wxPython/src/* $(DISTDIR)/utils/wxPython/src
1097 cp $(UTILSDIR)/wxPython/src/gtk/*.py $(DISTDIR)/utils/wxPython/src/gtk
1098 cp $(UTILSDIR)/wxPython/src/gtk/*.cpp $(DISTDIR)/utils/wxPython/src/gtk
1104 @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
1105 cd _dist_dir; tar ch @DISTDIR@ | gzip -f9 > $(WXARCHIVE); mv $(WXARCHIVE) ..
1106 @if test "$(USE_GUI)" = 1; then \
1108 mv samples wxSamples; \
1109 tar ch wxSamples | gzip -f9 > ../../$(WXSAMPLES); \
1110 mv wxSamples samples; \
1112 tar ch wxDemos | gzip -f9 > ../../$(WXDEMOS); \
1116 debian-dist: @GUIDIST@ MANUAL_DIST PYTHON_DIST
1117 mkdir $(DISTDIR)/debian
1118 -cp $(WXDIR)/debian/* $(DISTDIR)/debian
1119 cp $(WXDIR)/src/files.lst $(DISTDIR)/src/
1120 cp $(DOCDIR)/licence.txt $(DISTDIR)/docs
1121 cp $(DOCDIR)/licendoc.txt $(DISTDIR)/docs
1122 cp $(DOCDIR)/preamble.txt $(DISTDIR)/docs
1123 rm -f $(DISTDIR)/*.spec
1124 rm -rf $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
1125 mv $(DISTDIR) $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)