mirror of https://github.com/BOINC/boinc.git
104 lines
2.7 KiB
Makefile
104 lines
2.7 KiB
Makefile
## $Id$
|
|
|
|
include $(top_srcdir)/Makefile.incl
|
|
|
|
noinst_PROGRAMS = \
|
|
cgi feeder show_shmem file_upload_handler \
|
|
validate_test validate_trivial make_work transitioner file_deleter \
|
|
assimilator db_dump update_stats
|
|
|
|
noinst_LIBRARIES = libsched.a
|
|
|
|
EXTRA_PROGRAMS = fcgi
|
|
EXTRA_DIST = boinc_config.py wd.php wd_nresults_changing.php watch_tcp start grep_logs
|
|
|
|
# scripts that 'make install' should put in bindir
|
|
bin_SCRIPTS = watch_tcp 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_messages.C \
|
|
../db/boinc_db.C \
|
|
../db/db_base.C \
|
|
../lib/util.C \
|
|
../lib/crypt.C \
|
|
../lib/parse.C \
|
|
../lib/shmem.C \
|
|
../lib/md5.c \
|
|
../lib/md5_file.C \
|
|
../lib/messages.C \
|
|
../tools/process_result_template.C \
|
|
../tools/backend_lib.C \
|
|
sched_config.h \
|
|
sched_shmem.h \
|
|
sched_util.h
|
|
|
|
cgi_SOURCES = \
|
|
handle_request.C \
|
|
main.C \
|
|
server_types.C \
|
|
assimilate_handler.h \
|
|
handle_request.h \
|
|
main.h \
|
|
server_types.h
|
|
cgi_DEPEDENCIES = $(LIB_SCHED)
|
|
|
|
feeder_SOURCES = feeder.C
|
|
feeder_DEPENDENCIES = $(LIB_SCHED)
|
|
|
|
show_shmem_SOURCES = show_shmem.C
|
|
show_shmem_DEPENDENCIES = $(LIB_SCHED)
|
|
|
|
validate_test_SOURCES = validate.C validate_test.C validate_util.C validate_util.h
|
|
validate_test_DEPENDENCIES = $(LIB_SCHED)
|
|
|
|
validate_trivial_SOURCES = validate.C validate_trivial.C validate_util.C validate_util.h
|
|
validate_trivial_DEPENDENCIES = $(LIB_SCHED)
|
|
|
|
file_deleter_SOURCES = file_deleter.C
|
|
file_deleter_DEPENDENCIES = $(LIB_SCHED)
|
|
|
|
assimilator_SOURCES = assimilator.C assimilate_handler.C
|
|
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)
|
|
|
|
# start_servers_SOURCES = start_servers.C
|
|
# start_servers_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)
|
|
|
|
fcgi_SOURCES = \
|
|
handle_request.C \
|
|
main.C \
|
|
server_types.C
|
|
fcgi_DEPENDENCIES = $(LIBRSA) $(LIB_SCHED)
|
|
fcgi_CPPFLAGS = -include /usr/local/include/fcgi_stdio.h -D_USING_FCGI_ $(AM_CPPFLAGS)
|
|
fcgi_LDADD = $(LDADD) $(RSA_LIBS) -lfcgi -lfcgi++ $(MYSQL_LIBS)
|
|
|
|
start:
|
|
ln -s $(srcdir)/start start
|
|
|
|
status stop: start
|
|
ln -s start $@
|