2003-06-06 19:00:42 +00:00
|
|
|
## $Id$
|
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.incl
|
|
|
|
|
2003-08-14 00:02:15 +00:00
|
|
|
noinst_PROGRAMS = \
|
|
|
|
cgi feeder show_shmem file_upload_handler \
|
2003-08-15 22:19:25 +00:00
|
|
|
validate_test validate_trivial make_work transitioner file_deleter \
|
2003-09-27 23:20:40 +00:00
|
|
|
assimilator db_dump update_stats show_shmem 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
|
2003-10-03 08:33:18 +00:00
|
|
|
EXTRA_DIST = 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 \
|
2003-09-02 21:16:55 +00:00
|
|
|
sched_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-08-31 05:33:59 +00:00
|
|
|
../db/db_base.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-08-19 22:01:27 +00:00
|
|
|
sched_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-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-08-14 00:02:15 +00:00
|
|
|
validate_test_SOURCES = validate.C validate_test.C validate_util.C validate_util.h
|
2003-06-14 20:25:38 +00:00
|
|
|
validate_test_DEPENDENCIES = $(LIB_SCHED)
|
|
|
|
|
2003-08-14 00:02:15 +00:00
|
|
|
validate_trivial_SOURCES = validate.C validate_trivial.C validate_util.C validate_util.h
|
|
|
|
validate_trivial_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-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
|
|
|
|
|
|
|
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
|
|
|
|
|
2003-10-12 07:18:27 +00:00
|
|
|
status stop:
|
2003-08-04 22:04:41 +00:00
|
|
|
ln -s start $@
|