libreoffice-online/gtk/Makefile.am
Jan-Marek Glogowski 52eeae509b Fix gtk fake mobile application build
Just adds the missing source files to the automake file.

Still it seems unmaintained since a year and doesn't look that
mobile at all (from my expectations), but it still works AFAI
can tell.

While at it add the mobile binary to .gitignore.

Change-Id: I7db21041c6848f94fcb4058c730385b077048a9c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98553
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-07-14 16:20:38 +02:00

46 lines
1.6 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}
warning_flags = -Wall -Werror -Wno-parentheses -Wno-sign-compare -Wno-unused-variable
define_flags = -DMOBILEAPP=1
AM_CPPFLAGS = -pthread \
-DLOOLWSD_DATADIR='"@LOOLWSD_DATADIR@"' \
-DLOOLWSD_CONFIGDIR='"@LOOLWSD_CONFIGDIR@"' \
-DTOPSRCDIR='"'$(realpath ${top_srcdir})'"' \
-DGTKAPP \
${define_flags} \
${warning_flags} \
${include_paths} \
${WEBKIT_CFLAGS}
AM_LDFLAGS = -pthread ${WEBKIT_LIBS} -ldl
common_sources = \
../common/Authorization.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/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/LOOLWSD.cpp \
../wsd/RequestDetails.cpp \
../wsd/Storage.cpp \
../wsd/TileCache.cpp
mobile_SOURCES = mobile.cpp $(common_sources) $(kit_sources) $(net_sources) $(wsd_sources)