|
1 # |
|
2 # CDDL HEADER START |
|
3 # |
|
4 # The contents of this file are subject to the terms of the |
|
5 # Common Development and Distribution License (the "License"). |
|
6 # You may not use this file except in compliance with the License. |
|
7 # |
|
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 # or http://www.opensolaris.org/os/licensing. |
|
10 # See the License for the specific language governing permissions |
|
11 # and limitations under the License. |
|
12 # |
|
13 # When distributing Covered Code, include this CDDL HEADER in each |
|
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 # If applicable, add the following below this CDDL HEADER, with the |
|
16 # fields enclosed by brackets "[]" replaced with your own identifying |
|
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 # |
|
19 # CDDL HEADER END |
|
20 # |
|
21 |
|
22 # |
|
23 # Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
|
24 # |
|
25 |
|
26 include ../../make-rules/shared-macros.mk |
|
27 |
|
28 COMPONENT_NAME= opensp |
|
29 COMPONENT_VERSION= 1.5.1 |
|
30 COMPONENT_PROJECT_URL= http://openjade.sourceforge.net/ |
|
31 COMPONENT_SRC= OpenSP-$(COMPONENT_VERSION) |
|
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
33 COMPONENT_ARCHIVE_HASH= \ |
|
34 sha256:3f0649840dc3d6ec432e3c8d933b178208f3feccb6db111d22c8995ad07c736b |
|
35 COMPONENT_ARCHIVE_URL= http://prdownloads.sourceforge.net/openjade/$(COMPONENT_ARCHIVE) |
|
36 COMPONENT_BUGDB= utility/opensp |
|
37 |
|
38 TPNO= 9621 |
|
39 |
|
40 include $(WS_MAKE_RULES)/prep.mk |
|
41 include $(WS_MAKE_RULES)/configure.mk |
|
42 include $(WS_MAKE_RULES)/ips.mk |
|
43 |
|
44 COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv) |
|
45 |
|
46 # Needed to find the man pages at install time. |
|
47 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D)) |
|
48 |
|
49 CXX += $(studio_NORUNPATH) |
|
50 |
|
51 CONFIGURE_OPTIONS += --disable-http |
|
52 CONFIGURE_OPTIONS += --disable-nls |
|
53 CONFIGURE_OPTIONS += --enable-default-catalog="CATALOG:/etc/sgml/catalog:/usr/share/sgml/CATALOG" |
|
54 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
|
55 CONFIGURE_OPTIONS += CXX="$(CXX)" |
|
56 CONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)" |
|
57 CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)" |
|
58 |
|
59 # 21786575 for gmake test failures |
|
60 COMPONENT_TEST_DIR = $(BUILD_DIR)/$(MACH$(BITS))/tests |
|
61 COMPONENT_TEST_ARGS = -k -i |
|
62 COMPONENT_TEST_TRANSFORMS += \ |
|
63 '-n ' \ |
|
64 '-e "/result_count/d" ' \ |
|
65 '-e "/TOTAL:/p" ' \ |
|
66 '-e "/SKIP:/p" ' \ |
|
67 '-e "/PASS:/p" ' \ |
|
68 '-e "/FAIL:/p" ' \ |
|
69 '-e "/ERROR:/p" ' |
|
70 |
|
71 ASLR_MODE = $(ASLR_ENABLE) |
|
72 |
|
73 configure: $(CONFIGURE_32_and_64) |
|
74 |
|
75 build: $(BUILD_32_and_64) |
|
76 |
|
77 install: $(INSTALL_32_and_64) |
|
78 |
|
79 test: $(TEST_32_and_64) |
|
80 |
|
81 system-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED) |
|
82 |
|
83 REQUIRED_PACKAGES += system/library |
|
84 REQUIRED_PACKAGES += system/library/c++-runtime |