From 480d974f1fd5b210af346a91935aff1a614ca2ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ale=C5=A1=20K=C5=99enek?= Date: Mon, 10 Oct 2005 18:13:03 +0000 Subject: [PATCH] correct build order (examples vs. lib) --- org.glite.security.gsoap-plugin/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/org.glite.security.gsoap-plugin/Makefile b/org.glite.security.gsoap-plugin/Makefile index e40111d..376df4c 100644 --- a/org.glite.security.gsoap-plugin/Makefile +++ b/org.glite.security.gsoap-plugin/Makefile @@ -150,8 +150,8 @@ all compile: \ link-gsoap-default \ ${GSS_STATICLIB} ${GSS_LTLIB} ${GSS_THRSTATICLIB} ${GSS_THRLTLIB} \ ${STATICLIB} ${LTLIB} ${THRSTATICLIB} ${THRLTLIB} \ - examples \ - all-libs-with-soap + all-libs-with-soap \ + examples check: compile check.gss @@ -222,8 +222,14 @@ wscalc_srv_ex: ${WSCALC_SRV_OBJS} ${STATICLIB} wscalc_srv_ex2: ${WSCALC_SRV2_OBJS} ${STATICLIB} ${LINK} -o $@ ${WSCALC_SRV2_OBJS} ${EXALIB} + +soapcpp:=${shell if [ -x ${gsoap_prefix}/bin/soapcpp2 ]; then \ + echo ${gsoap_prefix}/bin/soapcpp2; \ + else echo ${gsoap_prefix}/soapcpp2; \ + fi} + ${GSOAP_FPREFIX}H.h ${GSOAP_FPREFIX}C.c ${GSOAP_FPREFIX}Server.c ${GSOAP_FPREFIX}Client.c ${GSOAP_FPREFIX}ServerLib.c ${GSOAP_FPREFIX}ClientLib.c soap_gen: calc.h.S - ${gsoap_prefix}/bin/soapcpp2 -c -p ${GSOAP_FPREFIX} ${top_srcdir}/examples/calc.h.S + ${soapcpp} -c -p ${GSOAP_FPREFIX} ${top_srcdir}/examples/calc.h.S wscalc_clt_ex.o: wscalc_clt_ex.c ${CC} -c ${CFLAGS} ${GLOBUS_INC} -o $@ $< -- 1.8.2.3