2018-10-17 02:26:01 -05:00
|
|
|
bin_PROGRAMS = mobile
|
|
|
|
|
2022-11-24 05:33:20 -06:00
|
|
|
include_paths = -I${top_srcdir}/common -I${top_srcdir}/net -I${top_srcdir}/kit -I${top_srcdir}/wsd -I${top_srcdir} ${ZSTD_CFLAGS}
|
2018-10-17 02:26:01 -05:00
|
|
|
|
2019-04-19 03:52:04 -05:00
|
|
|
warning_flags = -Wall -Werror -Wno-parentheses -Wno-sign-compare -Wno-unused-variable
|
2019-02-12 05:16:40 -06:00
|
|
|
define_flags = -DMOBILEAPP=1
|
2018-10-17 02:26:01 -05:00
|
|
|
|
|
|
|
AM_CPPFLAGS = -pthread \
|
2021-11-18 06:08:14 -06:00
|
|
|
-DCOOLWSD_DATADIR='"@COOLWSD_DATADIR@"' \
|
|
|
|
-DCOOLWSD_CONFIGDIR='"@COOLWSD_CONFIGDIR@"' \
|
2022-11-24 05:33:20 -06:00
|
|
|
-DDEBUG_ABSSRCDIR='"'$(realpath ${top_srcdir})'"' \
|
2018-10-17 02:26:01 -05:00
|
|
|
-DTOPSRCDIR='"'$(realpath ${top_srcdir})'"' \
|
2019-04-19 04:05:28 -05:00
|
|
|
-DGTKAPP \
|
2018-10-17 02:26:01 -05:00
|
|
|
${define_flags} \
|
|
|
|
${warning_flags} \
|
|
|
|
${include_paths} \
|
|
|
|
${WEBKIT_CFLAGS}
|
|
|
|
|
2022-11-29 04:57:08 -06:00
|
|
|
AM_LDFLAGS = -pthread ${WEBKIT_LIBS} -ldl $(ZSTD_LIBS) ${PNG_LIBS}
|
2018-10-17 02:26:01 -05:00
|
|
|
|
2020-07-10 20:04:41 -05:00
|
|
|
common_sources = \
|
|
|
|
../common/Authorization.cpp \
|
2022-11-24 05:33:20 -06:00
|
|
|
../common/ConfigUtil.cpp \
|
2018-10-17 02:26:01 -05:00
|
|
|
../common/FileUtil.cpp \
|
|
|
|
../common/Log.cpp \
|
|
|
|
../common/MessageQueue.cpp \
|
|
|
|
../common/Protocol.cpp \
|
|
|
|
../common/Session.cpp \
|
|
|
|
../common/SigUtil.cpp \
|
|
|
|
../common/SpookyV2.cpp \
|
2020-07-10 20:04:41 -05:00
|
|
|
../common/StringVector.cpp \
|
2022-11-24 05:33:20 -06:00
|
|
|
../common/TraceEvent.cpp \
|
2020-07-10 20:04:41 -05:00
|
|
|
../common/Unit.cpp \
|
2022-12-09 05:12:52 -06:00
|
|
|
../common/Util.cpp
|
2018-10-17 02:26:01 -05:00
|
|
|
|
|
|
|
kit_sources = ../kit/ChildSession.cpp \
|
|
|
|
../kit/Kit.cpp
|
|
|
|
|
|
|
|
net_sources = ../net/FakeSocket.cpp \
|
|
|
|
../net/Socket.cpp
|
|
|
|
|
|
|
|
wsd_sources = ../wsd/ClientSession.cpp \
|
|
|
|
../wsd/DocumentBroker.cpp \
|
2021-11-18 06:08:14 -06:00
|
|
|
../wsd/COOLWSD.cpp \
|
2020-07-10 20:04:41 -05:00
|
|
|
../wsd/RequestDetails.cpp \
|
2018-10-17 02:26:01 -05:00
|
|
|
../wsd/Storage.cpp \
|
2023-11-29 07:59:01 -06:00
|
|
|
../wsd/TileCache.cpp \
|
|
|
|
../wsd/coolwsd-fork.cpp
|
2018-10-17 02:26:01 -05:00
|
|
|
|
|
|
|
mobile_SOURCES = mobile.cpp $(common_sources) $(kit_sources) $(net_sources) $(wsd_sources)
|