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