diff -Naur wxxml2/Makefile.in wxxml2.new/Makefile.in
--- wxxml2/Makefile.in	2010-03-10 21:06:24.000000000 +0100
+++ wxxml2.new/Makefile.in	2007-03-10 14:39:51.000000000 +0100
@@ -1,299 +1,274 @@
-# =========================================================================
-#     This makefile was generated by
-#     Bakefile 0.2.8 (http://www.bakefile.org)
-#     Do not modify, all changes will be overwritten!
-# =========================================================================
-
-
-@MAKE_SET@
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-datarootdir = @datarootdir@
-INSTALL = @INSTALL@
-SHARED_LD_CXX = @SHARED_LD_CXX@
-LIBEXT = @LIBEXT@
-LIBPREFIX = @LIBPREFIX@
-SO_SUFFIX = @SO_SUFFIX@
-DLLIMP_SUFFIX = @DLLIMP_SUFFIX@
-EXEEXT = @EXEEXT@
-LN_S = @LN_S@
-SETFILE = @SETFILE@
-PIC_FLAG = @PIC_FLAG@
-SONAME_FLAG = @SONAME_FLAG@
-STRIP = @STRIP@
-NM = @NM@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_DIR = @INSTALL_DIR@
-BK_DEPS = @BK_DEPS@
-srcdir = @srcdir@
-libdir = @libdir@
-DLLPREFIX = @DLLPREFIX@
-LIBS = @LIBS@
-LDFLAGS_GUI = @LDFLAGS_GUI@
-AR = @AR@
-AROPTIONS = @AROPTIONS@
-RANLIB = @RANLIB@
-CXX = @CXX@
-CXXFLAGS = @CXXFLAGS@
-CPPFLAGS = @CPPFLAGS@
-LDFLAGS = @LDFLAGS@
-WX_CXXFLAGS = @WX_CXXFLAGS@
-WX_LIBS = @WX_LIBS@
-WX_RESCOMP = @WX_RESCOMP@
-WX_VERSION_MAJOR = @WX_VERSION_MAJOR@
-WX_VERSION_MINOR = @WX_VERSION_MINOR@
-WX_PORT = @WX_PORT@
-
-### Variables: ###
-
-DESTDIR = 
-WXXML2_LIB_CXXFLAGS = -I$(srcdir)/include $(WX_CXXFLAGS) $(CPPFLAGS) \
-	$(CXXFLAGS)
-WXXML2_LIB_OBJECTS =  \
-	wxxml2_lib_dtd.o \
-	wxxml2_lib_xml2.o
-WXXML2_LIB_HEADERS =  \
-	include/wx/dtd.h \
-	include/wx/xml2.h \
-	include/wx/xml2def.h
-WXXML2_DLL_CXXFLAGS = -I$(srcdir)/include -DWXMAKINGDLL_WXXML2 $(PIC_FLAG) \
-	$(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
-WXXML2_DLL_OBJECTS =  \
-	wxxml2_dll_dtd.o \
-	wxxml2_dll_xml2.o
-WXXML2_DLL_HEADERS =  \
-	include/wx/dtd.h \
-	include/wx/xml2.h \
-	include/wx/xml2def.h
-MINIMAL_CXXFLAGS = -I$(srcdir)/include $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
-MINIMAL_OBJECTS =  \
-	minimal_minimal.o \
-	$(__minimal___win32rc)
-
-### Conditionally set variables: ###
-
-@COND_DEPS_TRACKING_0@CXXC = $(CXX)
-@COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
-@COND_WX_DEBUG_0@WXLIBPOSTFIX = u
-@COND_WX_DEBUG_1@WXLIBPOSTFIX = ud
-COND_WX_SHARED_0___wxxml2_lib___depname = \
-	$(srcdir)/lib/$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(LIBEXT)
-@COND_WX_SHARED_0@__wxxml2_lib___depname = $(COND_WX_SHARED_0___wxxml2_lib___depname)
-@COND_WX_SHARED_0@__install_wxxml2_lib___depname = install_wxxml2_lib
-@COND_WX_SHARED_0@__uninstall_wxxml2_lib___depname = uninstall_wxxml2_lib
-@COND_WX_SHARED_0@__install_wxxml2_lib_headers___depname \
-@COND_WX_SHARED_0@	= install_wxxml2_lib_headers
-@COND_WX_SHARED_0@__uninstall_wxxml2_lib_headers___depname \
-@COND_WX_SHARED_0@	= uninstall_wxxml2_lib_headers
-COND_WX_SHARED_1___wxxml2_dll___depname = \
-	$(srcdir)/lib/$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf3)
-@COND_WX_SHARED_1@__wxxml2_dll___depname = $(COND_WX_SHARED_1___wxxml2_dll___depname)
-@COND_WX_SHARED_1@__install_wxxml2_dll___depname = install_wxxml2_dll
-@COND_WX_SHARED_1@__uninstall_wxxml2_dll___depname = uninstall_wxxml2_dll
-COND_PLATFORM_MACOSX_1___wxxml2_dll___macinstnamecmd = -install_name \
-	$(libdir)/$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf2)
-@COND_PLATFORM_MACOSX_1@__wxxml2_dll___macinstnamecmd = $(COND_PLATFORM_MACOSX_1___wxxml2_dll___macinstnamecmd)
-COND_PLATFORM_OS2_1___wxxml2_dll___importlib = -import \
-	$(srcdir)/lib/$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX)
-@COND_PLATFORM_OS2_1@__wxxml2_dll___importlib = $(COND_PLATFORM_OS2_1___wxxml2_dll___importlib)
-COND_WINDOWS_IMPLIB_1___wxxml2_dll___importlib = \
-	-Wl,--out-implib=$(srcdir)/lib/$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX)
-@COND_WINDOWS_IMPLIB_1@__wxxml2_dll___importlib = $(COND_WINDOWS_IMPLIB_1___wxxml2_dll___importlib)
-@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@__wxxml2_dll___targetsuf2 \
-@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@	= .$(SO_SUFFIX).0
-@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__wxxml2_dll___targetsuf2 \
-@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@	= .0.$(SO_SUFFIX)
-@COND_USE_SOVERSION_0@__wxxml2_dll___targetsuf2 = .$(SO_SUFFIX)
-@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@__wxxml2_dll___targetsuf3 \
-@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@	= \
-@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@	.$(SO_SUFFIX).0.0.0
-@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__wxxml2_dll___targetsuf3 \
-@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@	= .0.0.0.$(SO_SUFFIX)
-@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@__wxxml2_dll___targetsuf3 \
-@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@	= .$(SO_SUFFIX).0
-@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@__wxxml2_dll___targetsuf3 \
-@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@	= -0.$(SO_SUFFIX)
-@COND_USE_SOVERSION_0@__wxxml2_dll___targetsuf3 = .$(SO_SUFFIX)
-COND_USE_SOVERLINUX_1___wxxml2_dll___soname_flags = \
-	$(SONAME_FLAG)$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf2)
-@COND_USE_SOVERLINUX_1@__wxxml2_dll___soname_flags = $(COND_USE_SOVERLINUX_1___wxxml2_dll___soname_flags)
-COND_USE_SOVERSOLARIS_1___wxxml2_dll___soname_flags = \
-	$(SONAME_FLAG)$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf3)
-@COND_USE_SOVERSOLARIS_1@__wxxml2_dll___soname_flags = $(COND_USE_SOVERSOLARIS_1___wxxml2_dll___soname_flags)
-COND_USE_SOTWOSYMLINKS_1___wxxml2_dll___so_symlinks_cmd = (cd $(srcdir)/lib/; \
-	rm -f \
-	$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX) \
-	$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf2); \
-	$(LN_S) \
-	$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf3) \
-	$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf2); \
-	$(LN_S) \
-	$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf2) \
-	$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX))
-@COND_USE_SOTWOSYMLINKS_1@__wxxml2_dll___so_symlinks_cmd = $(COND_USE_SOTWOSYMLINKS_1___wxxml2_dll___so_symlinks_cmd)
-COND_USE_SOVERSOLARIS_1___wxxml2_dll___so_symlinks_cmd = (cd $(srcdir)/lib/; \
-	rm -f \
-	$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX); \
-	$(LN_S) \
-	$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf3) \
-	$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX))
-@COND_USE_SOVERSOLARIS_1@__wxxml2_dll___so_symlinks_cmd = $(COND_USE_SOVERSOLARIS_1___wxxml2_dll___so_symlinks_cmd)
-COND_USE_SOTWOSYMLINKS_1___wxxml2_dll___so_symlinks_inst_cmd = rm -f \
-	$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX) \
-	$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf2); \
-	$(LN_S) \
-	$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf3) \
-	$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf2); \
-	$(LN_S) \
-	$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf2) \
-	$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX)
-@COND_USE_SOTWOSYMLINKS_1@__wxxml2_dll___so_symlinks_inst_cmd = $(COND_USE_SOTWOSYMLINKS_1___wxxml2_dll___so_symlinks_inst_cmd)
-COND_USE_SOVERSOLARIS_1___wxxml2_dll___so_symlinks_inst_cmd = rm -f \
-	$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX); \
-	$(LN_S) \
-	$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf3) \
-	$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX);
-@COND_USE_SOVERSOLARIS_1@__wxxml2_dll___so_symlinks_inst_cmd = $(COND_USE_SOVERSOLARIS_1___wxxml2_dll___so_symlinks_inst_cmd)
-COND_USE_SOTWOSYMLINKS_1___wxxml2_dll___so_symlinks_uninst_cmd = rm -f \
-	$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf2) \
-	$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX)
-@COND_USE_SOTWOSYMLINKS_1@__wxxml2_dll___so_symlinks_uninst_cmd = $(COND_USE_SOTWOSYMLINKS_1___wxxml2_dll___so_symlinks_uninst_cmd)
-COND_USE_SOVERSOLARIS_1___wxxml2_dll___so_symlinks_uninst_cmd = rm -f \
-	$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX)
-@COND_USE_SOVERSOLARIS_1@__wxxml2_dll___so_symlinks_uninst_cmd = $(COND_USE_SOVERSOLARIS_1___wxxml2_dll___so_symlinks_uninst_cmd)
-@COND_WX_SHARED_1@__install_wxxml2_dll_headers___depname \
-@COND_WX_SHARED_1@	= install_wxxml2_dll_headers
-@COND_WX_SHARED_1@__uninstall_wxxml2_dll_headers___depname \
-@COND_WX_SHARED_1@	= uninstall_wxxml2_dll_headers
-@COND_PLATFORM_MAC_0@__minimal___mac_setfilecmd = @true
-@COND_PLATFORM_MAC_1@__minimal___mac_setfilecmd = \
-@COND_PLATFORM_MAC_1@	$(SETFILE) -t APPL $(srcdir)/sample/minimal$(EXEEXT)
-COND_PLATFORM_OS2_1___minimal___os2_emxbindcmd = $(NM) minimal$(EXEEXT) | if \
-	grep -q pmwin.763 ; then emxbind -ep minimal$(EXEEXT) ; fi
-@COND_PLATFORM_OS2_1@__minimal___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___minimal___os2_emxbindcmd)
-@COND_PLATFORM_WIN32_1@__minimal___win32rc = minimal_minimal_rc.o
-
-### Targets: ###
-
-all: $(__wxxml2_lib___depname) $(__wxxml2_dll___depname) $(srcdir)/sample/minimal$(EXEEXT)
-
-install: $(__install_wxxml2_lib___depname) $(__install_wxxml2_lib_headers___depname) $(__install_wxxml2_dll___depname) $(__install_wxxml2_dll_headers___depname)
-
-uninstall: $(__uninstall_wxxml2_lib___depname) $(__uninstall_wxxml2_lib_headers___depname) $(__uninstall_wxxml2_dll___depname) $(__uninstall_wxxml2_dll_headers___depname)
-
-install-strip: install
-	$(STRIP) $(DESTDIR)$(libdir)/$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf3)
-
-clean: 
-	rm -rf ./.deps ./.pch
-	rm -f ./*.o
-	rm -f $(srcdir)/lib/$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(LIBEXT)
-	rm -f $(srcdir)/lib/$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf3)
-	rm -f $(srcdir)/lib/$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX)
-	rm -f $(srcdir)/lib/$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX) $(srcdir)/lib/$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf2)
-	rm -f $(srcdir)/sample/minimal$(EXEEXT)
-
-distclean: clean
-	rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
-
-@COND_WX_SHARED_0@$(srcdir)/lib/$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(LIBEXT): $(WXXML2_LIB_OBJECTS)
-@COND_WX_SHARED_0@	rm -f $@
-@COND_WX_SHARED_0@	$(AR) $(AROPTIONS) $@ $(WXXML2_LIB_OBJECTS)
-@COND_WX_SHARED_0@	$(RANLIB) $@
-
-@COND_WX_SHARED_0@install_wxxml2_lib: $(__wxxml2_lib___depname)
-@COND_WX_SHARED_0@	$(INSTALL_DIR) $(DESTDIR)$(libdir)
-@COND_WX_SHARED_0@	$(INSTALL_DATA) $(srcdir)/lib/$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(LIBEXT) $(DESTDIR)$(libdir)
-
-@COND_WX_SHARED_0@uninstall_wxxml2_lib: 
-@COND_WX_SHARED_0@	rm -f $(DESTDIR)$(libdir)/$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(LIBEXT)
-
-@COND_WX_SHARED_0@install_wxxml2_lib_headers: 
-@COND_WX_SHARED_0@	$(INSTALL_DIR) $(DESTDIR)$(prefix)
-@COND_WX_SHARED_0@	for f in $(WXXML2_LIB_HEADERS); do \
-@COND_WX_SHARED_0@	if test ! -d $(DESTDIR)$(prefix)/`dirname $$f` ; then \
-@COND_WX_SHARED_0@	$(INSTALL_DIR) $(DESTDIR)$(prefix)/`dirname $$f`; \
-@COND_WX_SHARED_0@	fi; \
-@COND_WX_SHARED_0@	$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(prefix)/$$f; \
-@COND_WX_SHARED_0@	done
-
-@COND_WX_SHARED_0@uninstall_wxxml2_lib_headers: 
-@COND_WX_SHARED_0@	for f in $(WXXML2_LIB_HEADERS); do \
-@COND_WX_SHARED_0@	rm -f $(DESTDIR)$(prefix)/$$f; \
-@COND_WX_SHARED_0@	done
-
-@COND_WX_SHARED_1@$(srcdir)/lib/$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf3): $(WXXML2_DLL_OBJECTS)
-@COND_WX_SHARED_1@	$(SHARED_LD_CXX) $@ $(WXXML2_DLL_OBJECTS)  -L$(srcdir)/lib $(__wxxml2_dll___macinstnamecmd) $(__wxxml2_dll___importlib) $(__wxxml2_dll___soname_flags) $(LDFLAGS)  -lxml2 $(WX_LIBS) $(LIBS)
-@COND_WX_SHARED_1@	
-@COND_WX_SHARED_1@	$(__wxxml2_dll___so_symlinks_cmd)
-
-@COND_WX_SHARED_1@install_wxxml2_dll: $(__wxxml2_dll___depname)
-@COND_WX_SHARED_1@	$(INSTALL_DIR) $(DESTDIR)$(libdir)
-@COND_WX_SHARED_1@	$(INSTALL_DATA) $(srcdir)/lib/$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX) $(DESTDIR)$(libdir)
-@COND_WX_SHARED_1@	$(INSTALL_PROGRAM) $(srcdir)/lib/$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf3) $(DESTDIR)$(libdir)
-@COND_WX_SHARED_1@	(cd $(DESTDIR)$(libdir) ; $(__wxxml2_dll___so_symlinks_inst_cmd))
-
-@COND_WX_SHARED_1@uninstall_wxxml2_dll: 
-@COND_WX_SHARED_1@	rm -f $(DESTDIR)$(libdir)/$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX)
-@COND_WX_SHARED_1@	rm -f $(DESTDIR)$(libdir)/$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf3)
-@COND_WX_SHARED_1@	(cd $(DESTDIR)$(libdir) ; $(__wxxml2_dll___so_symlinks_uninst_cmd))
-
-@COND_WX_SHARED_1@install_wxxml2_dll_headers: 
-@COND_WX_SHARED_1@	$(INSTALL_DIR) $(DESTDIR)$(prefix)
-@COND_WX_SHARED_1@	for f in $(WXXML2_DLL_HEADERS); do \
-@COND_WX_SHARED_1@	if test ! -d $(DESTDIR)$(prefix)/`dirname $$f` ; then \
-@COND_WX_SHARED_1@	$(INSTALL_DIR) $(DESTDIR)$(prefix)/`dirname $$f`; \
-@COND_WX_SHARED_1@	fi; \
-@COND_WX_SHARED_1@	$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(prefix)/$$f; \
-@COND_WX_SHARED_1@	done
-
-@COND_WX_SHARED_1@uninstall_wxxml2_dll_headers: 
-@COND_WX_SHARED_1@	for f in $(WXXML2_DLL_HEADERS); do \
-@COND_WX_SHARED_1@	rm -f $(DESTDIR)$(prefix)/$$f; \
-@COND_WX_SHARED_1@	done
-
-$(srcdir)/sample/minimal$(EXEEXT): $(MINIMAL_OBJECTS) make_sample_dir_minimal $(__minimal___win32rc) $(__wxxml2_lib___depname)
-	$(CXX) -o $@ $(MINIMAL_OBJECTS) -L$(srcdir)/lib  -L$(srcdir)/lib $(LDFLAGS_GUI)  $(LDFLAGS)  -lwxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR) -lxml2 $(WX_LIBS) $(LIBS)
-	
-	$(__minimal___mac_setfilecmd)
-	$(__minimal___os2_emxbindcmd)
-
-make_sample_dir_minimal: 
-	@mkdir -p $(srcdir)/sample
-
-tarball: 
-	make distclean
-	( cd $(srcdir)/.. && tar -cvzf wxxml2.tar.gz --exclude="*~" --exclude="*.log" --exclude="*.o*" --exclude="*.a" --exclude=".svn" --exclude="autom4te.cache" wxxml2/* )
-
-zip: clean
-	del ../$(srcdir)/wxxml2.zip
-	( cd $(srcdir)/.. && zip -r9 wxxml2.zip wxxml2 -x "*.pdb" -x "*.log" -x "*.o*" )
-
-wxxml2_lib_dtd.o: $(srcdir)/src/dtd.cpp
-	$(CXXC) -c -o $@ $(WXXML2_LIB_CXXFLAGS) $(srcdir)/src/dtd.cpp
-
-wxxml2_lib_xml2.o: $(srcdir)/src/xml2.cpp
-	$(CXXC) -c -o $@ $(WXXML2_LIB_CXXFLAGS) $(srcdir)/src/xml2.cpp
-
-wxxml2_dll_dtd.o: $(srcdir)/src/dtd.cpp
-	$(CXXC) -c -o $@ $(WXXML2_DLL_CXXFLAGS) $(srcdir)/src/dtd.cpp
-
-wxxml2_dll_xml2.o: $(srcdir)/src/xml2.cpp
-	$(CXXC) -c -o $@ $(WXXML2_DLL_CXXFLAGS) $(srcdir)/src/xml2.cpp
-
-minimal_minimal.o: $(srcdir)/sample/minimal.cpp
-	$(CXXC) -c -o $@ $(MINIMAL_CXXFLAGS) $(srcdir)/sample/minimal.cpp
-
-minimal_minimal_rc.o: $(srcdir)/sample/minimal.rc
-	$(WX_RESCOMP) -i$< -o$@  --include-dir $(srcdir)/include --include-dir $(srcdir)/sample
-
-
-# Include dependency info, if present:
-@IF_GNU_MAKE@-include ./.deps/*.d
-
-.PHONY: all install uninstall clean distclean install_wxxml2_lib \
-	uninstall_wxxml2_lib install_wxxml2_lib_headers \
-	uninstall_wxxml2_lib_headers install_wxxml2_dll uninstall_wxxml2_dll \
-	install_wxxml2_dll_headers uninstall_wxxml2_dll_headers
+# =========================================================================
+#     This makefile was generated by
+#     Bakefile 0.2.2 (http://www.bakefile.org)
+#     Do not modify, all changes will be overwritten!
+# =========================================================================
+
+
+@MAKE_SET@
+
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+INSTALL = @INSTALL@
+SHARED_LD_CXX = @SHARED_LD_CXX@
+LIBEXT = @LIBEXT@
+LIBPREFIX = @LIBPREFIX@
+SO_SUFFIX = @SO_SUFFIX@
+DLLIMP_SUFFIX = @DLLIMP_SUFFIX@
+EXEEXT = @EXEEXT@
+LN_S = @LN_S@
+SETFILE = @SETFILE@
+PIC_FLAG = @PIC_FLAG@
+SONAME_FLAG = @SONAME_FLAG@
+STRIP = @STRIP@
+NM = @NM@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_DIR = @INSTALL_DIR@
+BK_DEPS = @BK_DEPS@
+srcdir = @srcdir@
+libdir = @libdir@
+DLLPREFIX = @DLLPREFIX@
+LIBS = @LIBS@
+LDFLAGS_GUI = @LDFLAGS_GUI@
+AR = @AR@
+AROPTIONS = @AROPTIONS@
+RANLIB = @RANLIB@
+CXX = @CXX@
+CXXFLAGS = @CXXFLAGS@
+CPPFLAGS = @CPPFLAGS@
+LDFLAGS = @LDFLAGS@
+WX_CXXFLAGS = @WX_CXXFLAGS@
+WX_LIBS = @WX_LIBS@
+WX_VERSION_MAJOR = @WX_VERSION_MAJOR@
+WX_VERSION_MINOR = @WX_VERSION_MINOR@
+WX_PORT = @WX_PORT@
+
+### Variables: ###
+
+DESTDIR = 
+WXXML2_LIB_CXXFLAGS = -I$(srcdir)/include $(WX_CXXFLAGS) $(CPPFLAGS) \
+	$(CXXFLAGS)
+WXXML2_LIB_OBJECTS =  \
+	wxxml2_lib_dtd.o \
+	wxxml2_lib_xml2.o
+WXXML2_LIB_HEADERS =  \
+	include/wx/dtd.h \
+	include/wx/xml2.h \
+	include/wx/xml2def.h
+WXXML2_DLL_CXXFLAGS = -I$(srcdir)/include -DWXMAKINGDLL_WXXML2 $(PIC_FLAG) \
+	$(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
+WXXML2_DLL_OBJECTS =  \
+	wxxml2_dll_dtd.o \
+	wxxml2_dll_xml2.o
+WXXML2_DLL_HEADERS =  \
+	include/wx/dtd.h \
+	include/wx/xml2.h \
+	include/wx/xml2def.h
+MINIMAL_CXXFLAGS = -I$(srcdir)/include $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
+MINIMAL_OBJECTS =  \
+	minimal_minimal.o \
+	$(__minimal___win32rc)
+
+### Conditionally set variables: ###
+
+@COND_DEPS_TRACKING_0@CXXC = $(CXX)
+@COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
+@COND_WX_DEBUG_0_WX_UNICODE_1@WXLIBPOSTFIX = u
+@COND_WX_DEBUG_1_WX_UNICODE_0@WXLIBPOSTFIX = d
+@COND_WX_DEBUG_1_WX_UNICODE_1@WXLIBPOSTFIX = ud
+COND_WX_SHARED_0___wxxml2_lib___depname = \
+	$(srcdir)/lib/$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(LIBEXT)
+@COND_WX_SHARED_0@__wxxml2_lib___depname = $(COND_WX_SHARED_0___wxxml2_lib___depname)
+@COND_WX_SHARED_0@__install_wxxml2_lib___depname = install_wxxml2_lib
+@COND_WX_SHARED_0@__uninstall_wxxml2_lib___depname = uninstall_wxxml2_lib
+@COND_WX_SHARED_0@__install_wxxml2_lib_headers___depname \
+@COND_WX_SHARED_0@	= install_wxxml2_lib_headers
+@COND_WX_SHARED_0@__uninstall_wxxml2_lib_headers___depname \
+@COND_WX_SHARED_0@	= uninstall_wxxml2_lib_headers
+COND_WX_SHARED_1___wxxml2_dll___depname = \
+	$(srcdir)/lib/$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf3)
+@COND_WX_SHARED_1@__wxxml2_dll___depname = $(COND_WX_SHARED_1___wxxml2_dll___depname)
+@COND_WX_SHARED_1@__install_wxxml2_dll___depname = install_wxxml2_dll
+@COND_WX_SHARED_1@__uninstall_wxxml2_dll___depname = uninstall_wxxml2_dll
+COND_PLATFORM_MACOSX_1___wxxml2_dll___macinstnamecmd = -install_name \
+	$(libdir)/$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf2)
+@COND_PLATFORM_MACOSX_1@__wxxml2_dll___macinstnamecmd = $(COND_PLATFORM_MACOSX_1___wxxml2_dll___macinstnamecmd)
+COND_PLATFORM_OS2_1___wxxml2_dll___importlib = -import \
+	$(srcdir)/lib/$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX)
+@COND_PLATFORM_OS2_1@__wxxml2_dll___importlib = $(COND_PLATFORM_OS2_1___wxxml2_dll___importlib)
+COND_WINDOWS_IMPLIB_1___wxxml2_dll___importlib = \
+	-Wl,--out-implib=$(srcdir)/lib/$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX)
+@COND_WINDOWS_IMPLIB_1@__wxxml2_dll___importlib = $(COND_WINDOWS_IMPLIB_1___wxxml2_dll___importlib)
+@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@__wxxml2_dll___targetsuf2 \
+@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@	= .$(SO_SUFFIX).0
+@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__wxxml2_dll___targetsuf2 \
+@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@	= .0.$(SO_SUFFIX)
+@COND_USE_SOVERSION_0@__wxxml2_dll___targetsuf2 = .$(SO_SUFFIX)
+@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@__wxxml2_dll___targetsuf3 \
+@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@	= \
+@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@	.$(SO_SUFFIX).0.0.0
+@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__wxxml2_dll___targetsuf3 \
+@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@	= .0.0.0.$(SO_SUFFIX)
+@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@__wxxml2_dll___targetsuf3 \
+@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@	= -0.$(SO_SUFFIX)
+@COND_USE_SOVERSION_0@__wxxml2_dll___targetsuf3 = .$(SO_SUFFIX)
+COND_USE_SOVERLINUX_1___wxxml2_dll___soname_flags = \
+	$(SONAME_FLAG)$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf2)
+@COND_USE_SOVERLINUX_1@__wxxml2_dll___soname_flags = $(COND_USE_SOVERLINUX_1___wxxml2_dll___soname_flags)
+COND_USE_SOVERSOLARIS_1___wxxml2_dll___soname_flags = \
+	$(SONAME_FLAG)$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf3)
+@COND_USE_SOVERSOLARIS_1@__wxxml2_dll___soname_flags = $(COND_USE_SOVERSOLARIS_1___wxxml2_dll___soname_flags)
+COND_USE_SOSYMLINKS_1___wxxml2_dll___so_symlinks_cmd = (cd $(srcdir)/lib/; rm \
+	-f \
+	$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX) \
+	$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf2); \
+	$(LN_S) \
+	$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf3) \
+	$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf2); \
+	$(LN_S) \
+	$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf2) \
+	$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX))
+@COND_USE_SOSYMLINKS_1@__wxxml2_dll___so_symlinks_cmd = $(COND_USE_SOSYMLINKS_1___wxxml2_dll___so_symlinks_cmd)
+COND_USE_SOSYMLINKS_1___wxxml2_dll___so_symlinks_inst_cmd = rm -f \
+	$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX) \
+	$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf2); \
+	$(LN_S) \
+	$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf3) \
+	$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf2); \
+	$(LN_S) \
+	$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf2) \
+	$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX)
+@COND_USE_SOSYMLINKS_1@__wxxml2_dll___so_symlinks_inst_cmd = $(COND_USE_SOSYMLINKS_1___wxxml2_dll___so_symlinks_inst_cmd)
+COND_USE_SOSYMLINKS_1___wxxml2_dll___so_symlinks_uninst_cmd = rm -f \
+	$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf2) \
+	$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX)
+@COND_USE_SOSYMLINKS_1@__wxxml2_dll___so_symlinks_uninst_cmd = $(COND_USE_SOSYMLINKS_1___wxxml2_dll___so_symlinks_uninst_cmd)
+@COND_WX_SHARED_1@__install_wxxml2_dll_headers___depname \
+@COND_WX_SHARED_1@	= install_wxxml2_dll_headers
+@COND_WX_SHARED_1@__uninstall_wxxml2_dll_headers___depname \
+@COND_WX_SHARED_1@	= uninstall_wxxml2_dll_headers
+@COND_PLATFORM_MAC_1@__minimal___mac_setfilecmd = \
+@COND_PLATFORM_MAC_1@	$(SETFILE) -t APPL $(srcdir)/sample/minimal$(EXEEXT)
+COND_PLATFORM_OS2_1___minimal___os2_emxbindcmd = $(NM) minimal$(EXEEXT) | if \
+	grep -q pmwin.763 ; then emxbind -ep minimal$(EXEEXT) ; fi
+@COND_PLATFORM_OS2_1@__minimal___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___minimal___os2_emxbindcmd)
+
+### Targets: ###
+
+all: $(__wxxml2_lib___depname) $(__wxxml2_dll___depname) $(srcdir)/sample/minimal$(EXEEXT)
+
+install: all $(__install_wxxml2_lib___depname) $(__install_wxxml2_lib_headers___depname) $(__install_wxxml2_dll___depname) $(__install_wxxml2_dll_headers___depname)
+
+uninstall: $(__uninstall_wxxml2_lib___depname) $(__uninstall_wxxml2_lib_headers___depname) $(__uninstall_wxxml2_dll___depname) $(__uninstall_wxxml2_dll_headers___depname)
+
+install-strip: install
+	$(STRIP) $(DESTDIR)$(libdir)/$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf3)
+
+clean: 
+	rm -rf ./.deps ./.pch
+	rm -f ./*.o
+	rm -f $(srcdir)/lib/$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(LIBEXT)
+	rm -f $(srcdir)/lib/$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf3)
+	rm -f $(srcdir)/lib/$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX)
+	rm -f $(srcdir)/lib/$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX) $(srcdir)/lib/$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf2)
+	rm -f $(srcdir)/sample/minimal$(EXEEXT)
+
+distclean: clean
+	rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
+
+setupdep: 
+
+@COND_WX_SHARED_0@$(srcdir)/lib/$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(LIBEXT): $(WXXML2_LIB_OBJECTS)
+@COND_WX_SHARED_0@	rm -f $@
+@COND_WX_SHARED_0@	$(AR) $(AROPTIONS) $@ $(WXXML2_LIB_OBJECTS)
+@COND_WX_SHARED_0@	$(RANLIB) $@
+
+@COND_WX_SHARED_0@install_wxxml2_lib: 
+@COND_WX_SHARED_0@	$(INSTALL_DIR) $(DESTDIR)$(libdir)
+@COND_WX_SHARED_0@	$(INSTALL_DATA) $(srcdir)/lib/$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(LIBEXT) $(DESTDIR)$(libdir)
+
+@COND_WX_SHARED_0@uninstall_wxxml2_lib: 
+@COND_WX_SHARED_0@	rm -f $(DESTDIR)$(libdir)/$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(LIBEXT)
+
+@COND_WX_SHARED_0@install_wxxml2_lib_headers: 
+@COND_WX_SHARED_0@	$(INSTALL_DIR) $(DESTDIR)$(prefix)
+@COND_WX_SHARED_0@	for f in $(WXXML2_LIB_HEADERS); do \
+@COND_WX_SHARED_0@	if test ! -d $(DESTDIR)$(prefix)/`dirname $$f` ; then \
+@COND_WX_SHARED_0@	$(INSTALL_DIR) $(DESTDIR)$(prefix)/`dirname $$f`; \
+@COND_WX_SHARED_0@	fi; \
+@COND_WX_SHARED_0@	$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(prefix)/$$f; \
+@COND_WX_SHARED_0@	done
+
+@COND_WX_SHARED_0@uninstall_wxxml2_lib_headers: 
+@COND_WX_SHARED_0@	for f in $(WXXML2_LIB_HEADERS); do \
+@COND_WX_SHARED_0@	rm -f $(DESTDIR)$(prefix)/$$f; \
+@COND_WX_SHARED_0@	done
+
+@COND_WX_SHARED_1@$(srcdir)/lib/$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf3): $(WXXML2_DLL_OBJECTS)
+@COND_WX_SHARED_1@	$(SHARED_LD_CXX) $@ $(WXXML2_DLL_OBJECTS) $(LDFLAGS) -L$(srcdir)/lib $(__wxxml2_dll___macinstnamecmd) $(__wxxml2_dll___importlib) $(__wxxml2_dll___soname_flags)  $(LIBS) -lxml2 $(WX_LIBS)
+@COND_WX_SHARED_1@	
+@COND_WX_SHARED_1@	$(__wxxml2_dll___so_symlinks_cmd)
+
+@COND_WX_SHARED_1@install_wxxml2_dll: 
+@COND_WX_SHARED_1@	$(INSTALL_DIR) $(DESTDIR)$(libdir)
+@COND_WX_SHARED_1@	$(INSTALL_DATA) $(srcdir)/lib/$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX) $(DESTDIR)$(libdir)
+@COND_WX_SHARED_1@	$(INSTALL_PROGRAM) $(srcdir)/lib/$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf3) $(DESTDIR)$(libdir)
+@COND_WX_SHARED_1@	(cd $(DESTDIR)$(libdir) ; $(__wxxml2_dll___so_symlinks_inst_cmd))
+
+@COND_WX_SHARED_1@uninstall_wxxml2_dll: 
+@COND_WX_SHARED_1@	rm -f $(DESTDIR)$(libdir)/$(LIBPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR).$(DLLIMP_SUFFIX)
+@COND_WX_SHARED_1@	rm -f $(DESTDIR)$(libdir)/$(DLLPREFIX)wxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)$(__wxxml2_dll___targetsuf3)
+@COND_WX_SHARED_1@	(cd $(DESTDIR)$(libdir) ; $(__wxxml2_dll___so_symlinks_uninst_cmd))
+
+@COND_WX_SHARED_1@install_wxxml2_dll_headers: 
+@COND_WX_SHARED_1@	$(INSTALL_DIR) $(DESTDIR)$(prefix)
+@COND_WX_SHARED_1@	for f in $(WXXML2_DLL_HEADERS); do \
+@COND_WX_SHARED_1@	if test ! -d $(DESTDIR)$(prefix)/`dirname $$f` ; then \
+@COND_WX_SHARED_1@	$(INSTALL_DIR) $(DESTDIR)$(prefix)/`dirname $$f`; \
+@COND_WX_SHARED_1@	fi; \
+@COND_WX_SHARED_1@	$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(prefix)/$$f; \
+@COND_WX_SHARED_1@	done
+
+@COND_WX_SHARED_1@uninstall_wxxml2_dll_headers: 
+@COND_WX_SHARED_1@	for f in $(WXXML2_DLL_HEADERS); do \
+@COND_WX_SHARED_1@	rm -f $(DESTDIR)$(prefix)/$$f; \
+@COND_WX_SHARED_1@	done
+
+$(srcdir)/sample/minimal$(EXEEXT): $(MINIMAL_OBJECTS) make_sample_dir_minimal  $(__wxxml2_lib___depname)
+	$(CXX) -o $@ $(MINIMAL_OBJECTS) -L$(srcdir)/lib $(LDFLAGS) -L$(srcdir)/lib $(LDFLAGS_GUI)  $(LIBS) -lwxcode_$(WX_PORT)$(WXLIBPOSTFIX)_wxxml2-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR) -lxml2 $(WX_LIBS)
+	
+	$(__minimal___mac_setfilecmd)
+	$(__minimal___os2_emxbindcmd)
+
+make_sample_dir_minimal: 
+	@mkdir -p $(srcdir)/sample
+
+tarball: 
+	make distclean
+	( cd $(srcdir)/.. && tar -cvzf wxxml2.tar.gz --exclude="*~" --exclude="*.log" --exclude="*.o*" --exclude="*.a" --exclude=".svn" --exclude="autom4te.cache" wxxml2/* )
+
+zip: clean
+	del ../$(srcdir)/wxxml2.zip
+	( cd $(srcdir)/.. && zip -r9 wxxml2.zip wxxml2 -x "*.pdb" -x "*.log" -x "*.o*" )
+
+wxxml2_lib_dtd.o: $(srcdir)/src/dtd.cpp
+	$(CXXC) -c -o $@ $(WXXML2_LIB_CXXFLAGS) $(srcdir)/src/dtd.cpp
+
+wxxml2_lib_xml2.o: $(srcdir)/src/xml2.cpp
+	$(CXXC) -c -o $@ $(WXXML2_LIB_CXXFLAGS) $(srcdir)/src/xml2.cpp
+
+wxxml2_dll_dtd.o: $(srcdir)/src/dtd.cpp
+	$(CXXC) -c -o $@ $(WXXML2_DLL_CXXFLAGS) $(srcdir)/src/dtd.cpp
+
+wxxml2_dll_xml2.o: $(srcdir)/src/xml2.cpp
+	$(CXXC) -c -o $@ $(WXXML2_DLL_CXXFLAGS) $(srcdir)/src/xml2.cpp
+
+minimal_minimal.o: $(srcdir)/sample/minimal.cpp
+	$(CXXC) -c -o $@ $(MINIMAL_CXXFLAGS) $(srcdir)/sample/minimal.cpp
+
+
+# Include dependency info, if present:
+@IF_GNU_MAKE@-include .deps/*.d
+
+.PHONY: all install uninstall clean distclean setupdep install_wxxml2_lib uninstall_wxxml2_lib install_wxxml2_lib_headers uninstall_wxxml2_lib_headers install_wxxml2_dll uninstall_wxxml2_dll install_wxxml2_dll_headers uninstall_wxxml2_dll_headers
