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-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 \
|
|
|
|
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 \
|
|
|
|
$(mac_sources)
|
|
|
|
|
2006-08-31 21:16:36 +00:00
|
|
|
include_HEADERS = \
|
|
|
|
app_ipc.h \
|
|
|
|
boinc_win.h \
|
2007-01-02 22:59:05 +00:00
|
|
|
common_defs.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
|
|
|
|
2004-10-18 01:54:28 +00:00
|
|
|
## install header-files with prefix-subdir BOINC/ to avoid name-conflicts
|
|
|
|
includedir = ${prefix}/include/BOINC/
|
|
|
|
|
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
|