Makefile revision 5325
5325N/A#
5325N/A# CDDL HEADER START
5325N/A#
5325N/A# The contents of this file are subject to the terms of the
5325N/A# Common Development and Distribution License (the "License").
5325N/A# You may not use this file except in compliance with the License.
5325N/A#
5325N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5325N/A# or http://www.opensolaris.org/os/licensing.
5325N/A# See the License for the specific language governing permissions
5325N/A# and limitations under the License.
5325N/A#
5325N/A# When distributing Covered Code, include this CDDL HEADER in each
5325N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5325N/A# If applicable, add the following below this CDDL HEADER, with the
5325N/A# fields enclosed by brackets "[]" replaced with your own identifying
5325N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5325N/A#
5325N/A# CDDL HEADER END
5325N/A#
5325N/A
5325N/A#
5325N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
5325N/A#
5325N/A
5325N/Ainclude ../../../make-rules/shared-macros.mk
5325N/A
5325N/ACOMPONENT_NAME= libspectre
5325N/ACOMPONENT_VERSION= 0.2.6
5325N/ACOMPONENT_PROJECT_URL= http://libspectre.freedesktop.org
5325N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
5325N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
5325N/ACOMPONENT_ARCHIVE_HASH= \
5325N/A sha256:2f637c62322c8040514284c00f63a5c310a28801e7dcfbe2ba2791be4fac0dd3
5325N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/releases/$(COMPONENT_ARCHIVE)
5325N/ACOMPONENT_BUGDB= library/libspectre
5325N/A
5325N/ATPNO= 7684
5325N/A
5325N/Ainclude $(WS_MAKE_RULES)/prep.mk
5325N/Ainclude $(WS_MAKE_RULES)/configure.mk
5325N/Ainclude $(WS_MAKE_RULES)/ips.mk
5325N/A
5325N/ACOMPONENT_PREP_ACTION = \
5325N/A (cd $(@D) ; \
5325N/A aclocal -I . ; \
5325N/A libtoolize --force ; \
5325N/A autoheader ; \
5325N/A automake -a -c -f ; \
5325N/A autoconf )
5325N/A
5325N/A
5325N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
5325N/ACONFIGURE_OPTIONS += --disable-static
5325N/ACONFIGURE_OPTIONS += --enable-shared
5325N/ACONFIGURE_OPTIONS += --with-pic
5325N/A
5325N/A# Always show the build and link lines for easier debugging.
5325N/ACOMPONENT_BUILD_ARGS += V=1
5325N/A
5325N/AASLR_MODE = $(ASLR_ENABLE)
5325N/A
5325N/Aconfigure: $(CONFIGURE_32_and_64)
5325N/A
5325N/Abuild: $(BUILD_32_and_64)
5325N/A
5325N/Ainstall: $(INSTALL_32_and_64)
5325N/A
5325N/Atest: $(NO_TESTS)
5325N/A
5325N/Asystem-test: $(NO_TESTS)
5325N/A
5325N/AREQUIRED_PACKAGES += print/filter/ghostscript
5325N/AREQUIRED_PACKAGES += system/library