Makefile revision 5680
0N/A#
0N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
0N/A
0N/A#
0N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/A# Prefer 32-bit as only "binary" delivered is a script with embedded paths.
0N/ABUILD_BITS= 32_and_64
0N/Ainclude ../../make-rules/shared-macros.mk
0N/A
0N/ACOMPONENT_NAME = SDL
0N/ACOMPONENT_VERSION = 1.2.14
0N/ACOMPONENT_PROJECT_URL = http://www.libsdl.org/
0N/ACOMPONENT_ARCHIVE_HASH = \
0N/A sha256:5d927e287034cb6bb0ebccfa382cb1d185cb113c8ab5115a0759798642eed9b6
0N/ACOMPONENT_ARCHIVE_URL = $(COMPONENT_PROJECT_URL)release/$(COMPONENT_ARCHIVE)
0N/ACOMPONENT_BUGDB= library/sdl
0N/A
0N/ATPNO = 7683
0N/A
0N/ATEST_TARGET= $(SKIP_TEST)
0N/Ainclude $(WS_MAKE_RULES)/common.mk
0N/A
0N/A# libtool linking
0N/ACC += $(CC_BITS)
0N/A
0N/ACONFIGURE_OPTIONS += --disable-pulseaudio
0N/A
0N/A# elfedit removes wrong RUNPATH/RPATH (see 22383984)
0N/ACOMPONENT_POST_INSTALL_ACTION.32= \
0N/A $(ELFEDIT) -e "dyn:delete RUNPATH" -e "dyn:delete RPATH" \
0N/A $(PROTOUSRLIBDIR)/libSDL-1.2.so.0.*
0N/A
0N/ACOMPONENT_POST_INSTALL_ACTION.64= \
0N/A $(ELFEDIT) -e "dyn:delete RUNPATH" -e "dyn:delete RPATH" \
0N/A $(PROTOUSRLIBDIR64)/libSDL-1.2.so.0.*
0N/A
0N/AREQUIRED_PACKAGES += shell/ksh93
0N/AREQUIRED_PACKAGES += system/library/math
0N/AREQUIRED_PACKAGES += x11/library/libx11
0N/AREQUIRED_PACKAGES += x11/library/libxext
0N/AREQUIRED_PACKAGES += x11/library/libxrandr
0N/A