boinc/lib/Makefile.am

115 lines
2.1 KiB
Makefile
Raw Normal View History

## -*- mode: makefile; tab-width: 4 -*-
## $Id$
include $(top_srcdir)/Makefile.incl
#if HAVE_NSL
nslprogs=boinc_cmd$(EXEEXT)
#endif
bin_PROGRAMS = crypt_prog$(EXEEXT) $(nslprogs)
EXTRA_PROGRAMS = md5_test$(EXEEXT) shmem_test$(EXEEXT) msg_test$(EXEEXT)
all-local: client-bin
client-bin: @CLIENT_CMD_BIN_FILENAME@
boinc_cmd_SOURCES = \
boinc_cmd.C \
gui_rpc_client.h
boinc_cmd_LDADD = $(lib_LIBRARIES) $(PTHREAD_LIBS)
# make a hard link to the client name.
@CLIENT_CMD_BIN_FILENAME@: boinc_cmd$(EXEEXT)
rm -f $@
rm -f $@.unmodified
cp $? $@.unmodified
@LN@ $? $@
@STRIP@ $@
lib_LIBRARIES = libboinc.a
EXTRA_DIST = *.h *.C
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
else
mac_sources =
endif
libboinc_a_SOURCES = \
app_ipc.C \
base64.C \
coproc.C \
crypt.C \
diagnostics.C \
filesys.C \
gui_rpc_client.C \
gui_rpc_client_ops.C \
gui_rpc_client_print.C \
hostinfo.C \
md5.c \
md5_file.C \
mem_usage.C \
mfile.C \
miofile.C \
msg_log.C \
network.C \
parse.C \
prefs.C \
procinfo_unix.C \
proxy_info.C \
shmem.C \
str_util.C \
util.C \
unix_util.C \
$(mac_sources)
pkginclude_HEADERS = \
app_ipc.h \
boinc_win.h \
common_defs.h \
coproc.h \
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 \
str_util.h \
util.h
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
crypt_prog_DEPENDENCIES =
crypt_prog_LDADD = $(RSA_LIBS) $(PTHREAD_LIBS)
clean-local:
rm -f @CLIENT_CMD_BIN_FILENAME@
rm -f @CLIENT_CMD_BIN_FILENAME@.unmodified