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 #!################################################################################
11 #! include the code which parses filelist.txt file and initializes
12 #! %wxCommon, %wxGeneric, %wxHtml, %wxUnix and %wxGTK hashes.
13 IncludeTemplate("filelist.t");
17 foreach $file (sort keys %wxGeneric) {
18 #! native wxDirDlg can't be compiled due to GnuWin32/OLE limitations,
19 #! so take the generic version
20 if ( $wxGeneric{$file} =~ /\b(PS|G|U|16)\b/ ) {
21 next unless $file =~ /^dirdlgg\./;
24 $file =~ s/cp?p?$/\o/;
25 $project{"WXMSW_GENERICOBJS"} .= "src/generic/" . $file . " "
28 foreach $file (sort keys %wxGeneric) {
29 next if $wxGeneric{$file} =~ /\bR\b/;
31 $file =~ s/cp?p?$/\o/;
32 $project{"WXGTK_GENERICOBJS"} .= "src/generic/" . $file . " "
35 foreach $file (sort keys %wxGeneric) {
36 next if $wxCommon{$file} =~ /\bX\b/;
38 $file =~ s/cp?p?$/\o/;
39 $project{"WXMOTIF_GENERICOBJS"} .= "src/generic/" . $file . " "
44 foreach $file (sort keys %wxCommon) {
45 next if $wxCommon{$file} =~ /\bR\b/;
47 $file =~ s/cp?p?$/\o/;
48 $project{"WXGTK_COMMONOBJS"} .= "src/common/" . $file . " "
51 foreach $file (sort keys %wxCommon) {
52 next if $wxCommon{$file} =~ /\bX\b/;
54 $file =~ s/cp?p?$/\o/;
55 $project{"WXMOTIF_COMMONOBJS"} .= "src/common/" . $file . " "
58 foreach $file (sort keys %wxCommon) {
59 next if $wxCommon{$file} =~ /\b(16)\b/;
61 #! needs extra files (sql*.h) so not compiled by default.
62 next if $file =~ /^odbc\./;
64 $file =~ s/cp?p?$/\o/;
65 $project{"WXMSW_COMMONOBJS"} .= "src/common/" . $file . " "
70 foreach $file (sort keys %wxMSW) {
71 #! Mingw32 doesn't have the OLE headers and has some troubles with
73 next if $wxMSW{$file} =~ /\b(O|16)\b/;
75 #! native wxDirDlg can't be compiled due to GnuWin32/OLE limitations,
76 next if $file =~ /^dirdlg\./;
78 $file =~ s/cp?p?$/\o/;
79 $project{"WXMSW_GUIOBJS"} .= "src/msw/" . $file . " "
82 foreach $file (sort keys %wxGTK) {
83 $file =~ s/cp?p?$/\o/;
84 $project{"WXGTK_GUIOBJS"} .= "src/gtk/" . $file . " "
87 foreach $file (sort keys %wxMOTIF) {
88 $file =~ s/cp?p?$/\o/;
89 $project{"WXMOTIF_GUIOBJS"} .= "src/motif/" . $file . " "
94 foreach $file (sort keys %wxHTML) {
95 $file =~ s/cp?p?$/\o/;
96 $project{"WXHTMLOBJS"} .= "src/html/" . $file . " "
99 foreach $file (sort keys %wxUNIX) {
100 $file =~ s/cp?p?$/\o/;
101 $project{"WXUNIXOBJS"} .= "src/unix/" . $file . " "
106 foreach $file (sort keys %wxWXINCLUDE) {
107 $project{"WX_HEADERS"} .= $file . " "
110 foreach $file (sort keys %wxGENERICINCLUDE) {
111 $project{"WXGENERIC_HEADERS"} .= "generic/" . $file . " "
114 foreach $file (sort keys %wxMOTIFINCLUDE) {
115 $project{"WXMOTIF_HEADERS"} .= "motif/" . $file . " "
118 foreach $file (sort keys %wxGTKINCLUDE) {
119 $project{"WXGTK_HEADERS"} .= "gtk/" . $file . " "
122 foreach $file (sort keys %wxMSWINCLUDE) {
123 $project{"WXMSW_HEADERS"} .= "msw/" . $file . " "
126 foreach $file (sort keys %wxHTMLINCLUDE) {
127 $project{"WXHTML_HEADERS"} .= "html/" . $file . " "
130 foreach $file (sort keys %wxUNIXINCLUDE) {
131 $project{"WXUNIX_HEADERS"} .= "unix/" . $file . " "
134 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
135 $project{"WXPROTOCOL_HEADERS"} .= "protocol/" . $file . " "
139 # This file was automatically generated by tmake at #$ Now()
140 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
144 # Author: Julian Smart, Robert Roebling, Vadim Zeitlin
147 # Copyright:(c) 1993, AIAI, University of Edinburgh,
148 # Copyright:(c) 1999, Vadim Zeitlin
149 # Copyright:(c) 1999, Robert Roebling
151 # Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a
153 ###################################################################
155 include ./src/make.env
157 ############## override make.env for PIC ##########################
159 # Clears all default suffixes
160 .SUFFIXES: .o .cpp .c .cxx
163 $(CCC) -c $(CFLAGS) $(PICFLAGS) -o $@ $<
166 $(CC) -c $(CPPFLAGS) $(PICFLAGS) -o $@ $<
169 $(CC) -c $(CPPFLAGS) $(PICFLAGS) -o $@ $<
171 ########################### Paths #################################
175 VPATH = :@top_srcdir@
177 top_srcdir = @top_srcdir@
179 exec_prefix = @exec_prefix@
183 libexecdir = @libexecdir@
185 sysconfdir = @sysconfdir@
186 sharedstatedir = @sharedstatedir@
187 localstatedir = @localstatedir@
191 includedir = @includedir@
192 oldincludedir = /usr/include
196 pkgdatadir = $(datadir)/@PACKAGE@
197 pkglibdir = $(libdir)/@PACKAGE@
198 pkgincludedir = $(includedir)/@PACKAGE@
203 INSTALL_PROGRAM = @INSTALL_PROGRAM@
204 INSTALL_DATA = @INSTALL_DATA@
205 INSTALL_SCRIPT = @INSTALL_SCRIPT@
206 transform = @program_transform_name@
214 build_alias = @build_alias@
215 build_triplet = @build@
216 host_alias = @host_alias@
217 host_triplet = @host@
218 target_alias = @target_alias@
219 target_triplet = @target@
221 ############################# Dirs #################################
223 WXDIR = $(top_srcdir)
225 # Subordinate library possibilities
227 SRCDIR = $(WXDIR)/src
228 GENDIR = $(WXDIR)/src/generic
229 COMMDIR = $(WXDIR)/src/common
230 HTMLDIR = $(WXDIR)/src/html
231 UNIXDIR = $(WXDIR)/src/unix
232 PNGDIR = $(WXDIR)/src/png
233 JPEGDIR = $(WXDIR)/src/jpeg
234 ZLIBDIR = $(WXDIR)/src/zlib
235 GTKDIR = $(WXDIR)/src/gtk
236 MOTIFDIR = $(WXDIR)/src/motif
237 MSWDIR = $(WXDIR)/src/msw
238 INCDIR = $(WXDIR)/include
239 SAMPDIR = $(WXDIR)/samples
241 DOCDIR = $(WXDIR)/docs
243 ########################## Archive name ###############################
245 WXARCHIVE = wx$(TOOLKIT)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tgz
246 DISTDIR = ./_dist_dir/wx$(TOOLKIT)
248 ############################## Files ##################################
251 #$ ExpandList("WX_HEADERS");
254 #$ ExpandList("WXGTK_HEADERS");
257 #$ ExpandList("WXMOTIF_HEADERS");
260 #$ ExpandList("WXMSW_HEADERS");
263 #$ ExpandList("WXUNIX_HEADERS");
266 #$ ExpandList("WXGENERIC_HEADERS");
269 #$ ExpandList("WXPROTOCOL_HEADERS");
272 #$ ExpandList("WXHTML_HEADERS");
275 #$ ExpandList("WXGTK_GENERICOBJS");
279 #$ ExpandList("WXGTK_COMMONOBJS");
282 #$ ExpandList("WXGTK_GUIOBJS");
284 MOTIF_GENERICOBJS = \
285 #$ ExpandList("WXMOTIF_GENERICOBJS");
289 #$ ExpandList("WXMOTIF_COMMONOBJS");
292 src/motif/xmcombo/xmcombo.o \
293 #$ ExpandList("WXMOTIF_GUIOBJS");
296 #$ ExpandList("WXMSW_GENERICOBJS");
299 #$ ExpandList("WXMSW_COMMONOBJS");
302 #$ ExpandList("WXMSW_GUIOBJS");
305 #$ ExpandList("WXHTMLOBJS");
308 #$ ExpandList("WXUNIXOBJS");
312 src/zlib/compress.o \
320 src/zlib/infblock.o \
321 src/zlib/inftrees.o \
322 src/zlib/infcodes.o \
349 src/jpeg/jmemnobs.o \
350 src/jpeg/jcapimin.o \
351 src/jpeg/jcapistd.o \
354 src/jpeg/jdatadst.o \
356 src/jpeg/jcmaster.o \
357 src/jpeg/jcmarker.o \
358 src/jpeg/jcmainct.o \
359 src/jpeg/jcprepct.o \
360 src/jpeg/jccoefct.o \
362 src/jpeg/jcsample.o \
365 src/jpeg/jcdctmgr.o \
366 src/jpeg/jfdctfst.o \
367 src/jpeg/jfdctflt.o \
368 src/jpeg/jfdctint.o \
369 src/jpeg/jdapimin.o \
370 src/jpeg/jdapistd.o \
372 src/jpeg/jdatasrc.o \
373 src/jpeg/jdmaster.o \
375 src/jpeg/jdmarker.o \
378 src/jpeg/jdmainct.o \
379 src/jpeg/jdcoefct.o \
380 src/jpeg/jdpostct.o \
381 src/jpeg/jddctmgr.o \
382 src/jpeg/jidctfst.o \
383 src/jpeg/jidctflt.o \
384 src/jpeg/jidctint.o \
385 src/jpeg/jidctred.o \
386 src/jpeg/jdsample.o \
393 OBJECTS = $(@GUIOBJS@) $(@COMMONOBJS@) $(@GENERICOBJS@) $(@UNIXOBJS@) $(HTMLOBJS) \
394 $(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS)
396 HEADERS = $(@GUIHEADERS@) $(HTML_HEADERS) $(UNIX_HEADERS) $(PROTOCOL_HEADERS) \
397 $(GENERIC_HEADERS) $(WX_HEADERS)
399 REQUIRED_DIRS = ./lib ./src ./src/common ./src/gtk ./src/motif ./src/msw \
400 ./src/generic ./src/unix ./src/motif/xmombo ./src/html \
401 ./src/zlib ./src/jpeg ./src/png
403 all: $(REQUIRED_DIRS) $(OBJECTS) @WX_TARGET_LIBRARY@ @WX_CREATE_LINKS@
405 $(REQUIRED_DIRS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
406 @if test ! -d ./lib; then mkdir ./lib; fi
407 @if test ! -d ./src; then mkdir ./src; fi
408 @if test ! -d ./src/common; then mkdir ./src/common; fi
409 @if test ! -d ./src/msw; then mkdir ./src/msw; fi
410 @if test ! -d ./src/gtk; then mkdir ./src/gtk; fi
411 @if test ! -d ./src/motif; then mkdir ./src/motif; fi
412 @if test ! -d ./src/motif/xmcombo; then mkdir ./src/motif/xmcombo; fi
413 @if test ! -d ./src/generic; then mkdir ./src/generic; fi
414 @if test ! -d ./src/unix; then mkdir ./src/unix; fi
415 @if test ! -d ./src/html; then mkdir ./src/html; fi
416 @if test ! -d ./src/png; then mkdir ./src/png; fi
417 @if test ! -d ./src/jpeg; then mkdir ./src/jpeg; fi
418 @if test ! -d ./src/zlib; then mkdir ./src/zlib; fi
420 @WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
421 $(AR) $(AROPTIONS) ./lib/$@ $(OBJECTS)
424 @WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
425 $(SHARED_LD) ./lib/$@ $(OBJECTS) $(EXTRALIBS)
427 CREATE_LINKS: ./lib/@WX_TARGET_LIBRARY@
428 @if test -e ./lib/@WX_LIBRARY_LINK1@; then rm -f ./lib/@WX_LIBRARY_LINK1@; fi
429 @if test -e ./lib/@WX_LIBRARY_LINK2@; then rm -f ./lib/@WX_LIBRARY_LINK2@; fi
430 @if test -e ./lib/@WX_LIBRARY_LINK3@; then rm -f ./lib/@WX_LIBRARY_LINK3@; fi
431 $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK1@
432 $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK2@
433 $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK3@
435 CREATE_INSTALLED_LINKS: $(libdir)/@WX_TARGET_LIBRARY@
436 @if test -e $(libdir)/@WX_LIBRARY_LINK1@; then rm -f $(libdir)/@WX_LIBRARY_LINK1@; fi
437 @if test -e $(libdir)/@WX_LIBRARY_LINK2@; then rm -f $(libdir)/@WX_LIBRARY_LINK2@; fi
438 @if test -e $(libdir)/@WX_LIBRARY_LINK3@; then rm -f $(libdir)/@WX_LIBRARY_LINK3@; fi
439 $(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK1@
440 $(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK2@
441 $(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK3@
443 $(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
445 parser.o: parser.c lexer.c
446 $(CCLEX) -c $(CFLAGS) -o $@ parser.c
448 parser.c: $(COMMDIR)/parser.y lexer.c
449 $(YACC) $(COMMDIR)/parser.y
450 @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
451 sed -e "s/BUFSIZ/5000/g" | \
452 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
453 sed -e "s/yy/PROIO_yy/g" | \
454 sed -e "s/input/PROIO_input/g" | \
455 sed -e "s/unput/PROIO_unput/g" > parser.c
458 lexer.c: $(COMMDIR)/lexer.l
459 $(LEX) $(COMMDIR)/lexer.l
460 @sed -e "s;$(COMMDIR)/lex.yy.c;lexer.l;g" < lex.yy.c | \
461 sed -e "s/yy/PROIO_yy/g" | \
462 sed -e "s/input/PROIO_input/g" | \
463 sed -e "s/unput/PROIO_unput/g" > lexer.c
466 preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config $(top_builddir)/setup.h
468 @echo " Installing wxWindows..."
471 $(INSTALL_SCRIPT) $(top_builddir)/wx-config $(bindir)/wx-config
472 $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@
474 @if test ! -d $(libdir)/wx; then mkdir $(libdir)/wx; fi
475 @if test ! -d $(libdir)/wx/include; then mkdir $(libdir)/wx/include; fi
476 @if test ! -d $(libdir)/wx/include/wx; then mkdir $(libdir)/wx/include/wx; fi
477 @if test ! -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@; then mkdir $(libdir)/wx/include/wx/@TOOLKIT_DIR@; fi
478 $(INSTALL_DATA) $(top_builddir)/setup.h $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
480 @if test ! -d $(includedir)/wx; then mkdir $(includedir)/wx; fi
481 @if test ! -d $(includedir)/wx/msw; then mkdir $(includedir)/wx/msw; fi
482 @if test ! -d $(includedir)/wx/gtk; then mkdir $(includedir)/wx/gtk; fi
483 @if test ! -d $(includedir)/wx/motif; then mkdir $(includedir)/wx/motif; fi
484 @if test ! -d $(includedir)/wx/html; then mkdir $(includedir)/wx/html; fi
485 @if test ! -d $(includedir)/wx/protocol; then mkdir $(includedir)/wx/protocol; fi
486 @if test ! -d $(includedir)/wx/unix; then mkdir $(includedir)/wx/unix; fi
487 @if test ! -d $(includedir)/wx/generic; then mkdir $(includedir)/wx/generic; fi
488 @list='$(HEADERS)'; for p in $$list; do \
489 $(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p; \
490 echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \
495 @echo " The installation of wxWindows is finished. On certain"
496 @echo " platforms (e.g. Linux, Solaris) you'll now have to run"
497 @echo " ldconfig if you installed a shared library."
499 @echo " wxWindows comes with no guarantees and doesn't claim"
500 @echo " to be suitable for any purpose."
502 @echo " Read the wxWindows Licence on licencing conditions."
505 install: preinstall @WX_CREATE_INSTALLED_LINKS@ write_message
509 @echo " Uninstalling wxWindows..."
511 @echo " Removing library..."
512 @rm -f $(libdir)/@WX_TARGET_LIBRARY@
513 @rm -f $(libdir)/@WX_LIBRARY_LINK1@
514 @rm -f $(libdir)/@WX_LIBRARY_LINK2@
515 @rm -f $(libdir)/@WX_LIBRARY_LINK3@
516 @echo " Removing helper files..."
517 @rm -f $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
518 @rm -f $(bindir)/wx-config
519 @echo " Removing headers..."
520 @list='$(HEADERS)'; for p in $$list; do \
521 rm -f $(includedir)/wx/$$p; \
523 @echo " Removing directories..."
524 @if test -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@; then rmdir $(libdir)/wx/include/wx/@TOOLKIT_DIR@; fi
525 @if test -d $(libdir)/wx/include/wx; then rmdir $(libdir)/wx/include/wx; fi
526 @if test -d $(libdir)/wx/include; then rmdir $(libdir)/wx/include; fi
527 @if test -d $(libdir)/wx; then rmdir $(libdir)/wx; fi
528 @if test -d $(includedir)/wx/gtk; then rmdir $(includedir)/wx/gtk; fi
529 @if test -d $(includedir)/wx/motif; then rmdir $(includedir)/wx/motif; fi
530 @if test -d $(includedir)/wx/motif; then rmdir $(includedir)/wx/msw; fi
531 @if test -d $(includedir)/wx/html; then rmdir $(includedir)/wx/html; fi
532 @if test -d $(includedir)/wx/unix; then rmdir $(includedir)/wx/unix; fi
533 @if test -d $(includedir)/wx/generic; then rmdir $(includedir)/wx/generic; fi
534 @if test -d $(includedir)/wx/protocol; then rmdir $(includedir)/wx/protocol; fi
535 @if test -d $(includedir)/wx; then rmdir $(includedir)/wx; fi
540 cp $(WXDIR)/wx$(TOOLKIT).spec $(DISTDIR)
541 cp $(WXDIR)/configure $(DISTDIR)
542 cp $(WXDIR)/config.sub $(DISTDIR)
543 cp $(WXDIR)/config.guess $(DISTDIR)
544 cp $(WXDIR)/install-sh $(DISTDIR)
545 cp $(WXDIR)/mkinstalldirs $(DISTDIR)
546 cp $(WXDIR)/wx-config.in $(DISTDIR)
547 cp $(WXDIR)/setup.h.in $(DISTDIR)
548 cp $(WXDIR)/Makefile.in $(DISTDIR)
549 cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
550 cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
551 cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt
552 cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt
553 cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES.txt
554 cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README.txt
555 cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt
556 mkdir $(DISTDIR)/include
557 mkdir $(DISTDIR)/include/wx
558 mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)
559 mkdir $(DISTDIR)/include/wx/generic
560 mkdir $(DISTDIR)/include/wx/html
561 mkdir $(DISTDIR)/include/wx/unix
562 mkdir $(DISTDIR)/include/wx/protocol
563 cp $(INCDIR)/wx/*.h $(DISTDIR)/include/wx
564 cp $(INCDIR)/wx/*.cpp $(DISTDIR)/include/wx
565 cp $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic
566 cp $(INCDIR)/wx/generic/*.xpm $(DISTDIR)/include/wx/generic
567 cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
568 cp $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
569 cp $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol
571 mkdir $(DISTDIR)/src/common
572 mkdir $(DISTDIR)/src/generic
573 mkdir $(DISTDIR)/src/html
574 mkdir $(DISTDIR)/src/html/bitmaps
575 mkdir $(DISTDIR)/src/$(TOOLKITDIR)
576 mkdir $(DISTDIR)/src/unix
577 mkdir $(DISTDIR)/src/png
578 mkdir $(DISTDIR)/src/jpeg
579 mkdir $(DISTDIR)/src/zlib
580 cp $(SRCDIR)/*.in $(DISTDIR)/src
581 cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
582 cp $(COMMDIR)/*.c $(DISTDIR)/src/common
583 cp $(COMMDIR)/*.inc $(DISTDIR)/src/common
584 cp $(COMMDIR)/*.l $(DISTDIR)/src/common
585 cp $(COMMDIR)/*.h $(DISTDIR)/src/common
586 cp $(COMMDIR)/*.y $(DISTDIR)/src/common
587 cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic
588 cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
589 cp $(HTMLDIR)/*.h $(DISTDIR)/src/html
590 cp $(HTMLDIR)/bitmaps/*.xpm $(DISTDIR)/src/html/bitmaps
591 cp $(UNIXDIR)/*.h $(DISTDIR)/src/unix
592 cp $(UNIXDIR)/*.c $(DISTDIR)/src/unix
593 cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
594 cp $(PNGDIR)/*.h $(DISTDIR)/src/png
595 cp $(PNGDIR)/*.c $(DISTDIR)/src/png
596 cp $(PNGDIR)/README $(DISTDIR)/src/png
597 cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
598 cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
599 cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
600 cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
601 cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
602 cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg
605 cp $(WXDIR)/wxGTK.spec $(DISTDIR)
606 cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
607 cp $(INCDIR)/wx/gtk/*.xpm $(DISTDIR)/include/wx/gtk
608 cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk
609 cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
610 cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
613 cp $(WXDIR)/wxMOTIF.spec $(DISTDIR)
614 cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
615 cp $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif
616 cp $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif
617 mkdir $(DISTDIR)/src/motif/xmcombo
618 cp $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo
619 cp $(MOTIFDIR)/xmcombo/*.h $(DISTDIR)/src/motif/xmcombo
620 cp $(MOTIFDIR)/xmcombo/copying.txt $(DISTDIR)/src/motif/xmcombo
623 cp $(WXDIR)/wxWINE.spec $(DISTDIR)
624 cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
625 cp $(INCDIR)/wx/msw/*.cur $(DISTDIR)/include/wx/msw
626 cp $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw
627 cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
628 cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
629 cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
630 cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
631 cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
632 mkdir $(DISTDIR)/src/msw/ole
633 cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
636 mkdir $(DISTDIR)/samples
637 cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
638 mkdir $(DISTDIR)/samples/bombs
639 cp $(SAMPDIR)/bombs/Makefile.in $(DISTDIR)/samples/bombs
640 cp $(SAMPDIR)/bombs/*.cpp $(DISTDIR)/samples/bombs
641 cp $(SAMPDIR)/bombs/*.h $(DISTDIR)/samples/bombs
642 cp $(SAMPDIR)/bombs/*.xpm $(DISTDIR)/samples/bombs
643 cp $(SAMPDIR)/bombs/readme.txt $(DISTDIR)/samples/bombs
644 mkdir $(DISTDIR)/samples/caret
645 cp $(SAMPDIR)/caret/Makefile.in $(DISTDIR)/samples/caret
646 cp $(SAMPDIR)/caret/*.cpp $(DISTDIR)/samples/caret
647 cp $(SAMPDIR)/caret/*.xpm $(DISTDIR)/samples/caret
648 mkdir $(DISTDIR)/samples/config
649 cp $(SAMPDIR)/config/Makefile.in $(DISTDIR)/samples/config
650 cp $(SAMPDIR)/config/*.cpp $(DISTDIR)/samples/config
651 mkdir $(DISTDIR)/samples/controls
652 mkdir $(DISTDIR)/samples/controls/icons
653 cp $(SAMPDIR)/controls/Makefile.in $(DISTDIR)/samples/controls
654 cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls
655 cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls
656 cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons
657 mkdir $(DISTDIR)/samples/checklst
658 cp $(SAMPDIR)/checklst/Makefile.in $(DISTDIR)/samples/checklst
659 cp $(SAMPDIR)/checklst/*.cpp $(DISTDIR)/samples/checklst
660 cp $(SAMPDIR)/checklst/*.xpm $(DISTDIR)/samples/checklst
662 dist: ALL_DIST @GUIDIST@ SAMPLES_DIST
663 cd _dist_dir; tar ch wx$(TOOLKIT) | gzip -f9 > $(WXARCHIVE); mv $(WXARCHIVE) ..
669 rm -f ./src/motif/*.o
671 rm -f ./src/common/*.o
673 rm -f ./src/generic/*.o