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
,\
27 $(eval
$(call gb_Library_use_custom_headers
,vclplug_gen
,\
31 $(eval
$(call gb_Library_use_sdk_api
,vclplug_gen
))
33 $(eval
$(call gb_Library_use_libraries
,vclplug_gen
,\
44 $(if
$(ENABLE_JAVA
), \
50 $(eval
$(call gb_Library_use_externals
,vclplug_gen
,\
63 $(eval
$(call gb_Library_add_libs
,vclplug_gen
,\
70 $(eval
$(call gb_Library_add_exception_objects
,vclplug_gen
,\
71 vcl
/unx
/generic
/app
/i18n_cb \
72 vcl
/unx
/generic
/app
/i18n_ic \
73 vcl
/unx
/generic
/app
/i18n_im \
74 vcl
/unx
/generic
/app
/i18n_keysym \
75 vcl
/unx
/generic
/app
/i18n_status \
76 vcl
/unx
/generic
/app
/i18n_xkb \
77 vcl
/unx
/generic
/app
/keysymnames \
78 vcl
/unx
/generic
/app
/randrwrapper \
79 vcl
/unx
/generic
/app
/saldata \
80 vcl
/unx
/generic
/app
/saldisp \
81 vcl
/unx
/generic
/app
/salinst \
82 vcl
/unx
/generic
/app
/saltimer \
83 vcl
/unx
/generic
/app
/sm \
84 vcl
/unx
/generic
/app
/wmadaptor \
85 vcl
/unx
/generic
/dtrans
/bmp \
86 vcl
/unx
/generic
/dtrans
/config \
87 vcl
/unx
/generic
/dtrans
/X11_clipboard \
88 vcl
/unx
/generic
/dtrans
/X11_dndcontext \
89 vcl
/unx
/generic
/dtrans
/X11_droptarget \
90 vcl
/unx
/generic
/dtrans
/X11_selection \
91 vcl
/unx
/generic
/dtrans
/X11_service \
92 vcl
/unx
/generic
/dtrans
/X11_transferable \
93 vcl
/unx
/generic
/gdi
/cairo_xlib_cairo \
94 vcl
/unx
/generic
/gdi
/x11cairotextrender \
95 vcl
/unx
/generic
/gdi
/gdiimpl \
96 vcl
/unx
/generic
/gdi
/openglx11cairotextrender \
97 vcl
/unx
/generic
/gdi
/salbmp \
98 vcl
/unx
/generic
/gdi
/salgdi2 \
99 vcl
/unx
/generic
/gdi
/font \
100 vcl
/unx
/generic
/gdi
/salgdi \
101 vcl
/unx
/generic
/gdi
/salvd \
102 vcl
/unx
/generic
/gdi
/xrender_peer \
103 vcl
/unx
/generic
/window
/salframe \
104 vcl
/unx
/generic
/window
/salobj \
106 vcl
/unx
/x11
/xlimits \
107 vcl
/opengl
/x11
/gdiimpl \
108 vcl
/opengl
/x11
/salvd \
111 # ultimately we want to split the x11 dependencies out
112 # into their own library I think.
114 $(eval
$(call gb_Library_add_defs
,vclplug_gen
,\
115 -DVCLPLUG_GEN_IMPLEMENTATION \
119 ifneq ($(ENABLE_RANDR
),)
120 $(eval
$(call gb_Library_use_externals
,vclplug_gen
,\
123 $(eval
$(call gb_Library_add_defs
,vclplug_gen
,\
129 ifneq ($(USE_XINERAMA
),)
130 $(eval
$(call gb_Library_add_defs
,vclplug_gen
,\
131 -DUSE_XINERAMA_XORG \
133 ifeq ($(XINERAMA_LINK
),dynamic
)
134 $(eval
$(call gb_Library_add_libs
,vclplug_gen
,\
138 $(eval
$(call gb_Library_add_libs
,vclplug_gen
,\
139 -Wl
$(COMMA
)-Bstatic
-lXinerama
-Wl
$(COMMA
)-Bdynamic \
145 $(eval
$(call gb_Library_add_libs
,vclplug_gen
,\
151 # vim: set noet sw=4 ts=4: