seafile/daemon/Makefile.am

132 lines
3.3 KiB
Makefile
Raw Normal View History

2012-07-27 19:47:42 +08:00
AM_CFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" \
-DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" \
-DSEAFILE_CLIENT \
2012-07-27 19:47:42 +08:00
-I$(top_srcdir)/include \
-I$(top_srcdir)/lib \
2012-09-22 16:57:29 +08:00
-I$(top_builddir)/lib \
2012-07-27 19:47:42 +08:00
-I$(top_srcdir)/common \
@CCNET_CFLAGS@ \
@SEARPC_CFLAGS@ \
@GLIB2_CFLAGS@ \
@MSVC_CFLAGS@ \
2016-01-13 14:08:32 +08:00
@CURL_CFLAGS@ \
@BPWRAPPER_CFLAGS@ \
-Wall
2012-07-27 19:47:42 +08:00
2016-01-13 14:08:32 +08:00
bin_PROGRAMS =
2012-07-27 19:47:42 +08:00
if !SERVER_ONLY
bin_PROGRAMS += seaf-daemon
endif
proc_headers = $(addprefix processors/, \
check-tx-v3-proc.h \
2012-07-27 19:47:42 +08:00
sendfs-proc.h \
getfs-proc.h \
sendbranch-proc.h \
getcs-proc.h \
sync-repo-proc.h \
getcommit-v2-proc.h \
sendcommit-v3-proc.h \
sendcommit-v3-new-proc.h \
2013-08-11 11:10:13 +08:00
getcs-v2-proc.h \
checkbl-proc.h \
getcommit-v3-proc.h \
2014-01-16 15:07:29 +08:00
checkff-proc.h \
2014-06-26 16:27:36 +08:00
getca-proc.h \
check-protocol-proc.h \
sendcommit-v4-proc.h \
sendfs-v2-proc.h \
getfs-v2-proc.h)
2012-07-27 19:47:42 +08:00
2016-03-21 17:52:07 +08:00
proc_headers += ../common/processors/objecttx-common.h
2012-09-22 16:57:29 +08:00
2012-07-27 19:47:42 +08:00
noinst_HEADERS = \
repo-mgr.h \
transfer-mgr.h \
status.h sync-mgr.h \
wt-monitor.h \
merge.h merge-recursive.h vc-utils.h seafile-session.h \
clone-mgr.h \
wt-monitor-structs.h \
2012-09-22 16:57:29 +08:00
../common/sync-repo-common.h \
2013-08-11 11:10:13 +08:00
block-tx-client.h \
seafile-config.h \
http-tx-mgr.h \
sync-status-tree.h \
filelock-mgr.h \
set-perm.h \
change-set.h \
2012-07-27 19:47:42 +08:00
$(proc_headers)
if LINUX
wt_monitor_src = wt-monitor.c wt-monitor-linux.c wt-monitor-structs.c
2012-07-27 19:47:42 +08:00
endif
if WIN32
wt_monitor_src = wt-monitor.c wt-monitor-win32.c wt-monitor-structs.c
2012-07-27 19:47:42 +08:00
endif
if MACOS
wt_monitor_src = wt-monitor.c wt-monitor-macos.c wt-monitor-structs.c
endif
2012-07-27 19:47:42 +08:00
common_src = \
http-tx-mgr.c \
2012-07-27 19:47:42 +08:00
transfer-mgr.c \
../common/unpack-trees.c ../common/seaf-tree-walk.c \
merge.c merge-recursive.c vc-utils.c \
status.c sync-mgr.c seafile-session.c \
../common/seafile-crypt.c ../common/diff-simple.c $(wt_monitor_src) \
clone-mgr.c \
2014-07-30 17:47:35 +08:00
seafile-config.c \
2012-07-27 19:47:42 +08:00
../common/branch-mgr.c ../common/fs-mgr.c \
repo-mgr.c ../common/commit-mgr.c \
2014-07-22 15:11:09 +08:00
../common/log.c ../common/object-list.c \
2012-07-27 19:47:42 +08:00
../common/rpc-service.c \
2014-06-26 16:27:36 +08:00
../common/vc-common.c \
2012-07-27 19:47:42 +08:00
../common/seaf-utils.c \
../common/obj-store.c \
../common/obj-backend-fs.c \
../common/block-mgr.c \
../common/block-backend.c \
../common/block-backend-fs.c \
../common/mq-mgr.c \
../common/curl-init.c \
2013-08-11 11:10:13 +08:00
block-tx-client.c \
../common/block-tx-utils.c \
sync-status-tree.c \
filelock-mgr.c \
set-perm.c \
change-set.c \
processors/check-tx-v3-proc.c \
2012-07-27 19:47:42 +08:00
processors/sendfs-proc.c \
processors/getfs-proc.c \
processors/sendbranch-proc.c \
processors/getcs-proc.c \
processors/sync-repo-proc.c \
processors/getcommit-v2-proc.c \
processors/sendcommit-v3-proc.c \
processors/sendcommit-v3-new-proc.c \
2013-08-11 11:10:13 +08:00
processors/getcs-v2-proc.c \
processors/checkbl-proc.c \
processors/getcommit-v3-proc.c \
2014-01-16 15:07:29 +08:00
processors/checkff-proc.c \
2014-06-26 16:27:36 +08:00
processors/getca-proc.c \
processors/check-protocol-proc.c \
processors/sendcommit-v4-proc.c \
processors/sendfs-v2-proc.c \
processors/getfs-v2-proc.c
2012-07-27 19:47:42 +08:00
seaf_daemon_SOURCES = seaf-daemon.c $(common_src)
2012-10-13 15:30:53 +08:00
seaf_daemon_LDADD = $(top_builddir)/lib/libseafile_common.la \
2012-07-27 19:47:42 +08:00
@LIB_INTL@ \
@GLIB2_LIBS@ @GOBJECT_LIBS@ @SSL_LIBS@ @LIB_RT@ @LIB_UUID@ -lsqlite3 @LIBEVENT_LIBS@ \
2012-07-27 19:47:42 +08:00
$(top_builddir)/common/cdc/libcdc.la \
$(top_builddir)/common/index/libindex.la @LIB_WS32@ @LIB_CRYPT32@ \
2016-01-13 14:08:32 +08:00
@SEARPC_LIBS@ @CCNET_LIBS@ @GNOME_KEYRING_LIBS@ @JANSSON_LIBS@ @LIB_MAC@ @ZLIB_LIBS@ @CURL_LIBS@ @BPWRAPPER_LIBS@
2012-07-27 19:47:42 +08:00
seaf_daemon_LDFLAGS = @STATIC_COMPILE@ @CONSOLE@