components/indent/Makefile
branchs11-update
changeset 3996 20c0f21bbe1e
parent 3661 47545fb8aed4
equal deleted inserted replaced
3994:3781477accf3 3996:20c0f21bbe1e
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 
    20 
    21 #
    21 #
    22 # Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
    22 # Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
    23 #
    23 #
    24 
    24 
    25 include ../../make-rules/shared-macros.mk
    25 include ../../make-rules/shared-macros.mk
    26 
    26 
    27 COMPONENT_NAME=		indent
    27 COMPONENT_NAME=		indent
    34 COMPONENT_ARCHIVE_URL=	ftp://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
    34 COMPONENT_ARCHIVE_URL=	ftp://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
    35 COMPONENT_BUGDB=	utility/gnu-indent
    35 COMPONENT_BUGDB=	utility/gnu-indent
    36 
    36 
    37 TPNO=			12225
    37 TPNO=			12225
    38 
    38 
    39 include $(WS_TOP)/make-rules/prep.mk
    39 include $(WS_MAKE_RULES)/prep.mk
    40 include $(WS_TOP)/make-rules/configure.mk
    40 include $(WS_MAKE_RULES)/configure.mk
    41 include $(WS_TOP)/make-rules/ips.mk
    41 include $(WS_MAKE_RULES)/ips.mk
    42 
    42 
    43 # Needed to get "gmake test" working.
    43 # Needed to get "gmake test" working.
    44 COMPONENT_PRE_CONFIGURE_ACTION =	($(CLONEY) $(SOURCE_DIR) $(@D))
    44 COMPONENT_PRE_CONFIGURE_ACTION =	($(CLONEY) $(SOURCE_DIR) $(@D))
    45 
    45 
    46 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
    46 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
    52 
    52 
    53 # Need to put /usr/gnu/bin at the front of $PATH for GNU diff.
    53 # Need to put /usr/gnu/bin at the front of $PATH for GNU diff.
    54 test:		install
    54 test:		install
    55 	@cd $(BUILD_DIR_64)/regression; PATH=/usr/gnu/bin:/usr/bin $(MAKE) test
    55 	@cd $(BUILD_DIR_64)/regression; PATH=/usr/gnu/bin:/usr/bin $(MAKE) test
    56 
    56 
    57 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
    58 
    57 
    59 include $(WS_TOP)/make-rules/depend.mk
    58 REQUIRED_PACKAGES += system/library