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