PLUSOBJS:=Event.o Job.o JobStatus.o Notification.o ServerConnection.o
-HDRS:=consumer.h notification.h statistics.h \
+HDRS:=consumer.h notification.h statistics.h prod_proto.h connection.h \
Job.h Notification.h ServerConnection.h
FAKE_HDRS:=consumer_fake.h producer_fake.h
GEN_HDRS:=JobStatus.h producer.h interface_version.h
endif
generate: ${GEN_HDRS}
+ rm -vf ${globalprefix} ${lbprefix} ${HDRS}
+ ln -vs . ${globalprefix}
+ ln -vs . ${lbprefix}
+ for i in ${HDRS}; do ln -vs ../interface/$$i $$i ; done
interface_version.h: ${top_srcdir}/project/version.properties
echo "#define GLITE_LB_CLIENT_INTERFACE \"${version}\"" >$@
rm -rvf *.o *.lo .libs lib* *.c *.cpp *.h *.dox producer_test C/ CPP/
rm -rvf ${LIB} ${THRLIB} ${TOOLS} logevent ${PLUSLIB} ${THRPLUSLIB} ${MAN_GZ}
rm -rvf ${EXAMPLES} ${EXAMPLES_CL} ${EXAMPLES_CL_THR} ${sh_PROGS}
+ rm -vf ${globalprefix} ${lbprefix}
rm -rvf log.xml project/ rpmbuild/ RPMS/ tgz/
check_version:
#include "glite/lb/Event.h"
-#include "JobStatus.h"
-#include "ServerConnection.h"
+#include "glite/lb/JobStatus.h"
+#include "glite/lb/ServerConnection.h"
/**
#include "glite/wmsutils/jobid/JobId.h"
-#include "consumer.h"
-#include "notification.h"
-#include "JobStatus.h"
+#include "glite/lb/consumer.h"
+#include "glite/lb/notification.h"
+#include "glite/lb/JobStatus.h"
EWL_BEGIN_NAMESPACE
#include "glite/wmsutils/jobid/JobId.h"
#include "glite/lb/Event.h"
-#include "JobStatus.h"
-#include "consumer.h"
+#include "glite/lb/JobStatus.h"
+#include "glite/lb/consumer.h"
EWL_BEGIN_NAMESPACE
-#ifndef __EDG_WORKLOAD_LOGGING_CLIENT_CONNECTION_H__
-#define __EDG_WORKLOAD_LOGGING_CLIENT_CONNECTION_H__
+#ifndef __GLITE_LB_CONNECTION_H__
+#define __GLITE_LB_CONNECTION_H__
#ident "$Header$"
#define PROXY_CONNECT_RETRY 10 /* ms */
-#endif /* __EDG_WORKLOAD_LOGGING_CLIENT_CONNECTION_H__ */
+#endif /* __GLITE_LB_CONNECTION_H__ */
#include "glite/lb/notif_rec.h"
#include "glite/lb/context.h"
-#include "consumer.h"
+#include "glite/lb/consumer.h"
#ifdef __cplusplus
extern "C" {
-#ifndef __EDG_WORKLOAD_LOGGING_CLIENT_PROD_PROTO_H__
-#define __EDG_WORKLOAD_LOGGING_CLIENT_PROD_PROTO_H__
+#ifndef __GLITE_LB_PROD_PROTO_H__
+#define __GLITE_LB_PROD_PROTO_H__
#ident "$Header$"
}
#endif
-#endif /* __EDG_WORKLOAD_LOGGING_CLIENT_PROD_PROTO_H__ */
+#endif /* __GLITE_LB_PROD_PROTO_H__ */
#ifndef __GLITE_LB_STATISTICS_H__
#define __GLITE_LB_STATISTICS_H__
-#include "consumer.h"
+#include "glite/lb/consumer.h"
#ifdef __cplusplus
extern "C" {
#include "glite/lb/notifid.h"
#include "glite/lb/LoggingExceptions.h"
-#include "consumer.h"
+#include "glite/lb/consumer.h"
EWL_BEGIN_NAMESPACE;
#include "glite/wmsutils/jobid/JobIdExceptions.h"
-#include "Job.h"
-#include "consumer.h"
+#include "glite/lb/Job.h"
+#include "glite/lb/consumer.h"
#include "glite/lb/LoggingExceptions.h"
#include "glite/lb/context-int.h"
#include "glite/wmsutils/jobid/JobId.h"
#include "glite/lb/LoggingExceptions.h"
-#include "consumer.h"
-#include "JobStatus.h"
+#include "glite/lb/consumer.h"
+#include "glite/lb/JobStatus.h"
EWL_BEGIN_NAMESPACE;
#include "glite/lb/ServerConnection.h"
#include "glite/lb/notifid.h"
-#include "notification.h"
+#include "glite/lb/notification.h"
EWL_BEGIN_NAMESPACE;
#include "glite/lb/mini_http.h"
#include "glite/lb/connpool.h"
-#include "consumer.h"
-#include "connection.h"
+#include "glite/lb/consumer.h"
+#include "glite/lb/connection.h"
int CloseConnection(edg_wll_Context ctx, int* conn_index)
#include "glite/lb/xml_parse.h"
#include "glite/lb/xml_conversions.h"
-#include "consumer.h"
-#include "connection.h"
+#include "glite/lb/consumer.h"
+#include "glite/lb/connection.h"
static const char* const request_headers[] = {
"Cache-Control: no-cache",
#include "glite/lb/notifid.h"
#include "glite/lb/events.h"
-#include "producer.h"
+#include "glite/lb/producer.h"
#include "args.h"
//" %s -p -l 100000 -j https://localhost/First_JobIV?localhost:7771 -s UserInterface -e jobAbort DG.JOB.ABORT.REASON=\"oops\"\n\n",
#include "glite/lb/il_msg.h"
#include "glite/lb/escape.h"
-#include "notification.h"
-#include "connection.h"
+#include "glite/lb/notification.h"
+#include "glite/lb/connection.h"
#define CON_QUEUE 10 /* listen() queue limit */
#include "glite/lb/il_string.h"
#include "glite/lb/connpool.h"
-#include "prod_proto.h"
-#include "producer.h"
-#include "connection.h"
+#include "glite/lb/prod_proto.h"
+#include "glite/lb/producer.h"
+#include "glite/lb/connection.h"
static const char* socket_path="/tmp/lb_proxy_store.sock";
#include "glite/lb/trio.h"
#include "glite/lb/context-int.h"
-#include "producer.h"
-#include "prod_proto.h"
-#include "consumer.h" // for QuerySequenceCode
+#include "glite/lb/producer.h"
+#include "glite/lb/prod_proto.h"
+#include "glite/lb/consumer.h" // for QuerySequenceCode
/* XXX: paralel registration is disabled until the race condition (via proxy first)
* job owner assignment is solved */
#include "glite/lb/xml_parse.h"
#include "glite/lb/mini_http.h"
-#include "statistics.h"
-#include "connection.h"
+#include "glite/lb/statistics.h"
+#include "glite/lb/connection.h"
#include <stdlib.h>
#include "glite/wmsutils/jobid/cjobid.h"
-#include "producer.h"
+#include "glite/lb/producer.h"
@@@{
$PRINTPROTOTYPESONLY = 0;
#define edg_wll_gss_read_full(a,b,c,d,e,f) test_edg_wll_gss_read_full(a,b,c,d,e,f)
#define edg_wll_gss_write_full(a,b,c,d,e,f) test_edg_wll_gss_write_full(a,b,c,d,e,f)
-#include "prod_proto.h"
+#include "glite/lb/prod_proto.h"
#include "glite/lb/producer.h"
/* virtual read will return all zeroes (answer from logger always without error) */