author | Vishwas Shekarappa Gudiyavar <vishwas.shekarappa.gudiyavar@oracle.com> |
Thu, 14 Apr 2016 21:50:55 -0700 | |
changeset 5779 | 22149b3b3a47 |
parent 5682 | 94c0ca64c022 |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
1344 | 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 |
# |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
23 |
# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. |
1344 | 24 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
25 |
BUILD_BITS= 64 |
1344 | 26 |
include ../../make-rules/shared-macros.mk |
27 |
||
28 |
COMPONENT_NAME= smp_utils |
|
29 |
COMPONENT_VERSION= 0.97 |
|
30 |
COMPONENT_PROJECT_URL= http://sg.danny.cz/sg/smp_utils.html |
|
31 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz |
|
32 |
COMPONENT_ARCHIVE_HASH= \ |
|
33 |
sha256:0e10d304cfa8789bcf16537e8f72d9afdf8838fca20ae68103c317432d00915b |
|
34 |
COMPONENT_ARCHIVE_URL= http://sg.danny.cz/sg/p/$(COMPONENT_ARCHIVE) |
|
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1344
diff
changeset
|
35 |
COMPONENT_BUGDB= utility/smputils |
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1344
diff
changeset
|
36 |
|
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1344
diff
changeset
|
37 |
TPNO= 11065 |
1344 | 38 |
|
4970
6c5babcca659
21960093 do not publish open-fabrics or smp_utils for BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
39 |
# Needs header file from ON only available in S12. |
6c5babcca659
21960093 do not publish open-fabrics or smp_utils for BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
40 |
ifeq ($(BUILD_TYPE), evaluation) |
6c5babcca659
21960093 do not publish open-fabrics or smp_utils for BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
41 |
BUILD_64= |
6c5babcca659
21960093 do not publish open-fabrics or smp_utils for BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
42 |
INSTALL_64= |
6c5babcca659
21960093 do not publish open-fabrics or smp_utils for BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
43 |
PUBLISH_STAMP= |
6c5babcca659
21960093 do not publish open-fabrics or smp_utils for BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
44 |
endif |
6c5babcca659
21960093 do not publish open-fabrics or smp_utils for BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
45 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
46 |
include $(WS_MAKE_RULES)/common.mk |
1344 | 47 |
|
48 |
CPPFLAGS += -I$(COMPONENT_DIR)/$(COMPONENT_SRC)/include |
|
49 |
CONFIGURE_OPTIONS += --disable-static |
|
50 |
||
51 |
# Don't use rpath! |
|
52 |
COMPONENT_POST_CONFIGURE_ACTION = \ |
|
53 |
(cd $(BUILD_DIR_64) ; \ |
|
54 |
$(GSED) -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool ; \ |
|
55 |
$(GSED) -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool) |
|
56 |
||
57 |
COMPONENT_INSTALL_ARGS += INSTALL=$(INSTALL) |
|
58 |
COMPONENT_INSTALL_ARGS += INSTALL_TOP=$(PROTOUSRDIR) |
|
59 |
$(INSTALL_64): COMPONENT_INSTALL_ARGS += INSTALL_LIB=$(PROTOUSRLIBDIR64) |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
60 |
$(INSTALL_64): COMPONENT_INSTALL_ARGS += INSTALL_SBIN=$(PROTOUSRBINDIR) |
1344 | 61 |
|
2164
b580bc10e31a
19824924 Various Userland component test: Makefile targets should be standardized
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
62 |
COMPONENT_TEST_ENV += LD_LIBRARY_PATH=$(PROTOUSRLIBDIR64) |
b580bc10e31a
19824924 Various Userland component test: Makefile targets should be standardized
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
63 |
COMPONENT_TEST_CMD = \ |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
64 |
$(PROTOUSRBINDIR)/smp_conf_general -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
65 |
$(PROTOUSRBINDIR)/smp_conf_phy_event -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
66 |
$(PROTOUSRBINDIR)/smp_conf_route_info -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
67 |
$(PROTOUSRBINDIR)/smp_conf_zone_man_pass -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
68 |
$(PROTOUSRBINDIR)/smp_conf_zone_perm_tbl -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
69 |
$(PROTOUSRBINDIR)/smp_conf_zone_phy_info -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
70 |
$(PROTOUSRBINDIR)/smp_discover -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
71 |
$(PROTOUSRBINDIR)/smp_discover_list -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
72 |
$(PROTOUSRBINDIR)/smp_ena_dis_zoning -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
73 |
$(PROTOUSRBINDIR)/smp_phy_control -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
74 |
$(PROTOUSRBINDIR)/smp_phy_test -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
75 |
$(PROTOUSRBINDIR)/smp_read_gpio -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
76 |
$(PROTOUSRBINDIR)/smp_rep_broadcast -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
77 |
$(PROTOUSRBINDIR)/smp_rep_exp_route_tbl -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
78 |
$(PROTOUSRBINDIR)/smp_rep_general -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
79 |
$(PROTOUSRBINDIR)/smp_rep_manufacturer -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
80 |
$(PROTOUSRBINDIR)/smp_rep_phy_err_log -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
81 |
$(PROTOUSRBINDIR)/smp_rep_phy_event -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
82 |
$(PROTOUSRBINDIR)/smp_rep_phy_event_list -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
83 |
$(PROTOUSRBINDIR)/smp_rep_phy_sata -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
84 |
$(PROTOUSRBINDIR)/smp_rep_route_info -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
85 |
$(PROTOUSRBINDIR)/smp_rep_self_conf_stat -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
86 |
$(PROTOUSRBINDIR)/smp_rep_zone_man_pass -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
87 |
$(PROTOUSRBINDIR)/smp_rep_zone_perm_tbl -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
88 |
$(PROTOUSRBINDIR)/smp_write_gpio -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
89 |
$(PROTOUSRBINDIR)/smp_zone_activate -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
90 |
$(PROTOUSRBINDIR)/smp_zone_lock -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
91 |
$(PROTOUSRBINDIR)/smp_zone_unlock -V; \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5000
diff
changeset
|
92 |
$(PROTOUSRBINDIR)/smp_zoned_broadcast -V |
2164
b580bc10e31a
19824924 Various Userland component test: Makefile targets should be standardized
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
93 |