2 # This file was automatically generated by tmake at 15:14, 1999/08/18
3 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
7 # Author: Julian Smart, Robert Roebling, Vadim Zeitlin
10 # Copyright:(c) 1993, AIAI, University of Edinburgh,
11 # Copyright:(c) 1999, Vadim Zeitlin
12 # Copyright:(c) 1999, Robert Roebling
14 # Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a
16 ###################################################################
18 include ./src/make.env
20 ############## override make.env for PIC ##########################
22 # Clears all default suffixes
23 .SUFFIXES: .o .cpp .c .cxx
26 $(CCC) -c $(CFLAGS) $(PICFLAGS) -o $@ $<
29 $(CC) -c $(CPPFLAGS) $(PICFLAGS) -o $@ $<
32 $(CC) -c $(CPPFLAGS) $(PICFLAGS) -o $@ $<
34 ########################### Paths #################################
40 top_srcdir = @top_srcdir@
42 exec_prefix = @exec_prefix@
46 libexecdir = @libexecdir@
48 sysconfdir = @sysconfdir@
49 sharedstatedir = @sharedstatedir@
50 localstatedir = @localstatedir@
54 includedir = @includedir@
55 oldincludedir = /usr/include
59 pkgdatadir = $(datadir)/@PACKAGE@
60 pkglibdir = $(libdir)/@PACKAGE@
61 pkgincludedir = $(includedir)/@PACKAGE@
66 INSTALL_PROGRAM = @INSTALL_PROGRAM@
67 INSTALL_DATA = @INSTALL_DATA@
68 # my autoconf doesn't set this
69 #INSTALL_SCRIPT = @INSTALL_SCRIPT@
70 # maybe do an additional chmod if needed?
71 INSTALL_SCRIPT = @INSTALL@
72 transform = @program_transform_name@
80 build_alias = @build_alias@
81 build_triplet = @build@
82 host_alias = @host_alias@
84 target_alias = @target_alias@
85 target_triplet = @target@
87 ############################# Dirs #################################
91 # Subordinate library possibilities
94 GENDIR = $(WXDIR)/src/generic
95 COMMDIR = $(WXDIR)/src/common
96 HTMLDIR = $(WXDIR)/src/html
97 UNIXDIR = $(WXDIR)/src/unix
98 PNGDIR = $(WXDIR)/src/png
99 JPEGDIR = $(WXDIR)/src/jpeg
100 ZLIBDIR = $(WXDIR)/src/zlib
101 GTKDIR = $(WXDIR)/src/gtk
102 MOTIFDIR = $(WXDIR)/src/motif
103 MSWDIR = $(WXDIR)/src/msw
104 INCDIR = $(WXDIR)/include
105 SAMPDIR = $(WXDIR)/samples
107 DOCDIR = $(WXDIR)/docs
109 ########################## Archive name ###############################
111 WXARCHIVE = wx$(TOOLKIT)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tgz
112 DISTDIR = ./_dist_dir/wx$(TOOLKIT)
114 ############################## Files ##################################
553 html/htmlwinparser.h \
558 src/generic/busyinfo.o \
559 src/generic/caret.o \
560 src/generic/choicdgg.o \
561 src/generic/colrdlgg.o \
562 src/generic/dcpsg.o \
563 src/generic/dirdlgg.o \
564 src/generic/filedlgg.o \
565 src/generic/fontdlgg.o \
566 src/generic/gridg.o \
567 src/generic/helphtml.o \
568 src/generic/helpwxht.o \
569 src/generic/imaglist.o \
570 src/generic/laywin.o \
571 src/generic/listctrl.o \
572 src/generic/msgdlgg.o \
573 src/generic/numdlgg.o \
574 src/generic/panelg.o \
575 src/generic/printps.o \
576 src/generic/prntdlgg.o \
577 src/generic/progdlgg.o \
579 src/generic/propform.o \
580 src/generic/proplist.o \
581 src/generic/sashwin.o \
582 src/generic/scrolwin.o \
583 src/generic/splitter.o \
584 src/generic/statusbr.o \
585 src/generic/textdlgg.o \
586 src/generic/tipdlg.o \
587 src/generic/treectrl.o \
592 src/common/cmndata.o \
593 src/common/config.o \
595 src/common/datstrm.o \
597 src/common/dbtable.o \
598 src/common/dcbase.o \
599 src/common/dlgcmn.o \
600 src/common/docmdi.o \
601 src/common/docview.o \
602 src/common/dynarray.o \
603 src/common/dynlib.o \
605 src/common/extended.o \
608 src/common/fileconf.o \
609 src/common/filefn.o \
610 src/common/filesys.o \
611 src/common/framecmn.o \
612 src/common/fs_inet.o \
613 src/common/fs_zip.o \
615 src/common/gdicmn.o \
616 src/common/gifdecod.o \
618 src/common/helpbase.o \
620 src/common/imagbmp.o \
622 src/common/imaggif.o \
623 src/common/imagjpeg.o \
624 src/common/imagpng.o \
625 src/common/imagpnm.o \
627 src/common/ipcbase.o \
628 src/common/layout.o \
631 src/common/memory.o \
632 src/common/mimetype.o \
633 src/common/module.o \
634 src/common/mstream.o \
635 src/common/object.o \
636 src/common/objstrm.o \
638 src/common/prntbase.o \
639 src/common/process.o \
640 src/common/protocol.o \
641 src/common/resource.o \
642 src/common/sckaddr.o \
643 src/common/sckfile.o \
644 src/common/sckipc.o \
645 src/common/sckstrm.o \
647 src/common/socket.o \
648 src/common/strconv.o \
649 src/common/stream.o \
650 src/common/string.o \
651 src/common/tbarbase.o \
652 src/common/tbarsmpl.o \
653 src/common/textcmn.o \
654 src/common/textfile.o \
656 src/common/timercmn.o \
657 src/common/tokenzr.o \
658 src/common/txtstrm.o \
661 src/common/utilscmn.o \
662 src/common/valgen.o \
663 src/common/validate.o \
664 src/common/valtext.o \
665 src/common/variant.o \
666 src/common/wfstream.o \
667 src/common/wincmn.o \
668 src/common/wxchar.o \
669 src/common/wxexpr.o \
670 src/common/zipstrm.o \
731 MOTIF_GENERICOBJS = \
732 src/generic/busyinfo.o \
733 src/generic/caret.o \
734 src/generic/choicdgg.o \
735 src/generic/colrdlgg.o \
736 src/generic/dcpsg.o \
737 src/generic/dirdlgg.o \
738 src/generic/filedlgg.o \
739 src/generic/fontdlgg.o \
740 src/generic/gridg.o \
741 src/generic/helphtml.o \
742 src/generic/helpwxht.o \
743 src/generic/helpxlp.o \
744 src/generic/imaglist.o \
745 src/generic/laywin.o \
746 src/generic/listctrl.o \
747 src/generic/msgdlgg.o \
748 src/generic/notebook.o \
749 src/generic/numdlgg.o \
750 src/generic/panelg.o \
751 src/generic/printps.o \
752 src/generic/prntdlgg.o \
753 src/generic/progdlgg.o \
755 src/generic/propform.o \
756 src/generic/proplist.o \
757 src/generic/sashwin.o \
758 src/generic/scrolwin.o \
759 src/generic/splitter.o \
760 src/generic/statusbr.o \
762 src/generic/textdlgg.o \
763 src/generic/tipdlg.o \
764 src/generic/treectrl.o \
769 src/common/choiccmn.o \
770 src/common/cmndata.o \
771 src/common/config.o \
772 src/common/ctrlcmn.o \
774 src/common/datstrm.o \
776 src/common/dbtable.o \
777 src/common/dcbase.o \
778 src/common/dlgcmn.o \
779 src/common/docmdi.o \
780 src/common/docview.o \
781 src/common/dynarray.o \
782 src/common/dynlib.o \
784 src/common/extended.o \
787 src/common/fileconf.o \
788 src/common/filefn.o \
789 src/common/filesys.o \
790 src/common/framecmn.o \
791 src/common/fs_inet.o \
792 src/common/fs_zip.o \
794 src/common/gdicmn.o \
795 src/common/gifdecod.o \
797 src/common/helpbase.o \
799 src/common/imagbmp.o \
801 src/common/imaggif.o \
802 src/common/imagjpeg.o \
803 src/common/imagpng.o \
804 src/common/imagpnm.o \
806 src/common/ipcbase.o \
807 src/common/layout.o \
810 src/common/memory.o \
811 src/common/mimetype.o \
812 src/common/module.o \
813 src/common/mstream.o \
814 src/common/object.o \
815 src/common/objstrm.o \
818 src/common/prntbase.o \
819 src/common/process.o \
820 src/common/protocol.o \
821 src/common/resource.o \
822 src/common/sckaddr.o \
823 src/common/sckfile.o \
824 src/common/sckipc.o \
825 src/common/sckstrm.o \
827 src/common/socket.o \
828 src/common/strconv.o \
829 src/common/stream.o \
830 src/common/string.o \
831 src/common/tbarbase.o \
832 src/common/tbarsmpl.o \
833 src/common/textcmn.o \
834 src/common/textfile.o \
836 src/common/timercmn.o \
837 src/common/tokenzr.o \
838 src/common/txtstrm.o \
841 src/common/utilscmn.o \
842 src/common/valgen.o \
843 src/common/validate.o \
844 src/common/valtext.o \
845 src/common/variant.o \
846 src/common/wfstream.o \
847 src/common/wincmn.o \
848 src/common/wxchar.o \
849 src/common/wxexpr.o \
850 src/common/zipstrm.o \
854 src/motif/xmcombo/xmcombo.o \
858 src/motif/bmpbuttn.o \
861 src/motif/checkbox.o \
863 src/motif/clipbrd.o \
865 src/motif/combobox.o \
866 src/motif/control.o \
869 src/motif/dataobj.o \
871 src/motif/dcclient.o \
872 src/motif/dcmemory.o \
873 src/motif/dcscreen.o \
875 src/motif/filedlg.o \
880 src/motif/gsockmot.o \
882 src/motif/listbox.o \
886 src/motif/menuitem.o \
887 src/motif/minifram.o \
889 src/motif/palette.o \
891 src/motif/radiobox.o \
892 src/motif/radiobut.o \
894 src/motif/scrolbar.o \
895 src/motif/settings.o \
897 src/motif/statbmp.o \
898 src/motif/statbox.o \
899 src/motif/stattext.o \
900 src/motif/textctrl.o \
902 src/motif/toolbar.o \
907 src/generic/busyinfo.o \
908 src/generic/choicdgg.o \
909 src/generic/dirdlgg.o \
910 src/generic/gridg.o \
911 src/generic/laywin.o \
912 src/generic/numdlgg.o \
913 src/generic/panelg.o \
914 src/generic/progdlgg.o \
916 src/generic/propform.o \
917 src/generic/proplist.o \
918 src/generic/sashwin.o \
919 src/generic/scrolwin.o \
920 src/generic/splitter.o \
921 src/generic/statusbr.o \
923 src/generic/textdlgg.o \
924 src/generic/tipdlg.o \
928 src/common/choiccmn.o \
929 src/common/cmndata.o \
930 src/common/config.o \
931 src/common/ctrlcmn.o \
933 src/common/datstrm.o \
935 src/common/dbtable.o \
936 src/common/dcbase.o \
937 src/common/dlgcmn.o \
938 src/common/docmdi.o \
939 src/common/docview.o \
940 src/common/dynarray.o \
941 src/common/dynlib.o \
943 src/common/extended.o \
946 src/common/fileconf.o \
947 src/common/filefn.o \
948 src/common/filesys.o \
949 src/common/framecmn.o \
950 src/common/fs_inet.o \
951 src/common/fs_zip.o \
953 src/common/gdicmn.o \
954 src/common/gifdecod.o \
956 src/common/helpbase.o \
958 src/common/imagbmp.o \
960 src/common/imaggif.o \
961 src/common/imagjpeg.o \
962 src/common/imagpng.o \
963 src/common/imagpnm.o \
965 src/common/ipcbase.o \
966 src/common/layout.o \
969 src/common/memory.o \
970 src/common/mimetype.o \
971 src/common/module.o \
972 src/common/mstream.o \
973 src/common/object.o \
974 src/common/objstrm.o \
976 src/common/prntbase.o \
977 src/common/process.o \
978 src/common/protocol.o \
979 src/common/resource.o \
980 src/common/sckaddr.o \
981 src/common/sckfile.o \
982 src/common/sckipc.o \
983 src/common/sckstrm.o \
985 src/common/socket.o \
986 src/common/strconv.o \
987 src/common/stream.o \
988 src/common/string.o \
989 src/common/tbarbase.o \
990 src/common/textcmn.o \
991 src/common/textfile.o \
993 src/common/timercmn.o \
994 src/common/tokenzr.o \
995 src/common/txtstrm.o \
998 src/common/utilscmn.o \
999 src/common/valgen.o \
1000 src/common/validate.o \
1001 src/common/valtext.o \
1002 src/common/variant.o \
1003 src/common/wfstream.o \
1004 src/common/wincmn.o \
1005 src/common/wxchar.o \
1006 src/common/wxexpr.o \
1007 src/common/zipstrm.o \
1008 src/common/zstream.o
1014 src/msw/bmpbuttn.o \
1018 src/msw/checkbox.o \
1019 src/msw/checklst.o \
1022 src/msw/colordlg.o \
1024 src/msw/combobox.o \
1030 src/msw/dcclient.o \
1031 src/msw/dcmemory.o \
1033 src/msw/dcscreen.o \
1037 src/msw/dibutils.o \
1038 src/msw/dragimag.o \
1047 src/msw/imaglist.o \
1048 src/msw/joystick.o \
1050 src/msw/listctrl.o \
1054 src/msw/menuitem.o \
1055 src/msw/metafile.o \
1056 src/msw/minifram.o \
1058 src/msw/nativdlg.o \
1059 src/msw/notebook.o \
1060 src/msw/ownerdrw.o \
1065 src/msw/printdlg.o \
1066 src/msw/printwin.o \
1067 src/msw/radiobox.o \
1068 src/msw/radiobut.o \
1071 src/msw/registry.o \
1072 src/msw/scrolbar.o \
1073 src/msw/settings.o \
1074 src/msw/slider95.o \
1075 src/msw/spinbutt.o \
1078 src/msw/statbr95.o \
1079 src/msw/statline.o \
1080 src/msw/stattext.o \
1084 src/msw/textctrl.o \
1088 src/msw/treectrl.o \
1090 src/msw/utilsexc.o \
1096 src/html/htmlcell.o \
1097 src/html/htmlfilter.o \
1098 src/html/htmlhelp.o \
1099 src/html/htmlhelp_io.o \
1100 src/html/htmlparser.o \
1101 src/html/htmltag.o \
1102 src/html/htmlwin.o \
1103 src/html/htmlwinparser.o \
1104 src/html/mod_fonts.o \
1105 src/html/mod_hline.o \
1106 src/html/mod_image.o \
1107 src/html/mod_layout.o \
1108 src/html/mod_links.o \
1109 src/html/mod_list.o \
1110 src/html/mod_pre.o \
1111 src/html/mod_tables.o \
1115 src/unix/gsocket.o \
1116 src/unix/threadpsx.o \
1120 src/zlib/adler32.o \
1121 src/zlib/compress.o \
1124 src/zlib/uncompr.o \
1125 src/zlib/deflate.o \
1128 src/zlib/inflate.o \
1129 src/zlib/infblock.o \
1130 src/zlib/inftrees.o \
1131 src/zlib/infcodes.o \
1132 src/zlib/infutil.o \
1138 src/png/pngrtran.o \
1139 src/png/pngrutil.o \
1140 src/png/pngpread.o \
1141 src/png/pngtrans.o \
1142 src/png/pngwrite.o \
1143 src/png/pngwtran.o \
1144 src/png/pngwutil.o \
1145 src/png/pngerror.o \
1154 src/jpeg/jcomapi.o \
1157 src/jpeg/jmemmgr.o \
1158 src/jpeg/jmemnobs.o \
1159 src/jpeg/jcapimin.o \
1160 src/jpeg/jcapistd.o \
1161 src/jpeg/jctrans.o \
1162 src/jpeg/jcparam.o \
1163 src/jpeg/jdatadst.o \
1165 src/jpeg/jcmaster.o \
1166 src/jpeg/jcmarker.o \
1167 src/jpeg/jcmainct.o \
1168 src/jpeg/jcprepct.o \
1169 src/jpeg/jccoefct.o \
1170 src/jpeg/jccolor.o \
1171 src/jpeg/jcsample.o \
1173 src/jpeg/jcphuff.o \
1174 src/jpeg/jcdctmgr.o \
1175 src/jpeg/jfdctfst.o \
1176 src/jpeg/jfdctflt.o \
1177 src/jpeg/jfdctint.o \
1178 src/jpeg/jdapimin.o \
1179 src/jpeg/jdapistd.o \
1180 src/jpeg/jdtrans.o \
1181 src/jpeg/jdatasrc.o \
1182 src/jpeg/jdmaster.o \
1183 src/jpeg/jdinput.o \
1184 src/jpeg/jdmarker.o \
1186 src/jpeg/jdphuff.o \
1187 src/jpeg/jdmainct.o \
1188 src/jpeg/jdcoefct.o \
1189 src/jpeg/jdpostct.o \
1190 src/jpeg/jddctmgr.o \
1191 src/jpeg/jidctfst.o \
1192 src/jpeg/jidctflt.o \
1193 src/jpeg/jidctint.o \
1194 src/jpeg/jidctred.o \
1195 src/jpeg/jdsample.o \
1196 src/jpeg/jdcolor.o \
1197 src/jpeg/jquant1.o \
1198 src/jpeg/jquant2.o \
1202 OBJECTS = $(@GUIOBJS@) $(@COMMONOBJS@) $(@GENERICOBJS@) $(@UNIXOBJS@) $(HTMLOBJS) \
1203 $(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS)
1205 HEADERS = $(@GUIHEADERS@) $(HTML_HEADERS) $(UNIX_HEADERS) $(PROTOCOL_HEADERS) \
1206 $(GENERIC_HEADERS) $(WX_HEADERS)
1208 REQUIRED_DIRS = ./lib ./src ./src/common ./src/gtk ./src/motif ./src/msw \
1209 ./src/generic ./src/unix ./src/motif/xmombo ./src/html \
1210 ./src/zlib ./src/jpeg ./src/png
1212 all: $(REQUIRED_DIRS) $(OBJECTS) @WX_TARGET_LIBRARY@ @WX_CREATE_LINKS@
1214 $(REQUIRED_DIRS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
1217 @mkdir -p ./src/common
1220 @mkdir -p ./src/motif
1221 @mkdir -p ./src/motif/xmcombo
1222 @mkdir -p ./src/generic
1223 @mkdir -p ./src/unix
1224 @mkdir -p ./src/html
1226 @mkdir -p ./src/jpeg
1227 @mkdir -p ./src/zlib
1229 @WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
1230 $(AR) $(AROPTIONS) ./lib/$@ $(OBJECTS)
1233 @WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
1234 $(SHARED_LD) ./lib/$@ $(OBJECTS) $(EXTRALIBS)
1236 CREATE_LINKS: ./lib/@WX_TARGET_LIBRARY@
1237 @if test -e ./lib/@WX_LIBRARY_LINK1@; then $(RM) ./lib/@WX_LIBRARY_LINK1@; fi
1238 @if test -e ./lib/@WX_LIBRARY_LINK2@; then $(RM) ./lib/@WX_LIBRARY_LINK2@; fi
1239 @if test -e ./lib/@WX_LIBRARY_LINK3@; then $(RM) ./lib/@WX_LIBRARY_LINK3@; fi
1240 $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK1@
1241 $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK2@
1242 $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK3@
1244 CREATE_INSTALLED_LINKS: $(libdir)/@WX_TARGET_LIBRARY@
1245 @if test -e $(libdir)/@WX_LIBRARY_LINK1@; then $(RM) $(libdir)/@WX_LIBRARY_LINK1@; fi
1246 @if test -e $(libdir)/@WX_LIBRARY_LINK2@; then $(RM) $(libdir)/@WX_LIBRARY_LINK2@; fi
1247 @if test -e $(libdir)/@WX_LIBRARY_LINK3@; then $(RM) $(libdir)/@WX_LIBRARY_LINK3@; fi
1248 $(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK1@
1249 $(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK2@
1250 $(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK3@
1252 $(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
1254 parser.o: parser.c lexer.c
1255 $(CCLEX) -c $(CFLAGS) -o $@ parser.c
1257 parser.c: $(COMMDIR)/parser.y lexer.c
1258 $(YACC) $(COMMDIR)/parser.y
1259 @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
1260 sed -e "s/BUFSIZ/5000/g" | \
1261 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
1262 sed -e "s/yy/PROIO_yy/g" | \
1263 sed -e "s/input/PROIO_input/g" | \
1264 sed -e "s/unput/PROIO_unput/g" > parser.c
1267 lexer.c: $(COMMDIR)/lexer.l
1268 $(LEX) $(COMMDIR)/lexer.l
1269 @sed -e "s;$(COMMDIR)/lex.yy.c;lexer.l;g" < lex.yy.c | \
1270 sed -e "s/yy/PROIO_yy/g" | \
1271 sed -e "s/input/PROIO_input/g" | \
1272 sed -e "s/unput/PROIO_unput/g" > lexer.c
1275 preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config $(top_builddir)/setup.h
1277 @echo " Installing wxWindows..."
1281 $(INSTALL) -d $(prefix)
1282 $(INSTALL) -d $(bindir)
1283 $(INSTALL) -d $(libdir)
1285 $(INSTALL_SCRIPT) $(top_builddir)/wx-config $(bindir)/wx-config
1286 $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@
1288 $(INSTALL) -d $(libdir)/wx
1289 $(INSTALL) -d $(libdir)/wx/include
1290 $(INSTALL) -d $(libdir)/wx/include/wx
1291 $(INSTALL) -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@
1292 $(INSTALL_DATA) $(top_builddir)/setup.h $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
1294 $(INSTALL) -d $(includedir)/wx
1295 $(INSTALL) -d $(includedir)/wx/msw
1296 $(INSTALL) -d $(includedir)/wx/gtk
1297 $(INSTALL) -d $(includedir)/wx/motif
1298 $(INSTALL) -d $(includedir)/wx/html
1299 $(INSTALL) -d $(includedir)/wx/protocol
1300 $(INSTALL) -d $(includedir)/wx/unix
1301 $(INSTALL) -d $(includedir)/wx/generic
1302 @list='$(HEADERS)'; for p in $$list; do \
1303 $(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p; \
1304 echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \
1309 @echo " The installation of wxWindows is finished. On certain"
1310 @echo " platforms (e.g. Linux, Solaris) you'll now have to run"
1311 @echo " ldconfig if you installed a shared library."
1313 @echo " wxWindows comes with no guarantees and doesn't claim"
1314 @echo " to be suitable for any purpose."
1316 @echo " Read the wxWindows Licence on licencing conditions."
1319 install: preinstall @WX_CREATE_INSTALLED_LINKS@ write_message
1323 @echo " Uninstalling wxWindows..."
1325 @echo " Removing library..."
1326 @$(RM) $(libdir)/@WX_TARGET_LIBRARY@
1327 @$(RM) $(libdir)/@WX_LIBRARY_LINK1@
1328 @$(RM) $(libdir)/@WX_LIBRARY_LINK2@
1329 @$(RM) $(libdir)/@WX_LIBRARY_LINK3@
1330 @echo " Removing helper files..."
1331 @$(RM) $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
1332 @$(RM) $(bindir)/wx-config
1333 @echo " Removing headers..."
1334 @list='$(HEADERS)'; for p in $$list; do \
1335 $(RM) $(includedir)/wx/$$p; \
1337 @echo " Removing directories..."
1338 @if test -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@; then rmdir $(libdir)/wx/include/wx/@TOOLKIT_DIR@; fi
1339 @if test -d $(libdir)/wx/include/wx; then rmdir $(libdir)/wx/include/wx; fi
1340 @if test -d $(libdir)/wx/include; then rmdir $(libdir)/wx/include; fi
1341 @if test -d $(libdir)/wx; then rmdir $(libdir)/wx; fi
1342 @if test -d $(includedir)/wx/gtk; then rmdir $(includedir)/wx/gtk; fi
1343 @if test -d $(includedir)/wx/motif; then rmdir $(includedir)/wx/motif; fi
1344 @if test -d $(includedir)/wx/motif; then rmdir $(includedir)/wx/msw; fi
1345 @if test -d $(includedir)/wx/html; then rmdir $(includedir)/wx/html; fi
1346 @if test -d $(includedir)/wx/unix; then rmdir $(includedir)/wx/unix; fi
1347 @if test -d $(includedir)/wx/generic; then rmdir $(includedir)/wx/generic; fi
1348 @if test -d $(includedir)/wx/protocol; then rmdir $(includedir)/wx/protocol; fi
1349 @if test -d $(includedir)/wx; then rmdir $(includedir)/wx; fi
1354 cp $(WXDIR)/wx$(TOOLKIT).spec $(DISTDIR)
1355 cp $(WXDIR)/configure $(DISTDIR)
1356 cp $(WXDIR)/config.sub $(DISTDIR)
1357 cp $(WXDIR)/config.guess $(DISTDIR)
1358 cp $(WXDIR)/install-sh $(DISTDIR)
1359 cp $(WXDIR)/mkinstalldirs $(DISTDIR)
1360 cp $(WXDIR)/wx-config.in $(DISTDIR)
1361 cp $(WXDIR)/setup.h.in $(DISTDIR)
1362 cp $(WXDIR)/Makefile.in $(DISTDIR)
1363 cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
1364 cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
1365 cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt
1366 cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt
1367 cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES.txt
1368 cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README.txt
1369 cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt
1370 mkdir $(DISTDIR)/include
1371 mkdir $(DISTDIR)/include/wx
1372 mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)
1373 mkdir $(DISTDIR)/include/wx/generic
1374 mkdir $(DISTDIR)/include/wx/html
1375 mkdir $(DISTDIR)/include/wx/unix
1376 mkdir $(DISTDIR)/include/wx/protocol
1377 cp $(INCDIR)/wx/*.h $(DISTDIR)/include/wx
1378 cp $(INCDIR)/wx/*.cpp $(DISTDIR)/include/wx
1379 cp $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic
1380 cp $(INCDIR)/wx/generic/*.xpm $(DISTDIR)/include/wx/generic
1381 cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
1382 cp $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
1383 cp $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol
1384 mkdir $(DISTDIR)/src
1385 mkdir $(DISTDIR)/src/common
1386 mkdir $(DISTDIR)/src/generic
1387 mkdir $(DISTDIR)/src/html
1388 mkdir $(DISTDIR)/src/html/bitmaps
1389 mkdir $(DISTDIR)/src/$(TOOLKITDIR)
1390 mkdir $(DISTDIR)/src/unix
1391 mkdir $(DISTDIR)/src/png
1392 mkdir $(DISTDIR)/src/jpeg
1393 mkdir $(DISTDIR)/src/zlib
1394 cp $(SRCDIR)/*.in $(DISTDIR)/src
1395 cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
1396 cp $(COMMDIR)/*.c $(DISTDIR)/src/common
1397 cp $(COMMDIR)/*.inc $(DISTDIR)/src/common
1398 cp $(COMMDIR)/*.l $(DISTDIR)/src/common
1399 cp $(COMMDIR)/*.h $(DISTDIR)/src/common
1400 cp $(COMMDIR)/*.y $(DISTDIR)/src/common
1401 cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic
1402 cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
1403 cp $(HTMLDIR)/*.h $(DISTDIR)/src/html
1404 cp $(HTMLDIR)/bitmaps/*.xpm $(DISTDIR)/src/html/bitmaps
1405 cp $(UNIXDIR)/*.h $(DISTDIR)/src/unix
1406 cp $(UNIXDIR)/*.c $(DISTDIR)/src/unix
1407 cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
1408 cp $(PNGDIR)/*.h $(DISTDIR)/src/png
1409 cp $(PNGDIR)/*.c $(DISTDIR)/src/png
1410 cp $(PNGDIR)/README $(DISTDIR)/src/png
1411 cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
1412 cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
1413 cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
1414 cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
1415 cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
1416 cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg
1419 cp $(WXDIR)/wxGTK.spec $(DISTDIR)
1420 cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
1421 cp $(INCDIR)/wx/gtk/*.xpm $(DISTDIR)/include/wx/gtk
1422 cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk
1423 cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
1424 cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
1427 cp $(WXDIR)/wxMOTIF.spec $(DISTDIR)
1428 cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
1429 cp $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif
1430 cp $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif
1431 mkdir $(DISTDIR)/src/motif/xmcombo
1432 cp $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo
1433 cp $(MOTIFDIR)/xmcombo/*.h $(DISTDIR)/src/motif/xmcombo
1434 cp $(MOTIFDIR)/xmcombo/copying.txt $(DISTDIR)/src/motif/xmcombo
1437 cp $(WXDIR)/wxWINE.spec $(DISTDIR)
1438 cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
1439 cp $(INCDIR)/wx/msw/*.cur $(DISTDIR)/include/wx/msw
1440 cp $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw
1441 cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
1442 cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
1443 cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
1444 cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
1445 cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
1446 mkdir $(DISTDIR)/src/msw/ole
1447 cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
1450 mkdir $(DISTDIR)/samples
1451 cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
1452 mkdir $(DISTDIR)/samples/bombs
1453 cp $(SAMPDIR)/bombs/Makefile.in $(DISTDIR)/samples/bombs
1454 cp $(SAMPDIR)/bombs/*.cpp $(DISTDIR)/samples/bombs
1455 cp $(SAMPDIR)/bombs/*.h $(DISTDIR)/samples/bombs
1456 cp $(SAMPDIR)/bombs/*.xpm $(DISTDIR)/samples/bombs
1457 cp $(SAMPDIR)/bombs/readme.txt $(DISTDIR)/samples/bombs
1458 mkdir $(DISTDIR)/samples/caret
1459 cp $(SAMPDIR)/caret/Makefile.in $(DISTDIR)/samples/caret
1460 cp $(SAMPDIR)/caret/*.cpp $(DISTDIR)/samples/caret
1461 cp $(SAMPDIR)/caret/*.xpm $(DISTDIR)/samples/caret
1462 mkdir $(DISTDIR)/samples/config
1463 cp $(SAMPDIR)/config/Makefile.in $(DISTDIR)/samples/config
1464 cp $(SAMPDIR)/config/*.cpp $(DISTDIR)/samples/config
1465 mkdir $(DISTDIR)/samples/controls
1466 mkdir $(DISTDIR)/samples/controls/icons
1467 cp $(SAMPDIR)/controls/Makefile.in $(DISTDIR)/samples/controls
1468 cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls
1469 cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls
1470 cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons
1471 mkdir $(DISTDIR)/samples/checklst
1472 cp $(SAMPDIR)/checklst/Makefile.in $(DISTDIR)/samples/checklst
1473 cp $(SAMPDIR)/checklst/*.cpp $(DISTDIR)/samples/checklst
1474 cp $(SAMPDIR)/checklst/*.xpm $(DISTDIR)/samples/checklst
1475 mkdir $(DISTDIR)/samples/checkls
1476 cp $(SAMPDIR)/printing/Makefile.in $(DISTDIR)/samples/printing
1477 cp $(SAMPDIR)/printing/*.cpp $(DISTDIR)/samples/printing
1478 cp $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing
1479 cp $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing
1480 cp $(SAMPDIR)/printing/*.xbm $(DISTDIR)/samples/printing
1482 dist: ALL_DIST @GUIDIST@ SAMPLES_DIST
1483 cd _dist_dir; tar ch wx$(TOOLKIT) | gzip -f9 > $(WXARCHIVE); mv $(WXARCHIVE) ..
1489 $(RM) ./src/motif/*.o
1490 $(RM) ./src/html/*.o
1491 $(RM) ./src/common/*.o
1492 $(RM) ./src/unix/*.o
1493 $(RM) ./src/generic/*.o
1495 $(RM) ./src/jpeg/*.o
1496 $(RM) ./src/zlib/*.o