libreoffice-online/loolwsd/Makefile.am
Miklos Vajna 024d498c10 loolwsd: fix missing loolbroker dependency
Change-Id: Ia47eb8c055cbab68f42e847d4ab9cd86f1fa3691
2016-01-05 09:10:28 +01:00

56 lines
2 KiB
Makefile

SUBDIRS = test
bin_PROGRAMS = loolwsd loolbroker loolkit loolmap
dist_bin_SCRIPTS = loolwsd-systemplate-setup
AM_CPPFLAGS = -pthread
AM_LDFLAGS = -pthread
shared_sources = LOOLProtocol.cpp LOOLSession.cpp MessageQueue.cpp Util.cpp
loolwsd_SOURCES = LOOLWSD.cpp ChildProcessSession.cpp MasterProcessSession.cpp TileCache.cpp $(shared_sources)
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
broker_shared_sources = ChildProcessSession.cpp $(shared_sources)
loolkit_SOURCES = LOOLKit.cpp $(broker_shared_sources)
loolbroker_SOURCES = LOOLBroker.cpp $(broker_shared_sources)
loolmap_SOURCES = loolmap.c
noinst_HEADERS = LOKitHelper.hpp LOOLProtocol.hpp LOOLSession.hpp MasterProcessSession.hpp ChildProcessSession.hpp \
LOOLWSD.hpp LoadTest.hpp MessageQueue.hpp TileCache.hpp Util.hpp Png.hpp Common.hpp Capabilities.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(). Do
# it already after a plain 'make' to allow for testing without
# installing.
all-local: loolwsd loolbroker
if test "$$BUILDING_FROM_RPMBUILD" != yes; then \
if test `uname -s` = Linux; then \
sudo @SETCAP@ cap_fowner,cap_mknod,cap_sys_chroot=ep loolwsd; \
sudo @SETCAP@ cap_fowner,cap_mknod,cap_sys_chroot=ep loolbroker; \
else \
sudo chown root loolwsd && sudo chmod u+s loolwsd; \
sudo chown root loolbroker && sudo chmod u+s loolbroker; \
fi; \
fi
tags:
ctags --c++-kinds=+p --fields=+iaS --extra=+q -R --totals=yes *