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#
3996N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
294N/A#
294N/A
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
294N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
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)
1273N/ACOMPONENT_BUGDB= library/aalib
294N/A
3661N/ATPNO= 6118
3661N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
3996N/Ainclude $(WS_MAKE_RULES)/lint-libraries.mk
294N/A
294N/APKG_PROTO_DIRS += $(COMPONENT_SRC)
294N/A
294N/A# We need to reset configure options here because aalib is confused with
294N/A# CC and CFLAGS definitions as configure parameters.
294N/ACONFIGURE_OPTIONS = --prefix=/usr
294N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
294N/ACONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR)
294N/ACONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.$(BITS))
294N/ACONFIGURE_OPTIONS += --libdir=$(CONFIGURE_LIBDIR.$(BITS))
294N/ACONFIGURE_OPTIONS += --enable-shared
294N/ACONFIGURE_OPTIONS += --disable-static
294N/ACONFIGURE_OPTIONS += --x-includes=/usr/include
294N/ACONFIGURE_OPTIONS += --x-libraries=$(CONFIGURE_LIBDIR.$(BITS))
294N/ACONFIGURE_OPTIONS += $(CONFIGURE_OPTIONS.$(BITS))
294N/A
294N/ACONFIGURE_ENV += CC="$(CC)"
294N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
294N/A
294N/A# common targets
294N/Abuild: $(BUILD_32_and_64)
294N/A
294N/Ainstall: $(INSTALL_32_and_64)
294N/A
294N/A# actually there is a test we put in the demos,
294N/A# but it's 32-bit only and not a target
294N/Atest: $(NO_TESTS)
294N/A
294N/A
3996N/AREQUIRED_PACKAGES += library/slang
3996N/AREQUIRED_PACKAGES += shell/ksh93
3996N/AREQUIRED_PACKAGES += system/library
3996N/AREQUIRED_PACKAGES += system/library/math
3996N/AREQUIRED_PACKAGES += x11/library/libx11