2003-06-06 19:00:42 +00:00
|
|
|
## $Id$
|
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.incl
|
|
|
|
|
2003-06-14 20:25:37 +00:00
|
|
|
noinst_PROGRAMS = \
|
|
|
|
cgi feeder show_shmem file_upload_handler \
|
|
|
|
validate_test make_work timeout_check file_deleter \
|
2003-06-14 20:25:41 +00:00
|
|
|
assimilator db_dump update_stats
|
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
|
2003-08-05 08:16:52 +00:00
|
|
|
EXTRA_DIST = boinc_config.py wd.php wd_nresults_changing.php watch_tcp start grep_logs
|
2003-06-14 20:25:36 +00:00
|
|
|
|
|
|
|
# scripts that 'make install' should put in bindir
|
2003-06-14 20:25:42 +00:00
|
|
|
bin_SCRIPTS = watch_tcp 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
|
|
|
|
|
|
|
libsched_a_SOURCES = \
|
2003-06-06 19:00:42 +00:00
|
|
|
sched_shmem.C \
|
|
|
|
sched_util.C \
|
|
|
|
config.C \
|
2003-06-14 20:25:39 +00:00
|
|
|
sched_messages.C \
|
2003-06-08 00:49:48 +00:00
|
|
|
../db/boinc_db.C \
|
2003-06-06 19:00:42 +00:00
|
|
|
../lib/util.C \
|
2003-06-14 20:25:37 +00:00
|
|
|
../lib/crypt.C \
|
2003-06-08 00:49:48 +00:00
|
|
|
../lib/parse.C \
|
2003-06-14 20:25:37 +00:00
|
|
|
../lib/shmem.C \
|
|
|
|
../lib/md5.c \
|
|
|
|
../lib/md5_file.C \
|
2003-06-14 20:25:39 +00:00
|
|
|
../lib/messages.C \
|
2003-08-12 23:18:02 +00:00
|
|
|
../tools/process_result_template.C \
|
2003-08-12 23:29:30 +00:00
|
|
|
../tools/backend_lib.C \
|
2003-06-08 00:49:48 +00:00
|
|
|
config.h \
|
2003-06-14 20:25:37 +00:00
|
|
|
sched_shmem.h \
|
|
|
|
sched_util.h
|
|
|
|
|
|
|
|
cgi_SOURCES = \
|
|
|
|
handle_request.C \
|
|
|
|
main.C \
|
|
|
|
server_types.C \
|
|
|
|
assimilate_handler.h \
|
2003-06-08 00:49:48 +00:00
|
|
|
handle_request.h \
|
|
|
|
main.h \
|
|
|
|
server_types.h
|
2003-06-14 20:25:38 +00:00
|
|
|
cgi_DEPEDENCIES = $(LIB_SCHED)
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2003-06-14 20:25:37 +00:00
|
|
|
feeder_SOURCES = feeder.C
|
2003-06-14 20:25:38 +00:00
|
|
|
feeder_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
|
|
|
validate_test_SOURCES = validate.C validate_test.C
|
2003-06-14 20:25:38 +00:00
|
|
|
validate_test_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)
|
|
|
|
|
2003-06-14 20:25:37 +00:00
|
|
|
assimilator_SOURCES = assimilator.C assimilate_handler.C
|
2003-06-14 20:25:38 +00:00
|
|
|
assimilator_DEPENDENCIES = $(LIB_SCHED)
|
|
|
|
|
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:41 +00:00
|
|
|
# start_servers_SOURCES = start_servers.C
|
|
|
|
# start_servers_DEPENDENCIES = $(LIB_SCHED)
|
2003-06-06 19:00:42 +00:00
|
|
|
|
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-12 23:29:30 +00:00
|
|
|
timeout_check_SOURCES = timeout_check.C
|
2003-06-14 20:25:38 +00:00
|
|
|
timeout_check_DEPENDENCIES = $(LIBRSA) $(LIB_SCHED)
|
2003-06-14 20:25:37 +00:00
|
|
|
timeout_check_LDADD = $(LDADD) $(RSA_LIBS)
|
2003-06-06 19:00:42 +00:00
|
|
|
|
|
|
|
fcgi_SOURCES = \
|
|
|
|
handle_request.C \
|
|
|
|
main.C \
|
2003-08-12 23:29:30 +00:00
|
|
|
server_types.C
|
2003-06-14 20:25:38 +00:00
|
|
|
fcgi_DEPENDENCIES = $(LIBRSA) $(LIB_SCHED)
|
2003-06-14 20:25:35 +00:00
|
|
|
fcgi_CPPFLAGS = -include /usr/local/include/fcgi_stdio.h -D_USING_FCGI_ $(AM_CPPFLAGS)
|
2003-06-14 20:25:37 +00:00
|
|
|
fcgi_LDADD = $(LDADD) $(RSA_LIBS) -lfcgi -lfcgi++ $(MYSQL_LIBS)
|
2003-06-14 20:25:41 +00:00
|
|
|
|
2003-08-04 22:04:41 +00:00
|
|
|
start:
|
|
|
|
ln -s $(srcdir)/start start
|
|
|
|
|
|
|
|
status stop: start
|
|
|
|
ln -s start $@
|