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