tdf#151548 ContentControls: improve ListEntry::setValue
[LibreOffice.git] / vcl / Library_vclplug_gen.mk
blobca29dca1bc9d43430fb9bf79cf22775b3dcd48f4
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/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval $(call gb_Library_Library,vclplug_gen))
22 $(eval $(call gb_Library_set_plugin_for,vclplug_gen,vcl))
24 $(eval $(call gb_Library_set_include,vclplug_gen,\
25 $$(INCLUDE) \
26 -I$(SRCDIR)/vcl/inc \
29 $(eval $(call gb_Library_use_custom_headers,vclplug_gen,\
30 officecfg/registry \
33 $(eval $(call gb_Library_use_sdk_api,vclplug_gen))
35 $(eval $(call gb_Library_use_common_precompiled_header,vclplug_gen))
37 $(eval $(call gb_Library_use_libraries,vclplug_gen,\
38 tl \
39 utl \
40 sot \
41 ucbhelper \
42 basegfx \
43 comphelper \
44 cppuhelper \
45 i18nlangtag \
46 i18nutil \
47 $(if $(ENABLE_JAVA), \
48 jvmaccess) \
49 cppu \
50 sal \
53 $(eval $(call gb_Library_use_externals,vclplug_gen,\
54 boost_headers \
55 cairo \
56 graphite \
57 epoxy \
58 expat \
59 glm_headers \
60 harfbuzz \
61 icu_headers \
62 icuuc \
63 valgrind \
64 Xrender \
65 $(if $(filter SKIA,$(BUILD_TYPE)), \
66 skia \
67 fontconfig \
68 ) \
71 $(eval $(call gb_Library_add_libs,vclplug_gen,\
72 -lX11 \
73 -lXext \
74 -lSM \
75 -lICE \
78 $(eval $(call gb_Library_add_exception_objects,vclplug_gen,\
79 vcl/unx/generic/app/i18n_cb \
80 vcl/unx/generic/app/i18n_ic \
81 vcl/unx/generic/app/i18n_im \
82 vcl/unx/generic/app/i18n_keysym \
83 vcl/unx/generic/app/i18n_xkb \
84 vcl/unx/generic/app/keysymnames \
85 vcl/unx/generic/app/randrwrapper \
86 vcl/unx/generic/app/saldata \
87 vcl/unx/generic/app/saldisp \
88 vcl/unx/generic/app/salinst \
89 vcl/unx/generic/app/saltimer \
90 vcl/unx/generic/app/sm \
91 vcl/unx/generic/app/wmadaptor \
92 vcl/unx/generic/dtrans/bmp \
93 vcl/unx/generic/dtrans/config \
94 vcl/unx/generic/dtrans/X11_clipboard \
95 vcl/unx/generic/dtrans/X11_dndcontext \
96 vcl/unx/generic/dtrans/X11_droptarget \
97 vcl/unx/generic/dtrans/X11_selection \
98 vcl/unx/generic/dtrans/X11_service \
99 vcl/unx/generic/dtrans/X11_transferable \
100 vcl/unx/generic/gdi/cairo_xlib_cairo \
101 vcl/unx/generic/gdi/x11cairotextrender \
102 vcl/unx/generic/gdi/X11CairoSalGraphicsImpl \
103 vcl/unx/generic/gdi/gdiimpl \
104 vcl/unx/generic/gdi/salbmp \
105 vcl/unx/generic/gdi/salgdi2 \
106 vcl/unx/generic/gdi/font \
107 vcl/unx/generic/gdi/salgdi \
108 vcl/unx/generic/gdi/salvd \
109 vcl/unx/generic/gdi/xrender_peer \
110 vcl/unx/generic/window/salframe \
111 vcl/unx/generic/window/salobj \
112 vcl/unx/x11/x11sys \
113 vcl/unx/x11/xlimits \
114 vcl/source/opengl/x11/context \
115 $(if $(filter SKIA,$(BUILD_TYPE)), \
116 vcl/skia/x11/gdiimpl \
117 vcl/skia/x11/salvd \
118 vcl/skia/x11/textrender \
122 # ultimately we want to split the x11 dependencies out
123 # into their own library I think.
125 $(eval $(call gb_Library_add_defs,vclplug_gen,\
126 -DVCLPLUG_GEN_IMPLEMENTATION \
127 -DVCL_INTERNALS \
130 ## handle RandR
131 ifneq ($(ENABLE_RANDR),)
132 $(eval $(call gb_Library_use_externals,vclplug_gen,\
133 Xrandr \
135 $(eval $(call gb_Library_add_defs,vclplug_gen,\
136 -DUSE_RANDR \
138 endif
140 ## handle Xinerama
141 ifneq ($(USE_XINERAMA),)
142 $(eval $(call gb_Library_add_defs,vclplug_gen,\
143 -DUSE_XINERAMA_XORG \
145 ifeq ($(XINERAMA_LINK),dynamic)
146 $(eval $(call gb_Library_add_libs,vclplug_gen,\
147 -lXinerama \
149 else
150 $(eval $(call gb_Library_add_libs,vclplug_gen,\
151 -Wl$(COMMA)-Bstatic -lXinerama -Wl$(COMMA)-Bdynamic \
153 endif
154 endif # USE_XINERAMA
156 ifeq ($(OS),LINUX)
157 $(eval $(call gb_Library_add_libs,vclplug_gen,\
158 -lm \
159 -ldl \
161 endif
163 # vim: set noet sw=4 ts=4: