DEPTH = .. topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ VERSION = 1 CFLAGS = -g -Wall @DEFS@ \ -DHOST=\"@host@\" \ -DVERSION=$(VERSION) CC = @CC@ $(CFLAGS) -I @srcdir@/../lib -I /usr/local/mysql/include -I ../api -I ../lib CLIBS = @LIBS@ CLIENT_PROG = boinc_$(VERSION)_@host@ PROGS = $(CLIENT_PROG) test_net_xfer test_http test_file_xfer all: $(PROGS) OBJS = \ app.o \ client_state.o \ client_types.o \ cs_apps.o \ cs_files.o \ cs_scheduler.o \ file_names.o \ file_xfer.o \ filesys.o \ hostinfo.o \ hostinfo_unix.o \ http.o \ log_flags.o \ net_stats.o \ net_xfer.o \ prefs.o \ scheduler_op.o \ speed_stats.o \ time_stats.o \ util.o \ ../lib/parse.o \ ../lib/md5_file.o \ ../lib/md5.o \ ../api/api.o TEST_NET_XFER_OBJS = \ filesys.o \ http.o \ log_flags.o \ ../lib/parse.o \ net_xfer.o \ util.o TEST_HTTP_OBJS = $(TEST_NET_XFER_OBJS) TEST_FX_OBJS = \ $(TEST_HTTP_OBJS) \ file_xfer.o .C.o: $(CC) -c -o $*.o $< .c.o: $(CC) -c -o $*.o $< $(CLIENT_PROG): main.o $(OBJS) $(CC) main.o $(OBJS) $(CLIBS) -o $(CLIENT_PROG) test_net_xfer: test_net_xfer.o $(TEST_NET_XFER_OBJS) $(CC) test_net_xfer.o $(TEST_NET_XFER_OBJS) $(CLIBS) -o test_net_xfer test_http: test_http.o $(TEST_HTTP_OBJS) $(CC) test_http.o $(TEST_HTTP_OBJS) $(CLIBS) -o test_http test_file_xfer: test_file_xfer.o $(TEST_FX_OBJS) $(CC) test_file_xfer.o $(TEST_FX_OBJS) $(CLIBS) -o test_file_xfer tar: tar cf boinc_client.tar *.C *.h Makefile.in clean: rm -f *.o $(PROGS) core dependencies Makefile config.cache install: all -mkdir -p /usr/local/boinc/client cp test_net_xfer /usr/local/boinc/client/test_net_xfer cp test_http /usr/local/boinc/client/test_http cp test_file_xfer /usr/local/boinc/client/test_file_xfer cp $(CLIENT_PROG) /usr/local/boinc/client/$(CLIENT_PROG) dependencies: @srcdir@/*.C $(CC) -M @srcdir@/*.C > dependencies include dependencies