894ab66d8c
MasterProcessSession class now moved to own files. Change-Id: Ic1a980295b9bb4b28ec9e205de1544fb98ad98f8 Reviewed-on: https://gerrit.libreoffice.org/20893 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Henry Castro <hcastro@collabora.com>
43 lines
1.5 KiB
Makefile
43 lines
1.5 KiB
Makefile
SUBDIRS = test
|
|
|
|
bin_PROGRAMS = loolwsd
|
|
|
|
dist_bin_SCRIPTS = loolwsd-systemplate-setup
|
|
|
|
AM_CPPFLAGS = -pthread
|
|
AM_LDFLAGS = -pthread
|
|
|
|
loolwsd_SOURCES = LOOLWSD.cpp LOOLSession.cpp MasterProcessSession.cpp MessageQueue.cpp TileCache.cpp Util.cpp LOOLProtocol.cpp
|
|
|
|
noinst_PROGRAMS = loadtest connect lokitclient
|
|
|
|
loadtest_SOURCES = LoadTest.cpp Util.cpp LOOLProtocol.cpp
|
|
|
|
connect_SOURCES = Connect.cpp Util.cpp LOOLProtocol.cpp
|
|
|
|
lokitclient_SOURCES = LOKitClient.cpp Util.cpp
|
|
|
|
noinst_HEADERS = LOKitHelper.hpp LOOLProtocol.hpp LOOLSession.hpp MasterProcessSession.hpp LOOLWSD.hpp LoadTest.hpp MessageQueue.hpp TileCache.hpp Util.hpp Png.hpp \
|
|
bundled/include/LibreOfficeKit/LibreOfficeKit.h bundled/include/LibreOfficeKit/LibreOfficeKitEnums.h \
|
|
bundled/include/LibreOfficeKit/LibreOfficeKitInit.h bundled/include/LibreOfficeKit/LibreOfficeKitTypes.h
|
|
|
|
EXTRA_DIST = loolwsd.service sysconfig.loolwsd
|
|
|
|
clean-cache:
|
|
# Intentionally don't use "*" below... Avoid risk of accidentally running rm -rf /*
|
|
test -n "@LOOLWSD_CACHEDIR@" && rm -rf "@LOOLWSD_CACHEDIR@"/[0-9a-f]
|
|
|
|
# After building loolwsd, set its capabilities to allow chroot(). Dot
|
|
# it already after a plain 'make' to allow for testing without
|
|
# installing.
|
|
all-local: loolwsd
|
|
if test "$$BUILDING_FROM_RPMBUILD" != yes; then \
|
|
if test `uname -s` = Linux; then \
|
|
sudo @SETCAP@ cap_fowner,cap_mknod,cap_sys_chroot=ep loolwsd; \
|
|
else \
|
|
sudo chown root loolwsd && sudo chmod u+s loolwsd; \
|
|
fi; \
|
|
fi
|
|
|
|
tags:
|
|
ctags --c++-kinds=+p --fields=+iaS --extra=+q -R --totals=yes *
|