author | Sreedhar S <sreedhar.sreedhargadda@oracle.com> |
Tue, 23 Jul 2013 19:31:49 -0700 | |
branch | s11u1-sru |
changeset 2687 | 31e9b8c7c1f6 |
parent 800 | 2ad056ed89ec |
child 975 | 44e81e837f1f |
child 2434 | 6c9bb5cf5610 |
permissions | -rw-r--r-- |
169
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
1 |
# |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
3 |
# |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
7 |
# |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
12 |
# |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
18 |
# |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
20 |
# |
773
cfddc5466118
7160401 userland is unhappy on 13
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
609
diff
changeset
|
21 |
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
169
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
22 |
# |
796
7fa97e814929
7035978 parfait support for userland bits (fix sparc)
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
773
diff
changeset
|
23 |
|
7fa97e814929
7035978 parfait support for userland bits (fix sparc)
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
773
diff
changeset
|
24 |
# we hit parfait bug 12333159 in a case statement, so disable parfait |
7fa97e814929
7035978 parfait support for userland bits (fix sparc)
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
773
diff
changeset
|
25 |
# until we can move to clang |
7fa97e814929
7035978 parfait support for userland bits (fix sparc)
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
773
diff
changeset
|
26 |
PARFAIT_BUILD=no |
7fa97e814929
7035978 parfait support for userland bits (fix sparc)
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
773
diff
changeset
|
27 |
|
169
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
28 |
include ../../make-rules/shared-macros.mk |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
29 |
|
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_NAME= cvs |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_VERSION= 1.12.13 |
609
775168282b2f
7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents:
181
diff
changeset
|
32 |
COMPONENT_PROJECT_URL= http://www.nongnu.org/cvs/ |
169
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
34 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
796
diff
changeset
|
35 |
COMPONENT_ARCHIVE_HASH= \ |
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
796
diff
changeset
|
36 |
sha256:78853613b9a6873a30e1cc2417f738c330e75f887afdaf7b3d0800cb19ca515e |
169
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
37 |
COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/non-gnu/cvs/source/feature/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
38 |
|
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
39 |
include ../../make-rules/prep.mk |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
40 |
include ../../make-rules/configure.mk |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
41 |
include ../../make-rules/ips.mk |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
42 |
|
773
cfddc5466118
7160401 userland is unhappy on 13
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
609
diff
changeset
|
43 |
CFLAGS += -D__ATTRIBUTE_DISABLED |
169
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
44 |
CONFIGURE_OPTIONS += --with-external-zlib |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
45 |
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
46 |
|
181
87e11e685b1f
7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
169
diff
changeset
|
47 |
# "check" is not working yet. It's asking for a password. |
87e11e685b1f
7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
169
diff
changeset
|
48 |
COMPONENT_TEST_ENV += PATH=$(GNUBIN):$(PATH) |
87e11e685b1f
7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
169
diff
changeset
|
49 |
COMPONENT_TEST_TARGETS = localcheck |
87e11e685b1f
7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
169
diff
changeset
|
50 |
|
169
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
51 |
build: $(BUILD_32) |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
52 |
|
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
53 |
install: $(INSTALL_32) |
181
87e11e685b1f
7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
169
diff
changeset
|
54 |
|
87e11e685b1f
7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
169
diff
changeset
|
55 |
test: $(TEST_32) |
169
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
56 |
|
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
57 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
58 |
|
8f267234cc5c
7033025 move cvs from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff
changeset
|
59 |
include ../../make-rules/depend.mk |