2003-06-06 19:00:42 +00:00
|
|
|
## $Id$
|
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.incl
|
|
|
|
|
2004-07-13 12:55:22 +00:00
|
|
|
noinst_PROGRAMS = \
|
|
|
|
cgi \
|
|
|
|
db_dump \
|
2004-09-12 00:49:38 +00:00
|
|
|
db_purge \
|
2007-04-18 20:49:58 +00:00
|
|
|
delete_file \
|
|
|
|
feeder \
|
2004-07-13 12:55:22 +00:00
|
|
|
file_deleter \
|
|
|
|
file_upload_handler \
|
2007-04-18 20:49:58 +00:00
|
|
|
get_file \
|
2004-07-13 12:55:22 +00:00
|
|
|
make_work \
|
|
|
|
message_handler \
|
2007-04-18 20:49:58 +00:00
|
|
|
request_file_list \
|
|
|
|
sample_assimilator \
|
2004-07-13 12:55:22 +00:00
|
|
|
sample_dummy_assimilator \
|
|
|
|
sample_bitwise_validator \
|
|
|
|
sample_trivial_validator \
|
2007-04-18 20:49:58 +00:00
|
|
|
sample_work_generator \
|
2004-08-05 22:02:33 +00:00
|
|
|
send_file \
|
2007-04-18 20:49:58 +00:00
|
|
|
show_shmem \
|
|
|
|
transitioner \
|
|
|
|
update_stats \
|
2004-03-17 01:26:44 +00:00
|
|
|
wu_check
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2004-10-18 01:54:28 +00:00
|
|
|
lib_LIBRARIES = libsched.a
|
2003-06-14 20:25:37 +00:00
|
|
|
|
2005-12-14 22:48:05 +00:00
|
|
|
EXTRA_PROGRAMS = fcgi \
|
|
|
|
fcgi_file_upload_handler
|
2003-06-14 20:25:36 +00:00
|
|
|
|
|
|
|
# scripts that 'make install' should put in bindir
|
2004-06-16 19:59:07 +00:00
|
|
|
bin_SCRIPTS = start stop status
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2007-04-25 02:02:24 +00:00
|
|
|
LDADD = -L. -lsched $(MYSQL_LIBS) $(BOINC_LIB) $(PTHREAD_LIBS)
|
2003-06-14 20:25:40 +00:00
|
|
|
|
2003-06-14 20:25:38 +00:00
|
|
|
LIB_SCHED = libsched.a
|
2003-06-14 20:25:37 +00:00
|
|
|
|
2004-07-13 10:36:18 +00:00
|
|
|
libsched_a_SOURCES = \
|
|
|
|
sched_shmem.C \
|
|
|
|
sched_util.C \
|
|
|
|
sched_config.C \
|
|
|
|
sched_msgs.C \
|
|
|
|
../db/boinc_db.C \
|
|
|
|
../db/db_base.C \
|
|
|
|
../lib/msg_log.C \
|
|
|
|
../tools/process_result_template.C \
|
2005-01-08 07:44:22 +00:00
|
|
|
../tools/backend_lib.C
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2004-09-29 02:49:50 +00:00
|
|
|
assimilate_handler.h \
|
|
|
|
fcgiapp.h \
|
|
|
|
fcgi_stdio.h \
|
|
|
|
handle_request.h \
|
|
|
|
main.h \
|
|
|
|
sched_locality.h \
|
|
|
|
sched_send.h \
|
|
|
|
sched_shmem.h \
|
|
|
|
server_types.h \
|
2007-01-14 22:43:10 +00:00
|
|
|
start
|
2004-09-29 02:49:50 +00:00
|
|
|
|
2003-06-14 20:25:37 +00:00
|
|
|
|
2005-02-10 20:31:11 +00:00
|
|
|
cgi_SOURCES = \
|
|
|
|
handle_request.C \
|
|
|
|
main.C \
|
2005-08-04 03:50:04 +00:00
|
|
|
sched_array.C \
|
|
|
|
sched_hr.C \
|
|
|
|
sched_resend.C \
|
2005-02-10 20:31:11 +00:00
|
|
|
sched_send.C \
|
|
|
|
sched_locality.C \
|
|
|
|
sched_timezone.C \
|
|
|
|
server_types.C \
|
2004-04-04 01:59:47 +00:00
|
|
|
../lib/synch.C
|
|
|
|
|
2005-09-29 11:56:28 +00:00
|
|
|
|
|
|
|
## install header-files with prefix-subdir BOINC/ to avoid name-conflicts
|
|
|
|
includedir = ${prefix}/include/BOINC/
|
|
|
|
|
|
|
|
## install only headers that are meant for exporting the API !!
|
|
|
|
include_HEADERS = \
|
|
|
|
sched_config.h \
|
|
|
|
sched_msgs.h \
|
|
|
|
sched_util.h \
|
2007-01-14 22:43:10 +00:00
|
|
|
../tools/backend_lib.h \
|
|
|
|
validate_util.h
|
2005-09-29 11:56:28 +00:00
|
|
|
|
|
|
|
|
2004-03-31 06:07:17 +00:00
|
|
|
cgi_DEPENDENCIES = $(LIB_SCHED)
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2004-04-04 01:59:47 +00:00
|
|
|
feeder_SOURCES = \
|
|
|
|
feeder.C \
|
|
|
|
../lib/synch.C
|
|
|
|
|
2003-06-14 20:25:38 +00:00
|
|
|
feeder_DEPENDENCIES = $(LIB_SCHED)
|
|
|
|
|
2003-09-27 23:20:40 +00:00
|
|
|
wu_check_SOURCES = wu_check.C
|
|
|
|
wu_check_DEPENDENCIES = $(LIB_SCHED)
|
|
|
|
|
2003-06-14 20:25:37 +00:00
|
|
|
show_shmem_SOURCES = show_shmem.C
|
2003-06-14 20:25:38 +00:00
|
|
|
show_shmem_DEPENDENCIES = $(LIB_SCHED)
|
|
|
|
|
2003-06-14 20:25:37 +00:00
|
|
|
file_deleter_SOURCES = file_deleter.C
|
2003-06-14 20:25:38 +00:00
|
|
|
file_deleter_DEPENDENCIES = $(LIB_SCHED)
|
|
|
|
|
2006-06-09 23:17:05 +00:00
|
|
|
sample_bitwise_validator_SOURCES = validator.C sample_bitwise_validator.C validate_util.C validate_util.h validate_util2.C
|
2004-07-13 12:55:22 +00:00
|
|
|
sample_bitwise_validator_DEPENDENCIES = $(LIB_SCHED)
|
|
|
|
|
2006-06-09 23:17:05 +00:00
|
|
|
sample_trivial_validator_SOURCES = validator.C sample_trivial_validator.C validate_util.C validate_util.h validate_util2.C
|
2004-07-13 12:55:22 +00:00
|
|
|
sample_trivial_validator_DEPENDENCIES = $(LIB_SCHED)
|
|
|
|
|
2005-01-03 10:49:38 +00:00
|
|
|
sample_dummy_assimilator_SOURCES = assimilator.C sample_dummy_assimilator.C validate_util.C validate_util.h
|
2004-07-13 12:55:22 +00:00
|
|
|
sample_dummy_assimilator_DEPENDENCIES = $(LIB_SCHED)
|
2003-06-14 20:25:38 +00:00
|
|
|
|
2007-04-18 20:49:58 +00:00
|
|
|
sample_assimilator_SOURCES = assimilator.C sample_assimilator.C validate_util.C validate_util.h
|
|
|
|
sample_assimilator_DEPENDENCIES = $(LIB_SCHED)
|
|
|
|
|
|
|
|
sample_work_generator_SOURCES = sample_work_generator.C
|
|
|
|
sample_work_generator_DEPENDENCIES = $(LIB_SCHED)
|
2004-11-26 21:29:57 +00:00
|
|
|
|
2003-06-14 20:25:37 +00:00
|
|
|
db_dump_SOURCES = db_dump.C
|
2003-06-14 20:25:38 +00:00
|
|
|
db_dump_DEPENDENCIES = $(LIB_SCHED)
|
|
|
|
|
2004-09-12 00:49:38 +00:00
|
|
|
db_purge_SOURCES = db_purge.C
|
|
|
|
db_purge_DEPENDENCIES = $(LIB_SCHED)
|
|
|
|
|
2003-06-14 20:25:37 +00:00
|
|
|
update_stats_SOURCES = update_stats.C
|
2003-06-14 20:25:38 +00:00
|
|
|
update_stats_DEPENDENCIES = $(LIB_SCHED)
|
|
|
|
|
2003-06-14 20:25:37 +00:00
|
|
|
file_upload_handler_SOURCES = file_upload_handler.C
|
2003-06-14 20:25:38 +00:00
|
|
|
file_upload_handler_DEPENDENCIES = $(LIBRSA) $(LIB_SCHED)
|
2003-06-14 20:25:37 +00:00
|
|
|
file_upload_handler_LDADD = $(LDADD) $(RSA_LIBS)
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2003-08-12 23:29:30 +00:00
|
|
|
make_work_SOURCES = make_work.C
|
2003-06-14 20:25:38 +00:00
|
|
|
make_work_DEPENDENCIES = $(LIBRSA) $(LIB_SCHED)
|
2003-06-14 20:25:37 +00:00
|
|
|
make_work_LDADD = $(LDADD) $(RSA_LIBS)
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2003-08-15 22:19:25 +00:00
|
|
|
transitioner_SOURCES = transitioner.C
|
|
|
|
transitioner_DEPENDENCIES = $(LIBRSA) $(LIB_SCHED)
|
|
|
|
transitioner_LDADD = $(LDADD) $(RSA_LIBS)
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2004-07-13 10:36:18 +00:00
|
|
|
message_handler_SOURCES = message_handler.C
|
2004-07-10 00:11:20 +00:00
|
|
|
message_handler_DEPENDENCIES = $(LIBRSA) $(LIB_SCHED)
|
|
|
|
message_handler_LDADD = $(LDADD) $(RSA_LIBS)
|
|
|
|
|
2004-08-05 22:02:33 +00:00
|
|
|
request_file_list_SOURCES = request_file_list.C
|
|
|
|
request_file_list_DEPENDENCIES = $(LIBRSA) $(LIB_SCHED)
|
|
|
|
request_file_list_LDADD = $(LDADD) $(RSA_LIBS)
|
|
|
|
|
|
|
|
get_file_SOURCES = get_file.C
|
|
|
|
get_file_DEPENDENCIES = $(LIBRSA) $(LIB_SCHED)
|
|
|
|
get_file_LDADD = $(LDADD) $(RSA_LIBS)
|
|
|
|
|
|
|
|
send_file_SOURCES = send_file.C
|
|
|
|
send_file_DEPENDENCIES = $(LIBRSA) $(LIB_SCHED)
|
|
|
|
send_file_LDADD = $(LDADD) $(RSA_LIBS)
|
|
|
|
|
|
|
|
delete_file_SOURCES = delete_file.C
|
|
|
|
delete_file_DEPENDENCIES = $(LIBRSA) $(LIB_SCHED)
|
|
|
|
delete_file_LDADD = $(LDADD) $(RSA_LIBS)
|
|
|
|
|
2004-07-13 10:36:18 +00:00
|
|
|
fcgi_SOURCES = \
|
|
|
|
handle_request.C \
|
|
|
|
main.C \
|
|
|
|
sched_send.C \
|
2005-08-27 15:13:53 +00:00
|
|
|
sched_resend.C \
|
|
|
|
sched_array.C \
|
|
|
|
sched_hr.C \
|
2004-07-13 10:36:18 +00:00
|
|
|
server_types.C \
|
|
|
|
sched_shmem.C \
|
|
|
|
sched_util.C \
|
|
|
|
sched_config.C \
|
|
|
|
sched_msgs.C \
|
2004-10-01 23:46:22 +00:00
|
|
|
sched_locality.C \
|
2005-03-29 20:07:58 +00:00
|
|
|
sched_timezone.C \
|
2004-07-13 10:36:18 +00:00
|
|
|
../db/boinc_db.C \
|
|
|
|
../db/db_base.C \
|
2006-09-27 16:50:47 +00:00
|
|
|
../lib/base64.C \
|
2004-07-13 10:36:18 +00:00
|
|
|
../lib/crypt.C \
|
|
|
|
../lib/filesys.C \
|
|
|
|
../lib/md5.c \
|
|
|
|
../lib/md5_file.C \
|
2006-09-27 16:50:47 +00:00
|
|
|
../lib/miofile.C \
|
2004-07-13 10:36:18 +00:00
|
|
|
../lib/msg_log.C \
|
2006-09-27 16:50:47 +00:00
|
|
|
../lib/parse.C \
|
|
|
|
../lib/shmem.C \
|
|
|
|
../lib/synch.C \
|
|
|
|
../lib/util.C \
|
2004-07-13 10:36:18 +00:00
|
|
|
../tools/process_result_template.C \
|
2004-04-30 23:18:56 +00:00
|
|
|
../tools/backend_lib.C
|
2004-04-30 19:33:05 +00:00
|
|
|
|
2003-06-14 20:25:38 +00:00
|
|
|
fcgi_DEPENDENCIES = $(LIBRSA) $(LIB_SCHED)
|
2004-04-30 23:18:56 +00:00
|
|
|
fcgi_CPPFLAGS = -include fcgi_stdio.h -D_USING_FCGI_ $(AM_CPPFLAGS)
|
2004-07-24 02:29:22 +00:00
|
|
|
fcgi_LDADD = $(LDADD) $(RSA_LIBS) -lfcgi $(MYSQL_LIBS)
|
2003-06-14 20:25:41 +00:00
|
|
|
|
2005-12-14 22:48:05 +00:00
|
|
|
fcgi_file_upload_handler_SOURCES = \
|
|
|
|
file_upload_handler.C \
|
|
|
|
../lib/parse.C \
|
|
|
|
../lib/crypt.C
|
|
|
|
fcgi_file_upload_handler_DEPENDENCIES = $(LIBRSA) $(LIB_SCHED)
|
|
|
|
fcgi_file_upload_handler_CPPFLAGS = -include fcgi_stdio.h -D_USING_FCGI_ $(AM_CPPFLAGS)
|
|
|
|
fcgi_file_upload_handler_LDADD = $(LDADD) $(RSA_LIBS) -lfcgi
|
|
|
|
|
2003-10-15 07:52:57 +00:00
|
|
|
.PHONY: PHONY-start
|
2003-08-04 22:04:41 +00:00
|
|
|
|
2003-10-15 07:52:57 +00:00
|
|
|
PHONY-start:
|
2005-12-01 00:25:21 +00:00
|
|
|
@test -f start || @LN_S@ $(srcdir)/start start && test -f start
|
2003-10-15 07:52:57 +00:00
|
|
|
|
|
|
|
status stop: PHONY-start
|
2005-12-01 00:25:21 +00:00
|
|
|
@test -f $@ || @LN_S@ start $@ && test -f $@
|