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