From 3680a278da394bace852e3eff4701789d6f29bf6 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 3 Mar 2009 15:36:11 +0000 Subject: Use pkg-config for hubbub cflags/libraries svn path=/trunk/dom/; revision=6681 --- bindings/hubbub/Makefile | 4 +--- test/Makefile | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/bindings/hubbub/Makefile b/bindings/hubbub/Makefile index dd430c8..d98565a 100644 --- a/bindings/hubbub/Makefile +++ b/bindings/hubbub/Makefile @@ -19,9 +19,7 @@ # test Execute any test cases # Manipulate include paths -# TODO: fix hubbub include path finding -- needs hubbub to use pkgconfig -CFLAGS += -I$(CURDIR) \ - -I../../../hubbub/include +CFLAGS += -I$(CURDIR) `$(PKGCONFIG) --cflags libhubbub` # Release output RELEASE = ${TOP}/${COMPONENT}-libhubbub.a diff --git a/test/Makefile b/test/Makefile index f5f7233..0fb57d9 100644 --- a/test/Makefile +++ b/test/Makefile @@ -21,9 +21,7 @@ # Extend toolchain settings 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 +LDFLAGS += `${PKGCONFIG} ${PKGCONFIGFLAGS} --libs libxml-2.0 libhubbub` # Libraries we link against LIBS = -L./lib -ldomtest-debug -ldom-libxml-debug \ -- cgit v1.2.3