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