1 #!################################################################################
3 #! Purpose: tmake template file from which Makefile.in is generated by running
4 #! tmake -t unx wxwin.pro -o Makefile.in
5 #! Author: Vadim Zeitlin, Robert Roebling, Julian Smart
8 #!################################################################################
10 #! include the code which parses filelist.txt file and initializes
11 #! %wxCommon, %wxGeneric, %wxHtml, %wxUnix and %wxGTK hashes.
12 IncludeTemplate("filelist.t");
16 foreach $file (sort keys %wxGeneric) {
17 #! native wxDirDlg can't be compiled due to GnuWin32/OLE limitations,
18 #! so take the generic version
19 if ( $wxGeneric{$file} =~ /\b(PS|G|U|16)\b/ ) {
20 next unless $file =~ /^dirdlgg\./;
24 $file =~ s/cp?p?$/\o/;
25 $file2 =~ s/cp?p?$/\d/;
26 $project{"WXMSW_GENERICOBJS"} .= $file . " ";
27 $project{"WXMSW_GENERICDEPS"} .= $file2 . " "
30 foreach $file (sort keys %wxGeneric) {
31 #! skip generic files not required for the wxGTK port
32 next if $wxGeneric{$file} =~ /\bR\b/;
35 $file =~ s/cp?p?$/\o/;
36 $file2 =~ s/cp?p?$/\d/;
37 $project{"WXGTK_GENERICOBJS"} .= $file . " ";
38 $project{"WXGTK_GENERICDEPS"} .= $file2 . " "
41 foreach $file (sort keys %wxGeneric) {
42 next if $wxGeneric{$file} =~ /\bX\b/;
45 $file =~ s/cp?p?$/\o/;
46 $file2 =~ s/cp?p?$/\d/;
47 $project{"WXMOTIF_GENERICOBJS"} .= $file . " ";
48 $project{"WXMOTIF_GENERICDEPS"} .= $file2 . " "
53 foreach $file (sort keys %wxCommon) {
54 ($fileobj = $file) =~ s/cp?p?$/\o/;
55 ($filedep = $file) =~ s/cp?p?$/\d/;
57 #! 'B' flag means that the file makes part of wxBase too
58 if ( $wxCommon{$file} =~ /\bB\b/ ) {
59 $project{"BASE_OBJS"} .= $fileobj . " ";
60 $project{"BASE_DEPS"} .= $filedep . " ";
63 #! if it's the wxBase-only file, nothing more to do with it
64 next if $wxCommon{$file} =~ /\bBO\b/;
66 if ( $wxCommon{$file} !~ /\bR\b/ ) { #! unless not for GTK
67 $project{"WXGTK_COMMONOBJS"} .= $fileobj . " ";
68 $project{"WXGTK_COMMONDEPS"} .= $filedep . " "
70 if ( $wxCommon{$file} !~ /\bX\b/ ) { #! unless not for Motif
71 $project{"WXMOTIF_COMMONOBJS"} .= $fileobj . " ";
72 $project{"WXMOTIF_COMMONDEPS"} .= $filedep . " "
75 #! ODBC needs extra files (sql*.h) so not compiled by default.
76 if ( (file !~ /^odbc\./) && ($wxCommon{$file} !~ /\b(16)\b/) ) {
77 $project{"WXMSW_COMMONOBJS"} .= $fileobj . " ";
78 $project{"WXMSW_COMMONDEPS"} .= $filedep . " "
84 foreach $file (sort keys %wxMSW) {
85 #! Mingw32 doesn't have the OLE headers and has some troubles with
87 next if $wxMSW{$file} =~ /\b(O|16)\b/;
89 #! native wxDirDlg can't be compiled due to GnuWin32/OLE limitations,
90 next if $file =~ /^dirdlg\./;
93 $file =~ s/cp?p?$/\o/;
94 $file2 =~ s/cp?p?$/\d/;
95 $project{"WXMSW_GUIOBJS"} .= $file . " ";
96 $project{"WXMSW_GUIDEPS"} .= $file2 . " "
99 foreach $file (sort keys %wxGTK) {
101 $file =~ s/cp?p?$/\o/;
102 $file2 =~ s/cp?p?$/\d/;
103 $project{"WXGTK_GUIOBJS"} .= $file . " ";
104 $project{"WXGTK_GUIDEPS"} .= $file2 . " "
107 foreach $file (sort keys %wxMOTIF) {
109 $file =~ s/cp?p?$/\o/;
110 $file2 =~ s/cp?p?$/\d/;
111 $project{"WXMOTIF_GUIOBJS"} .= $file . " ";
112 $project{"WXMOTIF_GUIDEPS"} .= $file2 . " "
117 foreach $file (sort keys %wxHTML) {
119 $file =~ s/cp?p?$/\o/;
120 $file2 =~ s/cp?p?$/\d/;
121 $project{"WXHTMLOBJS"} .= $file . " ";
122 $project{"WXHTMLDEPS"} .= $file2 . " "
125 foreach $file (sort keys %wxUNIX) {
126 ($fileobj = $file) =~ s/cp?p?$/\o/;
127 ($filedep = $file) =~ s/cp?p?$/\d/;
129 #! 'B' flag means that the file makes part of wxBase too
130 if ( $wxUNIX{$file} =~ /\bB\b/ ) {
131 $project{"BASE_OBJS"} .= $fileobj . " ";
132 $project{"BASE_DEPS"} .= $filedep . " "
135 $project{"WXUNIX_OBJS"} .= $fileobj . " ";
136 $project{"WXUNIX_DEPS"} .= $filedep . " "
141 foreach $file (sort keys %wxWXINCLUDE) {
142 $project{"WX_HEADERS"} .= $file . " ";
143 $project{"BASE_HEADERS"} .= $file . " " if $wxWXINCLUDE{$file} =~ /\bB\b/;
146 foreach $file (sort keys %wxGENERICINCLUDE) {
147 $project{"WXGENERIC_HEADERS"} .= "generic/" . $file . " "
150 foreach $file (sort keys %wxMOTIFINCLUDE) {
151 $project{"WXMOTIF_HEADERS"} .= "motif/" . $file . " "
154 foreach $file (sort keys %wxGTKINCLUDE) {
155 $project{"WXGTK_HEADERS"} .= "gtk/" . $file . " "
158 foreach $file (sort keys %wxMSWINCLUDE) {
159 $project{"WXMSW_HEADERS"} .= "msw/" . $file . " "
162 foreach $file (sort keys %wxHTMLINCLUDE) {
163 $project{"WXHTML_HEADERS"} .= "html/" . $file . " "
166 foreach $file (sort keys %wxUNIXINCLUDE) {
167 $project{"WXUNIX_HEADERS"} .= "unix/" . $file . " "
170 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
171 $project{"WXPROTOCOL_HEADERS"} .= "protocol/" . $file . " "
175 # This file was automatically generated by tmake at #$ Now()
176 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
180 # Author: Julian Smart, Robert Roebling, Vadim Zeitlin
183 # Copyright:(c) 1993, AIAI, University of Edinburgh,
184 # Copyright:(c) 1999, Vadim Zeitlin
185 # Copyright:(c) 1999, Robert Roebling
187 # Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a
189 ###################################################################
191 include ./src/make.env
193 ############## override make.env for PIC ##########################
195 # Clears all default suffixes
196 .SUFFIXES: .o .cpp .c .cxx
199 $(CCC) -c @DEP_INFO_FLAGS@ $(CFLAGS) $(PICFLAGS) -o $@ $<
202 $(CC) -c @DEP_INFO_FLAGS@ $(CPPFLAGS) $(PICFLAGS) -o $@ $<
205 $(CC) -c @DEP_INFO_FLAGS@ $(CPPFLAGS) $(PICFLAGS) -o $@ $<
207 ########################### Paths #################################
211 VP1 = @top_srcdir@/src/common
212 VP2 = @top_srcdir@/src/@TOOLKIT_DIR@
213 VP3 = @top_srcdir@/src/motif/xmcombo
214 VP4 = @top_srcdir@/src/generic
215 VP5 = @top_srcdir@/src/unix
216 VP6 = @top_srcdir@/src/html
217 VP7 = @top_srcdir@/src/png
218 VP8 = @top_srcdir@/src/jpeg
219 VP9 = @top_srcdir@/src/zlib
221 VPATH = $(VP1):$(VP2):$(VP3):$(VP4):$(VP5):$(VP6):$(VP7):$(VP8):$(VP9)
223 top_srcdir = @top_srcdir@
225 exec_prefix = @exec_prefix@
229 libexecdir = @libexecdir@
231 sysconfdir = @sysconfdir@
232 sharedstatedir = @sharedstatedir@
233 localstatedir = @localstatedir@
237 includedir = @includedir@
238 oldincludedir = /usr/include
242 pkgdatadir = $(datadir)/@PACKAGE@
243 pkglibdir = $(libdir)/@PACKAGE@
244 pkgincludedir = $(includedir)/@PACKAGE@
249 INSTALL_PROGRAM = @INSTALL_PROGRAM@
250 INSTALL_DATA = @INSTALL_DATA@
251 # my autoconf doesn't set this
252 #INSTALL_SCRIPT = @INSTALL_SCRIPT@
253 # maybe do an additional chmod if needed?
254 INSTALL_SCRIPT = @INSTALL@
255 transform = @program_transform_name@
263 build_alias = @build_alias@
264 build_triplet = @build@
265 host_alias = @host_alias@
266 host_triplet = @host@
267 target_alias = @target_alias@
268 target_triplet = @target@
270 ############################# Dirs #################################
272 WXDIR = $(top_srcdir)
274 # Subordinate library possibilities
276 SRCDIR = $(WXDIR)/src
277 GENDIR = $(WXDIR)/src/generic
278 COMMDIR = $(WXDIR)/src/common
279 HTMLDIR = $(WXDIR)/src/html
280 UNIXDIR = $(WXDIR)/src/unix
281 PNGDIR = $(WXDIR)/src/png
282 JPEGDIR = $(WXDIR)/src/jpeg
283 ZLIBDIR = $(WXDIR)/src/zlib
284 GTKDIR = $(WXDIR)/src/gtk
285 MOTIFDIR = $(WXDIR)/src/motif
286 MSWDIR = $(WXDIR)/src/msw
287 INCDIR = $(WXDIR)/include
288 SAMPDIR = $(WXDIR)/samples
289 UTILSDIR = $(WXDIR)/utils
290 MISCDIR = $(WXDIR)/misc
292 DOCDIR = $(WXDIR)/docs
294 ########################## Archive name ###############################
296 WXARCHIVE = wx$(TOOLKIT)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)-b9.tgz
297 DISTDIR = ./_dist_dir/wx$(TOOLKIT)
299 ############################## Files ##################################
302 #$ ExpandList("BASE_HEADERS");
305 #$ ExpandList("WX_HEADERS");
308 #$ ExpandList("WXGTK_HEADERS");
311 #$ ExpandList("WXMOTIF_HEADERS");
314 #$ ExpandList("WXMSW_HEADERS");
317 #$ ExpandList("WXUNIX_HEADERS");
320 #$ ExpandList("WXGENERIC_HEADERS");
323 #$ ExpandList("WXPROTOCOL_HEADERS");
326 #$ ExpandList("WXHTML_HEADERS");
329 #$ ExpandList("WXGTK_GENERICOBJS");
332 #$ ExpandList("WXGTK_GENERICDEPS");
336 #$ ExpandList("WXGTK_COMMONOBJS");
340 #$ ExpandList("WXGTK_COMMONDEPS");
343 #$ ExpandList("WXGTK_GUIOBJS");
346 #$ ExpandList("WXGTK_GUIDEPS");
348 MOTIF_GENERICOBJS = \
349 #$ ExpandList("WXMOTIF_GENERICOBJS");
351 MOTIF_GENERICDEPS = \
352 #$ ExpandList("WXMOTIF_GENERICDEPS");
356 #$ ExpandList("WXMOTIF_COMMONOBJS");
360 #$ ExpandList("WXMOTIF_COMMONDEPS");
364 #$ ExpandList("WXMOTIF_GUIOBJS");
368 #$ ExpandList("WXMOTIF_GUIDEPS");
371 #$ ExpandList("WXMSW_GENERICOBJS");
374 #$ ExpandList("WXMSW_GENERICDEPS");
378 #$ ExpandList("WXMSW_COMMONOBJS");
382 #$ ExpandList("WXMSW_COMMONDEPS");
385 #$ ExpandList("WXMSW_GUIOBJS");
388 #$ ExpandList("WXMSW_GUIDEPS");
391 #$ ExpandList("BASE_OBJS");
394 #$ ExpandList("BASE_DEPS");
397 #$ ExpandList("WXHTMLOBJS");
400 #$ ExpandList("WXHTMLDEPS");
403 #$ ExpandList("WXUNIX_OBJS");
406 #$ ExpandList("WXUNIX_DEPS");
492 GUIHEADERS = @GUIHEADERS@
493 COMMONOBJS = @COMMONOBJS@
494 COMMONDEPS = @COMMONDEPS@
495 GENERICOBJS = @GENERICOBJS@
496 GENERICDEPS = @GENERICDEPS@
497 UNIXOBJS = @UNIXOBJS@
498 UNIXDEPS = @UNIXDEPS@
500 OBJECTS = @ALL_OBJECTS@
502 DEPFILES = @ALL_DEPFILES@
504 HEADERS = @ALL_HEADERS@
506 all: @WX_CREATE_LINKS@
508 @WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
510 $(AR) $(AROPTIONS) ./lib/$@ $(OBJECTS)
513 @WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
515 $(SHARED_LD) ./lib/$@ $(OBJECTS) $(EXTRALIBS)
517 CREATE_LINKS: @WX_TARGET_LIBRARY@
518 @$(RM) ./lib/@WX_LIBRARY_LINK1@
519 @$(RM) ./lib/@WX_LIBRARY_LINK2@
520 @$(RM) ./lib/@WX_LIBRARY_LINK3@
521 $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK1@
522 $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK2@
523 $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK3@
525 CREATE_INSTALLED_LINKS: $(libdir)/@WX_TARGET_LIBRARY@
526 $(RM) $(libdir)/@WX_LIBRARY_LINK1@
527 $(RM) $(libdir)/@WX_LIBRARY_LINK2@
528 $(RM) $(libdir)/@WX_LIBRARY_LINK3@
529 $(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK1@
530 $(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK2@
531 $(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK3@
533 $(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
535 parser.o: parser.c lexer.c
536 $(CCLEX) -c $(CFLAGS) $(PICFLAGS) -o $@ parser.c
538 parser.c: $(COMMDIR)/parser.y lexer.c
539 $(YACC) $(COMMDIR)/parser.y
540 @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
541 sed -e "s/BUFSIZ/5000/g" | \
542 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
543 sed -e "s/yy/PROIO_yy/g" | \
544 sed -e "s/input/PROIO_input/g" | \
545 sed -e "s/unput/PROIO_unput/g" > parser.c
548 lexer.c: $(COMMDIR)/lexer.l
549 $(LEX) $(COMMDIR)/lexer.l
550 @sed -e "s;$(COMMDIR)/lex.yy.c;lexer.l;g" < lex.yy.c | \
551 sed -e "s/yy/PROIO_yy/g" | \
552 sed -e "s/input/PROIO_input/g" | \
553 sed -e "s/unput/PROIO_unput/g" > lexer.c
558 preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config $(top_builddir)/setup.h
560 @echo " Installing wxWindows..."
563 $(INSTALL) -d $(prefix)
564 $(INSTALL) -d $(bindir)
565 $(INSTALL) -d $(libdir)
566 $(INSTALL) -d $(datadir)
568 $(INSTALL_SCRIPT) $(top_builddir)/wx-config $(bindir)/wx-config
569 $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@
571 $(INSTALL) -d $(libdir)/wx
572 $(INSTALL) -d $(libdir)/wx/include
573 $(INSTALL) -d $(libdir)/wx/include/wx
574 $(INSTALL) -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@
575 $(INSTALL_DATA) $(top_builddir)/setup.h $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
577 $(INSTALL) -d $(datadir)/wx
578 $(INSTALL) -d $(datadir)/wx/afm
579 $(INSTALL) -d $(datadir)/wx/gs_afm
580 $(INSTALL_DATA) $(top_srcdir)/misc/afm/*.afm $(datadir)/wx/afm
581 $(INSTALL_DATA) $(top_srcdir)/misc/gs_afm/*.afm $(datadir)/wx/gs_afm
583 $(INSTALL) -d $(includedir)/wx
584 $(INSTALL) -d $(includedir)/wx/msw
585 $(INSTALL) -d $(includedir)/wx/gtk
586 $(INSTALL) -d $(includedir)/wx/motif
587 $(INSTALL) -d $(includedir)/wx/html
588 $(INSTALL) -d $(includedir)/wx/protocol
589 $(INSTALL) -d $(includedir)/wx/unix
590 $(INSTALL) -d $(includedir)/wx/generic
591 @list='$(HEADERS)'; for p in $$list; do \
592 $(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p; \
593 echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \
598 @echo " The installation of wxWindows is finished. On certain"
599 @echo " platforms (e.g. Linux, Solaris) you'll now have to run"
600 @echo " ldconfig if you installed a shared library."
602 @echo " wxWindows comes with no guarantees and doesn't claim"
603 @echo " to be suitable for any purpose."
605 @echo " Read the wxWindows Licence on licencing conditions."
608 install: preinstall @WX_CREATE_INSTALLED_LINKS@ write_message
612 @echo " Uninstalling wxWindows..."
614 @echo " Removing library..."
615 @$(RM) $(libdir)/@WX_TARGET_LIBRARY@
616 @$(RM) $(libdir)/@WX_LIBRARY_LINK1@
617 @$(RM) $(libdir)/@WX_LIBRARY_LINK2@
618 @$(RM) $(libdir)/@WX_LIBRARY_LINK3@
619 @echo " Removing helper files..."
620 @$(RM) $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
621 @$(RM) $(bindir)/wx-config
622 @$(RM) $(datadir)/wx/afm/*
623 @$(RM) $(datadir)/wx/gs_afm/*
624 @rmdir $(datadir)/wx/gs_afm
625 @rmdir $(datadir)/wx/afm
627 @echo " Removing headers..."
628 @list='$(HEADERS)'; for p in $$list; do \
629 $(RM) $(includedir)/wx/$$p; \
631 @echo " Removing directories..."
632 @if test -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@; then rmdir $(libdir)/wx/include/wx/@TOOLKIT_DIR@; fi
633 @if test -d $(libdir)/wx/include/wx; then rmdir $(libdir)/wx/include/wx; fi
634 @if test -d $(libdir)/wx/include; then rmdir $(libdir)/wx/include; fi
635 @if test -d $(libdir)/wx; then rmdir $(libdir)/wx; fi
636 @if test -d $(includedir)/wx/gtk; then rmdir $(includedir)/wx/gtk; fi
637 @if test -d $(includedir)/wx/motif; then rmdir $(includedir)/wx/motif; fi
638 @if test -d $(includedir)/wx/msw; then rmdir $(includedir)/wx/msw; fi
639 @if test -d $(includedir)/wx/html; then rmdir $(includedir)/wx/html; fi
640 @if test -d $(includedir)/wx/unix; then rmdir $(includedir)/wx/unix; fi
641 @if test -d $(includedir)/wx/generic; then rmdir $(includedir)/wx/generic; fi
642 @if test -d $(includedir)/wx/protocol; then rmdir $(includedir)/wx/protocol; fi
643 @if test -d $(includedir)/wx; then rmdir $(includedir)/wx; fi
648 cp $(WXDIR)/wx$(TOOLKIT).spec $(DISTDIR)
649 cp $(WXDIR)/configure $(DISTDIR)
650 cp $(WXDIR)/config.sub $(DISTDIR)
651 cp $(WXDIR)/config.guess $(DISTDIR)
652 cp $(WXDIR)/install-sh $(DISTDIR)
653 cp $(WXDIR)/mkinstalldirs $(DISTDIR)
654 cp $(WXDIR)/wx-config.in $(DISTDIR)
655 cp $(WXDIR)/setup.h.in $(DISTDIR)
656 cp $(WXDIR)/Makefile.in $(DISTDIR)
657 cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
658 cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
659 cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt
660 cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt
661 cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES.txt
662 cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README.txt
663 cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt
664 mkdir $(DISTDIR)/include
665 mkdir $(DISTDIR)/include/wx
666 mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)
667 mkdir $(DISTDIR)/include/wx/generic
668 mkdir $(DISTDIR)/include/wx/html
669 mkdir $(DISTDIR)/include/wx/unix
670 mkdir $(DISTDIR)/include/wx/protocol
671 cp $(INCDIR)/wx/*.h $(DISTDIR)/include/wx
672 cp $(INCDIR)/wx/*.cpp $(DISTDIR)/include/wx
673 cp $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic
674 cp $(INCDIR)/wx/generic/*.xpm $(DISTDIR)/include/wx/generic
675 cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
676 cp $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
677 cp $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol
679 mkdir $(DISTDIR)/src/common
680 mkdir $(DISTDIR)/src/generic
681 mkdir $(DISTDIR)/src/html
682 mkdir $(DISTDIR)/src/html/bitmaps
683 mkdir $(DISTDIR)/src/$(TOOLKITDIR)
684 mkdir $(DISTDIR)/src/unix
685 mkdir $(DISTDIR)/src/png
686 mkdir $(DISTDIR)/src/jpeg
687 mkdir $(DISTDIR)/src/zlib
688 cp $(SRCDIR)/*.in $(DISTDIR)/src
689 cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
690 cp $(COMMDIR)/*.c $(DISTDIR)/src/common
691 cp $(COMMDIR)/*.inc $(DISTDIR)/src/common
692 cp $(COMMDIR)/*.l $(DISTDIR)/src/common
693 cp $(COMMDIR)/*.h $(DISTDIR)/src/common
694 cp $(COMMDIR)/*.y $(DISTDIR)/src/common
695 cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic
696 cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
697 cp $(HTMLDIR)/*.h $(DISTDIR)/src/html
698 cp $(HTMLDIR)/bitmaps/*.xpm $(DISTDIR)/src/html/bitmaps
699 cp $(UNIXDIR)/*.h $(DISTDIR)/src/unix
700 cp $(UNIXDIR)/*.c $(DISTDIR)/src/unix
701 cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
702 cp $(PNGDIR)/*.h $(DISTDIR)/src/png
703 cp $(PNGDIR)/*.c $(DISTDIR)/src/png
704 cp $(PNGDIR)/README $(DISTDIR)/src/png
705 cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
706 cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
707 cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
708 cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
709 cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
710 cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg
713 cp $(WXDIR)/wxGTK.spec $(DISTDIR)
714 cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
715 cp $(INCDIR)/wx/gtk/*.xpm $(DISTDIR)/include/wx/gtk
716 cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk
717 cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
718 cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
721 cp $(WXDIR)/wxMOTIF.spec $(DISTDIR)
722 cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
723 cp $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif
724 cp $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif
725 mkdir $(DISTDIR)/src/motif/xmcombo
726 cp $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo
727 cp $(MOTIFDIR)/xmcombo/*.h $(DISTDIR)/src/motif/xmcombo
728 cp $(MOTIFDIR)/xmcombo/copying.txt $(DISTDIR)/src/motif/xmcombo
731 cp $(WXDIR)/wxWINE.spec $(DISTDIR)
732 cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
733 cp $(INCDIR)/wx/msw/*.cur $(DISTDIR)/include/wx/msw
734 cp $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw
735 cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
736 cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
737 cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
738 cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
739 cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
740 mkdir $(DISTDIR)/src/msw/ole
741 cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
744 mkdir $(DISTDIR)/samples
745 cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
746 mkdir $(DISTDIR)/samples/bombs
747 cp $(SAMPDIR)/bombs/Makefile.in $(DISTDIR)/samples/bombs
748 cp $(SAMPDIR)/bombs/*.cpp $(DISTDIR)/samples/bombs
749 cp $(SAMPDIR)/bombs/*.h $(DISTDIR)/samples/bombs
750 cp $(SAMPDIR)/bombs/*.xpm $(DISTDIR)/samples/bombs
751 cp $(SAMPDIR)/bombs/readme.txt $(DISTDIR)/samples/bombs
752 mkdir $(DISTDIR)/samples/caret
753 cp $(SAMPDIR)/caret/Makefile.in $(DISTDIR)/samples/caret
754 cp $(SAMPDIR)/caret/*.cpp $(DISTDIR)/samples/caret
755 cp $(SAMPDIR)/caret/*.xpm $(DISTDIR)/samples/caret
756 mkdir $(DISTDIR)/samples/config
757 cp $(SAMPDIR)/config/Makefile.in $(DISTDIR)/samples/config
758 cp $(SAMPDIR)/config/*.cpp $(DISTDIR)/samples/config
759 mkdir $(DISTDIR)/samples/controls
760 mkdir $(DISTDIR)/samples/controls/icons
761 cp $(SAMPDIR)/controls/Makefile.in $(DISTDIR)/samples/controls
762 cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls
763 cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls
764 cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons
765 mkdir $(DISTDIR)/samples/checklst
766 cp $(SAMPDIR)/checklst/Makefile.in $(DISTDIR)/samples/checklst
767 cp $(SAMPDIR)/checklst/*.cpp $(DISTDIR)/samples/checklst
768 cp $(SAMPDIR)/checklst/*.xpm $(DISTDIR)/samples/checklst
769 mkdir $(DISTDIR)/samples/printing
770 cp $(SAMPDIR)/printing/Makefile.in $(DISTDIR)/samples/printing
771 cp $(SAMPDIR)/printing/*.cpp $(DISTDIR)/samples/printing
772 cp $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing
773 cp $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing
774 cp $(SAMPDIR)/printing/*.xbm $(DISTDIR)/samples/printing
775 mkdir $(DISTDIR)/samples/dialogs
776 cp $(SAMPDIR)/dialogs/Makefile.in $(DISTDIR)/samples/dialogs
777 cp $(SAMPDIR)/dialogs/*.cpp $(DISTDIR)/samples/dialogs
778 cp $(SAMPDIR)/dialogs/*.h $(DISTDIR)/samples/dialogs
779 cp $(SAMPDIR)/dialogs/*.txt $(DISTDIR)/samples/dialogs
780 mkdir $(DISTDIR)/samples/dnd
781 cp $(SAMPDIR)/dnd/Makefile.in $(DISTDIR)/samples/dnd
782 cp $(SAMPDIR)/dnd/*.cpp $(DISTDIR)/samples/dnd
783 cp $(SAMPDIR)/dnd/*.xpm $(DISTDIR)/samples/dnd
784 cp $(SAMPDIR)/dnd/*.txt $(DISTDIR)/samples/dnd
785 cp $(SAMPDIR)/dnd/*.png $(DISTDIR)/samples/dnd
786 mkdir $(DISTDIR)/samples/docview
787 cp $(SAMPDIR)/docview/Makefile.in $(DISTDIR)/samples/docview
788 cp $(SAMPDIR)/docview/*.cpp $(DISTDIR)/samples/docview
789 cp $(SAMPDIR)/docview/*.h $(DISTDIR)/samples/docview
790 cp $(SAMPDIR)/docview/*.xpm $(DISTDIR)/samples/docview
791 mkdir $(DISTDIR)/samples/docvwmdi
792 cp $(SAMPDIR)/docvwmdi/Makefile.in $(DISTDIR)/samples/docvwmdi
793 cp $(SAMPDIR)/docvwmdi/*.cpp $(DISTDIR)/samples/docvwmdi
794 cp $(SAMPDIR)/docvwmdi/*.h $(DISTDIR)/samples/docvwmdi
795 mkdir $(DISTDIR)/samples/drawing
796 cp $(SAMPDIR)/drawing/Makefile.in $(DISTDIR)/samples/drawing
797 cp $(SAMPDIR)/drawing/*.cpp $(DISTDIR)/samples/drawing
798 cp $(SAMPDIR)/drawing/*.xpm $(DISTDIR)/samples/drawing
799 mkdir $(DISTDIR)/samples/dynamic
800 cp $(SAMPDIR)/dynamic/Makefile.in $(DISTDIR)/samples/dynamic
801 cp $(SAMPDIR)/dynamic/*.cpp $(DISTDIR)/samples/dynamic
802 cp $(SAMPDIR)/dynamic/*.xpm $(DISTDIR)/samples/dynamic
803 mkdir $(DISTDIR)/samples/html
804 cp $(SAMPDIR)/html/Makefile.in $(DISTDIR)/samples/html
805 mkdir $(DISTDIR)/samples/html/about
806 cp $(SAMPDIR)/html/about/Makefile.in $(DISTDIR)/samples/html/about
807 cp $(SAMPDIR)/html/about/*.cpp $(DISTDIR)/samples/html/about
808 mkdir $(DISTDIR)/samples/html/about/data
809 cp $(SAMPDIR)/html/about/data/*.htm $(DISTDIR)/samples/html/about/data
810 cp $(SAMPDIR)/html/about/data/*.png $(DISTDIR)/samples/html/about/data
811 mkdir $(DISTDIR)/samples/html/help
812 cp $(SAMPDIR)/html/help/Makefile.in $(DISTDIR)/samples/html/help
813 cp $(SAMPDIR)/html/help/*.cpp $(DISTDIR)/samples/html/help
814 mkdir $(DISTDIR)/samples/html/help/helpfiles
815 cp $(SAMPDIR)/html/help/helpfiles/*.??? $(DISTDIR)/samples/html/help/helpfiles
816 mkdir $(DISTDIR)/samples/html/printing
817 cp $(SAMPDIR)/html/printing/Makefile.in $(DISTDIR)/samples/html/printing
818 cp $(SAMPDIR)/html/printing/*.xpm $(DISTDIR)/samples/html/printing
819 cp $(SAMPDIR)/html/printing/*.cpp $(DISTDIR)/samples/html/printing
820 cp $(SAMPDIR)/html/printing/*.h $(DISTDIR)/samples/html/printing
821 cp $(SAMPDIR)/html/printing/*.png $(DISTDIR)/samples/html/printing
822 cp $(SAMPDIR)/html/printing/*.htm $(DISTDIR)/samples/html/printing
823 mkdir $(DISTDIR)/samples/html/test
824 cp $(SAMPDIR)/html/test/Makefile.in $(DISTDIR)/samples/html/test
825 cp $(SAMPDIR)/html/test/*.cpp $(DISTDIR)/samples/html/test
826 cp $(SAMPDIR)/html/test/*.bmp $(DISTDIR)/samples/html/test
827 cp $(SAMPDIR)/html/test/*.png $(DISTDIR)/samples/html/test
828 cp $(SAMPDIR)/html/test/*.htm $(DISTDIR)/samples/html/test
829 cp $(SAMPDIR)/html/test/*.html $(DISTDIR)/samples/html/test
830 mkdir $(DISTDIR)/samples/html/virtual
831 cp $(SAMPDIR)/html/virtual/Makefile.in $(DISTDIR)/samples/html/virtual
832 cp $(SAMPDIR)/html/virtual/*.cpp $(DISTDIR)/samples/html/virtual
833 cp $(SAMPDIR)/html/virtual/*.htm $(DISTDIR)/samples/html/virtual
834 mkdir $(DISTDIR)/samples/html/widget
835 cp $(SAMPDIR)/html/widget/Makefile.in $(DISTDIR)/samples/html/widget
836 cp $(SAMPDIR)/html/widget/*.cpp $(DISTDIR)/samples/html/widget
837 cp $(SAMPDIR)/html/widget/*.htm $(DISTDIR)/samples/html/widget
838 mkdir $(DISTDIR)/samples/html/zip
839 cp $(SAMPDIR)/html/zip/Makefile.in $(DISTDIR)/samples/html/zip
840 cp $(SAMPDIR)/html/zip/*.cpp $(DISTDIR)/samples/html/zip
841 cp $(SAMPDIR)/html/zip/*.htm $(DISTDIR)/samples/html/zip
842 cp $(SAMPDIR)/html/zip/*.zip $(DISTDIR)/samples/html/zip
843 mkdir $(DISTDIR)/samples/image
844 cp $(SAMPDIR)/image/Makefile.in $(DISTDIR)/samples/image
845 cp $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image
846 cp $(SAMPDIR)/image/horse.* $(DISTDIR)/samples/image
847 mkdir $(DISTDIR)/samples/layout
848 cp $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout
849 cp $(SAMPDIR)/layout/*.cpp $(DISTDIR)/samples/layout
850 cp $(SAMPDIR)/layout/*.h $(DISTDIR)/samples/layout
851 mkdir $(DISTDIR)/samples/listctrl
852 cp $(SAMPDIR)/listctrl/Makefile.in $(DISTDIR)/samples/listctrl
853 cp $(SAMPDIR)/listctrl/*.cpp $(DISTDIR)/samples/listctrl
854 cp $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl
855 cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
856 mkdir $(DISTDIR)/samples/listctrl/bitmap
857 cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
858 mkdir $(DISTDIR)/samples/mdi
859 cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
860 cp $(SAMPDIR)/mdi/*.cpp $(DISTDIR)/samples/mdi
861 cp $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi
862 cp $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi
863 mkdir $(DISTDIR)/samples/minifram
864 cp $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram
865 cp $(SAMPDIR)/minifram/*.cpp $(DISTDIR)/samples/minifram
866 cp $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram
867 cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram
868 mkdir $(DISTDIR)/samples/minifram/bitmap
869 cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram/bitmaps
870 mkdir $(DISTDIR)/samples/minimal
871 cp $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal
872 cp $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal
873 cp $(SAMPDIR)/minimal/*.xpm $(DISTDIR)/samples/minimal
874 mkdir $(DISTDIR)/samples/newgrid
875 cp $(SAMPDIR)/newgrid/Makefile.in $(DISTDIR)/samples/newgrid
876 cp $(SAMPDIR)/newgrid/*.cpp $(DISTDIR)/samples/newgrid
877 cp $(SAMPDIR)/newgrid/*.h $(DISTDIR)/samples/newgrid
878 mkdir $(DISTDIR)/samples/notebook
879 cp $(SAMPDIR)/notebook/Makefile.in $(DISTDIR)/samples/notebook
880 cp $(SAMPDIR)/notebook/*.cpp $(DISTDIR)/samples/notebook
881 cp $(SAMPDIR)/notebook/*.h $(DISTDIR)/samples/notebook
882 mkdir $(DISTDIR)/samples/proplist
883 cp $(SAMPDIR)/proplist/Makefile.in $(DISTDIR)/samples/proplist
884 cp $(SAMPDIR)/proplist/*.cpp $(DISTDIR)/samples/proplist
885 cp $(SAMPDIR)/proplist/*.h $(DISTDIR)/samples/proplist
886 mkdir $(DISTDIR)/samples/sashtest
887 cp $(SAMPDIR)/sashtest/Makefile.in $(DISTDIR)/samples/sashtest
888 cp $(SAMPDIR)/sashtest/*.cpp $(DISTDIR)/samples/sashtest
889 cp $(SAMPDIR)/sashtest/*.h $(DISTDIR)/samples/sashtest
890 mkdir $(DISTDIR)/samples/scroll
891 cp $(SAMPDIR)/scroll/Makefile.in $(DISTDIR)/samples/scroll
892 cp $(SAMPDIR)/scroll/*.cpp $(DISTDIR)/samples/scroll
893 mkdir $(DISTDIR)/samples/splitter
894 cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
895 cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
896 mkdir $(DISTDIR)/samples/text
897 cp $(SAMPDIR)/text/Makefile.in $(DISTDIR)/samples/text
898 cp $(SAMPDIR)/text/*.cpp $(DISTDIR)/samples/text
899 cp $(SAMPDIR)/text/*.xpm $(DISTDIR)/samples/text
900 mkdir $(DISTDIR)/samples/thread
901 cp $(SAMPDIR)/thread/Makefile.in $(DISTDIR)/samples/thread
902 cp $(SAMPDIR)/thread/*.cpp $(DISTDIR)/samples/thread
903 mkdir $(DISTDIR)/samples/toolbar
904 cp $(SAMPDIR)/toolbar/Makefile.in $(DISTDIR)/samples/toolbar
905 cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar
906 cp $(SAMPDIR)/toolbar/*.h $(DISTDIR)/samples/toolbar
907 cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar
908 mkdir $(DISTDIR)/samples/toolbar/bitmap
909 cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar/bitmaps
910 mkdir $(DISTDIR)/samples/treectrl
911 cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl
912 cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
913 cp $(SAMPDIR)/treectrl/*.h $(DISTDIR)/samples/treectrl
914 cp $(SAMPDIR)/treectrl/*.xpm $(DISTDIR)/samples/treectrl
915 mkdir $(DISTDIR)/samples/typetest
916 cp $(SAMPDIR)/typetest/Makefile.in $(DISTDIR)/samples/typetest
917 cp $(SAMPDIR)/typetest/*.cpp $(DISTDIR)/samples/typetest
918 cp $(SAMPDIR)/typetest/*.h $(DISTDIR)/samples/typetest
919 cp $(SAMPDIR)/typetest/*.xpm $(DISTDIR)/samples/typetest
920 mkdir $(DISTDIR)/samples/validate
921 cp $(SAMPDIR)/validate/Makefile.in $(DISTDIR)/samples/validate
922 cp $(SAMPDIR)/validate/*.cpp $(DISTDIR)/samples/validate
923 cp $(SAMPDIR)/validate/*.h $(DISTDIR)/samples/validate
924 cp $(SAMPDIR)/validate/*.xpm $(DISTDIR)/samples/validate
925 mkdir $(DISTDIR)/samples/wizard
926 cp $(SAMPDIR)/wizard/Makefile.in $(DISTDIR)/samples/wizard
927 cp $(SAMPDIR)/wizard/*.cpp $(DISTDIR)/samples/wizard
928 cp $(SAMPDIR)/wizard/*.xpm $(DISTDIR)/samples/wizard
929 mkdir $(DISTDIR)/samples/wxpoem
930 cp $(SAMPDIR)/wxpoem/Makefile.in $(DISTDIR)/samples/wxpoem
931 cp $(SAMPDIR)/wxpoem/*.cpp $(DISTDIR)/samples/wxpoem
932 cp $(SAMPDIR)/wxpoem/*.xpm $(DISTDIR)/samples/wxpoem
933 cp $(SAMPDIR)/wxpoem/*.dat $(DISTDIR)/samples/wxpoem
934 cp $(SAMPDIR)/wxpoem/*.txt $(DISTDIR)/samples/wxpoem
935 mkdir $(DISTDIR)/samples/wxsocket
936 cp $(SAMPDIR)/wxsocket/Makefile.in $(DISTDIR)/samples/wxsocket
937 cp $(SAMPDIR)/wxsocket/*.cpp $(DISTDIR)/samples/wxsocket
938 cp $(SAMPDIR)/wxsocket/*.xpm $(DISTDIR)/samples/wxsocket
941 mkdir $(DISTDIR)/utils
942 cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils
943 mkdir $(DISTDIR)/utils/wxMMedia2
944 cp $(UTILSDIR)/wxMMedia2/Makefile.in $(DISTDIR)/utils/wxMMedia2
945 mkdir $(DISTDIR)/utils/wxMMedia2/lib
946 cp $(UTILSDIR)/wxMMedia2/lib/Makefile.in $(DISTDIR)/utils/wxMMedia2/lib
947 cp $(UTILSDIR)/wxMMedia2/lib/*.h $(DISTDIR)/utils/wxMMedia2/lib
948 cp $(UTILSDIR)/wxMMedia2/lib/*.cpp $(DISTDIR)/utils/wxMMedia2/lib
949 cp $(UTILSDIR)/wxMMedia2/lib/*.def $(DISTDIR)/utils/wxMMedia2/lib
950 mkdir $(DISTDIR)/utils/wxMMedia2/sample
951 cp $(UTILSDIR)/wxMMedia2/sample/Makefile.in $(DISTDIR)/utils/wxMMedia2/sample
952 cp $(UTILSDIR)/wxMMedia2/sample/*.cpp $(DISTDIR)/utils/wxMMedia2/sample
953 mkdir $(DISTDIR)/utils/glcanvas
954 cp $(UTILSDIR)/glcanvas/Makefile.in $(DISTDIR)/utils/glcanvas
955 cp $(UTILSDIR)/glcanvas/docs/notes.txt $(DISTDIR)/utils/glcanvas/NOTES.txt
956 mkdir $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
957 cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/Makefile.in $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
958 cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/*.h $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
959 cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/*.cpp $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
962 mkdir $(DISTDIR)/misc
963 mkdir $(DISTDIR)/misc/afm
964 cp $(MISCDIR)/afm/*.afm $(DISTDIR)/misc/afm
965 mkdir $(DISTDIR)/misc/gs_afm
966 cp $(MISCDIR)/gs_afm/*.afm $(DISTDIR)/misc/gs_afm
968 dist: ALL_DIST @GUIDIST@ SAMPLES_DIST UTILS_DIST MISC_DIST
969 cd _dist_dir; tar ch wx$(TOOLKIT) | gzip -f9 > $(WXARCHIVE); mv $(WXARCHIVE) ..