2018-10-17 02:26:01 -05:00
|
|
|
bin_PROGRAMS = mobile
|
|
|
|
|
|
|
|
include_paths = -I${top_srcdir}/common -I${top_srcdir}/net -I${top_srcdir}/kit -I${top_srcdir}/wsd -I${top_srcdir}
|
|
|
|
|
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 \
|
|
|
|
-DLOOLWSD_DATADIR='"@LOOLWSD_DATADIR@"' \
|
|
|
|
-DLOOLWSD_CONFIGDIR='"@LOOLWSD_CONFIGDIR@"' \
|
|
|
|
-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}
|
|
|
|
|
|
|
|
AM_LDFLAGS = -pthread ${WEBKIT_LIBS} -ldl
|
|
|
|
|
2020-07-10 20:04:41 -05:00
|
|
|
common_sources = \
|
|
|
|
../common/Authorization.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 \
|
|
|
|
../common/Unit.cpp \
|
2018-10-17 02:26:01 -05:00
|
|
|
../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/LOOLWSD.cpp \
|
2020-07-10 20:04:41 -05:00
|
|
|
../wsd/RequestDetails.cpp \
|
2018-10-17 02:26:01 -05:00
|
|
|
../wsd/Storage.cpp \
|
|
|
|
../wsd/TileCache.cpp
|
|
|
|
|
|
|
|
mobile_SOURCES = mobile.cpp $(common_sources) $(kit_sources) $(net_sources) $(wsd_sources)
|