1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
15 $(eval
$(call gb_StaticLibrary_StaticLibrary
,plugcon
))
17 $(eval
$(call gb_StaticLibrary_use_externals
,plugcon
,\
22 $(eval
$(call gb_StaticLibrary_set_include
,plugcon
,\
24 -I
$(SRCDIR
)/extensions
/source
/plugin
/inc \
27 $(eval
$(call gb_StaticLibrary_use_api
,plugcon
,\
32 ifeq ($(ENABLE_JAVA
),TRUE
)
33 $(eval
$(call gb_StaticLibrary_add_defs
,plugcon
,\
37 endif # ENABLE_JAVA=YES
39 ifeq ($(SYSTEM_MOZILLA
),YES
)
40 $(eval
$(call gb_StaticLibrary_add_defs
,plugcon
,\
43 endif # SYSTEM_MOZILLA=YES
45 ifeq ($(ENABLE_GTK
),TRUE
)
46 $(eval
$(call gb_StaticLibrary_add_defs
,plugcon
,\
50 $(eval
$(call gb_StaticLibrary_use_external
,plugcon
,gtk
))
52 # Gtk uses cairo, and if we build internal cairo, the linker could
53 # pick up our cairo libs before they're fully ready, causing problems
54 # (e.g. using our libpixman and system libcairo). Depend on cairo
55 # to delay build until cairo is done.
56 ifeq ($(SYSTEM_CAIRO
),)
57 $(eval
$(call gb_StaticLibrary_use_external
,plugcon
,cairo
))
59 endif # ENABLE_GTK=TRUE
61 $(eval
$(call gb_StaticLibrary_add_exception_objects
,plugcon
,\
62 extensions
/source
/plugin
/unx
/mediator \
63 extensions
/source
/plugin
/unx
/plugcon \
66 # vim:set noet sw=4 ts=4: