]> git.saurik.com Git - wxWidgets.git/commitdiff
Updated to alert the user to the need for them to edit this file to set the location...
authorGeorge Tasker <gtasker@allenbrook.com>
Wed, 11 Apr 2001 16:17:05 +0000 (16:17 +0000)
committerGeorge Tasker <gtasker@allenbrook.com>
Wed, 11 Apr 2001 16:17:05 +0000 (16:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/xml/makefile.vc

index 93eb4b4be8ccce4e764898f0fb50cd1c7f025d40..9457ffcfc86ee15e164ec1bda4c873d3886ddce9 100644 (file)
@@ -19,8 +19,28 @@ THISDIR = $(WXDIR)\contrib\src\xml
 DOCDIR=$(WXDIR)\contrib\docs
 LOCALDOCDIR=$(WXDIR)\contrib\docs\latex\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
+# <libxml/xxxx.h>.  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"
 
 # Unfortunately we need this _before_ we include makelib.vc
 !if "$(FINAL)" == "1"