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 = \
|
2008-09-26 18:20:24 +00:00
|
|
|
boinc_cmd.cpp \
|
2005-08-01 22:44:40 +00:00
|
|
|
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
|
2008-09-26 18:20:24 +00:00
|
|
|
EXTRA_DIST = *.h *.cpp
|
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 \
|
2008-09-26 18:20:24 +00:00
|
|
|
mac/mac_backtrace.cpp \
|
2007-04-17 09:11:31 +00:00
|
|
|
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 = \
|
2008-09-26 18:20:24 +00:00
|
|
|
app_ipc.cpp \
|
|
|
|
base64.cpp \
|
|
|
|
cert_sig.cpp \
|
|
|
|
coproc.cpp \
|
|
|
|
crypt.cpp \
|
|
|
|
diagnostics.cpp \
|
|
|
|
filesys.cpp \
|
|
|
|
gui_rpc_client.cpp \
|
|
|
|
gui_rpc_client_ops.cpp \
|
|
|
|
gui_rpc_client_print.cpp \
|
|
|
|
hostinfo.cpp \
|
2008-11-05 20:27:04 +00:00
|
|
|
mac_address.cpp \
|
2005-07-31 23:33:12 +00:00
|
|
|
md5.c \
|
2008-09-26 18:20:24 +00:00
|
|
|
md5_file.cpp \
|
|
|
|
mem_usage.cpp \
|
|
|
|
mfile.cpp \
|
|
|
|
miofile.cpp \
|
|
|
|
msg_log.cpp \
|
|
|
|
network.cpp \
|
|
|
|
parse.cpp \
|
|
|
|
prefs.cpp \
|
|
|
|
procinfo_unix.cpp \
|
|
|
|
proxy_info.cpp \
|
|
|
|
shmem.cpp \
|
|
|
|
str_util.cpp \
|
|
|
|
util.cpp \
|
|
|
|
unix_util.cpp \
|
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 \
|
2008-09-09 19:10:42 +00:00
|
|
|
boinc_fcgi.h \
|
|
|
|
common_defs.h \
|
|
|
|
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 \
|
2008-11-05 20:27:04 +00:00
|
|
|
mac_address.h \
|
2006-08-31 21:16:36 +00:00
|
|
|
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
|
|
|
|
2008-09-26 18:20:24 +00:00
|
|
|
md5_test_SOURCES = md5_test.cpp md5.c md5_file.cpp
|
|
|
|
shmem_test_SOURCES = shmem_test.cpp shmem.cpp
|
|
|
|
msg_test_SOURCES = msg_test.cpp msg_queue.cpp
|
|
|
|
crypt_prog_SOURCES = crypt_prog.cpp crypt.cpp md5.c md5_file.cpp filesys.cpp
|
2007-07-03 21:55:50 +00:00
|
|
|
crypt_prog_DEPENDENCIES =
|
2008-09-04 13:26:35 +00:00
|
|
|
crypt_prog_LDADD = $(lib_LIBRARIES) $(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
|