3 # This file was automatically generated by tmake at 20:13, 1999/08/14
4 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
8 # Author: Julian Smart, Robert Roebling, Vadim Zeitlin
11 # Copyright:(c) 1993, AIAI, University of Edinburgh,
12 # Copyright:(c) 1999, Vadim Zeitlin
13 # Copyright:(c) 1999, Robert Roebling
15 # Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a
17 ###################################################################
19 include ./src/make.env
21 ############## override make.env for PIC ##########################
23 # Clears all default suffixes
24 .SUFFIXES: .o .cpp .c .cxx
27 $(CCC) -c $(CFLAGS) $(PICFLAGS) -o $@ $<
30 $(CC) -c $(CPPFLAGS) $(PICFLAGS) -o $@ $<
33 $(CC) -c $(CPPFLAGS) $(PICFLAGS) -o $@ $<
35 ########################### Paths #################################
41 top_srcdir = @top_srcdir@
43 exec_prefix = @exec_prefix@
47 libexecdir = @libexecdir@
49 sysconfdir = @sysconfdir@
50 sharedstatedir = @sharedstatedir@
51 localstatedir = @localstatedir@
55 includedir = @includedir@
56 oldincludedir = /usr/include
60 pkgdatadir = $(datadir)/@PACKAGE@
61 pkglibdir = $(libdir)/@PACKAGE@
62 pkgincludedir = $(includedir)/@PACKAGE@
67 INSTALL_PROGRAM = @INSTALL_PROGRAM@
68 INSTALL_DATA = @INSTALL_DATA@
69 INSTALL_SCRIPT = @INSTALL_SCRIPT@
70 transform = @program_transform_name@
78 build_alias = @build_alias@
79 build_triplet = @build@
80 host_alias = @host_alias@
82 target_alias = @target_alias@
83 target_triplet = @target@
85 ############################# Dirs #################################
89 # Subordinate library possibilities
92 GENDIR = $(WXDIR)/src/generic
93 COMMDIR = $(WXDIR)/src/common
94 HTMLDIR = $(WXDIR)/src/html
95 UNIXDIR = $(WXDIR)/src/unix
96 PNGDIR = $(WXDIR)/src/png
97 JPEGDIR = $(WXDIR)/src/jpeg
98 ZLIBDIR = $(WXDIR)/src/zlib
99 GTKDIR = $(WXDIR)/src/gtk
100 MOTIFDIR = $(WXDIR)/src/motif
101 MSWDIR = $(WXDIR)/src/msw
102 INCDIR = $(WXDIR)/include
103 SAMPDIR = $(WXDIR)/samples
105 DOCDIR = $(WXDIR)/docs
107 ########################## Archive name ###############################
109 WXARCHIVE = wx$(TOOLKIT)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tgz
110 DISTDIR = ./_dist_dir/wx$(TOOLKIT)
112 ############################## Files ##################################
548 html/htmlwinparser.h \
553 src/generic/busyinfo.o \
554 src/generic/caret.o \
555 src/generic/choicdgg.o \
556 src/generic/colrdlgg.o \
557 src/generic/dcpsg.o \
558 src/generic/dirdlgg.o \
559 src/generic/fontdlgg.o \
560 src/generic/gridg.o \
561 src/generic/helphtml.o \
562 src/generic/helpwxht.o \
563 src/generic/imaglist.o \
564 src/generic/laywin.o \
565 src/generic/listctrl.o \
566 src/generic/msgdlgg.o \
567 src/generic/numdlgg.o \
568 src/generic/panelg.o \
569 src/generic/printps.o \
570 src/generic/prntdlgg.o \
571 src/generic/progdlgg.o \
573 src/generic/propform.o \
574 src/generic/proplist.o \
575 src/generic/sashwin.o \
576 src/generic/scrolwin.o \
577 src/generic/splitter.o \
578 src/generic/statusbr.o \
579 src/generic/textdlgg.o \
580 src/generic/tipdlg.o \
581 src/generic/treectrl.o
585 src/common/cmndata.o \
586 src/common/config.o \
588 src/common/datstrm.o \
590 src/common/dbtable.o \
591 src/common/dcbase.o \
592 src/common/dlgcmn.o \
593 src/common/docmdi.o \
594 src/common/docview.o \
595 src/common/dynarray.o \
596 src/common/dynlib.o \
598 src/common/extended.o \
601 src/common/fileconf.o \
602 src/common/filefn.o \
603 src/common/filesys.o \
604 src/common/framecmn.o \
605 src/common/fs_inet.o \
606 src/common/fs_zip.o \
608 src/common/gdicmn.o \
610 src/common/helpbase.o \
612 src/common/imagbmp.o \
614 src/common/imaggif.o \
615 src/common/imagjpeg.o \
616 src/common/imagpng.o \
618 src/common/ipcbase.o \
619 src/common/layout.o \
622 src/common/memory.o \
623 src/common/mimetype.o \
624 src/common/module.o \
625 src/common/mstream.o \
626 src/common/object.o \
627 src/common/objstrm.o \
629 src/common/prntbase.o \
630 src/common/process.o \
631 src/common/protocol.o \
632 src/common/resource.o \
633 src/common/sckaddr.o \
634 src/common/sckfile.o \
635 src/common/sckipc.o \
636 src/common/sckstrm.o \
638 src/common/socket.o \
639 src/common/strconv.o \
640 src/common/stream.o \
641 src/common/string.o \
642 src/common/tbarbase.o \
643 src/common/tbarsmpl.o \
644 src/common/textcmn.o \
645 src/common/textfile.o \
647 src/common/timercmn.o \
648 src/common/tokenzr.o \
649 src/common/txtstrm.o \
652 src/common/utilscmn.o \
653 src/common/valgen.o \
654 src/common/validate.o \
655 src/common/valtext.o \
656 src/common/variant.o \
657 src/common/wfstream.o \
658 src/common/wincmn.o \
659 src/common/wxchar.o \
660 src/common/wxexpr.o \
661 src/common/zipstrm.o \
723 MOTIF_GENERICOBJS = \
724 src/generic/busyinfo.o \
725 src/generic/caret.o \
726 src/generic/choicdgg.o \
727 src/generic/colrdlgg.o \
728 src/generic/dcpsg.o \
729 src/generic/dirdlgg.o \
730 src/generic/fontdlgg.o \
731 src/generic/gridg.o \
732 src/generic/helphtml.o \
733 src/generic/helpwxht.o \
734 src/generic/helpxlp.o \
735 src/generic/imaglist.o \
736 src/generic/laywin.o \
737 src/generic/listctrl.o \
738 src/generic/msgdlgg.o \
739 src/generic/notebook.o \
740 src/generic/numdlgg.o \
741 src/generic/panelg.o \
742 src/generic/printps.o \
743 src/generic/prntdlgg.o \
744 src/generic/progdlgg.o \
746 src/generic/propform.o \
747 src/generic/proplist.o \
748 src/generic/sashwin.o \
749 src/generic/scrolwin.o \
750 src/generic/splitter.o \
751 src/generic/statusbr.o \
753 src/generic/textdlgg.o \
754 src/generic/tipdlg.o \
755 src/generic/treectrl.o
759 src/common/choiccmn.o \
760 src/common/cmndata.o \
761 src/common/config.o \
762 src/common/ctrlcmn.o \
764 src/common/datstrm.o \
766 src/common/dbtable.o \
767 src/common/dcbase.o \
768 src/common/dlgcmn.o \
769 src/common/docmdi.o \
770 src/common/docview.o \
771 src/common/dynarray.o \
772 src/common/dynlib.o \
774 src/common/extended.o \
777 src/common/fileconf.o \
778 src/common/filefn.o \
779 src/common/filesys.o \
780 src/common/framecmn.o \
781 src/common/fs_inet.o \
782 src/common/fs_zip.o \
784 src/common/gdicmn.o \
786 src/common/helpbase.o \
788 src/common/imagbmp.o \
790 src/common/imaggif.o \
791 src/common/imagjpeg.o \
792 src/common/imagpng.o \
794 src/common/ipcbase.o \
795 src/common/layout.o \
798 src/common/memory.o \
799 src/common/mimetype.o \
800 src/common/module.o \
801 src/common/mstream.o \
802 src/common/object.o \
803 src/common/objstrm.o \
806 src/common/prntbase.o \
807 src/common/process.o \
808 src/common/protocol.o \
809 src/common/resource.o \
810 src/common/sckaddr.o \
811 src/common/sckfile.o \
812 src/common/sckipc.o \
813 src/common/sckstrm.o \
815 src/common/socket.o \
816 src/common/strconv.o \
817 src/common/stream.o \
818 src/common/string.o \
819 src/common/tbarbase.o \
820 src/common/tbarsmpl.o \
821 src/common/textcmn.o \
822 src/common/textfile.o \
824 src/common/timercmn.o \
825 src/common/tokenzr.o \
826 src/common/txtstrm.o \
829 src/common/utilscmn.o \
830 src/common/valgen.o \
831 src/common/validate.o \
832 src/common/valtext.o \
833 src/common/variant.o \
834 src/common/wfstream.o \
835 src/common/wincmn.o \
836 src/common/wxchar.o \
837 src/common/wxexpr.o \
838 src/common/zipstrm.o \
842 src/motif/xmcombo/xmcombo.o \
846 src/motif/bmpbuttn.o \
849 src/motif/checkbox.o \
851 src/motif/clipbrd.o \
853 src/motif/combobox.o \
854 src/motif/control.o \
857 src/motif/dataobj.o \
859 src/motif/dcclient.o \
860 src/motif/dcmemory.o \
861 src/motif/dcscreen.o \
863 src/motif/filedlg.o \
868 src/motif/gsockmot.o \
870 src/motif/listbox.o \
874 src/motif/menuitem.o \
875 src/motif/minifram.o \
877 src/motif/palette.o \
879 src/motif/radiobox.o \
880 src/motif/radiobut.o \
882 src/motif/scrolbar.o \
883 src/motif/settings.o \
885 src/motif/statbmp.o \
886 src/motif/statbox.o \
887 src/motif/stattext.o \
888 src/motif/textctrl.o \
890 src/motif/toolbar.o \
895 src/generic/busyinfo.o \
896 src/generic/choicdgg.o \
897 src/generic/dirdlgg.o \
898 src/generic/gridg.o \
899 src/generic/laywin.o \
900 src/generic/numdlgg.o \
901 src/generic/panelg.o \
902 src/generic/progdlgg.o \
904 src/generic/propform.o \
905 src/generic/proplist.o \
906 src/generic/sashwin.o \
907 src/generic/scrolwin.o \
908 src/generic/splitter.o \
909 src/generic/statusbr.o \
911 src/generic/textdlgg.o \
915 src/common/choiccmn.o \
916 src/common/cmndata.o \
917 src/common/config.o \
918 src/common/ctrlcmn.o \
920 src/common/datstrm.o \
922 src/common/dbtable.o \
923 src/common/dcbase.o \
924 src/common/dlgcmn.o \
925 src/common/docmdi.o \
926 src/common/docview.o \
927 src/common/dynarray.o \
928 src/common/dynlib.o \
930 src/common/extended.o \
933 src/common/fileconf.o \
934 src/common/filefn.o \
935 src/common/filesys.o \
936 src/common/framecmn.o \
937 src/common/fs_inet.o \
938 src/common/fs_zip.o \
940 src/common/gdicmn.o \
942 src/common/helpbase.o \
944 src/common/imagbmp.o \
946 src/common/imaggif.o \
947 src/common/imagjpeg.o \
948 src/common/imagpng.o \
950 src/common/ipcbase.o \
951 src/common/layout.o \
954 src/common/memory.o \
955 src/common/mimetype.o \
956 src/common/module.o \
957 src/common/mstream.o \
958 src/common/object.o \
959 src/common/objstrm.o \
961 src/common/prntbase.o \
962 src/common/process.o \
963 src/common/protocol.o \
964 src/common/resource.o \
965 src/common/sckaddr.o \
966 src/common/sckfile.o \
967 src/common/sckipc.o \
968 src/common/sckstrm.o \
970 src/common/socket.o \
971 src/common/strconv.o \
972 src/common/stream.o \
973 src/common/string.o \
974 src/common/tbarbase.o \
975 src/common/textcmn.o \
976 src/common/textfile.o \
978 src/common/timercmn.o \
979 src/common/tokenzr.o \
980 src/common/txtstrm.o \
983 src/common/utilscmn.o \
984 src/common/valgen.o \
985 src/common/validate.o \
986 src/common/valtext.o \
987 src/common/variant.o \
988 src/common/wfstream.o \
989 src/common/wincmn.o \
990 src/common/wxchar.o \
991 src/common/wxexpr.o \
992 src/common/zipstrm.o \
1003 src/msw/checkbox.o \
1004 src/msw/checklst.o \
1007 src/msw/colordlg.o \
1009 src/msw/combobox.o \
1015 src/msw/dcclient.o \
1016 src/msw/dcmemory.o \
1018 src/msw/dcscreen.o \
1022 src/msw/dibutils.o \
1023 src/msw/dragimag.o \
1032 src/msw/imaglist.o \
1033 src/msw/joystick.o \
1035 src/msw/listctrl.o \
1039 src/msw/menuitem.o \
1040 src/msw/metafile.o \
1041 src/msw/minifram.o \
1043 src/msw/nativdlg.o \
1044 src/msw/notebook.o \
1045 src/msw/ownerdrw.o \
1050 src/msw/printdlg.o \
1051 src/msw/printwin.o \
1052 src/msw/radiobox.o \
1053 src/msw/radiobut.o \
1056 src/msw/registry.o \
1057 src/msw/scrolbar.o \
1058 src/msw/settings.o \
1059 src/msw/slider95.o \
1060 src/msw/spinbutt.o \
1063 src/msw/statbr95.o \
1064 src/msw/statline.o \
1065 src/msw/stattext.o \
1069 src/msw/textctrl.o \
1073 src/msw/treectrl.o \
1075 src/msw/utilsexc.o \
1081 src/html/htmlcell.o \
1082 src/html/htmlfilter.o \
1083 src/html/htmlhelp.o \
1084 src/html/htmlhelp_io.o \
1085 src/html/htmlparser.o \
1086 src/html/htmltag.o \
1087 src/html/htmlwin.o \
1088 src/html/htmlwinparser.o \
1089 src/html/mod_fonts.o \
1090 src/html/mod_hline.o \
1091 src/html/mod_image.o \
1092 src/html/mod_layout.o \
1093 src/html/mod_links.o \
1094 src/html/mod_list.o \
1095 src/html/mod_pre.o \
1096 src/html/mod_tables.o \
1100 src/unix/gsocket.o \
1101 src/unix/threadpsx.o \
1105 src/zlib/adler32.o \
1106 src/zlib/compress.o \
1109 src/zlib/uncompr.o \
1110 src/zlib/deflate.o \
1113 src/zlib/inflate.o \
1114 src/zlib/infblock.o \
1115 src/zlib/inftrees.o \
1116 src/zlib/infcodes.o \
1117 src/zlib/infutil.o \
1123 src/png/pngrtran.o \
1124 src/png/pngrutil.o \
1125 src/png/pngpread.o \
1126 src/png/pngtrans.o \
1127 src/png/pngwrite.o \
1128 src/png/pngwtran.o \
1129 src/png/pngwutil.o \
1130 src/png/pngerror.o \
1139 src/jpeg/jcomapi.o \
1142 src/jpeg/jmemmgr.o \
1143 src/jpeg/jmemnobs.o \
1144 src/jpeg/jcapimin.o \
1145 src/jpeg/jcapistd.o \
1146 src/jpeg/jctrans.o \
1147 src/jpeg/jcparam.o \
1148 src/jpeg/jdatadst.o \
1150 src/jpeg/jcmaster.o \
1151 src/jpeg/jcmarker.o \
1152 src/jpeg/jcmainct.o \
1153 src/jpeg/jcprepct.o \
1154 src/jpeg/jccoefct.o \
1155 src/jpeg/jccolor.o \
1156 src/jpeg/jcsample.o \
1158 src/jpeg/jcphuff.o \
1159 src/jpeg/jcdctmgr.o \
1160 src/jpeg/jfdctfst.o \
1161 src/jpeg/jfdctflt.o \
1162 src/jpeg/jfdctint.o \
1163 src/jpeg/jdapimin.o \
1164 src/jpeg/jdapistd.o \
1165 src/jpeg/jdtrans.o \
1166 src/jpeg/jdatasrc.o \
1167 src/jpeg/jdmaster.o \
1168 src/jpeg/jdinput.o \
1169 src/jpeg/jdmarker.o \
1171 src/jpeg/jdphuff.o \
1172 src/jpeg/jdmainct.o \
1173 src/jpeg/jdcoefct.o \
1174 src/jpeg/jdpostct.o \
1175 src/jpeg/jddctmgr.o \
1176 src/jpeg/jidctfst.o \
1177 src/jpeg/jidctflt.o \
1178 src/jpeg/jidctint.o \
1179 src/jpeg/jidctred.o \
1180 src/jpeg/jdsample.o \
1181 src/jpeg/jdcolor.o \
1182 src/jpeg/jquant1.o \
1183 src/jpeg/jquant2.o \
1187 OBJECTS = $(@GUIOBJS@) $(@COMMONOBJS@) $(@GENERICOBJS@) $(@UNIXOBJS@) $(HTMLOBJS) \
1188 $(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS)
1190 HEADERS = $(@GUIHEADERS@) $(HTML_HEADERS) $(UNIX_HEADERS) $(PROTOCOL_HEADERS) \
1191 $(GENERIC_HEADERS) $(WX_HEADERS)
1193 REQUIRED_DIRS = ./lib ./src ./src/common ./src/gtk ./src/motif ./src/msw \
1194 ./src/generic ./src/unix ./src/motif/xmombo ./src/html \
1195 ./src/zlib ./src/jpeg ./src/png
1197 all: $(REQUIRED_DIRS) $(OBJECTS) @WX_TARGET_LIBRARY@ @WX_CREATE_LINKS@
1199 $(REQUIRED_DIRS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
1202 @mkdir -p ./src/common
1205 @mkdir -p ./src/motif
1206 @mkdir -p ./src/motif/xmcombo
1207 @mkdir -p ./src/generic
1208 @mkdir -p ./src/unix
1209 @mkdir -p ./src/html
1211 @mkdir -p ./src/jpeg
1212 @mkdir -p ./src/zlib
1214 @WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
1215 $(AR) $(AROPTIONS) ./lib/$@ $(OBJECTS)
1218 @WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
1219 $(SHARED_LD) ./lib/$@ $(OBJECTS) $(EXTRALIBS)
1221 CREATE_LINKS: ./lib/@WX_TARGET_LIBRARY@
1222 @if test -e ./lib/@WX_LIBRARY_LINK1@; then rm -f ./lib/@WX_LIBRARY_LINK1@; fi
1223 @if test -e ./lib/@WX_LIBRARY_LINK2@; then rm -f ./lib/@WX_LIBRARY_LINK2@; fi
1224 @if test -e ./lib/@WX_LIBRARY_LINK3@; then rm -f ./lib/@WX_LIBRARY_LINK3@; fi
1225 $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK1@
1226 $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK2@
1227 $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK3@
1229 CREATE_INSTALLED_LINKS: $(libdir)/@WX_TARGET_LIBRARY@
1230 @if test -e $(libdir)/@WX_LIBRARY_LINK1@; then rm -f $(libdir)/@WX_LIBRARY_LINK1@; fi
1231 @if test -e $(libdir)/@WX_LIBRARY_LINK2@; then rm -f $(libdir)/@WX_LIBRARY_LINK2@; fi
1232 @if test -e $(libdir)/@WX_LIBRARY_LINK3@; then rm -f $(libdir)/@WX_LIBRARY_LINK3@; fi
1233 $(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK1@
1234 $(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK2@
1235 $(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK3@
1237 $(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
1239 parser.o: parser.c lexer.c
1240 $(CCLEX) -c $(CFLAGS) -o $@ parser.c
1242 parser.c: $(COMMDIR)/parser.y lexer.c
1243 $(YACC) $(COMMDIR)/parser.y
1244 @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
1245 sed -e "s/BUFSIZ/5000/g" | \
1246 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
1247 sed -e "s/yy/PROIO_yy/g" | \
1248 sed -e "s/input/PROIO_input/g" | \
1249 sed -e "s/unput/PROIO_unput/g" > parser.c
1252 lexer.c: $(COMMDIR)/lexer.l
1253 $(LEX) $(COMMDIR)/lexer.l
1254 @sed -e "s;$(COMMDIR)/lex.yy.c;lexer.l;g" < lex.yy.c | \
1255 sed -e "s/yy/PROIO_yy/g" | \
1256 sed -e "s/input/PROIO_input/g" | \
1257 sed -e "s/unput/PROIO_unput/g" > lexer.c
1260 preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config $(top_builddir)/setup.h
1262 @echo " Installing wxWindows..."
1265 $(INSTALL_SCRIPT) $(top_builddir)/wx-config $(bindir)/wx-config
1266 $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@
1268 @mkdir -p $(libdir)/wx
1269 @mkdir -p $(libdir)/wx/include
1270 @mkdir -p $(libdir)/wx/include/wx
1271 @mkdir -p $(libdir)/wx/include/wx/@TOOLKIT_DIR@
1272 $(INSTALL_DATA) $(top_builddir)/setup.h $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
1274 @mkdir -p $(includedir)/wx
1275 @mkdir -p $(includedir)/wx/msw
1276 @mkdir -p $(includedir)/wx/gtk
1277 @mkdir -p $(includedir)/wx/motif
1278 @mkdir -p $(includedir)/wx/html
1279 @mkdir -p $(includedir)/wx/protocol
1280 @mkdir -p $(includedir)/wx/unix
1281 @mkdir -p $(includedir)/wx/generic
1282 @list='$(HEADERS)'; for p in $$list; do \
1283 $(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p; \
1284 echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \
1289 @echo " The installation of wxWindows is finished. On certain"
1290 @echo " platforms (e.g. Linux, Solaris) you'll now have to run"
1291 @echo " ldconfig if you installed a shared library."
1293 @echo " wxWindows comes with no guarantees and doesn't claim"
1294 @echo " to be suitable for any purpose."
1296 @echo " Read the wxWindows Licence on licencing conditions."
1299 install: preinstall @WX_CREATE_INSTALLED_LINKS@ write_message
1303 @echo " Uninstalling wxWindows..."
1305 @echo " Removing library..."
1306 @rm -f $(libdir)/@WX_TARGET_LIBRARY@
1307 @rm -f $(libdir)/@WX_LIBRARY_LINK1@
1308 @rm -f $(libdir)/@WX_LIBRARY_LINK2@
1309 @rm -f $(libdir)/@WX_LIBRARY_LINK3@
1310 @echo " Removing helper files..."
1311 @rm -f $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
1312 @rm -f $(bindir)/wx-config
1313 @echo " Removing headers..."
1314 @list='$(HEADERS)'; for p in $$list; do \
1315 rm -f $(includedir)/wx/$$p; \
1317 @echo " Removing directories..."
1318 @if test -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@; then rmdir $(libdir)/wx/include/wx/@TOOLKIT_DIR@; fi
1319 @if test -d $(libdir)/wx/include/wx; then rmdir $(libdir)/wx/include/wx; fi
1320 @if test -d $(libdir)/wx/include; then rmdir $(libdir)/wx/include; fi
1321 @if test -d $(libdir)/wx; then rmdir $(libdir)/wx; fi
1322 @if test -d $(includedir)/wx/gtk; then rmdir $(includedir)/wx/gtk; fi
1323 @if test -d $(includedir)/wx/motif; then rmdir $(includedir)/wx/motif; fi
1324 @if test -d $(includedir)/wx/motif; then rmdir $(includedir)/wx/msw; fi
1325 @if test -d $(includedir)/wx/html; then rmdir $(includedir)/wx/html; fi
1326 @if test -d $(includedir)/wx/unix; then rmdir $(includedir)/wx/unix; fi
1327 @if test -d $(includedir)/wx/generic; then rmdir $(includedir)/wx/generic; fi
1328 @if test -d $(includedir)/wx/protocol; then rmdir $(includedir)/wx/protocol; fi
1329 @if test -d $(includedir)/wx; then rmdir $(includedir)/wx; fi
1334 cp $(WXDIR)/wx$(TOOLKIT).spec $(DISTDIR)
1335 cp $(WXDIR)/configure $(DISTDIR)
1336 cp $(WXDIR)/config.sub $(DISTDIR)
1337 cp $(WXDIR)/config.guess $(DISTDIR)
1338 cp $(WXDIR)/install-sh $(DISTDIR)
1339 cp $(WXDIR)/mkinstalldirs $(DISTDIR)
1340 cp $(WXDIR)/wx-config.in $(DISTDIR)
1341 cp $(WXDIR)/setup.h.in $(DISTDIR)
1342 cp $(WXDIR)/Makefile.in $(DISTDIR)
1343 cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
1344 cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
1345 cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt
1346 cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt
1347 cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES.txt
1348 cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README.txt
1349 cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt
1350 mkdir $(DISTDIR)/include
1351 mkdir $(DISTDIR)/include/wx
1352 mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)
1353 mkdir $(DISTDIR)/include/wx/generic
1354 mkdir $(DISTDIR)/include/wx/html
1355 mkdir $(DISTDIR)/include/wx/unix
1356 mkdir $(DISTDIR)/include/wx/protocol
1357 cp $(INCDIR)/wx/*.h $(DISTDIR)/include/wx
1358 cp $(INCDIR)/wx/*.cpp $(DISTDIR)/include/wx
1359 cp $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic
1360 cp $(INCDIR)/wx/generic/*.xpm $(DISTDIR)/include/wx/generic
1361 cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
1362 cp $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
1363 cp $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol
1364 mkdir $(DISTDIR)/src
1365 mkdir $(DISTDIR)/src/common
1366 mkdir $(DISTDIR)/src/generic
1367 mkdir $(DISTDIR)/src/html
1368 mkdir $(DISTDIR)/src/html/bitmaps
1369 mkdir $(DISTDIR)/src/$(TOOLKITDIR)
1370 mkdir $(DISTDIR)/src/unix
1371 mkdir $(DISTDIR)/src/png
1372 mkdir $(DISTDIR)/src/jpeg
1373 mkdir $(DISTDIR)/src/zlib
1374 cp $(SRCDIR)/*.in $(DISTDIR)/src
1375 cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
1376 cp $(COMMDIR)/*.c $(DISTDIR)/src/common
1377 cp $(COMMDIR)/*.inc $(DISTDIR)/src/common
1378 cp $(COMMDIR)/*.l $(DISTDIR)/src/common
1379 cp $(COMMDIR)/*.h $(DISTDIR)/src/common
1380 cp $(COMMDIR)/*.y $(DISTDIR)/src/common
1381 cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic
1382 cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
1383 cp $(HTMLDIR)/*.h $(DISTDIR)/src/html
1384 cp $(HTMLDIR)/bitmaps/*.xpm $(DISTDIR)/src/html/bitmaps
1385 cp $(UNIXDIR)/*.h $(DISTDIR)/src/unix
1386 cp $(UNIXDIR)/*.c $(DISTDIR)/src/unix
1387 cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
1388 cp $(PNGDIR)/*.h $(DISTDIR)/src/png
1389 cp $(PNGDIR)/*.c $(DISTDIR)/src/png
1390 cp $(PNGDIR)/README $(DISTDIR)/src/png
1391 cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
1392 cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
1393 cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
1394 cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
1395 cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
1396 cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg
1399 cp $(WXDIR)/wxGTK.spec $(DISTDIR)
1400 cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
1401 cp $(INCDIR)/wx/gtk/*.xpm $(DISTDIR)/include/wx/gtk
1402 cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk
1403 cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
1404 cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
1407 cp $(WXDIR)/wxMOTIF.spec $(DISTDIR)
1408 cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
1409 cp $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif
1410 cp $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif
1411 mkdir $(DISTDIR)/src/motif/xmcombo
1412 cp $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo
1413 cp $(MOTIFDIR)/xmcombo/*.h $(DISTDIR)/src/motif/xmcombo
1414 cp $(MOTIFDIR)/xmcombo/copying.txt $(DISTDIR)/src/motif/xmcombo
1417 cp $(WXDIR)/wxWINE.spec $(DISTDIR)
1418 cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
1419 cp $(INCDIR)/wx/msw/*.cur $(DISTDIR)/include/wx/msw
1420 cp $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw
1421 cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
1422 cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
1423 cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
1424 cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
1425 cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
1426 mkdir $(DISTDIR)/src/msw/ole
1427 cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
1430 mkdir $(DISTDIR)/samples
1431 cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
1432 mkdir $(DISTDIR)/samples/bombs
1433 cp $(SAMPDIR)/bombs/Makefile.in $(DISTDIR)/samples/bombs
1434 cp $(SAMPDIR)/bombs/*.cpp $(DISTDIR)/samples/bombs
1435 cp $(SAMPDIR)/bombs/*.h $(DISTDIR)/samples/bombs
1436 cp $(SAMPDIR)/bombs/*.xpm $(DISTDIR)/samples/bombs
1437 cp $(SAMPDIR)/bombs/readme.txt $(DISTDIR)/samples/bombs
1438 mkdir $(DISTDIR)/samples/caret
1439 cp $(SAMPDIR)/caret/Makefile.in $(DISTDIR)/samples/caret
1440 cp $(SAMPDIR)/caret/*.cpp $(DISTDIR)/samples/caret
1441 cp $(SAMPDIR)/caret/*.xpm $(DISTDIR)/samples/caret
1442 mkdir $(DISTDIR)/samples/config
1443 cp $(SAMPDIR)/config/Makefile.in $(DISTDIR)/samples/config
1444 cp $(SAMPDIR)/config/*.cpp $(DISTDIR)/samples/config
1445 mkdir $(DISTDIR)/samples/controls
1446 mkdir $(DISTDIR)/samples/controls/icons
1447 cp $(SAMPDIR)/controls/Makefile.in $(DISTDIR)/samples/controls
1448 cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls
1449 cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls
1450 cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons
1451 mkdir $(DISTDIR)/samples/checklst
1452 cp $(SAMPDIR)/checklst/Makefile.in $(DISTDIR)/samples/checklst
1453 cp $(SAMPDIR)/checklst/*.cpp $(DISTDIR)/samples/checklst
1454 cp $(SAMPDIR)/checklst/*.xpm $(DISTDIR)/samples/checklst
1455 mkdir $(DISTDIR)/samples/checkls
1456 cp $(SAMPDIR)/printing/Makefile.in $(DISTDIR)/samples/printing
1457 cp $(SAMPDIR)/printing/*.cpp $(DISTDIR)/samples/printing
1458 cp $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing
1459 cp $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing
1460 cp $(SAMPDIR)/printing/*.xbm $(DISTDIR)/samples/printing
1462 dist: ALL_DIST @GUIDIST@ SAMPLES_DIST
1463 cd _dist_dir; tar ch wx$(TOOLKIT) | gzip -f9 > $(WXARCHIVE); mv $(WXARCHIVE) ..
1469 rm -f ./src/motif/*.o
1470 rm -f ./src/html/*.o
1471 rm -f ./src/common/*.o
1472 rm -f ./src/unix/*.o
1473 rm -f ./src/generic/*.o
1475 rm -f ./src/jpeg/*.o
1476 rm -f ./src/zlib/*.o