libreoffice-online/gtk/Makefile.am
Ashod Nakashian 5a82c36680 wsd: move ClientRequestDispatcher to own file
This moves ClientRequestDispatcher and all
its direct exclusive dependencies to its
own file and adjusts formatting.

No functional changes were performed,
although namespaces were restored and
other minor changes were done for
consistency.

The resulting file is still rather large
at around 2000 lines, but that makes
COOLWSD.cpp smaller by about 30% now.

Change-Id: I59bcd997ad08702ce7029c6791095e75ad9b23b0
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-02-21 20:13:39 -05:00

51 lines
1.8 KiB
Makefile

bin_PROGRAMS = mobile
include_paths = -I${top_srcdir}/common -I${top_srcdir}/net -I${top_srcdir}/kit -I${top_srcdir}/wsd -I${top_srcdir} ${ZSTD_CFLAGS}
warning_flags = -Wall -Werror -Wno-parentheses -Wno-sign-compare -Wno-unused-variable
define_flags = -DMOBILEAPP=1
AM_CPPFLAGS = -pthread \
-DCOOLWSD_DATADIR='"@COOLWSD_DATADIR@"' \
-DCOOLWSD_CONFIGDIR='"@COOLWSD_CONFIGDIR@"' \
-DDEBUG_ABSSRCDIR='"'$(realpath ${top_srcdir})'"' \
-DTOPSRCDIR='"'$(realpath ${top_srcdir})'"' \
-DGTKAPP \
${define_flags} \
${warning_flags} \
${include_paths} \
${WEBKIT_CFLAGS}
AM_LDFLAGS = -pthread ${WEBKIT_LIBS} -ldl $(ZSTD_LIBS) ${PNG_LIBS}
common_sources = \
../common/Authorization.cpp \
../common/ConfigUtil.cpp \
../common/FileUtil.cpp \
../common/Log.cpp \
../common/MessageQueue.cpp \
../common/Protocol.cpp \
../common/Session.cpp \
../common/SigUtil.cpp \
../common/SpookyV2.cpp \
../common/StringVector.cpp \
../common/TraceEvent.cpp \
../common/Unit.cpp \
../common/Util.cpp
kit_sources = ../kit/ChildSession.cpp \
../kit/Kit.cpp
net_sources = ../net/FakeSocket.cpp \
../net/Socket.cpp
wsd_sources = ../wsd/ClientSession.cpp \
../wsd/DocumentBroker.cpp \
../wsd/COOLWSD.cpp \
../wsd/ClientRequestDispatcher.cpp \
../wsd/RequestDetails.cpp \
../wsd/Storage.cpp \
../wsd/TileCache.cpp \
../wsd/coolwsd-fork.cpp
mobile_SOURCES = mobile.cpp $(common_sources) $(kit_sources) $(net_sources) $(wsd_sources)