From 14896ccc545c9060874e2c02b37ee6d59e3cd8cc Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Sat, 16 Jun 2012 18:32:57 -0500 Subject: revert gmk4 Change-Id: Ibf1c212355f65c547b6f15098f0e35522093ec54 --- basegfx/CppunitTest_basegfx.mk | 54 ---------------- basegfx/Library_basegfx.mk | 125 ------------------------------------ basegfx/Module_basegfx.mk | 46 -------------- basegfx/Package_inc.mk | 104 ------------------------------ basegfx/StaticLibrary_basegfx_s.mk | 126 ------------------------------------- 5 files changed, 455 deletions(-) delete mode 100644 basegfx/CppunitTest_basegfx.mk delete mode 100644 basegfx/Library_basegfx.mk delete mode 100644 basegfx/Module_basegfx.mk delete mode 100644 basegfx/Package_inc.mk delete mode 100644 basegfx/StaticLibrary_basegfx_s.mk diff --git a/basegfx/CppunitTest_basegfx.mk b/basegfx/CppunitTest_basegfx.mk deleted file mode 100644 index 7874fa40267d..000000000000 --- a/basegfx/CppunitTest_basegfx.mk +++ /dev/null @@ -1,54 +0,0 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2011 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -$(eval $(call gb_CppunitTest_CppunitTest,basegfx_test)) - -$(eval $(call gb_CppunitTest_add_exception_objects,basegfx_test, \ - basegfx/test/basegfx1d \ - basegfx/test/basegfx2d \ - basegfx/test/basegfx3d \ - basegfx/test/boxclipper \ - basegfx/test/basegfxtools \ - basegfx/test/clipstate \ - basegfx/test/genericclipper \ -)) - -$(eval $(call gb_CppunitTest_use_libraries,basegfx_test, \ - basegfx \ - cppu \ - cppuhelper \ - sal \ - $(gb_STDLIBS) \ -)) - -$(eval $(call gb_CppunitTest_use_api,basegfx_test,\ - offapi \ - udkapi \ -)) - -# vim: set noet sw=4 ts=4: diff --git a/basegfx/Library_basegfx.mk b/basegfx/Library_basegfx.mk deleted file mode 100644 index 6646eb154156..000000000000 --- a/basegfx/Library_basegfx.mk +++ /dev/null @@ -1,125 +0,0 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2011 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -$(eval $(call gb_Library_Library,basegfx)) - -$(eval $(call gb_Library_use_packages,basegfx,\ - basegfx_inc \ - o3tl_inc \ -)) - -$(eval $(call gb_Library_set_include,basegfx,\ - -I$(SRCDIR)/basegfx/inc \ - -I$(SRCDIR)/basegfx/source/inc \ - $$(INCLUDE) \ -)) - -$(eval $(call gb_Library_add_defs,basegfx,\ - -DBASEGFX_DLLIMPLEMENTATION \ -)) - -# Work around gcc bug 41847 present at least in -# the Android x-compiler 4.4.3. -# -Warray-bounds appeared in 4.3 -ifeq ($(COM),GCC) -ifeq ($(shell expr \( $(gb_CCVER) \>= 40300 \) \& \( $(gb_CCVER) \<= 40403 \)),1) -$(eval $(call gb_Library_add_cxxflags,basegfx,\ - -Wno-array-bounds \ -)) -endif -endif - -$(eval $(call gb_Library_use_api,basegfx,\ - offapi \ - udkapi \ -)) - -$(eval $(call gb_Library_use_libraries,basegfx,\ - cppu \ - cppuhelper \ - sal \ - $(gb_STDLIBS) \ -)) - -$(eval $(call gb_Library_add_exception_objects,basegfx,\ - basegfx/source/tools/b2dclipstate \ - basegfx/source/tools/canvastools \ - basegfx/source/tools/zoomtools \ - basegfx/source/tools/gradienttools \ - basegfx/source/tools/keystoplerp \ - basegfx/source/tools/tools \ - basegfx/source/tools/unopolypolygon \ - basegfx/source/tools/unotools \ - basegfx/source/numeric/ftools \ - basegfx/source/tuple/b3ituple \ - basegfx/source/tuple/b3dtuple \ - basegfx/source/tuple/b2ituple \ - basegfx/source/tuple/b2dtuple \ - basegfx/source/tuple/b3i64tuple \ - basegfx/source/tuple/b2i64tuple \ - basegfx/source/range/b1drange \ - basegfx/source/range/b2dpolyrange \ - basegfx/source/range/b2xrange \ - basegfx/source/range/b3drange \ - basegfx/source/range/b2drangeclipper \ - basegfx/source/range/b2drange \ - basegfx/source/vector/b3ivector \ - basegfx/source/vector/b2ivector \ - basegfx/source/vector/b2dvector \ - basegfx/source/vector/b3dvector \ - basegfx/source/polygon/b3dpolygon \ - basegfx/source/polygon/b2dtrapezoid \ - basegfx/source/polygon/b3dpolygontools \ - basegfx/source/polygon/b2dlinegeometry \ - basegfx/source/polygon/b3dpolypolygontools \ - basegfx/source/polygon/b2dpolygonclipper \ - basegfx/source/polygon/b2dpolypolygoncutter \ - basegfx/source/polygon/b2dpolygon \ - basegfx/source/polygon/b2dpolygontriangulator \ - basegfx/source/polygon/b2dpolypolygon \ - basegfx/source/polygon/b3dpolypolygon \ - basegfx/source/polygon/b2dsvgpolypolygon \ - basegfx/source/polygon/b2dpolygoncutandtouch \ - basegfx/source/polygon/b2dpolypolygontools \ - basegfx/source/polygon/b2dpolygontools \ - basegfx/source/pixel/bpixel \ - basegfx/source/matrix/b2dhommatrixtools \ - basegfx/source/matrix/b3dhommatrix \ - basegfx/source/matrix/b2dhommatrix \ - basegfx/source/point/b3ipoint \ - basegfx/source/point/b2dpoint \ - basegfx/source/point/b3dpoint \ - basegfx/source/point/b2ipoint \ - basegfx/source/curve/b2dbeziertools \ - basegfx/source/curve/b2dcubicbezier \ - basegfx/source/color/bcolormodifier \ - basegfx/source/color/bcolortools \ - basegfx/source/raster/rasterconvert3d \ -)) - -# vim: set noet sw=4 ts=4: diff --git a/basegfx/Module_basegfx.mk b/basegfx/Module_basegfx.mk deleted file mode 100644 index 0974b93c3f9d..000000000000 --- a/basegfx/Module_basegfx.mk +++ /dev/null @@ -1,46 +0,0 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2011 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -$(eval $(call gb_Module_Module,basegfx)) - -$(eval $(call gb_Module_add_targets,basegfx,\ - Library_basegfx \ - Package_inc \ -)) - -ifneq ($(OS),IOS) -$(eval $(call gb_Module_add_targets,basegfx,\ - StaticLibrary_basegfx_s \ -)) -endif - -$(eval $(call gb_Module_add_check_targets,basegfx,\ - CppunitTest_basegfx \ -)) - -# vim: set noet sw=4 ts=4: diff --git a/basegfx/Package_inc.mk b/basegfx/Package_inc.mk deleted file mode 100644 index bf088b3f5f09..000000000000 --- a/basegfx/Package_inc.mk +++ /dev/null @@ -1,104 +0,0 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2011 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -$(eval $(call gb_Package_Package,basegfx_inc,$(SRCDIR)/basegfx/inc)) - -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tools/lerp.hxx,basegfx/tools/lerp.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tools/keystoplerp.hxx,basegfx/tools/keystoplerp.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tools/canvastools.hxx,basegfx/tools/canvastools.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tools/rectcliptools.hxx,basegfx/tools/rectcliptools.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tools/b2dclipstate.hxx,basegfx/tools/b2dclipstate.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tools/unopolypolygon.hxx,basegfx/tools/unopolypolygon.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tools/tools.hxx,basegfx/tools/tools.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tools/unotools.hxx,basegfx/tools/unotools.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tools/gradienttools.hxx,basegfx/tools/gradienttools.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tools/zoomtools.hxx,basegfx/tools/zoomtools.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/numeric/ftools.hxx,basegfx/numeric/ftools.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tuple/b3i64tuple.hxx,basegfx/tuple/b3i64tuple.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tuple/b3dtuple.hxx,basegfx/tuple/b3dtuple.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tuple/b3ituple.hxx,basegfx/tuple/b3ituple.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tuple/b2i64tuple.hxx,basegfx/tuple/b2i64tuple.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tuple/b2ituple.hxx,basegfx/tuple/b2ituple.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tuple/b2dtuple.hxx,basegfx/tuple/b2dtuple.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b2drangeclipper.hxx,basegfx/range/b2drangeclipper.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b3irange.hxx,basegfx/range/b3irange.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/basicbox.hxx,basegfx/range/basicbox.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b2dconnectedranges.hxx,basegfx/range/b2dconnectedranges.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b3drange.hxx,basegfx/range/b3drange.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b2drange.hxx,basegfx/range/b2drange.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b2irange.hxx,basegfx/range/b2irange.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b1ibox.hxx,basegfx/range/b1ibox.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b2dpolyrange.hxx,basegfx/range/b2dpolyrange.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b1irange.hxx,basegfx/range/b1irange.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b2drectangle.hxx,basegfx/range/b2drectangle.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b2irectangle.hxx,basegfx/range/b2irectangle.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b1drange.hxx,basegfx/range/b1drange.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b2ibox.hxx,basegfx/range/b2ibox.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/basicrange.hxx,basegfx/range/basicrange.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/vector/b2ivector.hxx,basegfx/vector/b2ivector.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/vector/b2dvector.hxx,basegfx/vector/b2dvector.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/vector/b3dvector.hxx,basegfx/vector/b3dvector.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/vector/b2dsize.hxx,basegfx/vector/b2dsize.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/vector/b2isize.hxx,basegfx/vector/b2isize.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/vector/b2enums.hxx,basegfx/vector/b2enums.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/vector/b3ivector.hxx,basegfx/vector/b3ivector.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dtrapezoid.hxx,basegfx/polygon/b2dtrapezoid.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dpolypolygoncutter.hxx,basegfx/polygon/b2dpolypolygoncutter.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dpolypolygon.hxx,basegfx/polygon/b2dpolypolygon.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dpolypolygontools.hxx,basegfx/polygon/b2dpolypolygontools.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dpolygon.hxx,basegfx/polygon/b2dpolygon.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dpolygonclipper.hxx,basegfx/polygon/b2dpolygonclipper.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dpolypolygonfillrule.hxx,basegfx/polygon/b2dpolypolygonfillrule.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dpolygontriangulator.hxx,basegfx/polygon/b2dpolygontriangulator.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b3dpolygontools.hxx,basegfx/polygon/b3dpolygontools.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dpolygontools.hxx,basegfx/polygon/b2dpolygontools.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b3dpolypolygon.hxx,basegfx/polygon/b3dpolypolygon.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dpolygoncutandtouch.hxx,basegfx/polygon/b2dpolygoncutandtouch.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dlinegeometry.hxx,basegfx/polygon/b2dlinegeometry.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b3dpolypolygontools.hxx,basegfx/polygon/b3dpolypolygontools.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b3dpolygon.hxx,basegfx/polygon/b3dpolygon.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b3dpolygonclipper.hxx,basegfx/polygon/b3dpolygonclipper.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/pixel/bpixel.hxx,basegfx/pixel/bpixel.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/matrix/b2dhommatrix.hxx,basegfx/matrix/b2dhommatrix.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/matrix/b3dhommatrix.hxx,basegfx/matrix/b3dhommatrix.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/matrix/b2dhommatrixtools.hxx,basegfx/matrix/b2dhommatrixtools.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/point/b3ipoint.hxx,basegfx/point/b3ipoint.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/point/b3dpoint.hxx,basegfx/point/b3dpoint.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/point/b2dpoint.hxx,basegfx/point/b2dpoint.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/point/b2ipoint.hxx,basegfx/point/b2ipoint.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/curve/b2dcubicbezier.hxx,basegfx/curve/b2dcubicbezier.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/curve/b2dbeziertools.hxx,basegfx/curve/b2dbeziertools.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/color/bcolor.hxx,basegfx/color/bcolor.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/color/bcolortools.hxx,basegfx/color/bcolortools.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/color/bcolormodifier.hxx,basegfx/color/bcolormodifier.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/raster/bpixelraster.hxx,basegfx/raster/bpixelraster.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/raster/rasterconvert3d.hxx,basegfx/raster/rasterconvert3d.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/raster/bzpixelraster.hxx,basegfx/raster/bzpixelraster.hxx)) -$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/basegfxdllapi.h,basegfx/basegfxdllapi.h)) - -# vim: set noet sw=4 ts=4: diff --git a/basegfx/StaticLibrary_basegfx_s.mk b/basegfx/StaticLibrary_basegfx_s.mk deleted file mode 100644 index cbfe817fdf63..000000000000 --- a/basegfx/StaticLibrary_basegfx_s.mk +++ /dev/null @@ -1,126 +0,0 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -$(eval $(call gb_StaticLibrary_StaticLibrary,basegfx_s)) - -$(eval $(call gb_StaticLibrary_use_package,basegfx_s,basegfx_inc)) - -$(eval $(call gb_StaticLibrary_set_include,basegfx_s,\ - -I$(SRCDIR)/basegfx/inc \ - -I$(SRCDIR)/basegfx/source/inc \ - $$(INCLUDE) \ -)) - -# Work around gcc bug 41847 present at least in -# the Android x-compiler 4.4.3. -# -Warray-bounds appeared in 4.3 -ifeq ($(COM),GCC) -ifeq ($(shell expr \( $(gb_CCVER) \>= 40300 \) \& \( $(gb_CCVER) \<= 40403 \)),1) -$(eval $(call gb_StaticLibrary_add_cxxflags,basegfx_s,\ - -Wno-array-bounds \ -)) -endif -endif - -$(eval $(call gb_StaticLibrary_use_api,basegfx_s,\ - offapi \ - udkapi \ -)) - -# the whole library is a hack -# we only build it to prevent the pdfimporter shared lib from linking to the basegfx shared lib -# this means that all code of this static library will end in a dll -# thus the _DLL define must be set to avoid link problems with stlport symbols -# the BASEGFX_STATICLIBRARY define will expand all BASEGFX_DLLPRIVATE/PUBLIC macros to nothing -$(eval $(call gb_StaticLibrary_add_defs,basegfx_s,\ - -DBASEGFX_STATICLIBRARY \ - -D_DLL \ -)) - -# as we have to build all sources a second time, we must copy them to the workdir and build from there -$(WORKDIR)/CustomTarget/basegfx/source/%.cxx : $(SRCDIR)/basegfx/source/%.cxx - mkdir -p $(dir $@) && \ - cp $< $@ - -# copied sources are generated cxx sources -$(eval $(call gb_StaticLibrary_add_generated_exception_objects,basegfx_s,\ - CustomTarget/basegfx/source/tools/canvastools \ - CustomTarget/basegfx/source/tools/zoomtools \ - CustomTarget/basegfx/source/tools/gradienttools \ - CustomTarget/basegfx/source/tools/keystoplerp \ - CustomTarget/basegfx/source/tools/unopolypolygon \ - CustomTarget/basegfx/source/tools/tools \ - CustomTarget/basegfx/source/tools/b2dclipstate \ - CustomTarget/basegfx/source/numeric/ftools \ - CustomTarget/basegfx/source/tuple/b3ituple \ - CustomTarget/basegfx/source/tuple/b3dtuple \ - CustomTarget/basegfx/source/tuple/b2ituple \ - CustomTarget/basegfx/source/tuple/b2dtuple \ - CustomTarget/basegfx/source/tuple/b3i64tuple \ - CustomTarget/basegfx/source/tuple/b2i64tuple \ - CustomTarget/basegfx/source/range/b1drange \ - CustomTarget/basegfx/source/range/b2dpolyrange \ - CustomTarget/basegfx/source/range/b2xrange \ - CustomTarget/basegfx/source/range/b3drange \ - CustomTarget/basegfx/source/range/b2drangeclipper \ - CustomTarget/basegfx/source/range/b2drange \ - CustomTarget/basegfx/source/vector/b3ivector \ - CustomTarget/basegfx/source/vector/b2ivector \ - CustomTarget/basegfx/source/vector/b2dvector \ - CustomTarget/basegfx/source/vector/b3dvector \ - CustomTarget/basegfx/source/polygon/b3dpolygon \ - CustomTarget/basegfx/source/polygon/b2dtrapezoid \ - CustomTarget/basegfx/source/polygon/b3dpolygontools \ - CustomTarget/basegfx/source/polygon/b2dlinegeometry \ - CustomTarget/basegfx/source/polygon/b3dpolypolygontools \ - CustomTarget/basegfx/source/polygon/b2dpolygonclipper \ - CustomTarget/basegfx/source/polygon/b2dpolypolygoncutter \ - CustomTarget/basegfx/source/polygon/b2dpolygon \ - CustomTarget/basegfx/source/polygon/b2dpolygontriangulator \ - CustomTarget/basegfx/source/polygon/b2dpolypolygon \ - CustomTarget/basegfx/source/polygon/b3dpolypolygon \ - CustomTarget/basegfx/source/polygon/b2dsvgpolypolygon \ - CustomTarget/basegfx/source/polygon/b2dpolygoncutandtouch \ - CustomTarget/basegfx/source/polygon/b2dpolypolygontools \ - CustomTarget/basegfx/source/polygon/b2dpolygontools \ - CustomTarget/basegfx/source/pixel/bpixel \ - CustomTarget/basegfx/source/matrix/b2dhommatrixtools \ - CustomTarget/basegfx/source/matrix/b3dhommatrix \ - CustomTarget/basegfx/source/matrix/b2dhommatrix \ - CustomTarget/basegfx/source/point/b3ipoint \ - CustomTarget/basegfx/source/point/b2dpoint \ - CustomTarget/basegfx/source/point/b3dpoint \ - CustomTarget/basegfx/source/point/b2ipoint \ - CustomTarget/basegfx/source/curve/b2dbeziertools \ - CustomTarget/basegfx/source/curve/b2dcubicbezier \ - CustomTarget/basegfx/source/color/bcolormodifier \ - CustomTarget/basegfx/source/color/bcolortools \ - CustomTarget/basegfx/source/raster/rasterconvert3d \ -)) - -# vim: set noet sw=4 ts=4: -- cgit v1.2.3