-DWITH_NONAMESPACES \
-I. -I${top_srcdir}/interface \
-I${stagedir}/include \
- -I${gsoap_prefix}/include \
${COVERAGE_FLAGS} -D_GNU_SOURCE -DDATAGRID_EXTENSION
LDFLAGS:=${COVERAGE_FLAGS}
LINK_lang:=${LINKXX}
endif
-GSOAP_LIBS:= -L${gsoap_prefix}/lib -lgsoap
-
EX_LIBS:=-L${stagedir}/lib -lglite_security_gss_${nothrflavour}
EX_THRLIBS:=-L${stagedir}/lib -lglite_security_gss_${thrflavour}
HDRS:=glite_gsplugin.h glite_gscompat.h glite_gsplugin-int.h
for v in ${gsoap_versions_noflavours}; do \
dir=`echo $$v | tr -d .`; \
mkdir $$dir; \
- ( cd $$dir && ${MAKE} -f ../Makefile gsoap_version=$$v top_srcdir=../.. lang= libs-with-soap) ; \
+ ${MAKE} -C $$dir -f ../Makefile gsoap_version=$$v top_srcdir=../.. lang= libs-with-soap || exit $?; \
done
for v in ${gsoap_versions_flavours}; do \
dir=`echo $$v | tr -d .`; \
mkdir $$dir; \
- ( cd $$dir && ${MAKE} -f ../Makefile gsoap_version=$$v top_srcdir=../.. lang=c libs-with-soap) ; \
- ( cd $$dir && ${MAKE} -f ../Makefile gsoap_version=$$v top_srcdir=../.. lang=cxx libs-with-soap) ; \
+ ${MAKE} -C $$dir -f ../Makefile gsoap_version=$$v top_srcdir=../.. lang=c libs-with-soap || exit $?; \
+ ${MAKE} -C $$dir -f ../Makefile gsoap_version=$$v top_srcdir=../.. lang=cxx libs-with-soap || exit $?; \
done
libs-with-soap: ${LTLIB_S} ${THRLTLIB_S} ${STATICLIB_S} ${THRSTATICLIB_S}
${INSTALL} -m 644 ${top_srcdir}/LICENSE ${PREFIX}/share/doc/${package}-${version}
cd ${top_srcdir}/interface && ${INSTALL} -m 644 ${HDRS} ${PREFIX}/include/glite/security/
for v in ${gsoap_versions_noflavours}; do \
- (cd `echo $$v | tr -d .` && ${MAKE} -f ../Makefile install-soaplib gsoap_version=$$v lang= PREFIX=${PREFIX} top_srcdir=${top_srcdir}/..); \
+ ${MAKE} -C `echo $$v | tr -d .` -f ../Makefile install-soaplib gsoap_version=$$v lang= PREFIX=${PREFIX} top_srcdir=${top_srcdir}/.. || exit $?; \
done
for v in ${gsoap_versions_flavours}; do \
- (cd `echo $$v | tr -d .` && ${MAKE} -f ../Makefile install-soaplib gsoap_version=$$v lang=c PREFIX=${PREFIX} top_srcdir=${top_srcdir}/..); \
- (cd `echo $$v | tr -d .` && ${MAKE} -f ../Makefile install-soaplib gsoap_version=$$v lang=cxx PREFIX=${PREFIX} top_srcdir=${top_srcdir}/..); \
+ ${MAKE} -C `echo $$v | tr -d .` -f ../Makefile install-soaplib gsoap_version=$$v lang=c PREFIX=${PREFIX} top_srcdir=${top_srcdir}/.. || exit $?; \
+ ${MAKE} -C `echo $$v | tr -d .` -f ../Makefile install-soaplib gsoap_version=$$v lang=cxx PREFIX=${PREFIX} top_srcdir=${top_srcdir}/.. || exit $?; \
done
install-soaplib:
static int glite_gsplugin_send(struct soap *, const char *, size_t);
static int glite_gsplugin_connect(struct soap *, const char *, const char *, int);
static int glite_gsplugin_close(struct soap *);
+#if GSOAP_VERSION >= 20700
static int glite_gsplugin_poll(struct soap *);
+#endif
static int glite_gsplugin_accept(struct soap *, int, struct sockaddr *, int *);
static int glite_gsplugin_posthdr(struct soap *soap, const char *key, const char *val);
soap->fclose = glite_gsplugin_close;
#if GSOAP_VERSION >= 20700
soap->fclosesocket = NULL;
-#endif
soap->fpoll = glite_gsplugin_poll;
+#endif
soap->faccept = glite_gsplugin_accept;
soap->fsend = glite_gsplugin_send;
soap->frecv = glite_gsplugin_recv;
}
+#if GSOAP_VERSION >= 20700
static int
glite_gsplugin_poll(struct soap *soap)
{
return SOAP_EOF;
}
}
+#endif
static int http_send_header(struct soap *soap, const char *s) {