dr78: #i26822# remove draw shell if selected object is removed by undo
[LibreOffice.git] / desktop / Library_sofficeapp.mk
blobabc63bfab679c9f96611e7aa2c3a79cea269396a
1 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
3 # The contents of this file are subject to the Mozilla Public License Version
4 # 1.1 (the "License"); you may not use this file except in compliance with
5 # the License or as specified alternatively below. You may obtain a copy of
6 # the License at http://www.mozilla.org/MPL/
8 # Software distributed under the License is distributed on an "AS IS" basis,
9 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
10 # for the specific language governing rights and limitations under the
11 # License.
13 # Major Contributor(s):
14 # Copyright (C) 2011 David Tardon, Red Hat Inc. <dtardon@redhat.com> (initial developer)
16 # All Rights Reserved.
18 # For minor contributions see the git repository.
20 # Alternatively, the contents of this file may be used under the terms of
21 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
22 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
23 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
24 # instead of those above.
26 $(eval $(call gb_Library_Library,sofficeapp))
28 $(eval $(call gb_Library_set_include,sofficeapp,\
29 $$(INCLUDE) \
30 -I$(SRCDIR)/desktop/inc \
31 -I$(SRCDIR)/desktop/source/inc \
34 $(eval $(call gb_Library_add_api,sofficeapp,\
35 offapi \
36 udkapi \
39 $(eval $(call gb_Library_add_defs,sofficeapp,\
40 -DDESKTOP_DLLIMPLEMENTATION \
41 $(if $(filter TRUE,$(ENABLE_GNOMEVFS)),-DGNOME_VFS_ENABLED) \
42 $(if $(filter WNT,$(GUI)),-DENABLE_QUICKSTART_APPLET) \
43 $(if $(filter aqua,$(GUIBASE)),-DENABLE_QUICKSTART_APPLET) \
44 $(if $(filter TRUE,$(ENABLE_SYSTRAY_GTK)),-DENABLE_QUICKSTART_APPLET) \
47 $(eval $(call gb_Library_set_include,sofficeapp,\
48 $$(INCLUDE) \
51 $(eval $(call gb_Library_add_linked_libs,sofficeapp,\
52 comphelper \
53 cppu \
54 cppuhelper \
55 deploymentmisc \
56 i18nisolang1 \
57 sal \
58 sfx \
59 svl \
60 svt \
61 tk \
62 tl \
63 ucbhelper \
64 utl \
65 vcl \
68 $(eval $(call gb_Library_add_exception_objects,sofficeapp,\
69 desktop/source/app/app \
70 desktop/source/app/appfirststart \
71 desktop/source/app/appinit \
72 desktop/source/app/appsys \
73 desktop/source/app/check_ext_deps \
74 desktop/source/app/cmdlineargs \
75 desktop/source/app/cmdlinehelp \
76 desktop/source/app/configinit \
77 desktop/source/app/desktopcontext \
78 desktop/source/app/desktopresid \
79 desktop/source/app/dispatchwatcher \
80 desktop/source/app/langselect \
81 desktop/source/app/lockfile \
82 desktop/source/app/lockfile2 \
83 desktop/source/app/officeipcthread \
84 desktop/source/app/sofficemain \
85 desktop/source/app/userinstall \
86 desktop/source/migration/migration \
89 $(eval $(call gb_Library_add_cobjects,sofficeapp,\
90 desktop/source/app/copyright_ascii_ooo \
91 desktop/source/app/main \
94 # vim: set ts=4 sw=4 et: