Makefile revision 1736
143N/A#
143N/A# CDDL HEADER START
143N/A#
143N/A# The contents of this file are subject to the terms of the
143N/A# Common Development and Distribution License (the "License").
143N/A# You may not use this file except in compliance with the License.
143N/A#
143N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
143N/A# or http://www.opensolaris.org/os/licensing.
143N/A# See the License for the specific language governing permissions
143N/A# and limitations under the License.
143N/A#
143N/A# When distributing Covered Code, include this CDDL HEADER in each
143N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
143N/A# If applicable, add the following below this CDDL HEADER, with the
143N/A# fields enclosed by brackets "[]" replaced with your own identifying
143N/A# information: Portions Copyright [yyyy] [name of copyright owner]
143N/A#
143N/A# CDDL HEADER END
143N/A#
1392N/A# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
143N/A#
143N/Ainclude ../../make-rules/shared-macros.mk
143N/A
143N/ACOMPONENT_NAME= autogen
1736N/ACOMPONENT_VERSION= 5.16.2
618N/ACOMPONENT_PROJECT_URL= http://www.gnu.org/software/autogen/
143N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
143N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
1736N/A sha256:aa51f5adbf49c2cb48a7d6de3dbab15b89e0a04e7152195fe6fb3380e05c4991
143N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/autogen/rel$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= utility/autogen
143N/A
143N/Ainclude ../../make-rules/prep.mk
143N/Ainclude ../../make-rules/configure.mk
143N/Ainclude ../../make-rules/ips.mk
143N/A
143N/A# build target is incorrect without this
143N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
143N/A
143N/A# built in SFW with gcc and builds cleanly now only with gcc
143N/ACOMPILER = gcc
143N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
143N/A
143N/A# strip the environment or install target fails
143N/AENV += -i
143N/A
1392N/A# Enable ASLR for this component
1392N/AASLR_MODE = $(ASLR_ENABLE)
1392N/A
143N/A# common targets
1736N/Abuild: $(BUILD_32_and_64)
1736N/A
1736N/Ainstall: $(INSTALL_32_and_64)
143N/A
1736N/Atest: build
1736N/A -(cd $(BUILD_DIR_32)/agen5/test; gmake check)
1736N/A -(cd $(BUILD_DIR_32)/getdefs/test; gmake check)
1736N/A -(cd $(BUILD_DIR_32)/xml2ag/test; gmake check)
1736N/A -(cd $(BUILD_DIR_64)/agen5/test; gmake check)
1736N/A -(cd $(BUILD_DIR_64)/getdefs/test; gmake check)
1736N/A -(cd $(BUILD_DIR_64)/xml2ag/test; gmake check)
143N/A
143N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
143N/A
143N/Ainclude ../../make-rules/depend.mk