diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-16 04:36:43 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-16 04:36:43 -0500 |
commit | eccac35fff3c4d90e2fc60fdd67ed8e7a99aad76 (patch) | |
tree | d372549fa84ccc1d6a1fd7911b148f25e2426105 /basebmp | |
parent | a96262179e38837717256a05242af0ad04ddabeb (diff) |
basebmp gbuildification
Change-Id: I9b24ff3503b1dc1198aab622e36224e75cb31255
Diffstat (limited to 'basebmp')
-rw-r--r-- | basebmp/CppunitTest_basebmp.mk | 36 | ||||
-rw-r--r-- | basebmp/Library_basebmp.mk | 40 | ||||
-rw-r--r-- | basebmp/Module_basebmp.mk | 21 | ||||
-rw-r--r-- | basebmp/Package_inc.mk | 19 |
4 files changed, 116 insertions, 0 deletions
diff --git a/basebmp/CppunitTest_basebmp.mk b/basebmp/CppunitTest_basebmp.mk new file mode 100644 index 000000000000..cbdfef63a0c1 --- /dev/null +++ b/basebmp/CppunitTest_basebmp.mk @@ -0,0 +1,36 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_CppunitTest_CppunitTest,basebmp_cpputest)) + +$(eval $(call gb_CppunitTest_set_include,basebmp_cpputest,\ + -I$(SRCDIR)/basebmp/inc/ \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_CppunitTest_use_libraries,basebmp_cpputest,\ + basebmp \ + basegfx \ + sal \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_CppunitTest_add_exception_objects,basebmp_cpputest,\ + basebmp/test/basictest \ + basebmp/test/bmpmasktest \ + basebmp/test/bmptest \ + basebmp/test/cliptest \ + basebmp/test/filltest \ + basebmp/test/linetest \ + basebmp/test/masktest \ + basebmp/test/polytest \ + basebmp/test/tools \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/basebmp/Library_basebmp.mk b/basebmp/Library_basebmp.mk new file mode 100644 index 000000000000..1d92e050bbde --- /dev/null +++ b/basebmp/Library_basebmp.mk @@ -0,0 +1,40 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_Library_Library,basebmp)) + +$(eval $(call gb_Library_use_package,basebmp,basebmp_inc)) + +$(eval $(call gb_Library_use_api,basebmp,\ + offapi \ + udkapi \ +)) + +$(eval $(call gb_Library_use_libraries,basebmp,\ + basegfx \ + sal \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Library_set_include,basebmp,\ + -I$(SRCDIR)/basebmp/inc/ \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_Library_add_defs,basebmp,\ + -DBASEBMP_DLLIMPLEMENTATION \ +)) + +$(eval $(call gb_Library_add_exception_objects,basebmp,\ + basebmp/source/bitmapdevice \ + basebmp/source/debug \ + basebmp/source/polypolygonrenderer \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/basebmp/Module_basebmp.mk b/basebmp/Module_basebmp.mk new file mode 100644 index 000000000000..f6080f656571 --- /dev/null +++ b/basebmp/Module_basebmp.mk @@ -0,0 +1,21 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_Module_Module,basebmp)) + +$(eval $(call gb_Module_add_targets,basebmp,\ + Library_basebmp \ + Package_inc \ +)) + +$(eval $(call gb_Module_add_check_targets,basebmp,\ + CppunitTest_basebmp \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/basebmp/Package_inc.mk b/basebmp/Package_inc.mk new file mode 100644 index 000000000000..1be28fa11bd1 --- /dev/null +++ b/basebmp/Package_inc.mk @@ -0,0 +1,19 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_Package_Package,basebmp_inc,$(SRCDIR)/basebmp/inc)) + +$(eval $(call gb_Package_add_file,basebmp_inc,inc/basebmp/bitmapdevice.hxx,basebmp/bitmapdevice.hxx)) +$(eval $(call gb_Package_add_file,basebmp_inc,inc/basebmp/basebmpdllapi.h,basebmp/basebmpdllapi.h)) +$(eval $(call gb_Package_add_file,basebmp_inc,inc/basebmp/color.hxx,basebmp/color.hxx)) +$(eval $(call gb_Package_add_file,basebmp_inc,inc/basebmp/debug.hxx,basebmp/debug.hxx)) +$(eval $(call gb_Package_add_file,basebmp_inc,inc/basebmp/drawmodes.hxx,basebmp/drawmodes.hxx)) +$(eval $(call gb_Package_add_file,basebmp_inc,inc/basebmp/scanlineformats.hxx,basebmp/scanlineformats.hxx)) + +# vim: set noet sw=4 ts=4: |