author | Mike Sullivan <Mike.Sullivan@Oracle.COM> |
Mon, 22 Apr 2013 11:40:18 -0700 | |
branch | s11-update |
changeset 2580 | 8c526cc86bc0 |
parent 2559 | 27a0ff057a54 |
child 3661 | 47545fb8aed4 |
permissions | -rw-r--r-- |
2559
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
# |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
# |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
# |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
# |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
18 |
# |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
20 |
|
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
21 |
# |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
23 |
# |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
24 |
|
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
25 |
include ../../make-rules/shared-macros.mk |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
26 |
|
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
27 |
COMPONENT_NAME= indent |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_VERSION= 2.2.9 |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_PROJECT_URL= https://www.gnu.org/software/indent/ |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE_HASH= \ |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
33 |
sha256:0b9387bda5639ed54cf91bd607ab055624a07414f7f6882a75be97fd776ce466 |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
34 |
COMPONENT_ARCHIVE_URL= ftp://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
35 |
COMPONENT_BUGDB= utility/gnu-indent |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
36 |
|
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
37 |
include $(WS_TOP)/make-rules/prep.mk |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
38 |
include $(WS_TOP)/make-rules/configure.mk |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
39 |
include $(WS_TOP)/make-rules/ips.mk |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
40 |
|
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
41 |
# Needed to get "gmake test" working. |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
42 |
COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D)) |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
43 |
|
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
44 |
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
45 |
|
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
46 |
# common targets |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
47 |
build: $(BUILD_64) |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
48 |
|
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
49 |
install: $(INSTALL_64) |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
50 |
|
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
51 |
# Need to put /usr/gnu/bin at the front of $PATH for GNU diff. |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
52 |
test: install |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
53 |
@cd $(BUILD_DIR_64)/regression; PATH=/usr/gnu/bin:/usr/bin $(MAKE) test |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
54 |
|
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
55 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
56 |
|
27a0ff057a54
PSARC 2013/004 GNU indent 2.2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
57 |
include $(WS_TOP)/make-rules/depend.mk |