libreoffice-online/loolwsd/Makefile.am
Tor Lillqvist 3abb6d0307 Now the chroot etc re-work is getting closer to working
Works now for the trivial 'connect' test program. Still need to add
pre-spawning of a new child process as soon as an existing one from the pool
has been taking into use. And need to test with the actual JS client.
2015-04-22 21:44:17 +03:00

21 lines
641 B
Makefile

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
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()
SETCAP: loolwsd
sudo /sbin/setcap cap_sys_chroot=ep loolwsd
bin_PROGRAMS += SETCAP