2008-06-08 22:18:52 +00:00
|
|
|
## -*- mode: makefile; tab-width: 4 -*-
|
2003-06-06 19:00:42 +00:00
|
|
|
## $Id$
|
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.incl
|
|
|
|
|
2004-10-19 06:29:26 +00:00
|
|
|
#if HAVE_NSL
|
2005-12-16 03:35:15 +00:00
|
|
|
nslprogs=boinc_cmd$(EXEEXT)
|
2004-10-19 06:29:26 +00:00
|
|
|
#endif
|
2004-10-18 01:54:28 +00:00
|
|
|
|
2006-12-13 16:04:50 +00:00
|
|
|
bin_PROGRAMS = crypt_prog$(EXEEXT) $(nslprogs)
|
2004-10-18 01:54:28 +00:00
|
|
|
|
2005-12-16 03:35:15 +00:00
|
|
|
EXTRA_PROGRAMS = md5_test$(EXEEXT) shmem_test$(EXEEXT) msg_test$(EXEEXT)
|
2005-08-04 23:35:37 +00:00
|
|
|
|
|
|
|
all-local: client-bin
|
|
|
|
|
2006-12-14 00:42:43 +00:00
|
|
|
client-bin: @CLIENT_CMD_BIN_FILENAME@
|
2005-08-04 23:35:37 +00:00
|
|
|
|
2005-07-31 23:33:12 +00:00
|
|
|
boinc_cmd_SOURCES = \
|
2005-08-01 22:44:40 +00:00
|
|
|
boinc_cmd.C \
|
|
|
|
gui_rpc_client.h
|
2005-07-31 23:33:12 +00:00
|
|
|
|
2005-02-10 22:26:31 +00:00
|
|
|
boinc_cmd_LDADD = $(lib_LIBRARIES) $(PTHREAD_LIBS)
|
2004-10-18 01:54:28 +00:00
|
|
|
|
2005-08-04 23:35:37 +00:00
|
|
|
# make a hard link to the client name.
|
2005-12-16 03:35:15 +00:00
|
|
|
@CLIENT_CMD_BIN_FILENAME@: boinc_cmd$(EXEEXT)
|
2005-08-04 23:35:37 +00:00
|
|
|
rm -f $@
|
2005-08-31 23:20:51 +00:00
|
|
|
rm -f $@.unmodified
|
|
|
|
cp $? $@.unmodified
|
2005-08-04 23:35:37 +00:00
|
|
|
@LN@ $? $@
|
|
|
|
@STRIP@ $@
|
|
|
|
|
2004-10-18 01:54:28 +00:00
|
|
|
lib_LIBRARIES = libboinc.a
|
2004-09-04 23:42:27 +00:00
|
|
|
EXTRA_DIST = *.h *.C
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2005-09-29 21:02:27 +00:00
|
|
|
if OS_DARWIN
|
2007-04-17 09:11:31 +00:00
|
|
|
mac_sources = \
|
|
|
|
mac/dyld_gdb.h \
|
|
|
|
mac/mac_backtrace.C \
|
|
|
|
mac/mac_backtrace.h \
|
|
|
|
mac/QBacktrace.c \
|
|
|
|
mac/QBacktrace.h \
|
|
|
|
mac/QCrashReport.c \
|
|
|
|
mac/QCrashReport.h \
|
|
|
|
mac/QMachOImage.c \
|
|
|
|
mac/QMachOImage.h \
|
|
|
|
mac/QMachOImageList.c \
|
|
|
|
mac/QMachOImageList.h \
|
|
|
|
mac/QSymbols.c \
|
|
|
|
mac/QSymbols.h \
|
|
|
|
mac/QTaskMemory.c \
|
|
|
|
mac/QTaskMemory.h
|
2005-09-29 21:02:27 +00:00
|
|
|
else
|
|
|
|
mac_sources =
|
|
|
|
endif
|
|
|
|
|
2005-07-31 23:33:12 +00:00
|
|
|
libboinc_a_SOURCES = \
|
|
|
|
app_ipc.C \
|
|
|
|
base64.C \
|
2008-09-04 12:50:54 +00:00
|
|
|
cert_sig.C \
|
2008-04-01 21:44:12 +00:00
|
|
|
coproc.C \
|
2005-07-31 23:33:12 +00:00
|
|
|
crypt.C \
|
|
|
|
diagnostics.C \
|
|
|
|
filesys.C \
|
2005-08-01 22:44:40 +00:00
|
|
|
gui_rpc_client.C \
|
|
|
|
gui_rpc_client_ops.C \
|
|
|
|
gui_rpc_client_print.C \
|
2005-07-31 23:33:12 +00:00
|
|
|
hostinfo.C \
|
|
|
|
md5.c \
|
|
|
|
md5_file.C \
|
|
|
|
mem_usage.C \
|
|
|
|
mfile.C \
|
|
|
|
miofile.C \
|
|
|
|
msg_log.C \
|
2005-03-07 21:19:09 +00:00
|
|
|
network.C \
|
2005-07-31 23:33:12 +00:00
|
|
|
parse.C \
|
|
|
|
prefs.C \
|
2006-08-31 18:52:26 +00:00
|
|
|
procinfo_unix.C \
|
2005-07-31 23:33:12 +00:00
|
|
|
proxy_info.C \
|
|
|
|
shmem.C \
|
2007-02-21 16:26:51 +00:00
|
|
|
str_util.C \
|
2005-09-29 21:02:27 +00:00
|
|
|
util.C \
|
2008-04-01 21:44:12 +00:00
|
|
|
unix_util.C \
|
2005-09-29 21:02:27 +00:00
|
|
|
$(mac_sources)
|
|
|
|
|
2008-05-28 01:38:39 +00:00
|
|
|
pkginclude_HEADERS = \
|
2006-08-31 21:16:36 +00:00
|
|
|
app_ipc.h \
|
|
|
|
boinc_win.h \
|
2007-01-02 22:59:05 +00:00
|
|
|
common_defs.h \
|
2008-03-10 20:40:35 +00:00
|
|
|
coproc.h \
|
2006-08-31 21:16:36 +00:00
|
|
|
crypt.h \
|
|
|
|
diagnostics.h \
|
|
|
|
error_numbers.h \
|
|
|
|
filesys.h \
|
|
|
|
gui_rpc_client.h \
|
|
|
|
hostinfo.h \
|
|
|
|
mfile.h \
|
|
|
|
miofile.h \
|
|
|
|
msg_log.h \
|
|
|
|
parse.h \
|
|
|
|
prefs.h \
|
|
|
|
proxy_info.h \
|
|
|
|
std_fixes.h \
|
2007-02-21 16:26:51 +00:00
|
|
|
str_util.h \
|
2006-08-31 21:16:36 +00:00
|
|
|
util.h
|
2003-06-06 19:00:42 +00:00
|
|
|
|
|
|
|
md5_test_SOURCES = md5_test.C md5.c md5_file.C
|
|
|
|
shmem_test_SOURCES = shmem_test.C shmem.C
|
|
|
|
msg_test_SOURCES = msg_test.C msg_queue.C
|
|
|
|
crypt_prog_SOURCES = crypt_prog.C crypt.C md5.c md5_file.C
|
2007-07-03 21:55:50 +00:00
|
|
|
crypt_prog_DEPENDENCIES =
|
2004-10-29 04:42:37 +00:00
|
|
|
crypt_prog_LDADD = $(RSA_LIBS) $(PTHREAD_LIBS)
|
2007-10-03 23:23:02 +00:00
|
|
|
|
|
|
|
clean-local:
|
|
|
|
rm -f @CLIENT_CMD_BIN_FILENAME@
|
|
|
|
rm -f @CLIENT_CMD_BIN_FILENAME@.unmodified
|