setup.py.mk: update pypi url
[unleashed-userland.git] / components / bullet / Makefile
blobc88eab15c2589f59500725e542c61d6e90d503d8
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.
23 include ../../make-rules/shared-macros.mk
25 COMPONENT_NAME= bullet
26 COMPONENT_VERSION= 2.83.5
27 COMPONENT_FMRI= library/bullet
28 COMPONENT_CLASSIFICATION=System/Libraries
29 COMPONENT_SRC= bullet3-$(COMPONENT_VERSION)
30 COMPONENT_PROJECT_URL= http://bulletphysics.org/
31 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz
32 COMPONENT_ARCHIVE_HASH= sha256:df6d58898d3d3bf117854dd64467dbd09625e048624c797649b46bf1c595b152
33 COMPONENT_ARCHIVE_URL= https://github.com/bulletphysics/bullet3/archive/$(COMPONENT_VERSION).tar.gz
34 COMPONENT_LICENSE= BSD3c
35 COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license
36 COMPONENT_SUMMARY= Bullet Physics Library
38 include $(WS_TOP)/make-rules/prep.mk
39 include $(WS_TOP)/make-rules/cmake.mk
40 include $(WS_TOP)/make-rules/ips.mk
42 LIB_SUFFIX32=
43 LIB_SUFFIX64=$(MACH64)
45 CMAKE_OPTIONS+= -DBUILD_SHARED_LIBS=ON
46 CMAKE_OPTIONS+= -DBUILD_EXTRAS=ON
47 CMAKE_OPTIONS+= -DBUILD_BULLET2_DEMOS=OFF
48 CMAKE_OPTIONS+= -DBUILD_OPENGL3_DEMOS=OFF
49 CMAKE_OPTIONS+= -DBUILD_CPU_DEMOS=OFF
50 CMAKE_OPTIONS+= -DINSTALL_LIBS=ON
51 CMAKE_OPTIONS+= -DINSTALL_EXTRA_LIBS=ON
52 CMAKE_OPTIONS+= -DCMAKE_BUILD_TYPE=Release
53 CMAKE_OPTIONS+= -DLIB_SUFFIX=/$(LIB_SUFFIX$(BITS))
55 build: $(BUILD_32_and_64)
57 install: $(INSTALL_32_and_64)
59 test: $(NO_TESTS)
61 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
63 include $(WS_TOP)/make-rules/depend.mk