2004-06-18 09:05:15 +00:00
|
|
|
## -*- mode: make; tab-width: 4 -*-
|
2003-06-06 19:00:42 +00:00
|
|
|
## $Id$
|
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.incl
|
|
|
|
|
2004-11-27 09:43:05 +00:00
|
|
|
# (for a while we used "-static -static-libgcc" on linux, but this is obsolete
|
|
|
|
# now)
|
2004-03-14 15:29:22 +00:00
|
|
|
#STATIC_FLAGS=@STATIC_FLAGS@
|
2003-06-12 07:07:07 +00:00
|
|
|
|
2004-11-26 17:45:13 +00:00
|
|
|
client-bin: @CLIENT_BIN_FILENAME@
|
|
|
|
|
2005-01-27 00:58:16 +00:00
|
|
|
LIBS += @CLIENTLIBS@
|
2005-01-20 10:21:26 +00:00
|
|
|
|
2005-08-13 22:17:35 +00:00
|
|
|
if OS_DARWIN
|
2005-08-14 17:04:45 +00:00
|
|
|
LIBS += -framework IOKit -framework Foundation -framework ScreenSaver -framework Cocoa
|
2005-08-13 22:17:35 +00:00
|
|
|
endif
|
|
|
|
|
2003-06-06 19:00:42 +00:00
|
|
|
bin_PROGRAMS = boinc_client
|
2005-09-29 23:35:59 +00:00
|
|
|
lib_LIBRARIES = libbenchmark.a
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2005-09-29 23:35:59 +00:00
|
|
|
LIBS += libbenchmark.a
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2004-08-11 11:30:25 +00:00
|
|
|
boinc_client_SOURCES = \
|
2005-02-08 00:01:50 +00:00
|
|
|
acct_mgr.C \
|
2005-08-06 18:12:35 +00:00
|
|
|
acct_setup.C \
|
2004-08-11 11:30:25 +00:00
|
|
|
app.C \
|
|
|
|
app_control.C \
|
|
|
|
app_graphics.C \
|
|
|
|
app_start.C \
|
|
|
|
check_state.C \
|
|
|
|
client_msgs.C \
|
|
|
|
client_state.C \
|
|
|
|
client_types.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 \
|
2005-08-06 18:12:35 +00:00
|
|
|
gui_http.C \
|
2004-08-11 11:30:25 +00:00
|
|
|
gui_rpc_server.C \
|
2005-07-31 23:33:12 +00:00
|
|
|
gui_rpc_server_ops.C \
|
2004-08-11 11:30:25 +00:00
|
|
|
hostinfo_network.C \
|
|
|
|
hostinfo_unix.C \
|
2005-08-16 20:48:21 +00:00
|
|
|
http_curl.C \
|
2004-08-11 11:30:25 +00:00
|
|
|
log_flags.C \
|
|
|
|
main.C \
|
|
|
|
net_stats.C \
|
2005-08-16 20:48:21 +00:00
|
|
|
net_xfer_curl.C \
|
2004-08-11 11:30:25 +00:00
|
|
|
pers_file_xfer.C \
|
|
|
|
scheduler_op.C \
|
|
|
|
ss_logic.C \
|
2005-09-29 23:35:59 +00:00
|
|
|
time_stats.C
|
|
|
|
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2004-12-09 10:23:56 +00:00
|
|
|
boinc_client_DEPENDENCIES = $(LIBRSA)
|
2005-12-20 07:03:42 +00:00
|
|
|
boinc_client_CPPFLAGS = $(AM_CPPFLAGS)
|
2005-08-03 00:29:37 +00:00
|
|
|
boinc_client_LDFLAGS = -static-libgcc
|
2005-08-25 23:07:58 +00:00
|
|
|
boinc_client_LDADD = -L../lib -lboinc $(PTHREAD_LIBS)
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2004-05-25 19:43:10 +00:00
|
|
|
# the following don't do anything
|
2005-09-29 23:35:59 +00:00
|
|
|
libbenchmark_a_SOURCES = whetstone.C dhrystone.C dhrystone2.C dhrystone.h
|
|
|
|
libbenchmark_a_CPPFLAGS = -O3
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2004-07-13 10:36:18 +00:00
|
|
|
all-local: client-bin
|
2004-11-26 17:45:13 +00:00
|
|
|
|
2003-06-06 19:00:42 +00:00
|
|
|
# make a hard link to the client name.
|
|
|
|
@CLIENT_BIN_FILENAME@: boinc_client
|
2003-06-14 22:04:20 +00:00
|
|
|
rm -f $@
|
2005-08-31 23:20:51 +00:00
|
|
|
rm -f $@.unmodified
|
|
|
|
cp $? $@.unmodified
|
2005-08-03 00:29:37 +00:00
|
|
|
@LN@ $? $@
|
|
|
|
@STRIP@ $@
|
2003-06-12 07:07:10 +00:00
|
|
|
|
2004-11-27 09:57:38 +00:00
|
|
|
## these source files need to be specified because no rule uses them.
|
|
|
|
|
2005-04-11 07:06:52 +00:00
|
|
|
EXTRA_DIST = *.h \
|
|
|
|
mac \
|
|
|
|
translation \
|
2004-11-27 09:57:38 +00:00
|
|
|
win
|
2003-06-06 19:00:42 +00:00
|
|
|
|
|
|
|
clean-local:
|
2004-07-13 18:35:47 +00:00
|
|
|
rm -f @CLIENT_BIN_FILENAME@
|