diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2007-11-04 03:40:09 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2007-11-04 03:40:09 +0000 |
commit | c34dc685f70193728ead525f59d56cdbf116f574 (patch) | |
tree | 3e4223631b7ec7034980cc09f50fb72a3239ee4a /test/Makefile | |
parent | 358bca1162d0112c8564ec3956a44f1d5adf574e (diff) | |
download | libdom-c34dc685f70193728ead525f59d56cdbf116f574.tar.gz libdom-c34dc685f70193728ead525f59d56cdbf116f574.tar.bz2 |
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
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
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 |