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
|
|
|
|
|
2006-06-05 04:30:16 +00:00
|
|
|
bin_PROGRAMS = boinc_client switcher
|
2007-01-15 20:15:33 +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 \
|
2006-12-11 23:42:54 +00:00
|
|
|
auto_update.C \
|
2004-08-11 11:30:25 +00:00
|
|
|
check_state.C \
|
|
|
|
client_msgs.C \
|
|
|
|
client_state.C \
|
|
|
|
client_types.C \
|
2006-02-08 21:05:51 +00:00
|
|
|
cpu_sched.C \
|
2004-08-11 11:30:25 +00:00
|
|
|
cs_account.C \
|
|
|
|
cs_apps.C \
|
|
|
|
cs_benchmark.C \
|
|
|
|
cs_cmdline.C \
|
|
|
|
cs_files.C \
|
2007-05-02 23:08:46 +00:00
|
|
|
cs_platforms.C \
|
2004-08-11 11:30:25 +00:00
|
|
|
cs_prefs.C \
|
|
|
|
cs_scheduler.C \
|
|
|
|
cs_statefile.C \
|
|
|
|
cs_trickle.C \
|
2007-02-21 16:26:51 +00:00
|
|
|
dhrystone.C \
|
|
|
|
dhrystone2.C \
|
2004-08-11 11:30:25 +00:00
|
|
|
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 \
|
|
|
|
pers_file_xfer.C \
|
|
|
|
scheduler_op.C \
|
|
|
|
ss_logic.C \
|
2007-02-07 17:28:11 +00:00
|
|
|
time_stats.C \
|
|
|
|
whetstone.C \
|
2007-02-21 16:26:51 +00:00
|
|
|
work_fetch.C
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2004-12-09 10:23:56 +00:00
|
|
|
boinc_client_DEPENDENCIES = $(LIBRSA)
|
2007-02-07 17:28:11 +00:00
|
|
|
boinc_client_CPPFLAGS = -O3 -fomit-frame-pointer -fforce-addr -ffast-math $(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
|
|
|
|
2007-05-28 16:27:21 +00:00
|
|
|
boinc_clientdir = $(bindir)
|
|
|
|
boinc_client_DATA = ../curl/ca-bundle.crt
|
|
|
|
|
2007-02-07 17:28:11 +00:00
|
|
|
switcher_SOURCES = switcher.C
|
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@
|