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