2003-06-06 19:00:42 +00:00
|
|
|
## $Id$
|
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.incl
|
|
|
|
|
2007-06-20 22:34:06 +00:00
|
|
|
noinst_PROGRAMS = \
|
|
|
|
census \
|
|
|
|
cgi \
|
|
|
|
db_dump \
|
|
|
|
db_purge \
|
|
|
|
delete_file \
|
|
|
|
feeder \
|
|
|
|
file_deleter \
|
|
|
|
file_upload_handler \
|
|
|
|
get_file \
|
|
|
|
make_work \
|
|
|
|
message_handler \
|
|
|
|
request_file_list \
|
2007-04-18 20:49:58 +00:00
|
|
|
sample_assimilator \
|
2007-06-20 22:34:06 +00:00
|
|
|
sample_dummy_assimilator \
|
|
|
|
sample_bitwise_validator \
|
|
|
|
sample_trivial_validator \
|
2007-04-18 20:49:58 +00:00
|
|
|
sample_work_generator \
|
2007-07-03 21:55:50 +00:00
|
|
|
sched_driver \
|
2007-06-20 22:34:06 +00:00
|
|
|
send_file \
|
|
|
|
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
|
|
|
|
2007-06-20 22:34:06 +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
|
|
|
|
|
2007-06-20 22:34:06 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
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 = \
|
- scheduler: add <workload_sim> config option.
If set, the scheduler will use EDF simulation,
together with the in-progress workload reported by the client,
to avoid sending results that
1) will miss their deadline, or
2) will cause an in-progress result to miss its deadline, or
3) will make an in-progress result miss its deadline
by more than is already predicted.
If this option is not set, or if the client request doesn't
include a workload description (i.e. the client is old)
use the existing approach, which assumes there's no workload.
NOTE: this is experimental. Production projects should not use it.
- EDF sim: write debug stuff to stderr instead of stdout
- Account manager:
- if an account is detach_when_done, set dont_request_more_work
- check done_request_more_work even for first-time projects
- update_uotd: generate a file for use by Google gadget
- user_links(): use full URLs (so can use in Google gadget)
client/
acct_mgr.C
work_fetch.C
html/
inc/
uotd.inc
util.inc
user/
uotd_gadget.php (new)
sched/
Makefile.am
edf_sim.C
sched_config.C,h
sched_resend.C
sched_send.C,h
server_types.C,h
svn path=/trunk/boinc/; revision=12639
2007-05-10 21:50:52 +00:00
|
|
|
edf_sim.C \
|
2005-02-10 20:31:11 +00:00
|
|
|
handle_request.C \
|
2007-06-20 22:34:06 +00:00
|
|
|
hr.C \
|
2007-06-22 03:46:42 +00:00
|
|
|
hr_info.C \
|
2005-02-10 20:31:11 +00:00
|
|
|
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
|
|
|
|
|
2007-06-20 22:34:06 +00:00
|
|
|
census_SOURCES = \
|
|
|
|
census.C \
|
2007-06-22 03:46:42 +00:00
|
|
|
hr.C \
|
|
|
|
hr_info.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 !!
|
2007-06-20 22:34:06 +00:00
|
|
|
include_HEADERS = \
|
|
|
|
sched_config.h \
|
|
|
|
sched_msgs.h \
|
|
|
|
sched_util.h \
|
|
|
|
../tools/backend_lib.h \
|
2007-01-14 22:43:10 +00:00
|
|
|
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 \
|
2007-06-22 03:46:42 +00:00
|
|
|
hr.C \
|
|
|
|
hr_info.C \
|
2004-04-04 01:59:47 +00:00
|
|
|
../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
|
2007-07-03 21:55:50 +00:00
|
|
|
file_upload_handler_DEPENDENCIES = $(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
|
2007-07-03 21:55:50 +00:00
|
|
|
make_work_DEPENDENCIES = $(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
|
2007-07-03 21:55:50 +00:00
|
|
|
transitioner_DEPENDENCIES = $(LIB_SCHED)
|
2003-08-15 22:19:25 +00:00
|
|
|
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
|
2007-07-03 21:55:50 +00:00
|
|
|
message_handler_DEPENDENCIES = $(LIB_SCHED)
|
2004-07-10 00:11:20 +00:00
|
|
|
message_handler_LDADD = $(LDADD) $(RSA_LIBS)
|
|
|
|
|
2004-08-05 22:02:33 +00:00
|
|
|
request_file_list_SOURCES = request_file_list.C
|
2007-07-03 21:55:50 +00:00
|
|
|
request_file_list_DEPENDENCIES = $(LIB_SCHED)
|
2004-08-05 22:02:33 +00:00
|
|
|
request_file_list_LDADD = $(LDADD) $(RSA_LIBS)
|
|
|
|
|
|
|
|
get_file_SOURCES = get_file.C
|
2007-07-03 21:55:50 +00:00
|
|
|
get_file_DEPENDENCIES = $(LIB_SCHED)
|
2004-08-05 22:02:33 +00:00
|
|
|
get_file_LDADD = $(LDADD) $(RSA_LIBS)
|
|
|
|
|
|
|
|
send_file_SOURCES = send_file.C
|
2007-07-03 21:55:50 +00:00
|
|
|
send_file_DEPENDENCIES = $(LIB_SCHED)
|
2004-08-05 22:02:33 +00:00
|
|
|
send_file_LDADD = $(LDADD) $(RSA_LIBS)
|
|
|
|
|
|
|
|
delete_file_SOURCES = delete_file.C
|
2007-07-03 21:55:50 +00:00
|
|
|
delete_file_DEPENDENCIES = $(LIB_SCHED)
|
2004-08-05 22:02:33 +00:00
|
|
|
delete_file_LDADD = $(LDADD) $(RSA_LIBS)
|
|
|
|
|
2007-07-03 21:55:50 +00:00
|
|
|
sched_driver_SOURCES = sched_driver.C
|
|
|
|
sched_driver_DEPENDENCIES = $(LIB_SCHED)
|
2007-07-05 04:18:48 +00:00
|
|
|
sched_driver_LDADD = $(LDADD)
|
2007-07-03 21:55:50 +00:00
|
|
|
|
2007-06-20 22:34:06 +00:00
|
|
|
fcgi_SOURCES = \
|
|
|
|
handle_request.C \
|
2007-06-22 03:46:42 +00:00
|
|
|
hr.C \
|
|
|
|
hr_info.C \
|
2007-06-20 22:34:06 +00:00
|
|
|
main.C \
|
|
|
|
sched_send.C \
|
|
|
|
sched_resend.C \
|
|
|
|
sched_array.C \
|
|
|
|
sched_hr.C \
|
|
|
|
server_types.C \
|
|
|
|
sched_shmem.C \
|
|
|
|
sched_util.C \
|
|
|
|
sched_config.C \
|
|
|
|
sched_msgs.C \
|
|
|
|
sched_locality.C \
|
|
|
|
sched_timezone.C \
|
2007-05-22 20:12:45 +00:00
|
|
|
edf_sim.C \
|
2007-06-20 22:34:06 +00:00
|
|
|
../db/boinc_db.C \
|
|
|
|
../db/db_base.C \
|
|
|
|
../lib/base64.C \
|
|
|
|
../lib/crypt.C \
|
|
|
|
../lib/filesys.C \
|
|
|
|
../lib/md5.c \
|
|
|
|
../lib/md5_file.C \
|
|
|
|
../lib/miofile.C \
|
|
|
|
../lib/msg_log.C \
|
|
|
|
../lib/parse.C \
|
|
|
|
../lib/shmem.C \
|
|
|
|
../lib/synch.C \
|
|
|
|
../lib/util.C \
|
|
|
|
../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
|
|
|
|
2007-07-03 21:55:50 +00:00
|
|
|
fcgi_DEPENDENCIES = $(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
|
|
|
|
2007-06-20 22:34:06 +00:00
|
|
|
fcgi_file_upload_handler_SOURCES = \
|
|
|
|
file_upload_handler.C \
|
|
|
|
sched_config.C \
|
|
|
|
../lib/miofile.C \
|
|
|
|
../lib/parse.C \
|
2005-12-14 22:48:05 +00:00
|
|
|
../lib/crypt.C
|
2007-07-03 21:55:50 +00:00
|
|
|
fcgi_file_upload_handler_DEPENDENCIES = $(LIB_SCHED)
|
2005-12-14 22:48:05 +00:00
|
|
|
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 $@
|