vim: update to 9.1.0984
[oi-userland.git] / components / library / bullet / Makefile
blobb920f895e66e6dd03a1b4af3b709196abc283b56
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.illumos.org/license/CDDL.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
21 # Copyright (c) 2015, Aurelien Larcher. All rights reserved.
24 BUILD_STYLE= cmake
25 include ../../../make-rules/shared-macros.mk
27 COMPONENT_NAME= bullet
28 COMPONENT_VERSION= 2.83.5
29 COMPONENT_REVISION= 2
30 COMPONENT_SUMMARY= Bullet Physics Library
31 COMPONENT_SRC= bullet3-$(COMPONENT_VERSION)
32 COMPONENT_PROJECT_URL= https://pybullet.org/wordpress/
33 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz
34 COMPONENT_ARCHIVE_HASH= sha256:9ed1cbf4388a34ff1913493cc3558b0f9cbced9de32fee3171f7d4b4e3b0a464
35 COMPONENT_ARCHIVE_URL= https://github.com/bulletphysics/bullet3/archive/$(COMPONENT_VERSION).tar.gz
36 COMPONENT_FMRI= library/bullet
37 COMPONENT_CLASSIFICATION=System/Libraries
38 COMPONENT_LICENSE= BSD3c
40 TEST_TARGET= $(NO_TESTS)
41 include $(WS_MAKE_RULES)/common.mk
43 CMAKE_OPTIONS+= -DBUILD_SHARED_LIBS=ON
44 CMAKE_OPTIONS+= -DBUILD_EXTRAS=ON
45 CMAKE_OPTIONS+= -DBUILD_BULLET2_DEMOS=OFF
46 CMAKE_OPTIONS+= -DBUILD_OPENGL3_DEMOS=OFF
47 CMAKE_OPTIONS+= -DBUILD_CPU_DEMOS=OFF
48 CMAKE_OPTIONS+= -DINSTALL_LIBS=ON
49 CMAKE_OPTIONS+= -DINSTALL_EXTRA_LIBS=ON
50 CMAKE_OPTIONS+= -DCMAKE_BUILD_TYPE=Release
51 CMAKE_OPTIONS+= -DLIB_SUFFIX=/$(ARCHLIBSUBDIR)
53 # Auto-generated dependencies
54 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
55 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
56 REQUIRED_PACKAGES += system/library
57 REQUIRED_PACKAGES += system/library/math