From 9fd258db58942eefeee56b99cb06d9121900ffe5 Mon Sep 17 00:00:00 2001 From: George Tasker Date: Wed, 11 Apr 2001 16:17:05 +0000 Subject: [PATCH] Updated to alert the user to the need for them to edit this file to set the location of the libxml install so that XML will compile. Also tells them where to download libxml if they need to know that git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/xml/makefile.vc | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/contrib/src/xml/makefile.vc b/contrib/src/xml/makefile.vc index 93eb4b4be8..9457ffcfc8 100644 --- a/contrib/src/xml/makefile.vc +++ b/contrib/src/xml/makefile.vc @@ -19,8 +19,28 @@ THISDIR = $(WXDIR)\contrib\src\xml DOCDIR=$(WXDIR)\contrib\docs LOCALDOCDIR=$(WXDIR)\contrib\docs\latex\xml -# Set this to where your libxml is -EXTRAFLAGS=-Id:\libxml\libxml2-2.1.1 +# Do not specify the 'libxml' directory on +# this -I line, as the #includes use +# . If your libxml is installed +# in "d:\libxml\libxml2-2.1.1\libxml" you would use: +# wxLIBXMLDIR=-Id:\libxml\libxml2-2.1.1 +wxLIBXMLDIR= + +!if "$(wxLIBXMLDIR)" == "" +!message +!message SETUP REQUIRED +!message +!message You must set the wxLIBXMLDIR variable in makefile.vc before compiling +!message +!message If you do not have the libxml library, you will need to obtain & install +!message it before compiling the wxXML code. You can obtain libxml from: +!message http://www.xmlsoft.org +!message +!error +!endif + +# Set this to where your libxml directory is +EXTRAFLAGS=$(wxLIBXMLDIR) # Unfortunately we need this _before_ we include makelib.vc !if "$(FINAL)" == "1"