stage several header files used in R-CGMA
authorMiloš Mulač <mulac@civ.zcu.cz>
Thu, 27 Jan 2005 16:17:52 +0000 (16:17 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Thu, 27 Jan 2005 16:17:52 +0000 (16:17 +0000)
org.glite.lb.server/Makefile
org.glite.lb.server/interface/index.h [moved from org.glite.lb.server/src/index.h with 100% similarity]
org.glite.lb.server/interface/lb_authz.h [moved from org.glite.lb.server/src/lb_authz.h with 100% similarity]
org.glite.lb.server/interface/lbs_db.h [moved from org.glite.lb.server/src/lbs_db.h with 100% similarity]
org.glite.lb.server/interface/ws_plugin.h [moved from org.glite.lb.server/src/ws_plugin.h with 100% similarity]

index 873985d..a60e30c 100644 (file)
@@ -62,6 +62,7 @@ CFLAGS:= \
        ${WS_CFLAGS} ${DEBUG} \
        -DVERSION=\"${version}\" \
        -I${stagedir}/include -I${top_srcdir}/src -I. \
+       -I${top_srcdir}/interface \
        -I${expat_prefix}/include \
        -I${ares_prefix}/include \
        -I${gsoap_prefix}/include \
@@ -137,6 +138,8 @@ INDEX_OBJS:= index.o index_parse.o jobstat_supp.o lbs_db.o openserver.o \
 WS_CLIENT_OBJS:= stdsoap2_patched.o test_ws_plugin.o $(GSOAP_FILES_PREFIX)C.o $(GSOAP_FILES_PREFIX)Client.o ws_fault.o ws_typeref.o
 WS_CLIENT_LIBS:= -L${stagedir}/lib -lglite_lb_client_${nothrflavour}
 
+HDRS=index.h ws_plugin.h lb_authz.h lbs_db.h
+
 LIB_OBJS_PS:=test_ws_plugin.o ws_fault.o lb_authz.o lbs_db.o
 L_LIB_OBJS_PS:=${LIB_OBJS_PS:.o=.lo}
 LIB_OBJS_BK:=lb_authz.o lbs_db.o stats.o openserver.o index.o
@@ -272,6 +275,10 @@ install:
                ${INSTALL} -m 755 ${stagedir}/bin/glite-lb-notif-interlogd ${PREFIX}/bin; \
        fi
        if [ x${DOSTAGE} = xyes ]; then \
+               mkdir -p ${PREFIX}/include/${globalprefix}/${lbprefix} ; \
+               (cd ${top_srcdir}/interface && install -m 644 ${HDRS} ${PREFIX}/include/${globalprefix}/${lbprefix}) ; \
+       fi
+       if [ x${DOSTAGE} = xyes ]; then \
                ${INSTALL} -m 644 ${LT_LIB_PS} ${PREFIX}/lib; \
                ${INSTALL} -m 644 ${LT_LIB_BK} ${PREFIX}/lib; \
        fi