no more gbuild loops: break early on nonexistent objects (this commit breaks multi...
[LibreOffice.git] / automation / Library_communi.mk
blob263b8f1f22dbe997de68f014ece7bc99127589e0
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,communi))
28 $(eval $(call gb_Library_add_package_headers,communi,\
29 automation_inc \
32 $(eval $(call gb_Library_add_precompiled_header,communi,automation/inc/pch/precompiled_automation.hxx))
34 $(eval $(call gb_Library_set_include,communi,\
35 $$(INCLUDE) \
36 -I$(SRCDIR)/automation/inc/pch \
37 -I$(SRCDIR)/automation/inc \
40 $(eval $(call gb_Library_add_api,communi,\
41 offapi \
42 udkapi \
45 $(eval $(call gb_Library_add_defs,communi,\
46 -DCOMMUNI_DLLIMPLEMENTATION \
49 $(eval $(call gb_Library_add_linked_libs,communi,\
50 sal \
51 simplecm \
52 svl \
53 tl \
54 vcl \
55 $(if $(findstring WNT,$(GUI)),\
56 advapi32 \
57 gdi32 \
58 ) \
61 $(eval $(call gb_Library_add_exception_objects,communi,\
62 automation/source/communi/communi \
65 # vim: set ts=4 sw=4 et: