]> git.saurik.com Git - wxWidgets.git/blobdiff - src/Makefile.in
headers are now installed by automake too
[wxWidgets.git] / src / Makefile.in
index ac4c031a084614016d19038f6dcb0cae0b732741..f0010d44bfe1196e6368132215a7abd1247af133 100644 (file)
+# Makefile.in generated automatically by automake 1.4 from Makefile.am
+
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+SHELL = @SHELL@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
+
+DESTDIR =
+
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+
+top_builddir = ..
+
+ACLOCAL = @ACLOCAL@
+AUTOCONF = @AUTOCONF@
+AUTOMAKE = @AUTOMAKE@
+AUTOHEADER = @AUTOHEADER@
+
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+transform = @program_transform_name@
+
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+host_alias = @host_alias@
+host_triplet = @host@
+AR = @AR@
+AS = @AS@
+CC = @CC@
+CPP = @CPP@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+DLLTOOL = @DLLTOOL@
+DOCS_SUBDIRS = @DOCS_SUBDIRS@
+EXTRA_LIBS = @EXTRA_LIBS@
+EXTRA_VPATH = @EXTRA_VPATH@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_CONFIG = @GTK_CONFIG@
+GTK_LIBS = @GTK_LIBS@
+INCLUDE_SUBDIRS = @INCLUDE_SUBDIRS@
+LD = @LD@
+LEX = @LEX@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+NM = @NM@
+PACKAGE = @PACKAGE@
+RANLIB = @RANLIB@
+SAMPLES_SUBDIRS = @SAMPLES_SUBDIRS@
+STRIP = @STRIP@
+TOOLKIT = @TOOLKIT@
+TOOLKIT_DEF = @TOOLKIT_DEF@
+TOOLKIT_DIR = @TOOLKIT_DIR@
+TOOLKIT_INCLUDE = @TOOLKIT_INCLUDE@
+USER_SUBDIRS = @USER_SUBDIRS@
+UTILS_SUBDIRS = @UTILS_SUBDIRS@
+VERSION = @VERSION@
+WXDEBUG_DEFINE = @WXDEBUG_DEFINE@
+WX_LIBRARY = @WX_LIBRARY@
+WX_MAJOR_VERSION_NUMBER = @WX_MAJOR_VERSION_NUMBER@
+WX_MINOR_VERSION_NUMBER = @WX_MINOR_VERSION_NUMBER@
+WX_RELEASE_NUMBER = @WX_RELEASE_NUMBER@
+YACC = @YACC@
+
+SUFFIXES = .cpp
+
+DEFS = $(TOOLKIT_DEF) $(WXDEBUG_DEFINE)
+LIBS = $(GUILIBS)
+
+VPATH = .:$(srcdir)/common:$(srcdir)/@TOOLKIT_DIR@:$(srcdir)/generic:$(EXTRA_VPATH)
+
+lib_LTLIBRARIES = libwx_@WX_LIBRARY@.la
+
+# these are the common files which always make part of the library
+libwx__WX_LIBRARY__la_SOURCES =   cmndata.cpp  dynarray.cpp  filefn.cpp  hash.cpp  list.cpp  matrix.cpp  memory.cpp  module.cpp  object.cpp  string.cpp  timercmn.cpp  utilscmn.cpp  tokenzr.cpp  variant.cpp  wxchar.cpp
+
+
+# these are the sources which we build by our own rules
 #
 #
-#  wxWindows/Unix main source makefile
-#
-#  Copyright 1998, Markus Holzhem and Robert Roebling
+# TODO: parser.y can be included into SOURCES, but for the sake of my life I
+#       don't know where to put lexer.l - if I put it in the sources too,
+#       automake tries to build lexer.lo... and fails, of course. (VZ)
+BUILT_SOURCES = parser.c lexer.c
+
+# these are the files which are only sometimes linked into the library - they
+# still *must* be all enumerated here to satisfy automake requirments!
 #
 #
+# NB: the files are listed in directory/alphabetical order: first the files
+#     from common, then from generic, then from unix, then from gtk.
+EXTRA_libwx__WX_LIBRARY__la_SOURCES =   config.cpp  date.cpp  datetime.cpp  datstrm.cpp  db.cpp  dbtable.cpp  dcbase.cpp  docmdi.cpp  docview.cpp  dynlib.cpp  event.cpp  file.cpp  fileconf.cpp  framecmn.cpp  ftp.cpp  gdicmn.cpp  helpbase.cpp  http.cpp  image.cpp  imaggif.cpp  imagjpeg.cpp  imagpng.cpp  intl.cpp  ipcbase.cpp  layout.cpp  log.cpp  longlong.cpp  mimetype.cpp  mstream.cpp  objstrm.cpp  odbc.cpp  paper.cpp  prntbase.cpp  process.cpp  protocol.cpp  resourc2.cpp  resource.cpp  sckaddr.cpp  sckfile.cpp  sckint.cpp  sckipc.cpp  sckstrm.cpp  serbase.cpp  socket.cpp  stream.cpp  tbarbase.cpp  tbarsmpl.cpp  textfile.cpp  time.cpp  url.cpp  valgen.cpp  validate.cpp  valtext.cpp  wfstream.cpp  wincmn.cpp  wxexpr.cpp  zstream.cpp  caret.cpp  choicdgg.cpp  colrdlgg.cpp  dcpsg.cpp  dirdlgg.cpp  fontdlgg.cpp  gridg.cpp  helpext.cpp  helphtml.cpp  helpxlp.cpp  imaglist.cpp  laywin.cpp  listctrl.cpp  msgdlgg.cpp  notebook.cpp  panelg.cpp  printps.cpp  prntdlgg.cpp  progdlgg.cpp  prop.cpp  propform.cpp  proplist.cpp  sashwin.cpp  scrolwin.cpp  splitter.cpp  statusbr.cpp  tabg.cpp  textdlgg.cpp  treectrl.cpp  threadpsx.cpp  utilsunx.cpp  accel.cpp  app.cpp  bitmap.cpp  bmpbuttn.cpp  brush.cpp  button.cpp  checkbox.cpp  checklst.cpp  choice.cpp  clipbrd.cpp  colour.cpp  combobox.cpp  control.cpp  cursor.cpp  data.cpp  dataobj.cpp  dc.cpp  dcclient.cpp  dcmemory.cpp  dcscreen.cpp  dialog.cpp  dnd.cpp  filedlg.cpp  font.cpp  frame.cpp  gauge.cpp  gdiobj.cpp  icon.cpp  joystick.cpp  listbox.cpp  main.cpp  mdi.cpp  menu.cpp  minifram.cpp  notebook.cpp  palette.cpp  pen.cpp  radiobox.cpp  radiobut.cpp  region.cpp  scrolbar.cpp  settings.cpp  slider.cpp  spinbutt.cpp  statbmp.cpp  statbox.cpp  statline.cpp  stattext.cpp  tbargtk.cpp  textctrl.cpp  threadno.cpp  threadsgi.cpp  timer.cpp  tooltip.cpp  treectrl.cpp  utilsgtk.cpp  utilsres.cpp  wave.cpp  window.cpp
+
 
 
-# wxWindows base directory
-WXBASEDIR=@WXBASEDIR@
-
-# set the OS type for compilation
-OS=@OS@
-
-# compile a library only
-RULE=gslib
-
-# define common stuff
-
-# include gtk.inc, qt.inc or motif.inc here
-include @MAKEINCLUDE@
-
-# determine library names
-STATIC_LIBRARY=lib$(LIB_TARGET).a
-SHARED_LIBRARY=lib$(LIB_TARGET).so.$(LIB_MAJOR).$(LIB_MINOR)
-
-LIB_CPP_ALL_SRC=$(LIB_CPP_SRC) @GTK_JOYSTICK@ @UNIX_THREAD@
-
-LIB_C_ALL_SRC=$(LIB_C_SRC) parser.c
-
-#define library objects
-LIB_OBJ=\
- $(LIB_CPP_ALL_SRC:.cpp=.o) \
- $(LIB_C_ALL_SRC:.c=.o)
-
-all::
-       @if test ! -d gtk; then mkdir gtk; fi
-       @if test ! -d qt; then mkdir qt; fi
-       @if test ! -d motif; then mkdir motif; fi
-       @if test ! -d common; then mkdir common; fi
-       @if test ! -d generic; then mkdir generic; fi
-       @if test ! -d png; then mkdir png; fi
-       @if test ! -d zlib; then mkdir zlib; fi
-       @if test ! -d gdk_imlib; then mkdir gdk_imlib; fi
-       @if test ! -d iodbc; then mkdir iodbc; fi
-
-install::
-       @echo " "
-       @echo "Installing library files and headers.."
-       @echo " "
-       @echo "  Creating directories.."
-       @$(WXBASEDIR)/mkinstalldirs \
-          $(includedir)/wx \
-          $(includedir)/wx/gtk \
-          $(includedir)/wx/common \
-          $(includedir)/wx/generic \
-          $(includedir)/wx/protocol \
-          $(libdir) \
-          $(bindir)
-       @echo "  Copying headers from /include/wx"
-       @cd $(WXBASEDIR)/include/wx ; \
-       $(INSTALL) -d $(includedir)/wx ; \
-       for f in *.h ; do \
-         rm -f $(includedir)/wx/$$f ; \
-         $(INSTALL_DATA) $$f $(includedir)/wx/$$f ; \
+libwx__WX_LIBRARY__la_LDFLAGS = -release @WX_MINOR_VERSION_NUMBER@.@WX_RELEASE_NUMBER@
+libwx__WX_LIBRARY__la_LIBADD = $(LTLIBOBJS)
+libwx__WX_LIBRARY__la_DEPENDENCIES = $(libwx__WX_LIBRARY__la_LIBADD) lexer.l
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = ../${SETUPH_DIR}/setup.h
+CONFIG_CLEAN_FILES = 
+LTLIBRARIES =  $(lib_LTLIBRARIES)
+
+CPPFLAGS = @CPPFLAGS@
+LDFLAGS = @LDFLAGS@
+X_CFLAGS = @X_CFLAGS@
+X_LIBS = @X_LIBS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+libwx__WX_LIBRARY__la_OBJECTS =  cmndata.lo dynarray.lo filefn.lo \
+hash.lo list.lo matrix.lo memory.lo module.lo object.lo string.lo \
+timercmn.lo utilscmn.lo tokenzr.lo variant.lo wxchar.lo
+CXXFLAGS = @CXXFLAGS@
+CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+CXXLD = $(CXX)
+CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
+CFLAGS = @CFLAGS@
+COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
+DIST_COMMON =  Makefile.am Makefile.in common/extended.c
+
+
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
+
+TAR = gtar
+GZIP_ENV = --best
+DEP_FILES =  .deps/accel.P .deps/app.P .deps/bitmap.P .deps/bmpbuttn.P \
+.deps/brush.P .deps/button.P .deps/caret.P .deps/checkbox.P \
+.deps/checklst.P .deps/choicdgg.P .deps/choice.P .deps/clipbrd.P \
+.deps/cmndata.P .deps/colour.P .deps/colrdlgg.P .deps/combobox.P \
+.deps/common/extended.P .deps/config.P .deps/control.P .deps/cursor.P \
+.deps/data.P .deps/dataobj.P .deps/date.P .deps/datetime.P \
+.deps/datstrm.P .deps/db.P .deps/dbtable.P .deps/dc.P .deps/dcbase.P \
+.deps/dcclient.P .deps/dcmemory.P .deps/dcpsg.P .deps/dcscreen.P \
+.deps/dialog.P .deps/dirdlgg.P .deps/dnd.P .deps/docmdi.P \
+.deps/docview.P .deps/dynarray.P .deps/dynlib.P .deps/event.P \
+.deps/file.P .deps/fileconf.P .deps/filedlg.P .deps/filefn.P \
+.deps/font.P .deps/fontdlgg.P .deps/frame.P .deps/framecmn.P \
+.deps/ftp.P .deps/gauge.P .deps/gdicmn.P .deps/gdiobj.P .deps/gridg.P \
+.deps/hash.P .deps/helpbase.P .deps/helpext.P .deps/helphtml.P \
+.deps/helpxlp.P .deps/http.P .deps/icon.P .deps/image.P .deps/imaggif.P \
+.deps/imagjpeg.P .deps/imaglist.P .deps/imagpng.P .deps/intl.P \
+.deps/ipcbase.P .deps/joystick.P .deps/layout.P .deps/laywin.P \
+.deps/lexer.P .deps/list.P .deps/listbox.P .deps/listctrl.P .deps/log.P \
+.deps/longlong.P .deps/main.P .deps/matrix.P .deps/mdi.P .deps/memory.P \
+.deps/menu.P .deps/mimetype.P .deps/minifram.P .deps/module.P \
+.deps/msgdlgg.P .deps/mstream.P .deps/notebook.P .deps/object.P \
+.deps/objstrm.P .deps/odbc.P .deps/palette.P .deps/panelg.P \
+.deps/paper.P .deps/parser.P .deps/pen.P .deps/printps.P \
+.deps/prntbase.P .deps/prntdlgg.P .deps/process.P .deps/progdlgg.P \
+.deps/prop.P .deps/propform.P .deps/proplist.P .deps/protocol.P \
+.deps/radiobox.P .deps/radiobut.P .deps/region.P .deps/resourc2.P \
+.deps/resource.P .deps/sashwin.P .deps/sckaddr.P .deps/sckfile.P \
+.deps/sckint.P .deps/sckipc.P .deps/sckstrm.P .deps/scrolbar.P \
+.deps/scrolwin.P .deps/serbase.P .deps/settings.P .deps/slider.P \
+.deps/socket.P .deps/spinbutt.P .deps/splitter.P .deps/statbmp.P \
+.deps/statbox.P .deps/statline.P .deps/stattext.P .deps/statusbr.P \
+.deps/stream.P .deps/string.P .deps/tabg.P .deps/tbarbase.P \
+.deps/tbargtk.P .deps/tbarsmpl.P .deps/textctrl.P .deps/textdlgg.P \
+.deps/textfile.P .deps/threadno.P .deps/threadpsx.P .deps/threadsgi.P \
+.deps/time.P .deps/timer.P .deps/timercmn.P .deps/tokenzr.P \
+.deps/tooltip.P .deps/treectrl.P .deps/url.P .deps/utilscmn.P \
+.deps/utilsgtk.P .deps/utilsres.P .deps/utilsunx.P .deps/valgen.P \
+.deps/validate.P .deps/valtext.P .deps/variant.P .deps/wave.P \
+.deps/wfstream.P .deps/wincmn.P .deps/window.P .deps/wxchar.P \
+.deps/wxexpr.P .deps/zstream.P
+SOURCES = $(libwx__WX_LIBRARY__la_SOURCES) $(EXTRA_libwx__WX_LIBRARY__la_SOURCES)
+OBJECTS = $(libwx__WX_LIBRARY__la_OBJECTS)
+
+all: all-redirect
+.SUFFIXES:
+.SUFFIXES: .S .c .cpp .lo .o .s
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+       cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile
+
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
+       cd $(top_builddir) \
+         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+
+mostlyclean-libLTLIBRARIES:
+
+clean-libLTLIBRARIES:
+       -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+
+distclean-libLTLIBRARIES:
+
+maintainer-clean-libLTLIBRARIES:
+
+install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+       @$(NORMAL_INSTALL)
+       $(mkinstalldirs) $(DESTDIR)$(libdir)
+       @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+         if test -f $$p; then \
+           echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
+           $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
+         else :; fi; \
        done
        done
-       @echo "  Copying headers from /include/wx/gtk"
-       @cd $(WXBASEDIR)/include/wx/gtk ; \
-       $(INSTALL) -d $(includedir)/wx/gtk ; \
-       for f in *.h ; do \
-         rm -f $(includedir)/wx/gtk/$$f ; \
-         $(INSTALL_DATA) $$f $(includedir)/wx/gtk/$$f ; \
-       done ;
-       @echo "  Copying headers from /include/wx/generic"
-       @cd $(WXBASEDIR)/include/wx/generic ; \
-       $(INSTALL) -d $(includedir)/wx/generic ; \
-       for f in *.h ; do \
-         rm -f $(includedir)/wx/generic/$$f ; \
-         $(INSTALL_DATA) $$f $(includedir)/wx/generic/$$f ; \
+
+uninstall-libLTLIBRARIES:
+       @$(NORMAL_UNINSTALL)
+       list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+         $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
        done
        done
-       @echo "  Copying headers from /include/wx/protocol"
-       @cd $(WXBASEDIR)/include/wx/protocol ; \
-       for f in *.h ; do \
-         rm -f $(includedir)/wx/protocol/$$f ; \
-         $(INSTALL_DATA) $$f $(includedir)/wx/protocol/$$f ; \
+
+.s.o:
+       $(COMPILE) -c $<
+
+.S.o:
+       $(COMPILE) -c $<
+
+mostlyclean-compile:
+       -rm -f *.o core *.core
+
+clean-compile:
+
+distclean-compile:
+       -rm -f *.tab.c
+
+maintainer-clean-compile:
+
+.s.lo:
+       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
+
+.S.lo:
+       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
+
+mostlyclean-libtool:
+       -rm -f *.lo
+
+clean-libtool:
+       -rm -rf .libs _libs
+
+distclean-libtool:
+
+maintainer-clean-libtool:
+
+libwx_@.la: $(libwx__WX_LIBRARY__la_OBJECTS) $(libwx__WX_LIBRARY__la_DEPENDENCIES)
+       $(CXXLINK) -rpath $(libdir) $(libwx__WX_LIBRARY__la_LDFLAGS) $(libwx__WX_LIBRARY__la_OBJECTS) $(libwx__WX_LIBRARY__la_LIBADD) $(LIBS)
+.cpp.o:
+       $(CXXCOMPILE) -c $<
+.cpp.lo:
+       $(LTCXXCOMPILE) -c $<
+
+tags: TAGS
+
+ID: $(HEADERS) $(SOURCES) $(LISP)
+       list='$(SOURCES) $(HEADERS)'; \
+       unique=`for i in $$list; do echo $$i; done | \
+         awk '    { files[$$0] = 1; } \
+              END { for (i in files) print i; }'`; \
+       here=`pwd` && cd $(srcdir) \
+         && mkid -f$$here/ID $$unique $(LISP)
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
+       tags=; \
+       here=`pwd`; \
+       list='$(SOURCES) $(HEADERS)'; \
+       unique=`for i in $$list; do echo $$i; done | \
+         awk '    { files[$$0] = 1; } \
+              END { for (i in files) print i; }'`; \
+       test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+         || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
+
+mostlyclean-tags:
+
+clean-tags:
+
+distclean-tags:
+       -rm -f TAGS ID
+
+maintainer-clean-tags:
+
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+
+subdir = src
+
+distdir: $(DISTFILES)
+       here=`cd $(top_builddir) && pwd`; \
+       top_distdir=`cd $(top_distdir) && pwd`; \
+       distdir=`cd $(distdir) && pwd`; \
+       cd $(top_srcdir) \
+         && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign src/Makefile
+       @for file in $(DISTFILES); do \
+         d=$(srcdir); \
+         if test -d $$d/$$file; then \
+           cp -pr $$/$$file $(distdir)/$$file; \
+         else \
+           test -f $(distdir)/$$file \
+           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+           || cp -p $$d/$$file $(distdir)/$$file || :; \
+         fi; \
        done
        done
-       @echo "  Copying wx-config"
-       @cd $(WXBASEDIR) ; \
-         $(INSTALL) -d $(bindir) ;\
-         rm -f $(bindir)/wx-config ; \
-         $(INSTALL_PROGRAM) wx-config $(bindir)/wx-config
-       @echo "  Copying static library"
-       @cd $(WXBASEDIR)/lib/$(OS) ; \
-         rm -f $(libdir)/$(STATIC_LIBRARY) ; \
-         $(INSTALL_DATA) $(STATIC_LIBRARY) $(libdir)/$(STATIC_LIBRARY)
-       @if test -d $(SHARED_LIBRARY); then \
-         echo "  Copying shared library" \
-         cd $(WXBASEDIR)/lib/$(OS) ; \
-           rm -f $(libdir)/$(SHARED_LIBRARY) ; \
-           $(INSTALL_PROGRAM) $(SHARED_LIBRARY) $(libdir)/$(SHARED_LIBRARY) ; \
-           $(LN_S) $(SHARED_LIBRARY) $(libdir)/lib$(LIB_TARGET).so.$(LIB_MAJOR) ; \
-           $(LN_S) $(SHARED_LIBRARY) $(libdir)/lib$(LIB_TARGET).so ; \
-       fi
-       @echo " "
-       @echo "Installation complete. You may have to run ldconfig!"
-       @echo " "
-       
-clean::
-       $(RM) -rf gtk
-       $(RM) -rf qt
-       $(RM) -rf motif
-       $(RM) -rf common
-       $(RM) -rf generic
-       $(RM) -rf png
-       $(RM) -rf zlib
-       $(RM) -rf gdk_imlib
-       $(RM) -rf iodbc
-       @$(RM) lexer.c parser.c
-
-#additional things needed for compile
-ADD_COMPILE= \
-   -DHAVE_LIBPNG -DDJPEG_PROG=\"\" -DCJPEG_PROG=\"\"
-
-# include the definitions now
-include ../../template.mak
-
-# things for the prolog stuff
-
-parser.c: ../common/parser.y lexer.c 
-       @if test ! -f parser.y; then \
-         cp -f ../common/parser.y . ; \
-       fi
-       @$(YACC) parser.y
-       @sed -e "s/y.tab.c/parser.y/g"       < y.tab.c | \
+
+DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
+
+-include $(DEP_FILES)
+
+mostlyclean-depend:
+
+clean-depend:
+
+distclean-depend:
+       -rm -rf .deps
+
+maintainer-clean-depend:
+
+%.o: %.c
+       @echo '$(COMPILE) -c $<'; \
+       $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
+       @-cp .deps/$(*F).pp .deps/$(*F).P; \
+       tr ' ' '\012' < .deps/$(*F).pp \
+         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
+           >> .deps/$(*F).P; \
+       rm .deps/$(*F).pp
+
+%.lo: %.c
+       @echo '$(LTCOMPILE) -c $<'; \
+       $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
+       @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
+         < .deps/$(*F).pp > .deps/$(*F).P; \
+       tr ' ' '\012' < .deps/$(*F).pp \
+         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
+           >> .deps/$(*F).P; \
+       rm -f .deps/$(*F).pp
+
+%.o: %.cpp
+       @echo '$(CXXCOMPILE) -c $<'; \
+       $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
+       @-cp .deps/$(*F).pp .deps/$(*F).P; \
+       tr ' ' '\012' < .deps/$(*F).pp \
+         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
+           >> .deps/$(*F).P; \
+       rm .deps/$(*F).pp
+
+%.lo: %.cpp
+       @echo '$(LTCXXCOMPILE) -c $<'; \
+       $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
+       @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
+         < .deps/$(*F).pp > .deps/$(*F).P; \
+       tr ' ' '\012' < .deps/$(*F).pp \
+         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
+           >> .deps/$(*F).P; \
+       rm -f .deps/$(*F).pp
+info-am:
+info: info-am
+dvi-am:
+dvi: dvi-am
+check-am: all-am
+check: check-am
+installcheck-am:
+installcheck: installcheck-am
+install-exec-am: install-libLTLIBRARIES
+install-exec: install-exec-am
+
+install-data-am:
+install-data: install-data-am
+
+install-am: all-am
+       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+install: install-am
+uninstall-am: uninstall-libLTLIBRARIES
+uninstall: uninstall-am
+all-am: Makefile $(LTLIBRARIES)
+all-redirect: all-am
+install-strip:
+       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+installdirs:
+       $(mkinstalldirs)  $(DESTDIR)$(libdir)
+
+
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+       -rm -f Makefile $(CONFIG_CLEAN_FILES)
+       -rm -f config.cache config.log stamp-h stamp-h[0-9]*
+
+maintainer-clean-generic:
+       -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+               mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
+               mostlyclean-generic
+
+mostlyclean: mostlyclean-am
+
+clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \
+               clean-depend clean-generic mostlyclean-am
+
+clean: clean-am
+
+distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+               distclean-libtool distclean-tags distclean-depend \
+               distclean-generic clean-am
+       -rm -f libtool
+
+distclean: distclean-am
+
+maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+               maintainer-clean-compile maintainer-clean-libtool \
+               maintainer-clean-tags maintainer-clean-depend \
+               maintainer-clean-generic distclean-am
+       @echo "This command is intended for maintainers to use;"
+       @echo "it deletes files that may require special tools to rebuild."
+
+maintainer-clean: maintainer-clean-am
+
+.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+distclean-compile clean-compile maintainer-clean-compile \
+mostlyclean-libtool distclean-libtool clean-libtool \
+maintainer-clean-libtool tags mostlyclean-tags distclean-tags \
+clean-tags maintainer-clean-tags distdir mostlyclean-depend \
+distclean-depend clean-depend maintainer-clean-depend info-am info \
+dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
+install-exec install-data-am install-data install-am install \
+uninstall-am uninstall all-redirect all-am all installdirs \
+mostlyclean-generic distclean-generic clean-generic \
+maintainer-clean-generic clean mostlyclean distclean maintainer-clean
+
+parser.c: $(srcdir)/common/parser.y lexer.c
+       $(YACC) $(srcdir)/common/parser.y
+       @sed -e "s;$(srcdir)/common/y.tab.c;parser.y;g" < y.tab.c | \
        sed -e "s/BUFSIZ/5000/g"            | \
        sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
        sed -e "s/yy/PROIO_yy/g"            | \
        sed -e "s/input/PROIO_input/g"      | \
        sed -e "s/unput/PROIO_unput/g"      > parser.c
        @$(RM) y.tab.c
        sed -e "s/BUFSIZ/5000/g"            | \
        sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
        sed -e "s/yy/PROIO_yy/g"            | \
        sed -e "s/input/PROIO_input/g"      | \
        sed -e "s/unput/PROIO_unput/g"      > parser.c
        @$(RM) y.tab.c
-       @$(RM) parser.y
-
-lexer.c: ../common/lexer.l
-       @if test ! -f lexer.l; then \
-         cp -f ../common/lexer.l . ;\
-       fi
-       @$(LEX) lexer.l
-       @sed -e "s/lex.yy.c/lexer.l/g"       < lex.yy.c | \
+
+lexer.c: $(srcdir)/common/lexer.l
+       $(LEX) $(srcdir)/common/lexer.l
+       @sed -e "s;$(srcdir)/common/lex.yy.c;lexer.l;g" < lex.yy.c | \
        sed -e "s/yy/PROIO_yy/g"            | \
        sed -e "s/input/PROIO_input/g"      | \
        sed -e "s/unput/PROIO_unput/g"      > lexer.c
        @$(RM) lex.yy.c
        sed -e "s/yy/PROIO_yy/g"            | \
        sed -e "s/input/PROIO_input/g"      | \
        sed -e "s/unput/PROIO_unput/g"      > lexer.c
        @$(RM) lex.yy.c
-       @$(RM) lexer.l
 
 
-clean::
-       
+# the files which we install manually (the rest is done by automake)
+#install-data-local:
+#      @$(NORMAL_INSTALL)
+#      $(mkinstalldirs) $(DESTDIR)$(includedir)/wx
+#      $(mkinstalldirs) $(DESTDIR)$(includedir)/wx/generic
+#      $(mkinstalldirs) $(DESTDIR)$(includedir)/wx/@TOOLKIT_DIR@
+#      $(mkinstalldirs) $(DESTDIR)$(includedir)/wx/protocol
+#      $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/include/wx
+#      @for p in $(top_srcdir)/include/wx/*.h $(top_srcdir)/include/wx/*.cpp; do \
+#        h=`basename $$p`; (set -x; \
+#        $(INSTALL_DATA) $$p $(DESTDIR)$(includedir)/wx/$$h ); \
+#      done
+#      @for p in $(top_srcdir)/include/wx/generic/*.h ; do \
+#        h=`basename $$p`; (set -x; \
+#        $(INSTALL_DATA) $$p $(DESTDIR)$(includedir)/wx/generic/$$h ); \
+#      done
+#      @for p in $(top_srcdir)/include/wx/@TOOLKIT_DIR@/*.h ; do \
+#        h=`basename $$p`; (set -x; \
+#        $(INSTALL_DATA) $$p $(DESTDIR)$(includedir)/wx/@TOOLKIT_DIR@/$$h ); \
+#      done
+#      @if [ @TOOLKIT_DIR@ = msw ]; then \
+#        for p in $(top_srcdir)/include/wx/@TOOLKIT_DIR@/*.cur \
+#                 $(top_srcdir)/include/wx/@TOOLKIT_DIR@/*.ico \
+#                 $(top_srcdir)/include/wx/@TOOLKIT_DIR@/*.bmp \
+#                 $(top_srcdir)/include/wx/@TOOLKIT_DIR@/*.rc ; do \
+#          h=`basename $$p`; (set -x; \
+#          $(INSTALL_DATA) $$p $(DESTDIR)$(includedir)/wx/@TOOLKIT_DIR@/$$h ); \
+#        done; \
+#        for p in $(top_srcdir)/include/wx/@TOOLKIT_DIR@/ctl3d/*.h ; do \
+#          h=`basename $$p`; (set -x; \
+#          $(INSTALL_DATA) $$p $(DESTDIR)$(includedir)/wx/@TOOLKIT_DIR@/ctl3d/$$h ); \
+#        done; \
+#        for p in $(top_srcdir)/include/wx/@TOOLKIT_DIR@/gnuwin32/*.h ; do \
+#          h=`basename $$p`; (set -x; \
+#          $(INSTALL_DATA) $$p $(DESTDIR)$(includedir)/wx/@TOOLKIT_DIR@/gnuwin32/$$h ); \
+#        done; \
+#      fi
+#      @for p in $(top_srcdir)/include/wx/protocol/*.h ; do \
+#        h=`basename $$p`; (set -x; \
+#        $(INSTALL_DATA) $$p $(DESTDIR)$(includedir)/wx/protocol/$$h ); \
+#      done
+#      $(INSTALL_DATA) ../include/wx/@TOOLKIT_DIR@/setup.h $(DESTDIR)$(pkgdatadir)/include/wx/setup.h
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT: