author | Mike Sullivan <Mike.Sullivan@Oracle.COM> |
Thu, 25 Aug 2016 22:56:12 -0700 | |
changeset 6702 | 140c4300a556 |
parent 5682 | 94c0ca64c022 |
child 6933 | e1fa2aa7bad7 |
permissions | -rw-r--r-- |
4876
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
21 |
|
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
22 |
# |
5366
6eaed9347ba1
22619740 opensp should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
4962
diff
changeset
|
23 |
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
4876
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
24 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5366
diff
changeset
|
25 |
BUILD_BITS= 64_and_32 |
4876
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
27 |
|
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= opensp |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
29 |
COMPONENT_VERSION= 1.5.1 |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
30 |
COMPONENT_PROJECT_URL= http://openjade.sourceforge.net/ |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
31 |
COMPONENT_SRC= OpenSP-$(COMPONENT_VERSION) |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE_HASH= \ |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
33 |
sha256:3f0649840dc3d6ec432e3c8d933b178208f3feccb6db111d22c8995ad07c736b |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
34 |
COMPONENT_ARCHIVE_URL= http://prdownloads.sourceforge.net/openjade/$(COMPONENT_ARCHIVE) |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
35 |
|
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
36 |
TPNO= 9621 |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
37 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5366
diff
changeset
|
38 |
include $(WS_MAKE_RULES)/common.mk |
4876
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
39 |
|
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
40 |
COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv) |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
41 |
|
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
42 |
# Needed to find the man pages at install time. |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
43 |
COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D)) |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
44 |
|
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
45 |
CXX += $(studio_NORUNPATH) |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
46 |
|
5366
6eaed9347ba1
22619740 opensp should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
4962
diff
changeset
|
47 |
CONFIGURE_OPTIONS += --bindir=/usr/bin |
4876
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
48 |
CONFIGURE_OPTIONS += --disable-http |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
49 |
CONFIGURE_OPTIONS += --disable-nls |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
50 |
CONFIGURE_OPTIONS += --enable-default-catalog="CATALOG:/etc/sgml/catalog:/usr/share/sgml/CATALOG" |
4962
835e12fc1552
21956065 libsocket tweak needed for opensp
John Beck <John.Beck@Oracle.COM>
parents:
4876
diff
changeset
|
51 |
ifeq ($(OS_VERSION),5.11) |
835e12fc1552
21956065 libsocket tweak needed for opensp
John Beck <John.Beck@Oracle.COM>
parents:
4876
diff
changeset
|
52 |
EXTRA_LIBRARIES = -lsocket -lnsl |
835e12fc1552
21956065 libsocket tweak needed for opensp
John Beck <John.Beck@Oracle.COM>
parents:
4876
diff
changeset
|
53 |
endif |
835e12fc1552
21956065 libsocket tweak needed for opensp
John Beck <John.Beck@Oracle.COM>
parents:
4876
diff
changeset
|
54 |
CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS) $(EXTRA_LIBRARIES)" |
4876
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
55 |
|
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
56 |
# 21786575 for gmake test failures |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
57 |
COMPONENT_TEST_DIR = $(BUILD_DIR)/$(MACH$(BITS))/tests |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
58 |
COMPONENT_TEST_ARGS = -k -i |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
59 |
COMPONENT_TEST_TRANSFORMS += \ |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
60 |
'-n ' \ |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
61 |
'-e "/result_count/d" ' \ |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
62 |
'-e "/TOTAL:/p" ' \ |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
63 |
'-e "/SKIP:/p" ' \ |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
64 |
'-e "/PASS:/p" ' \ |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
65 |
'-e "/FAIL:/p" ' \ |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
66 |
'-e "/ERROR:/p" ' |
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
67 |
|
bd07b8aacc8a
21766761 Move opensp from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
68 |
REQUIRED_PACKAGES += system/library/c++-runtime |