Makefile revision 2899
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith# CDDL HEADER START
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith# The contents of this file are subject to the terms of the
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith# Common Development and Distribution License (the "License").
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith# You may not use this file except in compliance with the License.
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith# See the License for the specific language governing permissions
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith# and limitations under the License.
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith# When distributing Covered Code, include this CDDL HEADER in each
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith# If applicable, add the following below this CDDL HEADER, with the
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith# fields enclosed by brackets "[]" replaced with your own identifying
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith# information: Portions Copyright [yyyy] [name of copyright owner]
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith# CDDL HEADER END
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn SmithCOMPONENT_PROJECT_URL= http://sg.danny.cz/sg/smp_utils.html
5c45bb188ab729e501e48732842cb9de6a9813beAlex ValavanisCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
9ba77856a8823f85b53c0a861d220cd0347f2754Liam P. White sha256:0e10d304cfa8789bcf16537e8f72d9afdf8838fca20ae68103c317432d00915b
a4142717644b885998f4de2b27be4e8648315decMarkus EngelCOMPONENT_ARCHIVE_URL= http://sg.danny.cz/sg/p/$(COMPONENT_ARCHIVE)
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn SmithCPPFLAGS += -I$(COMPONENT_DIR)/$(COMPONENT_SRC)/include
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith# Don't use rpath!
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith $(GSED) -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool ; \
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith $(GSED) -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool)
d0e849117872ca80f44fc470761bc827fadd4680jabiertxof# Move the section 8 man pages into section 1m.
d0e849117872ca80f44fc470761bc827fadd4680jabiertxof $(MV) $(PROTOUSRSHAREMANDIR)/man8 $(PROTOUSRSHAREMANDIR)/man1m
d0e849117872ca80f44fc470761bc827fadd4680jabiertxofCOMPONENT_INSTALL_ARGS += INSTALL_TOP=$(PROTOUSRDIR)
d0e849117872ca80f44fc470761bc827fadd4680jabiertxof$(INSTALL_64): COMPONENT_INSTALL_ARGS += INSTALL_LIB=$(PROTOUSRLIBDIR64)
d0e849117872ca80f44fc470761bc827fadd4680jabiertxof$(INSTALL_64): COMPONENT_INSTALL_ARGS += INSTALL_SBIN=$(PROTOUSRBINDIR64)
6b0fbf10b982696648debeede2b57f2b32a6a958Alex Valavanis# common targets
d0e849117872ca80f44fc470761bc827fadd4680jabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_conf_general -V; \
d0e849117872ca80f44fc470761bc827fadd4680jabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_conf_phy_event -V; \
d0e849117872ca80f44fc470761bc827fadd4680jabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_conf_route_info -V; \
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith $(PROTOUSRDIR)/sbin/$(MACH64)/smp_conf_zone_man_pass -V; \
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith $(PROTOUSRDIR)/sbin/$(MACH64)/smp_conf_zone_perm_tbl -V; \
2f5f997e354e7f4a02b6818bdc68fbece5cb237dJohn Smith $(PROTOUSRDIR)/sbin/$(MACH64)/smp_conf_zone_phy_info -V; \
3a3c3fe314715daa8d4cfaa231afe714bacefb58Jabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_discover_list -V; \
3a3c3fe314715daa8d4cfaa231afe714bacefb58Jabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_ena_dis_zoning -V; \
3a3c3fe314715daa8d4cfaa231afe714bacefb58Jabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_phy_control -V; \
3a3c3fe314715daa8d4cfaa231afe714bacefb58Jabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_read_gpio -V; \
3a3c3fe314715daa8d4cfaa231afe714bacefb58Jabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_rep_broadcast -V; \
e5142885c05d3c92b126938b42fb0342c749f91fJabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_rep_exp_route_tbl -V; \
3a3c3fe314715daa8d4cfaa231afe714bacefb58Jabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_rep_general -V; \
3a3c3fe314715daa8d4cfaa231afe714bacefb58Jabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_rep_manufacturer -V; \
3a3c3fe314715daa8d4cfaa231afe714bacefb58Jabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_rep_phy_err_log -V; \
3a3c3fe314715daa8d4cfaa231afe714bacefb58Jabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_rep_phy_event -V; \
3a3c3fe314715daa8d4cfaa231afe714bacefb58Jabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_rep_phy_event_list -V; \
3a3c3fe314715daa8d4cfaa231afe714bacefb58Jabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_rep_phy_sata -V; \
3a3c3fe314715daa8d4cfaa231afe714bacefb58Jabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_rep_route_info -V; \
3a3c3fe314715daa8d4cfaa231afe714bacefb58Jabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_rep_self_conf_stat -V; \
7ee327c815964db7636a12591cfe407ae7f8a523Jabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_rep_zone_man_pass -V; \
7ee327c815964db7636a12591cfe407ae7f8a523Jabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_rep_zone_perm_tbl -V; \
7ee327c815964db7636a12591cfe407ae7f8a523Jabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_write_gpio -V; \
7ee327c815964db7636a12591cfe407ae7f8a523Jabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_zone_activate -V; \
7ee327c815964db7636a12591cfe407ae7f8a523Jabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_zone_lock -V; \
7ee327c815964db7636a12591cfe407ae7f8a523Jabiertxof $(PROTOUSRDIR)/sbin/$(MACH64)/smp_zone_unlock -V; \