Makefile revision 3661
2119N/A#
2119N/A# CDDL HEADER START
2119N/A#
2119N/A# The contents of this file are subject to the terms of the
2119N/A# Common Development and Distribution License (the "License").
2119N/A# You may not use this file except in compliance with the License.
2119N/A#
2119N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2119N/A# or http://www.opensolaris.org/os/licensing.
2119N/A# See the License for the specific language governing permissions
2119N/A# and limitations under the License.
2119N/A#
2119N/A# When distributing Covered Code, include this CDDL HEADER in each
2119N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2119N/A# If applicable, add the following below this CDDL HEADER, with the
2119N/A# fields enclosed by brackets "[]" replaced with your own identifying
2119N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2119N/A#
2119N/A# CDDL HEADER END
2119N/A
3661N/A#
2119N/A# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
2119N/A#
2119N/A
2119N/Ainclude ../../make-rules/shared-macros.mk
2119N/A
2119N/ACOMPONENT_NAME= indent
2119N/ACOMPONENT_VERSION= 2.2.9
2119N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2119N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2119N/ACOMPONENT_PROJECT_URL= https://www.gnu.org/software/indent/
2119N/ACOMPONENT_ARCHIVE_HASH= \
2119N/A sha256:0b9387bda5639ed54cf91bd607ab055624a07414f7f6882a75be97fd776ce466
2119N/ACOMPONENT_ARCHIVE_URL= ftp://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
3661N/ACOMPONENT_BUGDB= utility/gnu-indent
3661N/A
2119N/ATPNO= 12225
2119N/A
2119N/Ainclude $(WS_TOP)/make-rules/prep.mk
2119N/Ainclude $(WS_TOP)/make-rules/configure.mk
2119N/Ainclude $(WS_TOP)/make-rules/ips.mk
2119N/A
2119N/A# Needed to get "gmake test" working.
2119N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
2119N/A
2119N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
2119N/A
2119N/A# common targets
2119N/Abuild: $(BUILD_64)
2119N/A
2119N/Ainstall: $(INSTALL_64)
2119N/A
2119N/A# Need to put /usr/gnu/bin at the front of $PATH for GNU diff.
2119N/Atest: install
2119N/A @cd $(BUILD_DIR_64)/regression; PATH=/usr/gnu/bin:/usr/bin $(MAKE) test
2119N/A
2119N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
2119N/A
2119N/Ainclude $(WS_TOP)/make-rules/depend.mk