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 \
|
|
|
|
feeder \
|
|
|
|
db_dump \
|
|
|
|
file_deleter \
|
|
|
|
file_upload_handler \
|
|
|
|
make_work \
|
|
|
|
show_shmem \
|
|
|
|
transitioner \
|
|
|
|
message_handler \
|
|
|
|
update_stats \
|
|
|
|
sample_dummy_assimilator \
|
|
|
|
sample_bitwise_validator \
|
|
|
|
sample_trivial_validator \
|
2004-03-17 01:26:44 +00:00
|
|
|
wu_check
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2003-06-14 20:25:37 +00:00
|
|
|
noinst_LIBRARIES = libsched.a
|
|
|
|
|
2003-06-06 19:00:42 +00:00
|
|
|
EXTRA_PROGRAMS = fcgi
|
2004-06-16 19:59:07 +00:00
|
|
|
EXTRA_DIST = wd.php wd_nresults_changing.php start grep_logs
|
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
|
|
|
|
2003-06-14 20:25:40 +00:00
|
|
|
LDADD = -L. -lsched $(MYSQL_LIBS)
|
|
|
|
|
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/util.C \
|
|
|
|
../lib/crypt.C \
|
|
|
|
../lib/filesys.C \
|
|
|
|
../lib/parse.C \
|
|
|
|
../lib/base64.C \
|
|
|
|
../lib/shmem.C \
|
|
|
|
../lib/md5.c \
|
|
|
|
../lib/md5_file.C \
|
|
|
|
../lib/msg_log.C \
|
|
|
|
../tools/process_result_template.C \
|
2004-04-30 23:18:56 +00:00
|
|
|
../tools/backend_lib.C
|
2003-06-14 20:25:37 +00:00
|
|
|
|
2004-07-13 10:36:18 +00:00
|
|
|
cgi_SOURCES = \
|
|
|
|
handle_request.C \
|
|
|
|
main.C \
|
|
|
|
sched_send.C \
|
|
|
|
server_types.C \
|
2004-04-04 01:59:47 +00:00
|
|
|
../lib/synch.C
|
|
|
|
|
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)
|
|
|
|
|
2004-07-13 12:55:22 +00:00
|
|
|
sample_bitwise_validator_SOURCES = validator.C sample_bitwise_validator.C validate_util.C validate_util.h
|
|
|
|
sample_bitwise_validator_DEPENDENCIES = $(LIB_SCHED)
|
|
|
|
|
|
|
|
sample_trivial_validator_SOURCES = validator.C sample_trivial_validator.C validate_util.C validate_util.h
|
|
|
|
sample_trivial_validator_DEPENDENCIES = $(LIB_SCHED)
|
|
|
|
|
|
|
|
sample_dummy_assimilator_SOURCES = assimilator.C sample_dummy_assimilator.C
|
|
|
|
sample_dummy_assimilator_DEPENDENCIES = $(LIB_SCHED)
|
2003-06-14 20:25:38 +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)
|
|
|
|
|
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-07-13 10:36:18 +00:00
|
|
|
fcgi_SOURCES = \
|
|
|
|
handle_request.C \
|
|
|
|
main.C \
|
|
|
|
sched_send.C \
|
|
|
|
server_types.C \
|
|
|
|
../lib/synch.C \
|
|
|
|
sched_shmem.C \
|
|
|
|
sched_util.C \
|
|
|
|
sched_config.C \
|
|
|
|
sched_msgs.C \
|
|
|
|
../db/boinc_db.C \
|
|
|
|
../db/db_base.C \
|
|
|
|
../lib/util.C \
|
|
|
|
../lib/crypt.C \
|
|
|
|
../lib/filesys.C \
|
|
|
|
../lib/parse.C \
|
|
|
|
../lib/base64.C \
|
|
|
|
../lib/shmem.C \
|
|
|
|
../lib/md5.c \
|
|
|
|
../lib/md5_file.C \
|
|
|
|
../lib/msg_log.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
|
|
|
|
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
|
|
|
|
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:
|
2003-10-15 08:12:43 +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
|
2003-10-15 08:12:43 +00:00
|
|
|
@test -f $@ || ln -s start $@ && test -f $@
|