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