]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/Makefile.in
Added Unix implementation of platform specific files for OS/2.
[wxWidgets.git] / src / xrc / Makefile.in
index 7f1020e95b1b4df7d3631b0f15d365ec2f1ab8c4..9a0e7a534abc5a70ab4beddb708411395afda49d 100644 (file)
@@ -17,11 +17,13 @@ CXXFLAGS = @CXXFLAGS@
 DLLPREFIX = @DLLPREFIX@
 EXTRALIBS = @EXTRALIBS@
 EXTRALIBS_GUI = @EXTRALIBS_GUI@
+EXTRALIBS_XML = @EXTRALIBS_XML@
 HOST_SUFFIX = @HOST_SUFFIX@
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_DIR = @INSTALL_DIR@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 LDFLAGS = @LDFLAGS@
+LIBPREFIX = @LIBPREFIX@
 LN_S = @LN_S@
 PIC_FLAG = @PIC_FLAG@
 RANLIB = @RANLIB@
@@ -35,17 +37,18 @@ TOOLKIT_VERSION = @TOOLKIT_VERSION@
 VENDOR = @VENDOR@
 includedir = @includedir@
 libdir = @libdir@
+srcdir = @srcdir@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 
 ### Variables: ###
 
+DESTDIR = 
 LIBDIRNAME = $(top_builddir)lib
-XRCDLL_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
-       -I$(top_srcdir)/include $(__INC_TIFF_p) $(__INC_JPEG_p) $(__INC_PNG_p) \
-       $(__INC_ZLIB_p) $(__INC_ODBC_p) $(__INC_REGEX_p) $(__INC_EXPAT_p) \
-       -I../../src/xrc/../../include -DWXUSINGDLL -DWXMAKINGDLL_XRC $(CXXFLAGS) \
-       $(PIC_FLAG)
+WX_VERSION = 2.5.1
+XRCDLL_CXXFLAGS = $(__xrcdll_PCH_INC) $(CPPFLAGS) -D__WX$(TOOLKIT)__ \
+       $(__WXUNIV_DEFINE_p) -I$(top_srcdir)/include -I$(srcdir)/../../include \
+       -DWXUSINGDLL -DWXMAKINGDLL_XRC $(CXXFLAGS) $(PIC_FLAG)
 XRCDLL_OBJECTS =  \
        xrcdll_xmlres.o \
        xrcdll_xh_bmp.o \
@@ -84,11 +87,9 @@ XRCDLL_OBJECTS =  \
        xrcdll_xh_unkwn.o \
        xrcdll_xh_wizrd.o \
        xrcdll_xmlrsall.o
-XRCLIB_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
-       -I$(top_srcdir)/include $(__INC_TIFF_p) $(__INC_JPEG_p) $(__INC_PNG_p) \
-       $(__INC_ZLIB_p) $(__INC_ODBC_p) $(__INC_REGEX_p) $(__INC_EXPAT_p) \
-       -I../../src/xrc/../../include -I../../src/xrc/expat/xmlparse \
-       -I../../src/xrc/expat/xmltok $(CXXFLAGS)
+XRCLIB_CXXFLAGS = $(__xrclib_PCH_INC) $(CPPFLAGS) -D__WX$(TOOLKIT)__ \
+       $(__WXUNIV_DEFINE_p) -I$(top_srcdir)/include -I$(srcdir)/../../include \
+       -I$(srcdir)/expat/xmlparse -I$(srcdir)/expat/xmltok $(CXXFLAGS)
 XRCLIB_OBJECTS =  \
        xrclib_xmlres.o \
        xrclib_xh_bmp.o \
@@ -143,18 +144,11 @@ XRCLIB_OBJECTS =  \
 @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
 @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
 @COND_PLATFORM_WIN32_0@WXDLLNAMEPREFIXGUI = wx_$(PORTNAME)$(WXUNIVNAME)
-@COND_PLATFORM_WIN32_1@WXDLLNAMEPREFIXGUI = wx$(PORTNAME)$(WXUNIVNAME)250
+@COND_PLATFORM_WIN32_1@WXDLLNAMEPREFIXGUI = wx$(PORTNAME)$(WXUNIVNAME)251
 @COND_PLATFORM_WIN32_0@WXDLLVERSIONTAG = -2.5
 @COND_PLATFORM_WIN32_1@WXDLLVERSIONTAG = 
 @COND_UNICODE_1@WXUNICODEFLAG = u
 @COND_WXUNIV_1@WXUNIVNAME = univ
-@COND_WXUSE_EXPAT_BUILTIN@__INC_EXPAT_p = -I$(top_srcdir)/src/expat/lib
-@COND_WXUSE_LIBJPEG_BUILTIN@__INC_JPEG_p = -I$(top_srcdir)/src/jpeg
-@COND_WXUSE_ODBC_BUILTIN@__INC_ODBC_p = -I$(top_srcdir)/src/odbc
-@COND_WXUSE_LIBPNG_BUILTIN@__INC_PNG_p = -I$(top_srcdir)/src/png
-@COND_WXUSE_REGEX_BUILTIN@__INC_REGEX_p = -I$(top_srcdir)/src/regex
-@COND_WXUSE_LIBTIFF_BUILTIN@__INC_TIFF_p = -I$(top_srcdir)/src/tiff
-@COND_WXUSE_ZLIB_BUILTIN@__INC_ZLIB_p = -I$(top_srcdir)/src/zlib
 @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
 @COND_WXUSE_EXPAT_BUILTIN@     -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
@@ -191,36 +185,39 @@ COND_MONOLITHIC_1___WXLIB_MONO_p = \
 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
 @COND_SHARED_1@__install_xrcdll___depname = install_xrcdll
 @COND_SHARED_0@__install_xrclib___depname = install_xrclib
+@COND_GCC_PCH_1@__xrcdll_PCH_DEP = .pch/wxprec_xrcdll/wx/wxprec.h.gch
+@COND_GCC_PCH_1@__xrcdll_PCH_INC = -I.pch/wxprec_xrcdll
 COND_SHARED_1___xrcdll___depname = \
        $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__xrcdll___targetsuf3)
 @COND_SHARED_1@__xrcdll___depname = $(COND_SHARED_1___xrcdll___depname)
 COND_PLATFORM_WIN32_1___xrcdll___importlib = \
-       -Wl,--out-implib,$(LIBDIRNAME)/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX)$(DLLIMPEXT)
+       -Wl,--out-implib,$(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX)$(DLLIMPEXT)
 @COND_PLATFORM_WIN32_1@__xrcdll___importlib = $(COND_PLATFORM_WIN32_1___xrcdll___importlib)
 COND_PLATFORM_MACOSX_1___xrcdll___macinstnamecmd = -install_name \
        $(libdir)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__xrcdll___targetsuf2)
 @COND_PLATFORM_MACOSX_1@__xrcdll___macinstnamecmd = $(COND_PLATFORM_MACOSX_1___xrcdll___macinstnamecmd)
 @COND_PLATFORM_MACOSX_1@__xrcdll___macver = \
-@COND_PLATFORM_MACOSX_1@       -compatibility_version 2.5 -current_version 2.5.0
+@COND_PLATFORM_MACOSX_1@       -compatibility_version $(WX_VERSION) \
+@COND_PLATFORM_MACOSX_1@       -current_version $(WX_VERSION)
 COND_USE_SOSYMLINKS_1___xrcdll___so_symlinks_cmd = (cd $(LIBDIRNAME)/; rm -f \
-       libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX)$(DLLIMPEXT) \
+       $(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX)$(DLLIMPEXT) \
        $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__xrcdll___targetsuf2); \
        $(LN_S) \
        $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__xrcdll___targetsuf3) \
        $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__xrcdll___targetsuf2); \
        $(LN_S) \
        $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__xrcdll___targetsuf2) \
-       libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX)$(DLLIMPEXT))
+       $(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX)$(DLLIMPEXT))
 @COND_USE_SOSYMLINKS_1@__xrcdll___so_symlinks_cmd = $(COND_USE_SOSYMLINKS_1___xrcdll___so_symlinks_cmd)
 COND_USE_SOSYMLINKS_1___xrcdll___so_symlinks_inst_cmd = rm -f \
-       libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX)$(DLLIMPEXT) \
+       $(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX)$(DLLIMPEXT) \
        $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__xrcdll___targetsuf2); \
        $(LN_S) \
        $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__xrcdll___targetsuf3) \
        $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__xrcdll___targetsuf2); \
        $(LN_S) \
        $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__xrcdll___targetsuf2) \
-       libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX)$(DLLIMPEXT)
+       $(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX)$(DLLIMPEXT)
 @COND_USE_SOSYMLINKS_1@__xrcdll___so_symlinks_inst_cmd = $(COND_USE_SOSYMLINKS_1___xrcdll___so_symlinks_inst_cmd)
 COND_USE_SOVERLINUX_1___xrcdll___soname_flags = \
        $(SONAME_FLAG)$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__xrcdll___targetsuf2)
@@ -229,288 +226,296 @@ COND_USE_SOVERSOLARIS_1___xrcdll___soname_flags = \
        $(SONAME_FLAG)$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__xrcdll___targetsuf3)
 @COND_USE_SOVERSOLARIS_1@__xrcdll___soname_flags = $(COND_USE_SOVERSOLARIS_1___xrcdll___soname_flags)
 @COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@__xrcdll___targetsuf2 \
-@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@       = .$(SO_SUFFIX).0
+@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@       = .$(SO_SUFFIX).1
 @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__xrcdll___targetsuf2 \
-@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@       = .0.$(SO_SUFFIX)
+@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@       = .1.$(SO_SUFFIX)
 @COND_USE_SOVERSION_0@__xrcdll___targetsuf2 = .$(SO_SUFFIX)
 @COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@__xrcdll___targetsuf3 \
-@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@       = .$(SO_SUFFIX).0.0.0
+@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@       = .$(SO_SUFFIX).1.0.0
 @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__xrcdll___targetsuf3 \
-@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@       = .0.0.0.$(SO_SUFFIX)
+@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@       = .1.0.0.$(SO_SUFFIX)
 @COND_USE_SOVERSION_0@__xrcdll___targetsuf3 = .$(SO_SUFFIX)
+@COND_GCC_PCH_1@__xrclib_PCH_DEP = .pch/wxprec_xrclib/wx/wxprec.h.gch
+@COND_GCC_PCH_1@__xrclib_PCH_INC = -I.pch/wxprec_xrclib
 COND_SHARED_0___xrclib___depname = \
-       $(LIBDIRNAME)/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX).a
+       $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX).a
 @COND_SHARED_0@__xrclib___depname = $(COND_SHARED_0___xrclib___depname)
 
 ### Targets: ###
 
 all: $(__xrcdll___depname) $(__xrclib___depname)
 
+@COND_GCC_PCH_1@.pch/wxprec_xrcdll/wx/wxprec.h.gch: 
+@COND_GCC_PCH_1@       $(top_builddir)./bk-make-pch .pch/wxprec_xrcdll/wx/wxprec.h.gch wx/wxprec.h $(CXX) $(XRCDLL_CXXFLAGS)
+
+@COND_GCC_PCH_1@.pch/wxprec_xrclib/wx/wxprec.h.gch: 
+@COND_GCC_PCH_1@       $(top_builddir)./bk-make-pch .pch/wxprec_xrclib/wx/wxprec.h.gch wx/wxprec.h $(CXX) $(XRCLIB_CXXFLAGS)
+
 clean: 
-       rm -rf ./.deps
+       rm -rf ./.deps ./.pch
        rm -f ./*.o
        rm -f $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__xrcdll___targetsuf3)
-       rm -f $(LIBDIRNAME)/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX)$(DLLIMPEXT)
-       rm -f $(LIBDIRNAME)/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX)$(DLLIMPEXT) $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__xrcdll___targetsuf2)
-       rm -f $(LIBDIRNAME)/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX).a
+       rm -f $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX)$(DLLIMPEXT)
+       rm -f $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX)$(DLLIMPEXT) $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__xrcdll___targetsuf2)
+       rm -f $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX).a
 
 distclean: clean
-       rm -f configure config.cache config.log config.status
-       rm -f bk-deps shared-ld-sh
+       rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
 
 install: all $(__install_xrcdll___depname) $(__install_xrclib___depname)
-       $(INSTALL_DIR) $(includedir)
+       $(INSTALL_DIR) $(DESTDIR)$(includedir)
        for f in wx/xrc/xmlres.h wx/xrc/xh_all.h wx/xrc/xh_bmp.h wx/xrc/xh_bmpbt.h wx/xrc/xh_bttn.h wx/xrc/xh_cald.h wx/xrc/xh_chckb.h wx/xrc/xh_chckl.h wx/xrc/xh_choic.h wx/xrc/xh_combo.h wx/xrc/xh_dlg.h wx/xrc/xh_frame.h wx/xrc/xh_gauge.h wx/xrc/xh_gdctl.h wx/xrc/xh_html.h wx/xrc/xh_listb.h wx/xrc/xh_listc.h wx/xrc/xh_menu.h wx/xrc/xh_notbk.h wx/xrc/xh_panel.h wx/xrc/xh_radbt.h wx/xrc/xh_radbx.h wx/xrc/xh_scrol.h wx/xrc/xh_scwin.h wx/xrc/xh_sizer.h wx/xrc/xh_slidr.h wx/xrc/xh_spin.h wx/xrc/xh_split.h wx/xrc/xh_stbmp.h wx/xrc/xh_stbox.h wx/xrc/xh_stlin.h wx/xrc/xh_sttxt.h wx/xrc/xh_text.h wx/xrc/xh_toolb.h wx/xrc/xh_tree.h wx/xrc/xh_unkwn.h wx/xrc/xh_wizrd.h; do \
-       if test ! -d $(includedir)/`dirname $$f` ; then \
-       $(INSTALL_DIR) $(includedir)/`dirname $$f`; \
+       if test ! -d $(DESTDIR)$(includedir)/`dirname $$f` ; then \
+       $(INSTALL_DIR) $(DESTDIR)$(includedir)/`dirname $$f`; \
        fi; \
-       $(INSTALL_DATA) ../../src/xrc/../../include//$$f $(includedir)/$$f; \
+       $(INSTALL_DATA) $(srcdir)/../../include//$$f $(DESTDIR)$(includedir)/$$f; \
        done
 
 install-strip: install
-       $(STRIP) $(libdir)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__xrcdll___targetsuf3)
+       $(STRIP) $(DESTDIR)$(libdir)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__xrcdll___targetsuf3)
 
 @COND_SHARED_1@install_xrcdll: 
-@COND_SHARED_1@        $(INSTALL_DIR) $(libdir)
-@COND_SHARED_1@        $(INSTALL_DATA) $(LIBDIRNAME)/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX)$(DLLIMPEXT) $(libdir)
-@COND_SHARED_1@        $(INSTALL_PROGRAM) $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__xrcdll___targetsuf3) $(libdir)
-@COND_SHARED_1@        (cd $(libdir) ; $(__xrcdll___so_symlinks_inst_cmd))
+@COND_SHARED_1@        $(INSTALL_DIR) $(DESTDIR)$(libdir)
+@COND_SHARED_1@        $(INSTALL_DATA) $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX)$(DLLIMPEXT) $(DESTDIR)$(libdir)
+@COND_SHARED_1@        $(INSTALL_PROGRAM) $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__xrcdll___targetsuf3) $(DESTDIR)$(libdir)
+@COND_SHARED_1@        (cd $(DESTDIR)$(libdir) ; $(__xrcdll___so_symlinks_inst_cmd))
 
 @COND_SHARED_0@install_xrclib: 
-@COND_SHARED_0@        $(INSTALL_DIR) $(libdir)
-@COND_SHARED_0@        $(INSTALL_DATA) $(LIBDIRNAME)/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX).a $(libdir)
+@COND_SHARED_0@        $(INSTALL_DIR) $(DESTDIR)$(libdir)
+@COND_SHARED_0@        $(INSTALL_DATA) $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX).a $(DESTDIR)$(libdir)
 
 uninstall: 
 
-@COND_SHARED_1@$(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__xrcdll___targetsuf3): $(XRCDLL_OBJECTS)
-@COND_SHARED_1@        $(SHARED_LD_CXX) $@ $(XRCDLL_OBJECTS) $(LDFLAGS)   -L$(LIBDIRNAME) $(__xrcdll___macinstnamecmd) $(__xrcdll___importlib) $(__xrcdll___soname_flags) $(__xrcdll___macver)  $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS) $(EXTRALIBS_GUI) $(__WXLIB_HTML_p) $(__WXLIB_ADV_p) $(__WXLIB_CORE_p) $(__WXLIB_XML_p) $(__WXLIB_BASE_p)
+@COND_SHARED_1@$(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__xrcdll___targetsuf3): $(__xrcdll_PCH_DEP)  $(XRCDLL_OBJECTS)
+@COND_SHARED_1@        $(SHARED_LD_CXX) $@ $(XRCDLL_OBJECTS) $(LDFLAGS)   -L$(LIBDIRNAME) $(__xrcdll___macinstnamecmd) $(__xrcdll___importlib) $(__xrcdll___soname_flags) $(__xrcdll___macver)  $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS) $(EXTRALIBS_GUI) $(__WXLIB_HTML_p)  $(__WXLIB_ADV_p)  $(__WXLIB_CORE_p)  $(__WXLIB_XML_p) $(EXTRALIBS_XML) $(__WXLIB_BASE_p)
+@COND_SHARED_1@        
 @COND_SHARED_1@        $(__xrcdll___so_symlinks_cmd)
 
-xrcdll_xh_bmp.o: ../../src/xrc/xh_bmp.cpp
+xrcdll_xh_bmp.o: $(srcdir)/xh_bmp.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_bmpbt.o: ../../src/xrc/xh_bmpbt.cpp
+xrcdll_xh_bmpbt.o: $(srcdir)/xh_bmpbt.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_bttn.o: ../../src/xrc/xh_bttn.cpp
+xrcdll_xh_bttn.o: $(srcdir)/xh_bttn.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_cald.o: ../../src/xrc/xh_cald.cpp
+xrcdll_xh_cald.o: $(srcdir)/xh_cald.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_chckb.o: ../../src/xrc/xh_chckb.cpp
+xrcdll_xh_chckb.o: $(srcdir)/xh_chckb.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_chckl.o: ../../src/xrc/xh_chckl.cpp
+xrcdll_xh_chckl.o: $(srcdir)/xh_chckl.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_choic.o: ../../src/xrc/xh_choic.cpp
+xrcdll_xh_choic.o: $(srcdir)/xh_choic.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_combo.o: ../../src/xrc/xh_combo.cpp
+xrcdll_xh_combo.o: $(srcdir)/xh_combo.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_dlg.o: ../../src/xrc/xh_dlg.cpp
+xrcdll_xh_dlg.o: $(srcdir)/xh_dlg.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_frame.o: ../../src/xrc/xh_frame.cpp
+xrcdll_xh_frame.o: $(srcdir)/xh_frame.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_gauge.o: ../../src/xrc/xh_gauge.cpp
+xrcdll_xh_gauge.o: $(srcdir)/xh_gauge.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_gdctl.o: ../../src/xrc/xh_gdctl.cpp
+xrcdll_xh_gdctl.o: $(srcdir)/xh_gdctl.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_html.o: ../../src/xrc/xh_html.cpp
+xrcdll_xh_html.o: $(srcdir)/xh_html.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_listb.o: ../../src/xrc/xh_listb.cpp
+xrcdll_xh_listb.o: $(srcdir)/xh_listb.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_listc.o: ../../src/xrc/xh_listc.cpp
+xrcdll_xh_listc.o: $(srcdir)/xh_listc.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_menu.o: ../../src/xrc/xh_menu.cpp
+xrcdll_xh_menu.o: $(srcdir)/xh_menu.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_notbk.o: ../../src/xrc/xh_notbk.cpp
+xrcdll_xh_notbk.o: $(srcdir)/xh_notbk.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_panel.o: ../../src/xrc/xh_panel.cpp
+xrcdll_xh_panel.o: $(srcdir)/xh_panel.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_radbt.o: ../../src/xrc/xh_radbt.cpp
+xrcdll_xh_radbt.o: $(srcdir)/xh_radbt.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_radbx.o: ../../src/xrc/xh_radbx.cpp
+xrcdll_xh_radbx.o: $(srcdir)/xh_radbx.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_scrol.o: ../../src/xrc/xh_scrol.cpp
+xrcdll_xh_scrol.o: $(srcdir)/xh_scrol.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_scwin.o: ../../src/xrc/xh_scwin.cpp
+xrcdll_xh_scwin.o: $(srcdir)/xh_scwin.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_sizer.o: ../../src/xrc/xh_sizer.cpp
+xrcdll_xh_sizer.o: $(srcdir)/xh_sizer.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_slidr.o: ../../src/xrc/xh_slidr.cpp
+xrcdll_xh_slidr.o: $(srcdir)/xh_slidr.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_spin.o: ../../src/xrc/xh_spin.cpp
+xrcdll_xh_spin.o: $(srcdir)/xh_spin.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_split.o: ../../src/xrc/xh_split.cpp
+xrcdll_xh_split.o: $(srcdir)/xh_split.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_stbmp.o: ../../src/xrc/xh_stbmp.cpp
+xrcdll_xh_stbmp.o: $(srcdir)/xh_stbmp.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_stbox.o: ../../src/xrc/xh_stbox.cpp
+xrcdll_xh_stbox.o: $(srcdir)/xh_stbox.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_stlin.o: ../../src/xrc/xh_stlin.cpp
+xrcdll_xh_stlin.o: $(srcdir)/xh_stlin.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_sttxt.o: ../../src/xrc/xh_sttxt.cpp
+xrcdll_xh_sttxt.o: $(srcdir)/xh_sttxt.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_text.o: ../../src/xrc/xh_text.cpp
+xrcdll_xh_text.o: $(srcdir)/xh_text.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_toolb.o: ../../src/xrc/xh_toolb.cpp
+xrcdll_xh_toolb.o: $(srcdir)/xh_toolb.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_tree.o: ../../src/xrc/xh_tree.cpp
+xrcdll_xh_tree.o: $(srcdir)/xh_tree.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_unkwn.o: ../../src/xrc/xh_unkwn.cpp
+xrcdll_xh_unkwn.o: $(srcdir)/xh_unkwn.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xh_wizrd.o: ../../src/xrc/xh_wizrd.cpp
+xrcdll_xh_wizrd.o: $(srcdir)/xh_wizrd.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xmlres.o: ../../src/xrc/xmlres.cpp
+xrcdll_xmlres.o: $(srcdir)/xmlres.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-xrcdll_xmlrsall.o: ../../src/xrc/xmlrsall.cpp
+xrcdll_xmlrsall.o: $(srcdir)/xmlrsall.cpp
        $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $<
 
-@COND_SHARED_0@$(LIBDIRNAME)/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX).a: $(XRCLIB_OBJECTS)
+@COND_SHARED_0@$(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc-2.5$(HOST_SUFFIX).a: $(__xrclib_PCH_DEP)  $(XRCLIB_OBJECTS)
 @COND_SHARED_0@        rm -f $@
 @COND_SHARED_0@        $(AR) rcu $@ $(XRCLIB_OBJECTS)
 @COND_SHARED_0@        $(RANLIB) $@
 
-xrclib_xh_bmp.o: ../../src/xrc/xh_bmp.cpp
+xrclib_xh_bmp.o: $(srcdir)/xh_bmp.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_bmpbt.o: ../../src/xrc/xh_bmpbt.cpp
+xrclib_xh_bmpbt.o: $(srcdir)/xh_bmpbt.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_bttn.o: ../../src/xrc/xh_bttn.cpp
+xrclib_xh_bttn.o: $(srcdir)/xh_bttn.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_cald.o: ../../src/xrc/xh_cald.cpp
+xrclib_xh_cald.o: $(srcdir)/xh_cald.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_chckb.o: ../../src/xrc/xh_chckb.cpp
+xrclib_xh_chckb.o: $(srcdir)/xh_chckb.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_chckl.o: ../../src/xrc/xh_chckl.cpp
+xrclib_xh_chckl.o: $(srcdir)/xh_chckl.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_choic.o: ../../src/xrc/xh_choic.cpp
+xrclib_xh_choic.o: $(srcdir)/xh_choic.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_combo.o: ../../src/xrc/xh_combo.cpp
+xrclib_xh_combo.o: $(srcdir)/xh_combo.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_dlg.o: ../../src/xrc/xh_dlg.cpp
+xrclib_xh_dlg.o: $(srcdir)/xh_dlg.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_frame.o: ../../src/xrc/xh_frame.cpp
+xrclib_xh_frame.o: $(srcdir)/xh_frame.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_gauge.o: ../../src/xrc/xh_gauge.cpp
+xrclib_xh_gauge.o: $(srcdir)/xh_gauge.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_gdctl.o: ../../src/xrc/xh_gdctl.cpp
+xrclib_xh_gdctl.o: $(srcdir)/xh_gdctl.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_html.o: ../../src/xrc/xh_html.cpp
+xrclib_xh_html.o: $(srcdir)/xh_html.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_listb.o: ../../src/xrc/xh_listb.cpp
+xrclib_xh_listb.o: $(srcdir)/xh_listb.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_listc.o: ../../src/xrc/xh_listc.cpp
+xrclib_xh_listc.o: $(srcdir)/xh_listc.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_menu.o: ../../src/xrc/xh_menu.cpp
+xrclib_xh_menu.o: $(srcdir)/xh_menu.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_notbk.o: ../../src/xrc/xh_notbk.cpp
+xrclib_xh_notbk.o: $(srcdir)/xh_notbk.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_panel.o: ../../src/xrc/xh_panel.cpp
+xrclib_xh_panel.o: $(srcdir)/xh_panel.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_radbt.o: ../../src/xrc/xh_radbt.cpp
+xrclib_xh_radbt.o: $(srcdir)/xh_radbt.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_radbx.o: ../../src/xrc/xh_radbx.cpp
+xrclib_xh_radbx.o: $(srcdir)/xh_radbx.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_scrol.o: ../../src/xrc/xh_scrol.cpp
+xrclib_xh_scrol.o: $(srcdir)/xh_scrol.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_scwin.o: ../../src/xrc/xh_scwin.cpp
+xrclib_xh_scwin.o: $(srcdir)/xh_scwin.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_sizer.o: ../../src/xrc/xh_sizer.cpp
+xrclib_xh_sizer.o: $(srcdir)/xh_sizer.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_slidr.o: ../../src/xrc/xh_slidr.cpp
+xrclib_xh_slidr.o: $(srcdir)/xh_slidr.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_spin.o: ../../src/xrc/xh_spin.cpp
+xrclib_xh_spin.o: $(srcdir)/xh_spin.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_split.o: ../../src/xrc/xh_split.cpp
+xrclib_xh_split.o: $(srcdir)/xh_split.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_stbmp.o: ../../src/xrc/xh_stbmp.cpp
+xrclib_xh_stbmp.o: $(srcdir)/xh_stbmp.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_stbox.o: ../../src/xrc/xh_stbox.cpp
+xrclib_xh_stbox.o: $(srcdir)/xh_stbox.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_stlin.o: ../../src/xrc/xh_stlin.cpp
+xrclib_xh_stlin.o: $(srcdir)/xh_stlin.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_sttxt.o: ../../src/xrc/xh_sttxt.cpp
+xrclib_xh_sttxt.o: $(srcdir)/xh_sttxt.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_text.o: ../../src/xrc/xh_text.cpp
+xrclib_xh_text.o: $(srcdir)/xh_text.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_toolb.o: ../../src/xrc/xh_toolb.cpp
+xrclib_xh_toolb.o: $(srcdir)/xh_toolb.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_tree.o: ../../src/xrc/xh_tree.cpp
+xrclib_xh_tree.o: $(srcdir)/xh_tree.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_unkwn.o: ../../src/xrc/xh_unkwn.cpp
+xrclib_xh_unkwn.o: $(srcdir)/xh_unkwn.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xh_wizrd.o: ../../src/xrc/xh_wizrd.cpp
+xrclib_xh_wizrd.o: $(srcdir)/xh_wizrd.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xmlres.o: ../../src/xrc/xmlres.cpp
+xrclib_xmlres.o: $(srcdir)/xmlres.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<
 
-xrclib_xmlrsall.o: ../../src/xrc/xmlrsall.cpp
+xrclib_xmlrsall.o: $(srcdir)/xmlrsall.cpp
        $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $<