bump product version to 6.4.0.3
[LibreOffice.git] / vcl / Library_vclplug_gen.mk
blobe19323a20388fee9d203b404951cde6311ec0e1b
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_include,vclplug_gen,\
23 $$(INCLUDE) \
24 -I$(SRCDIR)/vcl/inc \
27 $(eval $(call gb_Library_use_custom_headers,vclplug_gen,\
28 officecfg/registry \
31 $(eval $(call gb_Library_use_sdk_api,vclplug_gen))
33 $(eval $(call gb_Library_use_common_precompiled_header,vclplug_gen))
35 $(eval $(call gb_Library_use_libraries,vclplug_gen,\
36 vcl \
37 tl \
38 utl \
39 sot \
40 ucbhelper \
41 basegfx \
42 comphelper \
43 cppuhelper \
44 i18nlangtag \
45 i18nutil \
46 $(if $(ENABLE_JAVA), \
47 jvmaccess) \
48 cppu \
49 sal \
52 $(eval $(call gb_Library_use_externals,vclplug_gen,\
53 boost_headers \
54 cairo \
55 graphite \
56 epoxy \
57 glm_headers \
58 harfbuzz \
59 icu_headers \
60 icuuc \
61 valgrind \
62 Xrender \
65 $(eval $(call gb_Library_add_libs,vclplug_gen,\
66 -lX11 \
67 -lXext \
68 -lSM \
69 -lICE \
72 $(eval $(call gb_Library_add_exception_objects,vclplug_gen,\
73 vcl/unx/generic/app/i18n_cb \
74 vcl/unx/generic/app/i18n_ic \
75 vcl/unx/generic/app/i18n_im \
76 vcl/unx/generic/app/i18n_keysym \
77 vcl/unx/generic/app/i18n_xkb \
78 vcl/unx/generic/app/keysymnames \
79 vcl/unx/generic/app/randrwrapper \
80 vcl/unx/generic/app/saldata \
81 vcl/unx/generic/app/saldisp \
82 vcl/unx/generic/app/salinst \
83 vcl/unx/generic/app/saltimer \
84 vcl/unx/generic/app/sm \
85 vcl/unx/generic/app/wmadaptor \
86 vcl/unx/generic/dtrans/bmp \
87 vcl/unx/generic/dtrans/config \
88 vcl/unx/generic/dtrans/X11_clipboard \
89 vcl/unx/generic/dtrans/X11_dndcontext \
90 vcl/unx/generic/dtrans/X11_droptarget \
91 vcl/unx/generic/dtrans/X11_selection \
92 vcl/unx/generic/dtrans/X11_service \
93 vcl/unx/generic/dtrans/X11_transferable \
94 vcl/unx/generic/gdi/cairo_xlib_cairo \
95 vcl/unx/generic/gdi/x11cairotextrender \
96 vcl/unx/generic/gdi/gdiimpl \
97 vcl/unx/generic/gdi/openglx11cairotextrender \
98 vcl/unx/generic/gdi/salbmp \
99 vcl/unx/generic/gdi/salgdi2 \
100 vcl/unx/generic/gdi/font \
101 vcl/unx/generic/gdi/salgdi \
102 vcl/unx/generic/gdi/salvd \
103 vcl/unx/generic/gdi/xrender_peer \
104 vcl/unx/generic/window/salframe \
105 vcl/unx/generic/window/salobj \
106 vcl/unx/x11/x11sys \
107 vcl/unx/x11/xlimits \
108 vcl/opengl/x11/gdiimpl \
109 vcl/opengl/x11/salvd \
112 # ultimately we want to split the x11 dependencies out
113 # into their own library I think.
115 $(eval $(call gb_Library_add_defs,vclplug_gen,\
116 -DVCLPLUG_GEN_IMPLEMENTATION \
119 ## handle RandR
120 ifneq ($(ENABLE_RANDR),)
121 $(eval $(call gb_Library_use_externals,vclplug_gen,\
122 Xrandr \
124 $(eval $(call gb_Library_add_defs,vclplug_gen,\
125 -DUSE_RANDR \
127 endif
129 ## handle Xinerama
130 ifneq ($(USE_XINERAMA),)
131 $(eval $(call gb_Library_add_defs,vclplug_gen,\
132 -DUSE_XINERAMA_XORG \
134 ifeq ($(XINERAMA_LINK),dynamic)
135 $(eval $(call gb_Library_add_libs,vclplug_gen,\
136 -lXinerama \
138 else
139 $(eval $(call gb_Library_add_libs,vclplug_gen,\
140 -Wl$(COMMA)-Bstatic -lXinerama -Wl$(COMMA)-Bdynamic \
142 endif
143 endif # USE_XINERAMA
145 ifeq ($(OS),LINUX)
146 $(eval $(call gb_Library_add_libs,vclplug_gen,\
147 -lm \
148 -ldl \
150 endif
152 # vim: set noet sw=4 ts=4: