2015-10-21 05:01:47 -05:00
|
|
|
SUBDIRS = test
|
|
|
|
|
2015-12-23 08:55:56 -06:00
|
|
|
bin_PROGRAMS = loolwsd loolbroker loolkit loolmap
|
2015-03-09 04:11:15 -05:00
|
|
|
|
2015-05-19 05:58:53 -05:00
|
|
|
dist_bin_SCRIPTS = loolwsd-systemplate-setup
|
2015-05-19 05:20:16 -05:00
|
|
|
|
2015-12-17 11:49:34 -06:00
|
|
|
AM_CPPFLAGS = -pthread
|
|
|
|
AM_LDFLAGS = -pthread
|
|
|
|
|
2015-12-19 16:20:04 -06:00
|
|
|
shared_sources = LOOLProtocol.cpp LOOLSession.cpp MessageQueue.cpp Util.cpp
|
2015-12-19 14:55:19 -06:00
|
|
|
|
2015-12-19 16:20:04 -06:00
|
|
|
loolwsd_SOURCES = LOOLWSD.cpp ChildProcessSession.cpp MasterProcessSession.cpp TileCache.cpp $(shared_sources)
|
2015-03-17 18:56:15 -05:00
|
|
|
|
2015-03-28 06:22:32 -05:00
|
|
|
noinst_PROGRAMS = loadtest connect lokitclient
|
2015-03-26 09:49:07 -05:00
|
|
|
|
|
|
|
loadtest_SOURCES = LoadTest.cpp Util.cpp LOOLProtocol.cpp
|
2015-03-16 05:25:47 -05:00
|
|
|
|
2015-04-14 09:50:38 -05:00
|
|
|
connect_SOURCES = Connect.cpp Util.cpp LOOLProtocol.cpp
|
2015-03-27 09:23:20 -05:00
|
|
|
|
2015-03-28 06:22:32 -05:00
|
|
|
lokitclient_SOURCES = LOKitClient.cpp Util.cpp
|
|
|
|
|
2015-12-19 16:20:04 -06:00
|
|
|
broker_shared_sources = ChildProcessSession.cpp $(shared_sources)
|
2015-12-19 14:55:19 -06:00
|
|
|
|
|
|
|
loolkit_SOURCES = LOOLKit.cpp $(broker_shared_sources)
|
|
|
|
|
2015-12-19 16:20:04 -06:00
|
|
|
loolbroker_SOURCES = LOOLBroker.cpp $(broker_shared_sources)
|
|
|
|
|
2015-12-23 08:55:56 -06:00
|
|
|
loolmap_SOURCES = loolmap.c
|
|
|
|
|
2015-12-27 16:23:43 -06:00
|
|
|
noinst_HEADERS = LOKitHelper.hpp LOOLProtocol.hpp LOOLSession.hpp MasterProcessSession.hpp ChildProcessSession.hpp \
|
2015-12-29 19:34:53 -06:00
|
|
|
LOOLWSD.hpp LoadTest.hpp MessageQueue.hpp TileCache.hpp Util.hpp Png.hpp Common.hpp Capabilities.hpp \
|
2015-06-09 11:29:17 -05:00
|
|
|
bundled/include/LibreOfficeKit/LibreOfficeKit.h bundled/include/LibreOfficeKit/LibreOfficeKitEnums.h \
|
|
|
|
bundled/include/LibreOfficeKit/LibreOfficeKitInit.h bundled/include/LibreOfficeKit/LibreOfficeKitTypes.h
|
2015-05-15 05:37:48 -05:00
|
|
|
|
2015-06-09 14:33:46 -05:00
|
|
|
EXTRA_DIST = loolwsd.service sysconfig.loolwsd
|
|
|
|
|
2015-03-17 18:56:15 -05:00
|
|
|
clean-cache:
|
|
|
|
# Intentionally don't use "*" below... Avoid risk of accidentally running rm -rf /*
|
2015-03-27 07:52:30 -05:00
|
|
|
test -n "@LOOLWSD_CACHEDIR@" && rm -rf "@LOOLWSD_CACHEDIR@"/[0-9a-f]
|
2015-04-08 09:22:42 -05:00
|
|
|
|
2016-01-05 02:09:56 -06:00
|
|
|
# After building loolwsd, set its capabilities to allow chroot(). Do
|
2015-05-19 05:20:16 -05:00
|
|
|
# it already after a plain 'make' to allow for testing without
|
|
|
|
# installing.
|
2016-01-05 02:09:56 -06:00
|
|
|
all-local: loolwsd loolbroker
|
2015-05-29 01:56:32 -05:00
|
|
|
if test "$$BUILDING_FROM_RPMBUILD" != yes; then \
|
|
|
|
if test `uname -s` = Linux; then \
|
2015-07-06 12:35:50 -05:00
|
|
|
sudo @SETCAP@ cap_fowner,cap_mknod,cap_sys_chroot=ep loolwsd; \
|
2015-12-19 16:20:04 -06:00
|
|
|
sudo @SETCAP@ cap_fowner,cap_mknod,cap_sys_chroot=ep loolbroker; \
|
2015-05-29 01:56:32 -05:00
|
|
|
else \
|
|
|
|
sudo chown root loolwsd && sudo chmod u+s loolwsd; \
|
2015-12-19 16:20:04 -06:00
|
|
|
sudo chown root loolbroker && sudo chmod u+s loolbroker; \
|
2015-05-29 01:56:32 -05:00
|
|
|
fi; \
|
2015-05-04 12:55:35 -05:00
|
|
|
fi
|
2015-09-29 04:15:02 -05:00
|
|
|
|
|
|
|
tags:
|
2015-10-20 07:17:58 -05:00
|
|
|
ctags --c++-kinds=+p --fields=+iaS --extra=+q -R --totals=yes *
|