From: František Dvořák Date: Mon, 7 Mar 2011 16:14:37 +0000 (+0000) Subject: Fix the build (porting to EMI, example and clean stage). X-Git-Tag: glite-px-proxyrenewal_R_1_3_14_1~2 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=225abebe11de04f8fc4e098bba5966be6d916934;p=jra1mw.git Fix the build (porting to EMI, example and clean stage). --- diff --git a/org.glite.px.proxyrenewal/Makefile b/org.glite.px.proxyrenewal/Makefile index ffc5757..f141a67 100644 --- a/org.glite.px.proxyrenewal/Makefile +++ b/org.glite.px.proxyrenewal/Makefile @@ -153,7 +153,7 @@ ${THRLIBOBJ} ${LIB_CORE_THR_OBJS}: %.thr.o: %.c ${COMPILE} ${MYPROXY_THR_INC} ${GLOBUS_THR_INC} -o $@ -c $< %.o: %.c - ${COMPILE} ${MYPROXY_CFLAGS} ${GLOBUS_GSSAPI_GSI_CFLAGS} -c $< + ${COMPILE} ${MYPROXY_CFLAGS} ${GLOBUS_GSSAPI_GSI_CFLAGS} -DLOCAL_PX_COMPILE=1 -c $< ${EXAMPLES}: %: %.o ${LINK} -o $@ $< ${default_libcore} diff --git a/org.glite.px.proxyrenewal/examples/renew_core.c b/org.glite.px.proxyrenewal/examples/renew_core.c index e0ba537..a446830 100644 --- a/org.glite.px.proxyrenewal/examples/renew_core.c +++ b/org.glite.px.proxyrenewal/examples/renew_core.c @@ -19,7 +19,11 @@ #include #include #include +#ifdef LOCAL_PX_COMPILE +#include "renewal_core.h" +#else #include +#endif static struct option const long_options[] = { { "server", required_argument, 0, 's' }, diff --git a/org.glite.px.proxyrenewal/src/renewd_locl.h b/org.glite.px.proxyrenewal/src/renewd_locl.h index bf0bff5..f9ce31e 100644 --- a/org.glite.px.proxyrenewal/src/renewd_locl.h +++ b/org.glite.px.proxyrenewal/src/renewd_locl.h @@ -25,7 +25,7 @@ #include #include -#include +#include #include "renewal.h" #include "renewal_core.h"