Added Makefile for SDK Python example.
[LibreOffice.git] / basegfx / Library_basegfx.mk
blob5e4885a55d86b2e14accac88670cca0089998c4a
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 # Copyright 2000, 2011 Oracle and/or its affiliates.
8 # OpenOffice.org - a multi-platform office productivity suite
10 # This file is part of OpenOffice.org.
12 # OpenOffice.org is free software: you can redistribute it and/or modify
13 # it under the terms of the GNU Lesser General Public License version 3
14 # only, as published by the Free Software Foundation.
16 # OpenOffice.org is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU Lesser General Public License version 3 for more details
20 # (a copy is included in the LICENSE file that accompanied this code).
22 # You should have received a copy of the GNU Lesser General Public License
23 # version 3 along with OpenOffice.org. If not, see
24 # <http://www.openoffice.org/license.html>
25 # for a copy of the LGPLv3 License.
27 #*************************************************************************
29 $(eval $(call gb_Library_Library,basegfx))
31 $(eval $(call gb_Library_add_package_headers,basegfx,basegfx_inc))
33 $(eval $(call gb_Library_set_include,basegfx,\
34 -I$(realpath $(SRCDIR)/basegfx/inc) \
35 -I$(realpath $(SRCDIR)/basegfx/source/inc) \
36 $$(INCLUDE) \
39 $(eval $(call gb_Library_add_defs,basegfx,\
40 -DBASEGFX_DLLIMPLEMENTATION \
43 # Work around gcc bug 41847 present at least in
44 # the Android x-compiler 4.4.3.
45 # -Warray-bounds appeared in 4.3
46 ifeq ($(COM),GCC)
47 ifeq ($(shell expr \( $(gb_CCVER) \>= 40300 \) \& \( $(gb_CCVER) \<= 40403 \)),1)
48 $(eval $(call gb_Library_add_cxxflags,basegfx,\
49 -Wno-array-bounds \
51 endif
52 endif
54 $(eval $(call gb_Library_add_api,basegfx,\
55 offapi \
56 udkapi \
59 $(eval $(call gb_Library_add_linked_libs,basegfx,\
60 cppu \
61 cppuhelper \
62 sal \
63 $(gb_STDLIBS) \
66 $(eval $(call gb_Library_add_exception_objects,basegfx,\
67 basegfx/source/tools/b2dclipstate \
68 basegfx/source/tools/canvastools \
69 basegfx/source/tools/debugplotter \
70 basegfx/source/tools/gradienttools \
71 basegfx/source/tools/keystoplerp \
72 basegfx/source/tools/liangbarsky \
73 basegfx/source/tools/tools \
74 basegfx/source/tools/unopolypolygon \
75 basegfx/source/tools/unotools \
76 basegfx/source/numeric/ftools \
77 basegfx/source/tuple/b3ituple \
78 basegfx/source/tuple/b3dtuple \
79 basegfx/source/tuple/b2ituple \
80 basegfx/source/tuple/b2dtuple \
81 basegfx/source/tuple/b3i64tuple \
82 basegfx/source/tuple/b2i64tuple \
83 basegfx/source/range/b1drange \
84 basegfx/source/range/b2dpolyrange \
85 basegfx/source/range/b2xrange \
86 basegfx/source/range/b3drange \
87 basegfx/source/range/b2drangeclipper \
88 basegfx/source/range/b2drange \
89 basegfx/source/vector/b3ivector \
90 basegfx/source/vector/b2ivector \
91 basegfx/source/vector/b2dvector \
92 basegfx/source/vector/b3dvector \
93 basegfx/source/polygon/b3dpolygon \
94 basegfx/source/polygon/b2dtrapezoid \
95 basegfx/source/polygon/b3dpolygontools \
96 basegfx/source/polygon/b2dlinegeometry \
97 basegfx/source/polygon/b3dpolypolygontools \
98 basegfx/source/polygon/b3dpolygonclipper \
99 basegfx/source/polygon/b2dpolygonclipper \
100 basegfx/source/polygon/b2dpolypolygoncutter \
101 basegfx/source/polygon/b2dpolypolygonrasterconverter \
102 basegfx/source/polygon/b2dpolygon \
103 basegfx/source/polygon/b2dpolygontriangulator \
104 basegfx/source/polygon/b2dpolypolygon \
105 basegfx/source/polygon/b3dpolypolygon \
106 basegfx/source/polygon/b2dsvgpolypolygon \
107 basegfx/source/polygon/b2dpolygoncutandtouch \
108 basegfx/source/polygon/b2dpolypolygontools \
109 basegfx/source/polygon/b2dpolygontools \
110 basegfx/source/pixel/bpixel \
111 basegfx/source/matrix/b2dhommatrixtools \
112 basegfx/source/matrix/b3dhommatrix \
113 basegfx/source/matrix/b2dhommatrix \
114 basegfx/source/point/b3ipoint \
115 basegfx/source/point/b2dpoint \
116 basegfx/source/point/b3dpoint \
117 basegfx/source/point/b2dhompoint \
118 basegfx/source/point/b2ipoint \
119 basegfx/source/curve/b2dbeziertools \
120 basegfx/source/curve/b2dcubicbezier \
121 basegfx/source/curve/b2dquadraticbezier \
122 basegfx/source/color/bcolormodifier \
123 basegfx/source/color/bcolortools \
124 basegfx/source/raster/rasterconvert3d \
127 # vim: set noet sw=4 ts=4: