Makefile revision 6018
236N/A#
236N/A# CDDL HEADER START
236N/A#
236N/A# The contents of this file are subject to the terms of the
236N/A# Common Development and Distribution License (the "License").
236N/A# You may not use this file except in compliance with the License.
236N/A#
236N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
236N/A# or http://www.opensolaris.org/os/licensing.
236N/A# See the License for the specific language governing permissions
236N/A# and limitations under the License.
236N/A#
236N/A# When distributing Covered Code, include this CDDL HEADER in each
236N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
236N/A# If applicable, add the following below this CDDL HEADER, with the
236N/A# fields enclosed by brackets "[]" replaced with your own identifying
236N/A# information: Portions Copyright [yyyy] [name of copyright owner]
236N/A#
236N/A# CDDL HEADER END
236N/A#
236N/A
236N/A#
844N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
236N/A#
236N/A
236N/A# Prefer 32-bit over 64-bit as we have to manually shuffle the resulting
236N/A# binaries around anyway in the package manifest.
236N/ABUILD_BITS= 32_and_64
406N/Ainclude ../../make-rules/shared-macros.mk
236N/A
236N/ACOMPONENT_NAME= aalib
236N/ACOMPONENT_VERSION= 1.4.0
844N/AHUMAN_VERSION= 1.4rc5
844N/AIPS_COMPONENT_VERSION = 1.4.5
406N/ACOMPONENT_PROJECT_URL= http://aa-project.sourceforge.net/aalib/
236N/ACOMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(HUMAN_VERSION).tar.gz
236N/ACOMPONENT_ARCHIVE_HASH= \
236N/A sha256:fbddda9230cf6ee2a4f5706b4b11e2190ae45f5eda1f0409dc4f99b35e0a70ee
236N/ACOMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/aa-project/$(COMPONENT_ARCHIVE)
236N/ACOMPONENT_BUGDB= library/aalib
236N/A
236N/ATPNO= 6118
236N/A
236N/ASYSTEM_TEST_TARGET= $(SYSTEM_TEST_32_and_64)
236N/Ainclude $(WS_MAKE_RULES)/common.mk
236N/A
236N/ALINT_FLAGS += -I$(SOURCE_DIR)/src
236N/A
236N/A# Ensure ancient autoconf scripts are overwritten with fixed versions that
236N/A# properly detect SunOS 5.x hosts.
236N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv)
236N/A
236N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
236N/ACONFIGURE_OPTIONS += --enable-shared
236N/ACONFIGURE_OPTIONS += --disable-static
236N/ACONFIGURE_OPTIONS += --with-curses-driver
236N/ACONFIGURE_OPTIONS += --without-slang-driver
CONFIGURE_OPTIONS += --x-includes=$(USRINCDIR)
CONFIGURE_OPTIONS += --x-libraries=$(CONFIGURE_LIBDIR.$(BITS))
COMPONENT_TEST_DIR = $(@D)/src
COMPONENT_TEST_CMD = perl -E 'say "\n" x 40' | ./aatest
COMPONENT_TEST_ARGS = -kbddriver stdin -driver stdout
COMPONENT_TEST_TARGETS =
COMPONENT_SYSTEM_TEST_DIR = $(SOURCE_DIR)/src
COMPONENT_SYSTEM_TEST_CMD = perl -E 'say "\n" x 40' | /usr/demo/aalib/aatest
COMPONENT_SYSTEM_TEST_ARGS = -kbddriver stdin -driver stdout
COMPONENT_SYSTEM_TEST_TARGETS =
# Master test results are the same for both 32-bit and 64-bit, so override
# here, rather than create multiple identical master files.
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
ASLR_MODE = $(ASLR_ENABLE)
REQUIRED_PACKAGES += library/ncurses
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/library/math
REQUIRED_PACKAGES += x11/library/libx11