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