From: František Dvořák Date: Wed, 8 Sep 2010 11:58:48 +0000 (+0000) Subject: Get the headers location from pkg-config. X-Git-Tag: glite-px-glite-PX_R_3_2_0_0~15 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=44a5c35817ef1f7134660f44b0031d542901dc3a;p=jra1mw.git Get the headers location from pkg-config. --- diff --git a/org.glite.lb.logger-msg/Makefile b/org.glite.lb.logger-msg/Makefile index 8b1bda4..9592845 100644 --- a/org.glite.lb.logger-msg/Makefile +++ b/org.glite.lb.logger-msg/Makefile @@ -22,10 +22,12 @@ VPATH:=${top_srcdir}/src:${top_srcdir}/interface:${top_srcdir}/test:${top_srcdir VERSION=-DVERSION=\"GLite-${version}\" +ACTIVEMQ_CPPFLAGS=`PKG_CONFIG_PATH=${activemq_prefix}/lib/pkgconfig pkg-config --cflags activemq-cpp` + DEBUG:=-g -O0 -CFLAGS:=${DEBUG} \ +CFLAGS:=${CFLAGS} ${DEBUG} \ -I${stagedir}/include -I${top_srcdir}/src \ - -I${activemq_prefix}/include/activemq-cpp-3.1.1 \ + ${ACTIVEMQ_CPPFLAGS} \ -I${apr_prefix}/include \ -I${aprutil_prefix}/include \ -D_GNU_SOURCE \ @@ -106,5 +108,5 @@ install: clean: - rm -rvf .libs/ *.o *.lo ${PLUGIN} ${MAN_GZ} + rm -rvf .libs/ *.o *.lo ${PLUGIN_LIB} ${MAN_GZ} rm -rvf log.xml project/ rpmbuild/ RPMS/ tgz/