2016-08-10 14:53:33 +08:00
|
|
|
SUBDIRS = gc
|
|
|
|
|
|
|
|
AM_CFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" \
|
|
|
|
-DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" \
|
|
|
|
-DSEAFILE_SERVER \
|
|
|
|
-DFULL_FEATURE \
|
|
|
|
-I$(top_srcdir)/include \
|
|
|
|
-I$(top_srcdir)/lib \
|
|
|
|
-I$(top_builddir)/lib \
|
|
|
|
-I$(top_srcdir)/common \
|
|
|
|
@SEARPC_CFLAGS@ \
|
|
|
|
@GLIB2_CFLAGS@ \
|
|
|
|
@MSVC_CFLAGS@ \
|
|
|
|
@LIBARCHIVE_CFLAGS@ \
|
2019-06-18 18:10:28 +08:00
|
|
|
@MYSQL_CFLAGS@ \
|
2016-08-10 14:53:33 +08:00
|
|
|
-Wall
|
|
|
|
|
|
|
|
bin_PROGRAMS = seaf-server
|
|
|
|
|
2019-06-27 22:30:31 -07:00
|
|
|
noinst_HEADERS = web-accesstoken-mgr.h seafile-session.h \
|
2016-08-10 14:53:33 +08:00
|
|
|
repo-mgr.h \
|
|
|
|
share-mgr.h \
|
|
|
|
passwd-mgr.h \
|
|
|
|
quota-mgr.h \
|
|
|
|
size-sched.h \
|
|
|
|
copy-mgr.h \
|
|
|
|
http-server.h \
|
|
|
|
upload-file.h \
|
|
|
|
access-file.h \
|
|
|
|
pack-dir.h \
|
|
|
|
fileserver-config.h \
|
|
|
|
http-status-codes.h \
|
|
|
|
zip-download-mgr.h \
|
2020-04-15 10:21:04 +08:00
|
|
|
../common/user-mgr.h \
|
|
|
|
../common/group-mgr.h \
|
|
|
|
../common/org-mgr.h \
|
2019-06-27 22:30:31 -07:00
|
|
|
index-blocks-mgr.h
|
2016-08-10 14:53:33 +08:00
|
|
|
|
|
|
|
seaf_server_SOURCES = \
|
|
|
|
seaf-server.c \
|
2019-06-27 22:30:31 -07:00
|
|
|
web-accesstoken-mgr.c seafile-session.c \
|
2016-08-10 14:53:33 +08:00
|
|
|
zip-download-mgr.c \
|
2018-02-06 14:37:27 +08:00
|
|
|
index-blocks-mgr.c \
|
2016-08-10 14:53:33 +08:00
|
|
|
share-mgr.c \
|
|
|
|
passwd-mgr.c \
|
|
|
|
quota-mgr.c \
|
|
|
|
repo-op.c \
|
|
|
|
repo-perm.c \
|
|
|
|
size-sched.c \
|
|
|
|
virtual-repo.c \
|
|
|
|
copy-mgr.c \
|
|
|
|
http-server.c \
|
|
|
|
upload-file.c \
|
|
|
|
access-file.c \
|
|
|
|
pack-dir.c \
|
|
|
|
fileserver-config.c \
|
|
|
|
../common/seaf-db.c \
|
|
|
|
../common/branch-mgr.c ../common/fs-mgr.c \
|
2017-09-07 17:01:56 +08:00
|
|
|
../common/config-mgr.c \
|
2016-08-10 14:53:33 +08:00
|
|
|
repo-mgr.c ../common/commit-mgr.c \
|
|
|
|
../common/log.c ../common/object-list.c \
|
|
|
|
../common/rpc-service.c \
|
|
|
|
../common/vc-common.c \
|
|
|
|
../common/seaf-utils.c \
|
|
|
|
../common/obj-store.c \
|
|
|
|
../common/obj-backend-fs.c \
|
|
|
|
../common/seafile-crypt.c \
|
|
|
|
../common/diff-simple.c \
|
|
|
|
../common/mq-mgr.c \
|
2020-04-15 10:21:04 +08:00
|
|
|
../common/user-mgr.c \
|
|
|
|
../common/group-mgr.c \
|
|
|
|
../common/org-mgr.c \
|
2016-08-10 14:53:33 +08:00
|
|
|
../common/block-mgr.c \
|
|
|
|
../common/block-backend.c \
|
|
|
|
../common/block-backend-fs.c \
|
|
|
|
../common/merge-new.c \
|
2019-06-27 22:30:31 -07:00
|
|
|
../common/block-tx-utils.c
|
2016-08-10 14:53:33 +08:00
|
|
|
|
2020-05-09 16:31:47 +08:00
|
|
|
seaf_server_LDADD = $(top_builddir)/lib/libseafile_common.la \
|
2016-08-10 14:53:33 +08:00
|
|
|
@GLIB2_LIBS@ @GOBJECT_LIBS@ @SSL_LIBS@ @LIB_RT@ @LIB_UUID@ -lsqlite3 @LIBEVENT_LIBS@ -levhtp \
|
|
|
|
$(top_builddir)/common/cdc/libcdc.la \
|
|
|
|
@SEARPC_LIBS@ @JANSSON_LIBS@ ${LIB_WS32} @ZLIB_LIBS@ \
|
|
|
|
@LIBARCHIVE_LIBS@ @LIB_ICONV@ \
|
2020-04-15 10:21:04 +08:00
|
|
|
@LDAP_LIBS@ @MYSQL_LIBS@ -lsqlite3
|