mirror of https://github.com/BOINC/boinc.git
91 lines
1.8 KiB
Makefile
91 lines
1.8 KiB
Makefile
## -*- mode: make; tab-width: 4 -*-
|
|
## $Id$
|
|
|
|
include $(top_srcdir)/Makefile.incl
|
|
|
|
# (for a while we used "-static -static-libgcc" on linux, but this is obsolete
|
|
# now)
|
|
#STATIC_FLAGS=@STATIC_FLAGS@
|
|
|
|
client-bin: @CLIENT_BIN_FILENAME@
|
|
|
|
LIBS += @CLIENTLIBS@
|
|
|
|
if OS_DARWIN
|
|
LIBS += -framework IOKit -framework Foundation -framework ScreenSaver -framework Cocoa
|
|
endif
|
|
|
|
bin_PROGRAMS = boinc_client
|
|
lib_LIBRARIES = libbenchmark.a
|
|
|
|
LIBS += libbenchmark.a
|
|
|
|
boinc_client_SOURCES = \
|
|
acct_mgr.C \
|
|
acct_setup.C \
|
|
app.C \
|
|
app_control.C \
|
|
app_graphics.C \
|
|
app_start.C \
|
|
check_state.C \
|
|
client_msgs.C \
|
|
client_state.C \
|
|
client_types.C \
|
|
cpu_sched.C \
|
|
cs_account.C \
|
|
cs_apps.C \
|
|
cs_benchmark.C \
|
|
cs_cmdline.C \
|
|
cs_data.C \
|
|
cs_files.C \
|
|
cs_prefs.C \
|
|
cs_scheduler.C \
|
|
cs_statefile.C \
|
|
cs_trickle.C \
|
|
file_names.C \
|
|
file_xfer.C \
|
|
gui_http.C \
|
|
gui_rpc_server.C \
|
|
gui_rpc_server_ops.C \
|
|
hostinfo_network.C \
|
|
hostinfo_unix.C \
|
|
http_curl.C \
|
|
log_flags.C \
|
|
main.C \
|
|
net_stats.C \
|
|
net_xfer_curl.C \
|
|
pers_file_xfer.C \
|
|
scheduler_op.C \
|
|
ss_logic.C \
|
|
time_stats.C
|
|
|
|
|
|
boinc_client_DEPENDENCIES = $(LIBRSA)
|
|
boinc_client_CPPFLAGS = $(AM_CPPFLAGS)
|
|
boinc_client_LDFLAGS = -static-libgcc
|
|
boinc_client_LDADD = -L../lib -lboinc $(PTHREAD_LIBS)
|
|
|
|
# the following don't do anything
|
|
libbenchmark_a_SOURCES = whetstone.C dhrystone.C dhrystone2.C dhrystone.h
|
|
libbenchmark_a_CPPFLAGS = -O3
|
|
|
|
all-local: client-bin
|
|
|
|
# make a hard link to the client name.
|
|
@CLIENT_BIN_FILENAME@: boinc_client
|
|
rm -f $@
|
|
rm -f $@.unmodified
|
|
cp $? $@.unmodified
|
|
@LN@ $? $@
|
|
@STRIP@ $@
|
|
|
|
## these source files need to be specified because no rule uses them.
|
|
|
|
EXTRA_DIST = *.h \
|
|
mac \
|
|
translation \
|
|
win
|
|
|
|
clean-local:
|
|
rm -f @CLIENT_BIN_FILENAME@
|