Makefile revision 599
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson#
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson# CDDL HEADER START
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson#
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson# The contents of this file are subject to the terms of the
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson# Common Development and Distribution License (the "License").
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson# You may not use this file except in compliance with the License.
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson#
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson# or http://www.opensolaris.org/os/licensing.
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson# See the License for the specific language governing permissions
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson# and limitations under the License.
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson#
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson# When distributing Covered Code, include this CDDL HEADER in each
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson# If applicable, add the following below this CDDL HEADER, with the
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson# fields enclosed by brackets "[]" replaced with your own identifying
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson# information: Portions Copyright [yyyy] [name of copyright owner]
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson#
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson# CDDL HEADER END
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson#
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson#
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilsoninclude ../../make-rules/shared-macros.mk
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilsonCOMPONENT_NAME= autogen
a3d3ab94806056d2355afea6fe8daac41059b9fbludovicpCOMPONENT_VERSION= 5.9
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilsonCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilsonCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilsonCOMPONENT_ARCHIVE_HASH= sha1:00510cd07be7a35591bac7bf1f6f78bf607d193d
2467af48fef0a0e2a62f2ddf6400f91ee3b0f01eneil_a_wilsonCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/autogen/rel$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilsoninclude ../../make-rules/prep.mk
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergarainclude ../../make-rules/configure.mk
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergarainclude ../../make-rules/ips.mk
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilson# build target is incorrect without this
3ec8ffa3cd3bf9f3ed0d3f3ddb73b28a99b79f62neil_a_wilsonCOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
# built in SFW with gcc and builds cleanly now only with gcc
COMPILER = gcc
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
# strip the environment or install target fails
ENV += -i
# common targets
build: $(BUILD_32)
install: $(INSTALL_32)
test: $(TEST_32)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk