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) 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright 2012 Nexenta Systems, Inc. All rights reserved.
  25 # Copyright 2014 Andrew Stormont.
  26 #
  27 
  28 set name=pkg.fmri value=pkg:/system/remote-shared-memory@$(PKGVERS)
  29 set name=pkg.description value="Remote Shared Memory API Library, Driver"
  30 set name=pkg.summary value="Remote Shared Memory"
  31 set name=info.classification value=org.opensolaris.category.2008:System/Core
  32 set name=variant.arch value=$(ARCH)
  33 dir path=usr group=sys
  34 dir path=usr/kernel group=sys
  35 dir path=usr/kernel/drv group=sys
  36 dir path=usr/kernel/drv/$(ARCH64) group=sys
  37 dir path=usr/lib
  38 $(BUILD64)dir path=usr/lib/$(ARCH64)
  39 dir path=usr/share/man
  40 dir path=usr/share/man/man3lib
  41 dir path=usr/share/man/man3rsm
  42 driver name=rsm perms="* 0666 root sys"
  43 file path=usr/kernel/drv/$(ARCH64)/rsm group=sys
  44 $(i386_ONLY)file path=usr/kernel/drv/rsm group=sys
  45 file path=usr/kernel/drv/rsm.conf group=sys
  46 $(BUILD64)file path=usr/lib/$(ARCH64)/librsm.so.2
  47 file path=usr/lib/librsm.so.2
  48 file path=usr/share/man/man3lib/librsm.3lib
  49 file path=usr/share/man/man3rsm/rsm_create_localmemory_handle.3rsm
  50 file path=usr/share/man/man3rsm/rsm_get_controller.3rsm
  51 file path=usr/share/man/man3rsm/rsm_get_interconnect_topology.3rsm
  52 file path=usr/share/man/man3rsm/rsm_get_segmentid_range.3rsm
  53 file path=usr/share/man/man3rsm/rsm_intr_signal_post.3rsm
  54 file path=usr/share/man/man3rsm/rsm_intr_signal_wait_pollfd.3rsm
  55 file path=usr/share/man/man3rsm/rsm_memseg_export_create.3rsm
  56 file path=usr/share/man/man3rsm/rsm_memseg_export_publish.3rsm
  57 file path=usr/share/man/man3rsm/rsm_memseg_get_pollfd.3rsm
  58 file path=usr/share/man/man3rsm/rsm_memseg_import_connect.3rsm
  59 file path=usr/share/man/man3rsm/rsm_memseg_import_get.3rsm
  60 file path=usr/share/man/man3rsm/rsm_memseg_import_init_barrier.3rsm
  61 file path=usr/share/man/man3rsm/rsm_memseg_import_map.3rsm
  62 file path=usr/share/man/man3rsm/rsm_memseg_import_open_barrier.3rsm
  63 file path=usr/share/man/man3rsm/rsm_memseg_import_put.3rsm
  64 file path=usr/share/man/man3rsm/rsm_memseg_import_putv.3rsm
  65 file path=usr/share/man/man3rsm/rsm_memseg_import_set_mode.3rsm
  66 legacy pkg=SUNWrsm desc="Remote Shared Memory API Library, Driver" \
  67     name="Remote Shared Memory"
  68 license cr_Sun license=cr_Sun
  69 license lic_CDDL license=lic_CDDL
  70 $(BUILD64)link path=usr/lib/$(ARCH64)/librsm.so target=librsm.so.2
  71 link path=usr/lib/librsm.so target=librsm.so.2
  72 link path=usr/share/man/man3rsm/rsm_free_interconnect_topology.3rsm \
  73     target=rsm_get_interconnect_topology.3rsm
  74 link path=usr/share/man/man3rsm/rsm_free_localmemory_handle.3rsm \
  75     target=rsm_create_localmemory_handle.3rsm
  76 link path=usr/share/man/man3rsm/rsm_get_controller_attr.3rsm \
  77     target=rsm_get_controller.3rsm
  78 link path=usr/share/man/man3rsm/rsm_intr_signal_wait.3rsm \
  79     target=rsm_intr_signal_post.3rsm
  80 link path=usr/share/man/man3rsm/rsm_memseg_export_destroy.3rsm \
  81     target=rsm_memseg_export_create.3rsm
  82 link path=usr/share/man/man3rsm/rsm_memseg_export_rebind.3rsm \
  83     target=rsm_memseg_export_create.3rsm
  84 link path=usr/share/man/man3rsm/rsm_memseg_export_republish.3rsm \
  85     target=rsm_memseg_export_publish.3rsm
  86 link path=usr/share/man/man3rsm/rsm_memseg_export_unpublish.3rsm \
  87     target=rsm_memseg_export_publish.3rsm
  88 link path=usr/share/man/man3rsm/rsm_memseg_import_close_barrier.3rsm \
  89     target=rsm_memseg_import_open_barrier.3rsm
  90 link path=usr/share/man/man3rsm/rsm_memseg_import_destroy_barrier.3rsm \
  91     target=rsm_memseg_import_init_barrier.3rsm
  92 link path=usr/share/man/man3rsm/rsm_memseg_import_disconnect.3rsm \
  93     target=rsm_memseg_import_connect.3rsm
  94 link path=usr/share/man/man3rsm/rsm_memseg_import_get16.3rsm \
  95     target=rsm_memseg_import_get.3rsm
  96 link path=usr/share/man/man3rsm/rsm_memseg_import_get32.3rsm \
  97     target=rsm_memseg_import_get.3rsm
  98 link path=usr/share/man/man3rsm/rsm_memseg_import_get64.3rsm \
  99     target=rsm_memseg_import_get.3rsm
 100 link path=usr/share/man/man3rsm/rsm_memseg_import_get8.3rsm \
 101     target=rsm_memseg_import_get.3rsm
 102 link path=usr/share/man/man3rsm/rsm_memseg_import_get_mode.3rsm \
 103     target=rsm_memseg_import_set_mode.3rsm
 104 link path=usr/share/man/man3rsm/rsm_memseg_import_getv.3rsm \
 105     target=rsm_memseg_import_putv.3rsm
 106 link path=usr/share/man/man3rsm/rsm_memseg_import_order_barrier.3rsm \
 107     target=rsm_memseg_import_open_barrier.3rsm
 108 link path=usr/share/man/man3rsm/rsm_memseg_import_put16.3rsm \
 109     target=rsm_memseg_import_put.3rsm
 110 link path=usr/share/man/man3rsm/rsm_memseg_import_put32.3rsm \
 111     target=rsm_memseg_import_put.3rsm
 112 link path=usr/share/man/man3rsm/rsm_memseg_import_put64.3rsm \
 113     target=rsm_memseg_import_put.3rsm
 114 link path=usr/share/man/man3rsm/rsm_memseg_import_put8.3rsm \
 115     target=rsm_memseg_import_put.3rsm
 116 link path=usr/share/man/man3rsm/rsm_memseg_import_unmap.3rsm \
 117     target=rsm_memseg_import_map.3rsm
 118 link path=usr/share/man/man3rsm/rsm_memseg_release_pollfd.3rsm \
 119     target=rsm_memseg_get_pollfd.3rsm
 120 link path=usr/share/man/man3rsm/rsm_release_controller.3rsm \
 121     target=rsm_get_controller.3rsm