2010-01-29 15:50:47 +00:00
|
|
|
# makefile for client simulator
|
|
|
|
# DO MAKE CLEAN IN CLIENT/ and LIB/ FIRST
|
|
|
|
|
2007-02-15 21:11:05 +00:00
|
|
|
CXXFLAGS = -g -DSIM \
|
|
|
|
-I ../lib \
|
|
|
|
-I ..
|
|
|
|
|
2007-04-03 19:35:33 +00:00
|
|
|
OBJS = \
|
2010-09-24 20:02:42 +00:00
|
|
|
acct_mgr.o \
|
|
|
|
acct_setup.o \
|
2007-04-03 19:35:33 +00:00
|
|
|
app.o \
|
2007-02-16 05:04:08 +00:00
|
|
|
client_msgs.o \
|
2010-09-24 20:02:42 +00:00
|
|
|
client_state.o \
|
|
|
|
client_types.o \
|
2010-10-08 23:18:12 +00:00
|
|
|
coproc_detect.o \
|
2010-09-24 20:02:42 +00:00
|
|
|
cpu_sched.o \
|
|
|
|
cs_account.o \
|
2007-04-03 19:35:33 +00:00
|
|
|
cs_apps.o \
|
2010-09-24 20:02:42 +00:00
|
|
|
cs_files.o \
|
|
|
|
cs_notice.o \
|
|
|
|
cs_platforms.o \
|
|
|
|
cs_prefs.o \
|
|
|
|
cs_proxy.o \
|
2008-12-31 23:07:59 +00:00
|
|
|
cs_scheduler.o \
|
2010-09-24 20:02:42 +00:00
|
|
|
cs_statefile.o \
|
2011-09-26 04:28:42 +00:00
|
|
|
cs_trickle.o \
|
2010-10-19 15:48:33 +00:00
|
|
|
current_version.o \
|
2010-09-24 20:02:42 +00:00
|
|
|
file_names.o \
|
|
|
|
file_xfer.o \
|
|
|
|
gui_http.o \
|
|
|
|
http_curl.o \
|
2007-02-16 05:04:08 +00:00
|
|
|
log_flags.o \
|
2010-09-24 20:02:42 +00:00
|
|
|
net_stats.o \
|
|
|
|
pers_file_xfer.o \
|
2008-12-31 23:07:59 +00:00
|
|
|
rr_sim.o \
|
2010-09-24 20:02:42 +00:00
|
|
|
sandbox.o \
|
2010-10-20 23:45:49 +00:00
|
|
|
scheduler_op.o \
|
2007-04-03 19:35:33 +00:00
|
|
|
sim.o \
|
2007-05-08 01:55:28 +00:00
|
|
|
sim_util.o \
|
2007-02-21 16:26:51 +00:00
|
|
|
time_stats.o \
|
|
|
|
work_fetch.o \
|
2008-12-30 19:01:25 +00:00
|
|
|
../sched/edf_sim.o \
|
2011-06-25 17:58:37 +00:00
|
|
|
../lib/cc_config.o \
|
2010-09-24 20:02:42 +00:00
|
|
|
../lib/cert_sig.o \
|
2008-05-08 17:48:40 +00:00
|
|
|
../lib/coproc.o \
|
2010-09-24 20:02:42 +00:00
|
|
|
../lib/crypt.o \
|
|
|
|
../lib/filesys.o \
|
|
|
|
../lib/hostinfo.o \
|
|
|
|
../lib/md5.o \
|
|
|
|
../lib/md5_file.o \
|
2007-02-16 05:04:08 +00:00
|
|
|
../lib/mfile.o \
|
2007-02-21 16:26:51 +00:00
|
|
|
../lib/miofile.o \
|
2009-09-10 20:30:46 +00:00
|
|
|
../lib/msg_log.o \
|
2010-09-24 20:02:42 +00:00
|
|
|
../lib/network.o \
|
|
|
|
../lib/notice.o \
|
2007-02-21 16:26:51 +00:00
|
|
|
../lib/parse.o \
|
|
|
|
../lib/prefs.o \
|
2010-09-24 20:02:42 +00:00
|
|
|
../lib/proxy_info.o \
|
|
|
|
../lib/shmem.o \
|
|
|
|
../lib/str_util.o \
|
|
|
|
../lib/url.o \
|
|
|
|
../lib/util.o
|
2007-02-15 21:11:05 +00:00
|
|
|
|
|
|
|
all: sim
|
|
|
|
|
2010-04-28 16:22:06 +00:00
|
|
|
sim: $(OBJS) sim.h
|
2010-09-24 20:02:42 +00:00
|
|
|
$(CXX) $(CXXFLAGS) $(OBJS) -o sim -ldl -lcurl
|