2008-06-08 22:18:52 +00:00
|
|
|
## -*- mode: makefile; tab-width: 4 -*-
|
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 \
|
2008-07-28 22:56:39 +00:00
|
|
|
pymw_assimilator \
|
2007-06-20 22:34:06 +00:00
|
|
|
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 \
|
2008-03-04 23:50:38 +00:00
|
|
|
single_job_assimilator \
|
2007-07-03 21:55:50 +00:00
|
|
|
sched_driver \
|
2007-06-20 22:34:06 +00:00
|
|
|
send_file \
|
|
|
|
show_shmem \
|
|
|
|
transitioner \
|
2008-02-05 23:30:28 +00:00
|
|
|
trickle_handler \
|
2007-06-20 22:34:06 +00:00
|
|
|
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
|
|
|
|
2008-03-15 03:26:14 +00:00
|
|
|
LDADD = $(LIBSCHED) $(LIBBOINC) $(MYSQL_LIBS) $(PTHREAD_LIBS) $(RSA_LIBS)
|
|
|
|
AM_CXXFLAGS = $(MYSQL_CFLAGS)
|
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 \
|
2008-02-05 21:26:43 +00:00
|
|
|
sched_msgs.C \
|
2007-06-20 22:34:06 +00:00
|
|
|
../db/boinc_db.C \
|
|
|
|
../db/db_base.C \
|
2008-02-05 21:26:43 +00:00
|
|
|
../lib/msg_log.C \
|
2007-06-20 22:34:06 +00:00
|
|
|
../tools/process_result_template.C \
|
2008-03-15 03:26:14 +00:00
|
|
|
../tools/backend_lib.C
|
2005-01-08 07:44:22 +00:00
|
|
|
|
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 \
|
2008-03-15 03:26:14 +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 \
|
2008-02-21 00:47:50 +00:00
|
|
|
sched_assign.C \
|
2005-08-04 03:50:04 +00:00
|
|
|
sched_hr.C \
|
|
|
|
sched_resend.C \
|
2005-02-10 20:31:11 +00:00
|
|
|
sched_locality.C \
|
2008-02-21 00:47:50 +00:00
|
|
|
sched_result.C \
|
2008-03-18 21:22:44 +00:00
|
|
|
sched_plan.C \
|
2008-02-21 00:47:50 +00:00
|
|
|
sched_send.C \
|
2005-02-10 20:31:11 +00:00
|
|
|
sched_timezone.C \
|
|
|
|
server_types.C \
|
2008-02-05 21:26:43 +00:00
|
|
|
time_stats_log.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 \
|
2008-02-05 21:26:43 +00:00
|
|
|
hr_info.C
|
2005-09-29 11:56:28 +00:00
|
|
|
|
|
|
|
## install only headers that are meant for exporting the API !!
|
2008-05-28 01:38:39 +00:00
|
|
|
pkginclude_HEADERS = \
|
2007-06-20 22:34:06 +00:00
|
|
|
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-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
|
|
|
|
|
2008-02-05 21:26:43 +00:00
|
|
|
wu_check_SOURCES = wu_check.C
|
2003-09-27 23:20:40 +00:00
|
|
|
|
2008-02-05 21:26:43 +00:00
|
|
|
show_shmem_SOURCES = show_shmem.C
|
2003-06-14 20:25:38 +00:00
|
|
|
|
2008-02-05 21:26:43 +00:00
|
|
|
file_deleter_SOURCES = file_deleter.C
|
2003-06-14 20:25:38 +00:00
|
|
|
|
2008-02-05 21:26:43 +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
|
|
|
|
2008-02-05 21:26:43 +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
|
|
|
|
2008-02-05 21:26:43 +00:00
|
|
|
sample_dummy_assimilator_SOURCES = assimilator.C sample_dummy_assimilator.C validate_util.C validate_util.h
|
2003-06-14 20:25:38 +00:00
|
|
|
|
2008-02-05 21:26:43 +00:00
|
|
|
sample_assimilator_SOURCES = assimilator.C sample_assimilator.C validate_util.C validate_util.h
|
2007-04-18 20:49:58 +00:00
|
|
|
|
2008-07-28 22:56:39 +00:00
|
|
|
pymw_assimilator_SOURCES = assimilator.C pymw_assimilator.C validate_util.C validate_util.h
|
|
|
|
pymw_assimilator_DEPENDENCIES = $(LIB_SCHED)
|
|
|
|
|
2008-03-04 23:50:38 +00:00
|
|
|
single_job_assimilator_SOURCES = assimilator.C single_job_assimilator.C validate_util.C validate_util.h
|
|
|
|
|
2008-02-05 21:26:43 +00:00
|
|
|
sample_work_generator_SOURCES = sample_work_generator.C
|
2004-11-26 21:29:57 +00:00
|
|
|
|
2008-02-05 21:26:43 +00:00
|
|
|
db_dump_SOURCES = db_dump.C
|
2003-06-14 20:25:38 +00:00
|
|
|
|
2008-02-05 21:26:43 +00:00
|
|
|
db_purge_SOURCES = db_purge.C
|
2004-09-12 00:49:38 +00:00
|
|
|
|
2008-02-05 23:30:28 +00:00
|
|
|
trickle_handler_SOURCES = trickle_handler.C
|
|
|
|
|
2008-02-05 21:26:43 +00:00
|
|
|
update_stats_SOURCES = update_stats.C
|
2003-06-14 20:25:38 +00:00
|
|
|
|
2008-02-05 21:26:43 +00:00
|
|
|
file_upload_handler_SOURCES = file_upload_handler.C
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2008-02-05 21:26:43 +00:00
|
|
|
make_work_SOURCES = make_work.C
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2008-02-05 21:26:43 +00:00
|
|
|
transitioner_SOURCES = transitioner.C
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2008-02-05 21:26:43 +00:00
|
|
|
message_handler_SOURCES = message_handler.C
|
2004-07-10 00:11:20 +00:00
|
|
|
|
2008-02-05 21:26:43 +00:00
|
|
|
request_file_list_SOURCES = request_file_list.C
|
2004-08-05 22:02:33 +00:00
|
|
|
|
2008-02-05 21:26:43 +00:00
|
|
|
get_file_SOURCES = get_file.C
|
2004-08-05 22:02:33 +00:00
|
|
|
|
2008-02-05 21:26:43 +00:00
|
|
|
send_file_SOURCES = send_file.C
|
2004-08-05 22:02:33 +00:00
|
|
|
|
2008-02-05 21:26:43 +00:00
|
|
|
delete_file_SOURCES = delete_file.C
|
2004-08-05 22:02:33 +00:00
|
|
|
|
2008-02-05 21:26:43 +00:00
|
|
|
sched_driver_SOURCES = sched_driver.C
|
2007-07-03 21:55:50 +00:00
|
|
|
|
2008-04-17 15:43:51 +00:00
|
|
|
# N.B.: the FCGI scheduler can't use lib/libboinc.a;
|
|
|
|
# it needs to have specially compiled versions of everything
|
|
|
|
# because its stdio is different
|
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_array.C \
|
2008-02-21 00:47:50 +00:00
|
|
|
sched_assign.C \
|
2007-06-20 22:34:06 +00:00
|
|
|
sched_config.C \
|
2008-02-21 00:47:50 +00:00
|
|
|
sched_hr.C \
|
2007-06-20 22:34:06 +00:00
|
|
|
sched_locality.C \
|
2008-02-21 00:47:50 +00:00
|
|
|
sched_msgs.C \
|
|
|
|
sched_resend.C \
|
|
|
|
sched_result.C \
|
2008-03-18 21:22:44 +00:00
|
|
|
sched_plan.C \
|
2008-02-21 00:47:50 +00:00
|
|
|
sched_send.C \
|
|
|
|
sched_shmem.C \
|
2007-06-20 22:34:06 +00:00
|
|
|
sched_timezone.C \
|
2008-02-21 00:47:50 +00:00
|
|
|
sched_util.C \
|
|
|
|
server_types.C \
|
2008-01-13 00:12:14 +00:00
|
|
|
time_stats_log.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 \
|
2008-04-17 15:43:51 +00:00
|
|
|
../lib/coproc.C \
|
2007-06-20 22:34:06 +00:00
|
|
|
../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 \
|
2008-01-24 20:22:54 +00:00
|
|
|
../lib/str_util.C \
|
2007-06-20 22:34:06 +00:00
|
|
|
../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
|
|
|
|
2004-04-30 23:18:56 +00:00
|
|
|
fcgi_CPPFLAGS = -include fcgi_stdio.h -D_USING_FCGI_ $(AM_CPPFLAGS)
|
2008-04-17 15:43:51 +00:00
|
|
|
fcgi_LDADD = -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 \
|
2008-02-05 20:16:57 +00:00
|
|
|
sched_msgs.C \
|
2007-06-20 22:34:06 +00:00
|
|
|
../lib/miofile.C \
|
2008-02-05 21:26:43 +00:00
|
|
|
../lib/msg_log.C \
|
2007-06-20 22:34:06 +00:00
|
|
|
../lib/parse.C \
|
2005-12-14 22:48:05 +00:00
|
|
|
../lib/crypt.C
|
2008-02-05 20:16:57 +00:00
|
|
|
|
2008-02-05 21:26:43 +00:00
|
|
|
fcgi_file_upload_handler_CPPFLAGS = -include fcgi_stdio.h -D_USING_FCGI_ $(AM_CPPFLAGS)
|
2008-03-15 03:26:14 +00:00
|
|
|
fcgi_file_upload_handler_LDADD = $(LDADD) -lfcgi
|
2005-12-14 22:48:05 +00:00
|
|
|
|
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 $@
|
2007-10-11 13:24:22 +00:00
|
|
|
|
|
|
|
CLEANFILES = status stop
|