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