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
|
|
|
|
2005-12-16 03:35:15 +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
|
|
|
|
|
|
|
|
client-bin: @CLIENT_CMD_BIN_FILENAME@
|
|
|
|
|
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
|
|
|
|
mac_sources = \
|
|
|
|
mac_backtrace.C \
|
2006-02-18 03:41:16 +00:00
|
|
|
mac_backtrace.h \
|
|
|
|
MoreAddrToSym.c \
|
|
|
|
MoreAddrToSym.h \
|
|
|
|
MoreBacktrace.c \
|
|
|
|
MoreBacktrace.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 \
|
|
|
|
proxy_info.C \
|
|
|
|
shmem.C \
|
2005-09-29 21:02:27 +00:00
|
|
|
util.C \
|
|
|
|
$(mac_sources)
|
|
|
|
|
|
|
|
|
2005-04-11 07:06:52 +00:00
|
|
|
|
2005-09-29 11:56:28 +00:00
|
|
|
include_HEADERS = \
|
|
|
|
app_ipc.h \
|
|
|
|
boinc_win.h \
|
|
|
|
diagnostics.h \
|
|
|
|
filesys.h \
|
|
|
|
hostinfo.h \
|
|
|
|
mfile.h \
|
|
|
|
miofile.h \
|
|
|
|
parse.h \
|
|
|
|
prefs.h \
|
|
|
|
proxy_info.h \
|
|
|
|
util.h \
|
|
|
|
msg_log.h \
|
|
|
|
crypt.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
|
2003-06-08 00:49:48 +00:00
|
|
|
crypt_prog_DEPENDENCIES = $(LIBRSA)
|
2004-10-29 04:42:37 +00:00
|
|
|
crypt_prog_LDADD = $(RSA_LIBS) $(PTHREAD_LIBS)
|