boinc/sched/Makefile.am

142 lines
5.0 KiB
Makefile

## $Id$
include $(top_srcdir)/Makefile.incl
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 \
wu_check
noinst_LIBRARIES = libsched.a
EXTRA_PROGRAMS = fcgi
EXTRA_DIST = wd.php wd_nresults_changing.php start grep_logs
# scripts that 'make install' should put in bindir
bin_SCRIPTS = start stop status
LDADD = -L. -lsched $(MYSQL_LIBS)
LIB_SCHED = libsched.a
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 \
../tools/backend_lib.C
cgi_SOURCES = \
handle_request.C \
main.C \
sched_send.C \
server_types.C \
../lib/synch.C
cgi_DEPENDENCIES = $(LIB_SCHED)
feeder_SOURCES = \
feeder.C \
../lib/synch.C
feeder_DEPENDENCIES = $(LIB_SCHED)
wu_check_SOURCES = wu_check.C
wu_check_DEPENDENCIES = $(LIB_SCHED)
show_shmem_SOURCES = show_shmem.C
show_shmem_DEPENDENCIES = $(LIB_SCHED)
file_deleter_SOURCES = file_deleter.C
file_deleter_DEPENDENCIES = $(LIB_SCHED)
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)
db_dump_SOURCES = db_dump.C
db_dump_DEPENDENCIES = $(LIB_SCHED)
update_stats_SOURCES = update_stats.C
update_stats_DEPENDENCIES = $(LIB_SCHED)
file_upload_handler_SOURCES = file_upload_handler.C
file_upload_handler_DEPENDENCIES = $(LIBRSA) $(LIB_SCHED)
file_upload_handler_LDADD = $(LDADD) $(RSA_LIBS)
make_work_SOURCES = make_work.C
make_work_DEPENDENCIES = $(LIBRSA) $(LIB_SCHED)
make_work_LDADD = $(LDADD) $(RSA_LIBS)
transitioner_SOURCES = transitioner.C
transitioner_DEPENDENCIES = $(LIBRSA) $(LIB_SCHED)
transitioner_LDADD = $(LDADD) $(RSA_LIBS)
message_handler_SOURCES = message_handler.C
message_handler_DEPENDENCIES = $(LIBRSA) $(LIB_SCHED)
message_handler_LDADD = $(LDADD) $(RSA_LIBS)
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 \
../tools/backend_lib.C
fcgi_DEPENDENCIES = $(LIBRSA) $(LIB_SCHED)
fcgi_CPPFLAGS = -include fcgi_stdio.h -D_USING_FCGI_ $(AM_CPPFLAGS)
fcgi_LDADD = $(LDADD) $(RSA_LIBS) -lfcgi $(MYSQL_LIBS)
.PHONY: PHONY-start
PHONY-start:
@test -f start || ln -s $(srcdir)/start start && test -f start
status stop: PHONY-start
@test -f $@ || ln -s start $@ && test -f $@