1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval
$(call gb_Library_Library
,sofficeapp
))
12 $(eval
$(call gb_Library_set_include
,sofficeapp
,\
14 -I
$(SRCDIR
)/desktop
/inc \
15 -I
$(SRCDIR
)/desktop
/source
/inc \
16 -I
$(SRCDIR
)/desktop
/source
/deployment
/inc \
19 $(eval
$(call gb_Library_use_external
,sofficeapp
,boost_headers
))
21 $(eval
$(call gb_Library_use_custom_headers
,sofficeapp
,\
25 $(eval
$(call gb_Library_use_sdk_api
,sofficeapp
))
27 $(eval
$(call gb_Library_add_defs
,sofficeapp
,\
28 -DDESKTOP_DLLIMPLEMENTATION \
29 $(if
$(filter WNT
,$(OS
)),-DENABLE_QUICKSTART_APPLET
) \
30 $(if
$(filter MACOSX
,$(OS
)),-DENABLE_QUICKSTART_APPLET
) \
31 $(if
$(filter TRUE
,$(ENABLE_SYSTRAY_GTK
)),-DENABLE_QUICKSTART_APPLET
) \
34 $(eval
$(call gb_Library_use_libraries
,sofficeapp
,\
54 $(eval
$(call gb_Library_add_cflags
,sofficeapp
,\
59 $(eval
$(call gb_Library_add_exception_objects
,sofficeapp
,\
60 desktop
/source
/app
/app \
61 desktop
/source
/app
/appfirststart \
62 desktop
/source
/app
/appinit \
63 desktop
/source
/app
/check_ext_deps \
64 desktop
/source
/app
/cmdlineargs \
65 desktop
/source
/app
/cmdlinehelp \
66 desktop
/source
/app
/configinit \
67 desktop
/source
/app
/desktopcontext \
68 desktop
/source
/app
/desktopresid \
69 desktop
/source
/app
/dispatchwatcher \
70 desktop
/source
/app
/langselect \
71 desktop
/source
/app
/lockfile2 \
72 desktop
/source
/app
/officeipcthread \
73 desktop
/source
/app
/sofficemain \
74 desktop
/source
/app
/userinstall \
75 desktop
/source
/migration
/migration \
79 $(eval
$(call gb_Library_add_exception_objects
,sofficeapp
,\
80 desktop
/source
/lib
/init \
83 ifeq ($(ENABLE_TELEPATHY
),TRUE
)
84 $(eval
$(call gb_Library_use_libraries
,sofficeapp
,tubes
))
87 # vim: set ts=4 sw=4 et: