1b63233d8Sdamjan############################################################### 2b63233d8Sdamjan# 3b63233d8Sdamjan# Licensed to the Apache Software Foundation (ASF) under one 4b63233d8Sdamjan# or more contributor license agreements. See the NOTICE file 5b63233d8Sdamjan# distributed with this work for additional information 6b63233d8Sdamjan# regarding copyright ownership. The ASF licenses this file 7b63233d8Sdamjan# to you under the Apache License, Version 2.0 (the 8b63233d8Sdamjan# "License"); you may not use this file except in compliance 9b63233d8Sdamjan# with the License. You may obtain a copy of the License at 10b63233d8Sdamjan# 11b63233d8Sdamjan# http://www.apache.org/licenses/LICENSE-2.0 12b63233d8Sdamjan# 13b63233d8Sdamjan# Unless required by applicable law or agreed to in writing, 14b63233d8Sdamjan# software distributed under the License is distributed on an 15b63233d8Sdamjan# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16b63233d8Sdamjan# KIND, either express or implied. See the License for the 17b63233d8Sdamjan# specific language governing permissions and limitations 18b63233d8Sdamjan# under the License. 19b63233d8Sdamjan# 20b63233d8Sdamjan############################################################### 21b63233d8Sdamjan 22b63233d8Sdamjan 23b63233d8Sdamjan 24b63233d8Sdamjan$(eval $(call gb_StaticLibrary_StaticLibrary,basegfx_s)) 25b63233d8Sdamjan 26b63233d8Sdamjan$(eval $(call gb_StaticLibrary_add_package_headers,basegfx_s,basegfx_inc)) 27b63233d8Sdamjan 28b63233d8Sdamjan$(eval $(call gb_StaticLibrary_add_precompiled_header,basegfx_s,$(SRCDIR)/basegfx/inc/pch/precompiled_basegfx)) 29b63233d8Sdamjan 30b63233d8Sdamjan$(eval $(call gb_StaticLibrary_add_api,basegfx_s,\ 31b63233d8Sdamjan udkapi \ 32b63233d8Sdamjan offapi \ 33b63233d8Sdamjan)) 34b63233d8Sdamjan 35b63233d8Sdamjan$(eval $(call gb_StaticLibrary_set_include,basegfx_s,\ 36b63233d8Sdamjan -I$(SRCDIR)/basegfx/inc \ 37b63233d8Sdamjan -I$(SRCDIR)/basegfx/source/inc \ 38b63233d8Sdamjan $$(INCLUDE) \ 39b63233d8Sdamjan -I$(SRCDIR)/basegfx/inc/pch \ 40b63233d8Sdamjan)) 41b63233d8Sdamjan 42b63233d8Sdamjan# the whole library is a hack 43b63233d8Sdamjan# we only build it to prevent the pdfimporter shared lib from linking to the basegfx shared lib 44b63233d8Sdamjan# this means that all code of this static library will end in a dll 45b63233d8Sdamjan# the BASEGFX_STATICLIBRARY define will expand all BASEGFX_DLLPRIVATE/PUBLIC macros to nothing 46b63233d8Sdamjan$(eval $(call gb_StaticLibrary_add_defs,basegfx_s,\ 47b63233d8Sdamjan -DBASEGFX_STATICLIBRARY \ 48b63233d8Sdamjan)) 49b63233d8Sdamjan 50b63233d8Sdamjan# as we have to build all sources a second time, we must copy them to the workdir and build from there 51b63233d8Sdamjan$(WORKDIR)/CustomTarget/basegfx/source/%.cxx : $(SRCDIR)/basegfx/source/%.cxx 52b63233d8Sdamjan mkdir -p $(dir $@) && \ 53b63233d8Sdamjan cp $< $@ 54b63233d8Sdamjan 55b63233d8Sdamjan# copied sources are generated cxx sources 56b63233d8Sdamjan$(eval $(call gb_StaticLibrary_add_generated_exception_objects,basegfx_s,\ 57b63233d8Sdamjan CustomTarget/basegfx/source/tools/liangbarsky \ 58b63233d8Sdamjan CustomTarget/basegfx/source/tools/debugplotter \ 59b63233d8Sdamjan CustomTarget/basegfx/source/tools/canvastools \ 60b63233d8Sdamjan CustomTarget/basegfx/source/tools/gradienttools \ 61b63233d8Sdamjan CustomTarget/basegfx/source/tools/keystoplerp \ 62b63233d8Sdamjan CustomTarget/basegfx/source/tools/unopolypolygon \ 63b63233d8Sdamjan CustomTarget/basegfx/source/tools/tools \ 64b63233d8Sdamjan CustomTarget/basegfx/source/tools/b2dclipstate \ 65*95b1d42dStruckman CustomTarget/basegfx/source/tools/stringconversiontools \ 66b63233d8Sdamjan CustomTarget/basegfx/source/numeric/ftools \ 67b63233d8Sdamjan CustomTarget/basegfx/source/tuple/b3ituple \ 68b63233d8Sdamjan CustomTarget/basegfx/source/tuple/b3dtuple \ 69b63233d8Sdamjan CustomTarget/basegfx/source/tuple/b2ituple \ 70b63233d8Sdamjan CustomTarget/basegfx/source/tuple/b2dtuple \ 71b63233d8Sdamjan CustomTarget/basegfx/source/tuple/b3i64tuple \ 72b63233d8Sdamjan CustomTarget/basegfx/source/tuple/b2i64tuple \ 73b63233d8Sdamjan CustomTarget/basegfx/source/range/b1drange \ 74b63233d8Sdamjan CustomTarget/basegfx/source/range/b2dpolyrange \ 75b63233d8Sdamjan CustomTarget/basegfx/source/range/b2xrange \ 76b63233d8Sdamjan CustomTarget/basegfx/source/range/b3drange \ 77b63233d8Sdamjan CustomTarget/basegfx/source/range/b2drangeclipper \ 78b63233d8Sdamjan CustomTarget/basegfx/source/range/b2drange \ 79b63233d8Sdamjan CustomTarget/basegfx/source/vector/b3ivector \ 80b63233d8Sdamjan CustomTarget/basegfx/source/vector/b2ivector \ 81b63233d8Sdamjan CustomTarget/basegfx/source/vector/b2dvector \ 82b63233d8Sdamjan CustomTarget/basegfx/source/vector/b3dvector \ 83b63233d8Sdamjan CustomTarget/basegfx/source/polygon/b3dpolygon \ 84b63233d8Sdamjan CustomTarget/basegfx/source/polygon/b2dtrapezoid \ 85b63233d8Sdamjan CustomTarget/basegfx/source/polygon/b3dpolygontools \ 86b63233d8Sdamjan CustomTarget/basegfx/source/polygon/b2dlinegeometry \ 87b63233d8Sdamjan CustomTarget/basegfx/source/polygon/b3dpolypolygontools \ 88b63233d8Sdamjan CustomTarget/basegfx/source/polygon/b3dpolygonclipper \ 89b63233d8Sdamjan CustomTarget/basegfx/source/polygon/b2dpolygonclipper \ 90b63233d8Sdamjan CustomTarget/basegfx/source/polygon/b2dpolypolygoncutter \ 91b63233d8Sdamjan CustomTarget/basegfx/source/polygon/b2dpolypolygonrasterconverter \ 92b63233d8Sdamjan CustomTarget/basegfx/source/polygon/b2dpolygon \ 93b63233d8Sdamjan CustomTarget/basegfx/source/polygon/b2dpolygontriangulator \ 94b63233d8Sdamjan CustomTarget/basegfx/source/polygon/b2dpolypolygon \ 95b63233d8Sdamjan CustomTarget/basegfx/source/polygon/b3dpolypolygon \ 96b63233d8Sdamjan CustomTarget/basegfx/source/polygon/b2dsvgpolypolygon \ 97b63233d8Sdamjan CustomTarget/basegfx/source/polygon/b2dpolygoncutandtouch \ 98b63233d8Sdamjan CustomTarget/basegfx/source/polygon/b2dpolypolygontools \ 99b63233d8Sdamjan CustomTarget/basegfx/source/polygon/b2dpolygontools \ 100b63233d8Sdamjan CustomTarget/basegfx/source/pixel/bpixel \ 101b63233d8Sdamjan CustomTarget/basegfx/source/matrix/b2dhommatrixtools \ 102b63233d8Sdamjan CustomTarget/basegfx/source/matrix/b3dhommatrix \ 103b63233d8Sdamjan CustomTarget/basegfx/source/matrix/b2dhommatrix \ 104b63233d8Sdamjan CustomTarget/basegfx/source/point/b3ipoint \ 105b63233d8Sdamjan CustomTarget/basegfx/source/point/b3dhompoint \ 106b63233d8Sdamjan CustomTarget/basegfx/source/point/b2dpoint \ 107b63233d8Sdamjan CustomTarget/basegfx/source/point/b3dpoint \ 108b63233d8Sdamjan CustomTarget/basegfx/source/point/b2dhompoint \ 109b63233d8Sdamjan CustomTarget/basegfx/source/point/b2ipoint \ 110b63233d8Sdamjan CustomTarget/basegfx/source/curve/b2dbeziertools \ 111b63233d8Sdamjan CustomTarget/basegfx/source/curve/b2dcubicbezier \ 112b63233d8Sdamjan CustomTarget/basegfx/source/curve/b2dquadraticbezier \ 113b63233d8Sdamjan CustomTarget/basegfx/source/color/bcolormodifier \ 114b63233d8Sdamjan CustomTarget/basegfx/source/color/bcolor \ 115b63233d8Sdamjan CustomTarget/basegfx/source/color/bcolortools \ 116b63233d8Sdamjan CustomTarget/basegfx/source/raster/bpixelraster \ 117b63233d8Sdamjan CustomTarget/basegfx/source/raster/bzpixelraster \ 118b63233d8Sdamjan CustomTarget/basegfx/source/raster/rasterconvert3d \ 119b63233d8Sdamjan)) 120b63233d8Sdamjan 121b63233d8Sdamjan# vim: set noet sw=4 ts=4: 122