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
|
|
|
|
2016-03-17 09:24:09 -05:00
|
|
|
dist_bin_SCRIPTS = loolwsd-systemplate-setup discovery.xml
|
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
|
|
|
|
2016-02-26 00:25:13 -06:00
|
|
|
loolwsd_SOURCES = LOOLWSD.cpp ChildProcessSession.cpp MasterProcessSession.cpp TileCache.cpp Admin.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 \
|
2016-03-15 07:24:51 -05:00
|
|
|
Rectangle.hpp QueueHandler.hpp Admin.hpp Auth.hpp Storage.hpp AdminModel.hpp DocumentBroker.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
|
|
|
|
2016-03-17 09:24:09 -05:00
|
|
|
EXTRA_DIST = loolwsd.service sysconfig.loolwsd discovery.xml
|
2015-06-09 14:33:46 -05:00
|
|
|
|
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-03-07 05:08:02 -06:00
|
|
|
# After building loolbroker and loolkit, set their capabilities as
|
|
|
|
# required. Do it already after a plain 'make' to allow for testing
|
|
|
|
# without installing. When building for packaging, no need for this,
|
|
|
|
# as the capabilities won't survive packaging anyway. Instead, handle
|
|
|
|
# it when installing the RPM or Debian package.
|
|
|
|
|
|
|
|
all-local: loolbroker loolkit
|
2015-05-29 01:56:32 -05:00
|
|
|
if test "$$BUILDING_FROM_RPMBUILD" != yes; then \
|
2016-03-01 10:30:07 -06:00
|
|
|
sudo @SETCAP@ cap_fowner,cap_mknod,cap_sys_chroot=ep loolbroker; \
|
|
|
|
sudo @SETCAP@ cap_fowner,cap_mknod,cap_sys_chroot=ep loolkit; \
|
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 *
|