Alexandre Moine 9f78d19
--- Makefile.am.orig	2004-01-18 13:24:50.000000000 +0100
Alexandre Moine 9f78d19
+++ Makefile.am	2015-07-14 19:40:37.331308491 +0200
Alexandre Moine 9f78d19
@@ -1,16 +1,15 @@
Alexandre Moine 9f78d19
 bin_PROGRAMS = tinyxpath
Alexandre Moine 9f78d19
 
Alexandre Moine 9f78d19
 tinyxpath_SOURCES = htmlutil.cpp main.cpp \
Alexandre Moine 9f78d19
-   tinystr.cpp tinyxml.cpp tinyxmlerror.cpp tinyxmlparser.cpp \
Alexandre Moine 9f78d19
    action_store.cpp lex_util.cpp node_set.cpp tokenlist.cpp xml_util.cpp \
Alexandre Moine 9f78d19
    xpath_expression.cpp xpath_processor.cpp xpath_stack.cpp xpath_stream.cpp xpath_syntax.cpp xpath_static.cpp
Alexandre Moine 9f78d19
 
Alexandre Moine 9f78d19
-tinyxpath_LDADD = 
Alexandre Moine 9f78d19
+tinyxpath_LDADD = -ltinyxml
Alexandre Moine 9f78d19
 
Alexandre Moine 9f78d19
 # set the include path found by configure
Alexandre Moine 9f78d19
 INCLUDES= $(all_includes) 
Alexandre Moine 9f78d19
 
Alexandre Moine 9f78d19
-AM_CXXFLAGS = -Wall
Alexandre Moine 9f78d19
+AM_CXXFLAGS = -Wall --include /usr/include/tinyxml.h 
Alexandre Moine 9f78d19
 
Alexandre Moine 9f78d19
 # the library search path.
Alexandre Moine 9f78d19
 tinyxpath_LDFLAGS = $(all_libraries)