Makefile revision 5231
5231N/A#
5231N/A# CDDL HEADER START
5231N/A#
5231N/A# The contents of this file are subject to the terms of the
5231N/A# Common Development and Distribution License (the "License").
5231N/A# You may not use this file except in compliance with the License.
5231N/A#
5231N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5231N/A# or http://www.opensolaris.org/os/licensing.
5231N/A# See the License for the specific language governing permissions
5231N/A# and limitations under the License.
5231N/A#
5231N/A# When distributing Covered Code, include this CDDL HEADER in each
5231N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5231N/A# If applicable, add the following below this CDDL HEADER, with the
5231N/A# fields enclosed by brackets "[]" replaced with your own identifying
5231N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5231N/A#
5231N/A# CDDL HEADER END
5231N/A#
5231N/A# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
5231N/A#
5231N/Ainclude ../../make-rules/shared-macros.mk
5231N/A
5231N/ACOMPONENT_NAME = SDL
5231N/ACOMPONENT_VERSION = 1.2.14
5231N/ACOMPONENT_PROJECT_URL = http://www.libsdl.org/
5231N/ACOMPONENT_SRC = $(COMPONENT_NAME)-$(COMPONENT_VERSION)
5231N/ACOMPONENT_ARCHIVE = $(COMPONENT_SRC).tar.gz
5231N/ACOMPONENT_ARCHIVE_HASH = \
5231N/A sha256:5d927e287034cb6bb0ebccfa382cb1d185cb113c8ab5115a0759798642eed9b6
5231N/ACOMPONENT_ARCHIVE_URL = $(COMPONENT_PROJECT_URL)release/$(COMPONENT_ARCHIVE)
5231N/ACOMPONENT_BUGDB= library/sdl
5231N/A
5231N/ATPNO = 7683
5231N/A
5231N/Ainclude $(WS_MAKE_RULES)/prep.mk
5231N/Ainclude $(WS_MAKE_RULES)/configure.mk
5231N/Ainclude $(WS_MAKE_RULES)/ips.mk
5231N/A
5231N/A# libtool linking
5231N/ACC += $(CC_BITS)
5231N/A
5231N/ACONFIGURE_OPTIONS += --disable-pulseaudio
5231N/ACONFIGURE_OPTIONS += CC="$(CC)"
5231N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
5231N/A
5231N/Aconfigure: $(CONFIGURE_32_and_64)
5231N/A
5231N/Abuild: $(BUILD_32_and_64)
5231N/A
5231N/A# elfedit removes wrong RUNPATH/RPATH (see 22383984)
5231N/Ainstall: $(INSTALL_32_and_64)
5231N/A /usr/bin/elfedit -e "dyn:delete RUNPATH" -e "dyn:delete RPATH" \
5231N/A $(PROTOUSRLIBDIR)/libSDL-1.2.so.0.*
5231N/A /usr/bin/elfedit -e "dyn:delete RUNPATH" -e "dyn:delete RPATH" \
5231N/A $(PROTOUSRLIBDIR64)/libSDL-1.2.so.0.*
5231N/A
5231N/Atest: $(NO_TESTS)
5231N/A
5231N/Asystem-test: $(NO_TESTS)
5231N/A
5231N/AREQUIRED_PACKAGES += shell/ksh93
5231N/AREQUIRED_PACKAGES += system/library
5231N/AREQUIRED_PACKAGES += system/library/math
5231N/AREQUIRED_PACKAGES += x11/library/libx11
5231N/AREQUIRED_PACKAGES += x11/library/libxext
5231N/AREQUIRED_PACKAGES += x11/library/libxrandr