xref: /trunk/main/canvas/Module_canvas.mk (revision b63233d8)
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_Module_Module,canvas))
25
26$(eval $(call gb_Module_add_targets,canvas,\
27	Library_canvastools \
28	Library_nullcanvas \
29	Library_simplecanvas \
30	Library_vclcanvas \
31	Library_canvasfactory \
32	Package_inc \
33))
34
35ifeq ($(strip $(OS)),WNT)
36ifneq ($(strip $(ENABLE_DIRECTX)),)
37
38ifneq ($(strip $(USE_DIRECTX5)),)
39$(eval $(call gb_Module_add_targets,canvas,\
40	Library_directx5canvas \
41))
42endif
43
44$(eval $(call gb_Module_add_targets,canvas,\
45	Library_directx9canvas \
46	Library_gdipluscanvas \
47))
48
49endif
50endif
51
52ifeq ($(strip $(ENABLE_CAIRO_CANVAS)),TRUE)
53$(eval $(call gb_Module_add_targets,canvas,\
54	Library_cairocanvas \
55))
56endif
57
58# vim: set noet sw=4 ts=4:
59