libreoffice-online/loolwsd/Makefile.am

28 lines
1 KiB
Text
Raw Normal View History

2015-03-09 04:11:15 -05:00
bin_PROGRAMS = loolwsd
loolwsd_SOURCES = LOOLWSD.cpp LOOLSession.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
2015-05-15 05:37:48 -05:00
noinst_HEADERS = LOKitHelper.hpp LOOLProtocol.hpp LOOLSession.hpp LOOLWSD.hpp LoadTest.hpp TileCache.hpp Util.hpp \
bundled/include/LibreOfficeKit/LibreOfficeKit.h bundled/include/LibreOfficeKit/LibreOfficeKitEnums.h \
bundled/include/LibreOfficeKit/LibreOfficeKitInit.h bundled/include/LibreOfficeKit/LibreOfficeKitTypes.h
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()
all-local: loolwsd
if test `uname -s` = Linux; then \
sudo @SETCAP@ cap_sys_chroot=ep loolwsd; \
else \
sudo chown root loolwsd && sudo chmod u+s loolwsd; \
fi