Makefile revision 3996
341N/A#
341N/A# CDDL HEADER START
341N/A#
341N/A# The contents of this file are subject to the terms of the
341N/A# Common Development and Distribution License (the "License").
341N/A# You may not use this file except in compliance with the License.
341N/A#
341N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
341N/A# or http://www.opensolaris.org/os/licensing.
341N/A# See the License for the specific language governing permissions
341N/A# and limitations under the License.
341N/A#
341N/A# When distributing Covered Code, include this CDDL HEADER in each
341N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
341N/A# If applicable, add the following below this CDDL HEADER, with the
341N/A# fields enclosed by brackets "[]" replaced with your own identifying
341N/A# information: Portions Copyright [yyyy] [name of copyright owner]
341N/A#
341N/A# CDDL HEADER END
341N/A#
341N/A
341N/A#
341N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
341N/A#
341N/A
341N/Ainclude ../../make-rules/shared-macros.mk
341N/A
341N/ACOMPONENT_NAME= aalib
341N/ACOMPONENT_VERSION= 1.4.0
341N/AHUMAN_VERSION= 1.4rc5
341N/AIPS_COMPONENT_VERSION = 1.4.5
341N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
341N/ACOMPONENT_PROJECT_URL= http://aa-project.sourceforge.net/aalib/
341N/ACOMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(HUMAN_VERSION).tar.gz
341N/ACOMPONENT_ARCHIVE_HASH= \
341N/A sha256:fbddda9230cf6ee2a4f5706b4b11e2190ae45f5eda1f0409dc4f99b35e0a70ee
341N/ACOMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/aa-project/$(COMPONENT_ARCHIVE)
341N/ACOMPONENT_BUGDB= library/aalib
341N/A
341N/ATPNO= 6118
341N/A
341N/Ainclude $(WS_MAKE_RULES)/prep.mk
341N/Ainclude $(WS_MAKE_RULES)/configure.mk
341N/Ainclude $(WS_MAKE_RULES)/ips.mk
341N/Ainclude $(WS_MAKE_RULES)/lint-libraries.mk
PKG_PROTO_DIRS += $(COMPONENT_SRC)
# We need to reset configure options here because aalib is confused with
# CC and CFLAGS definitions as configure parameters.
CONFIGURE_OPTIONS = --prefix=/usr
CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
CONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR)
CONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.$(BITS))
CONFIGURE_OPTIONS += --libdir=$(CONFIGURE_LIBDIR.$(BITS))
CONFIGURE_OPTIONS += --enable-shared
CONFIGURE_OPTIONS += --disable-static
CONFIGURE_OPTIONS += --x-includes=/usr/include
CONFIGURE_OPTIONS += --x-libraries=$(CONFIGURE_LIBDIR.$(BITS))
CONFIGURE_OPTIONS += $(CONFIGURE_OPTIONS.$(BITS))
CONFIGURE_ENV += CC="$(CC)"
CONFIGURE_ENV += CFLAGS="$(CFLAGS)"
# common targets
build: $(BUILD_32_and_64)
install: $(INSTALL_32_and_64)
# actually there is a test we put in the demos,
# but it's 32-bit only and not a target
test: $(NO_TESTS)
REQUIRED_PACKAGES += library/slang
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/math
REQUIRED_PACKAGES += x11/library/libx11