xref: /trunk/main/canvas/Library_vclcanvas.mk (revision bcc22a4c08e1268a4f06e54fb146f88ef49f2cdc)
1###############################################################
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20###############################################################
21
22
23
24$(eval $(call gb_Library_Library,vclcanvas))
25
26$(eval $(call gb_Library_set_componentfile,vclcanvas,canvas/source/vcl/vclcanvas))
27
28$(eval $(call gb_Library_add_api,vclcanvas,\
29    udkapi \
30    offapi \
31))
32
33$(eval $(call gb_Library_set_include,vclcanvas,\
34    $$(INCLUDE) \
35    -I$(SRCDIR)/canvas/inc \
36    -I$(SRCDIR)/canvas/inc/pch \
37))
38
39ifneq ($(strip $(VERBOSE)$(verbose)),)
40$(eval $(call gb_Library_add_defs,vclcanvas,\
41    -DVERBOSE \
42))
43endif
44
45$(eval $(call gb_Library_add_linked_libs,vclcanvas,\
46    sal \
47    stl \
48    cppu \
49    basegfx \
50    cppuhelper \
51    comphelper \
52    vcl \
53    ootk \
54    tl \
55    svt \
56    i18nisolang1 \
57    canvastools \
58    $(gb_STDLIBS) \
59))
60
61$(eval $(call gb_Library_add_exception_objects,vclcanvas,\
62    canvas/source/vcl/backbuffer \
63    canvas/source/vcl/bitmapbackbuffer \
64    canvas/source/vcl/cachedbitmap \
65    canvas/source/vcl/canvas \
66    canvas/source/vcl/canvasbitmap \
67    canvas/source/vcl/canvasbitmaphelper \
68    canvas/source/vcl/canvascustomsprite \
69    canvas/source/vcl/canvasfont \
70    canvas/source/vcl/canvashelper \
71    canvas/source/vcl/devicehelper \
72    canvas/source/vcl/impltools \
73    canvas/source/vcl/services \
74    canvas/source/vcl/spritecanvas \
75    canvas/source/vcl/spritecanvashelper \
76    canvas/source/vcl/spritedevicehelper \
77    canvas/source/vcl/spritehelper \
78    canvas/source/vcl/textlayout \
79    canvas/source/vcl/windowoutdevholder \
80))
81
82# Solaris Sparc with Sun Compiler: noopt
83ifneq ($(strip($OS)),SOLARIS)
84$(eval $(call gb_Library_add_exception_objects,vclcanvas,\
85    canvas/source/vcl/canvashelper_texturefill \
86))
87else
88$(eval $(call gb_Library_add_cxxobjects,vclcanvas,\
89    canvas/source/vcl/canvashelper_texturefill \
90    , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
91))
92endif
93
94# vim: set noet sw=4 ts=4:
95