diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
commit | ed5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch) | |
tree | 7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /external/box2d | |
parent | Initial commit. (diff) | |
download | libreoffice-upstream/4%7.4.7.tar.xz libreoffice-upstream/4%7.4.7.zip |
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | external/box2d/Makefile | 7 | ||||
-rw-r--r-- | external/box2d/Module_box2d.mk | 20 | ||||
-rw-r--r-- | external/box2d/README | 3 | ||||
-rw-r--r-- | external/box2d/StaticLibrary_box2d.mk | 72 | ||||
-rw-r--r-- | external/box2d/UnpackedTarball_box2d.mk | 16 |
5 files changed, 118 insertions, 0 deletions
diff --git a/external/box2d/Makefile b/external/box2d/Makefile new file mode 100644 index 000000000..e4968cf85 --- /dev/null +++ b/external/box2d/Makefile @@ -0,0 +1,7 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- + +module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST)))) + +include $(module_directory)/../../solenv/gbuild/partial_build.mk + +# vim: set noet sw=4 ts=4: diff --git a/external/box2d/Module_box2d.mk b/external/box2d/Module_box2d.mk new file mode 100644 index 000000000..3986357b3 --- /dev/null +++ b/external/box2d/Module_box2d.mk @@ -0,0 +1,20 @@ +# -*- 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,box2d)) + +$(eval $(call gb_Module_add_targets,box2d,\ + UnpackedTarball_box2d \ +)) + +$(eval $(call gb_Module_add_targets,box2d,\ + StaticLibrary_box2d \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/external/box2d/README b/external/box2d/README new file mode 100644 index 000000000..d2b46b93b --- /dev/null +++ b/external/box2d/README @@ -0,0 +1,3 @@ +Box2D is a 2D physics engine. + +It is available from [https://github.com/erincatto/box2d] diff --git a/external/box2d/StaticLibrary_box2d.mk b/external/box2d/StaticLibrary_box2d.mk new file mode 100644 index 000000000..1dfb6f252 --- /dev/null +++ b/external/box2d/StaticLibrary_box2d.mk @@ -0,0 +1,72 @@ +# -*- 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_StaticLibrary_StaticLibrary,box2d)) + +$(eval $(call gb_StaticLibrary_use_unpacked,box2d,box2d)) + +$(eval $(call gb_StaticLibrary_set_warnings_disabled,box2d)) + +$(eval $(call gb_StaticLibrary_set_generated_cxx_suffix,box2d,cpp)) + +$(eval $(call gb_StaticLibrary_set_include,box2d,\ + -I$(call gb_UnpackedTarball_get_dir,box2d/include/)\ + -I$(call gb_UnpackedTarball_get_dir,box2d/src/)\ + $$(INCLUDE)\ +)) + +$(eval $(call gb_StaticLibrary_add_generated_exception_objects,box2d,\ + UnpackedTarball/box2d/src/common/b2_timer \ + UnpackedTarball/box2d/src/common/b2_stack_allocator \ + UnpackedTarball/box2d/src/common/b2_draw \ + UnpackedTarball/box2d/src/common/b2_math \ + UnpackedTarball/box2d/src/common/b2_block_allocator \ + UnpackedTarball/box2d/src/common/b2_settings \ + UnpackedTarball/box2d/src/dynamics/b2_body \ + UnpackedTarball/box2d/src/dynamics/b2_polygon_circle_contact \ + UnpackedTarball/box2d/src/dynamics/b2_circle_contact \ + UnpackedTarball/box2d/src/dynamics/b2_contact_solver \ + UnpackedTarball/box2d/src/dynamics/b2_polygon_contact \ + UnpackedTarball/box2d/src/dynamics/b2_chain_polygon_contact \ + UnpackedTarball/box2d/src/dynamics/b2_chain_circle_contact \ + UnpackedTarball/box2d/src/dynamics/b2_contact \ + UnpackedTarball/box2d/src/dynamics/b2_edge_polygon_contact \ + UnpackedTarball/box2d/src/dynamics/b2_edge_circle_contact \ + UnpackedTarball/box2d/src/dynamics/b2_wheel_joint \ + UnpackedTarball/box2d/src/dynamics/b2_friction_joint \ + UnpackedTarball/box2d/src/dynamics/b2_prismatic_joint \ + UnpackedTarball/box2d/src/dynamics/b2_weld_joint \ + UnpackedTarball/box2d/src/dynamics/b2_pulley_joint \ + UnpackedTarball/box2d/src/dynamics/b2_mouse_joint \ + UnpackedTarball/box2d/src/dynamics/b2_motor_joint \ + UnpackedTarball/box2d/src/dynamics/b2_distance_joint \ + UnpackedTarball/box2d/src/dynamics/b2_gear_joint \ + UnpackedTarball/box2d/src/dynamics/b2_joint \ + UnpackedTarball/box2d/src/dynamics/b2_revolute_joint \ + UnpackedTarball/box2d/src/dynamics/b2_world_callbacks \ + UnpackedTarball/box2d/src/dynamics/b2_fixture \ + UnpackedTarball/box2d/src/dynamics/b2_contact_manager \ + UnpackedTarball/box2d/src/dynamics/b2_island \ + UnpackedTarball/box2d/src/dynamics/b2_world \ + UnpackedTarball/box2d/src/rope/b2_rope \ + UnpackedTarball/box2d/src/collision/b2_time_of_impact \ + UnpackedTarball/box2d/src/collision/b2_collide_polygon \ + UnpackedTarball/box2d/src/collision/b2_distance \ + UnpackedTarball/box2d/src/collision/b2_collision \ + UnpackedTarball/box2d/src/collision/b2_collide_edge \ + UnpackedTarball/box2d/src/collision/b2_collide_circle \ + UnpackedTarball/box2d/src/collision/b2_broad_phase \ + UnpackedTarball/box2d/src/collision/b2_edge_shape \ + UnpackedTarball/box2d/src/collision/b2_circle_shape \ + UnpackedTarball/box2d/src/collision/b2_chain_shape \ + UnpackedTarball/box2d/src/collision/b2_polygon_shape \ + UnpackedTarball/box2d/src/collision/b2_dynamic_tree \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/external/box2d/UnpackedTarball_box2d.mk b/external/box2d/UnpackedTarball_box2d.mk new file mode 100644 index 000000000..7d7d60e93 --- /dev/null +++ b/external/box2d/UnpackedTarball_box2d.mk @@ -0,0 +1,16 @@ +#-*- 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_UnpackedTarball_UnpackedTarball,box2d)) + +$(eval $(call gb_UnpackedTarball_set_tarball,box2d,$(BOX2D_TARBALL))) + +$(eval $(call gb_UnpackedTarball_set_patchlevel,box2d,1)) + +# vim: set noet sw=4 ts=4: |