From c34dc685f70193728ead525f59d56cdbf116f574 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 4 Nov 2007 03:40:09 +0000 Subject: Make TestObject support both HTML and XML documents and auto-detect which parser to use. Make binding testcase attempt to load an HTML document. Hubbub parser binding constructor takes Aliases file path as a parameter. Hubbub parser binding's token handler now spews debug at stdout. svn path=/trunk/dom/; revision=3648 --- test/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'test/Makefile') diff --git a/test/Makefile b/test/Makefile index 2a0c63a..f5f7233 100644 --- a/test/Makefile +++ b/test/Makefile @@ -19,11 +19,15 @@ # test Execute any test cases # Extend toolchain settings -CFLAGS += -I${TOP}/src/ -I${TOP}/bindings/xml/ -I$(CURDIR) -LDFLAGS += `${PKGCONFIG} ${PKGCONFIGFLAGS} --libs libxml-2.0` +CFLAGS += -I${TOP}/src/ -I${TOP}/bindings/xml/ -I${TOP}/bindings/hubbub/ \ + -I$(CURDIR) +# TODO: fix hubbub library usage -- needs hubbub to use pkgconfig +LDFLAGS += `${PKGCONFIG} ${PKGCONFIGFLAGS} --libs libxml-2.0` \ + -L${TOP}/../hubbub/ -lhubbub # Libraries we link against -LIBS = -L./lib -ldomtest-debug -ldom-libxml-debug -ldom-debug +LIBS = -L./lib -ldomtest-debug -ldom-libxml-debug \ + -ldom-libhubbub-debug -ldom-debug # Release output RELEASE = @@ -89,6 +93,6 @@ xml/c/%.c: xml/tests/%.xml %: %.c @${ECHO} ${ECHOFLAGS} "==> $<" @${CC} -c -g ${CFLAGS} -o $@.o $< - @${LD} -g -o $@ $@.o ${LDFLAGS} $(LIBS) + @${LD} -g -o $@ $@.o $(LIBS) ${LDFLAGS} @${RM} ${RMFLAGS} $@.o -- cgit v1.2.3