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