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