17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 5ae115bc7Smrj# Common Development and Distribution License (the "License"). 6ae115bc7Smrj# You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate# 87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate# and limitations under the License. 127c478bd9Sstevel@tonic-gate# 137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate# 197c478bd9Sstevel@tonic-gate# CDDL HEADER END 207c478bd9Sstevel@tonic-gate# 217c478bd9Sstevel@tonic-gate# 22*24fe0b3bSjmcp# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 237c478bd9Sstevel@tonic-gate# Use is subject to license terms. 247c478bd9Sstevel@tonic-gate# 257c478bd9Sstevel@tonic-gate# usr/src/Makefile.psm 267c478bd9Sstevel@tonic-gate# 277c478bd9Sstevel@tonic-gate# Makefile.psm, global definitions for platform specific modules 287c478bd9Sstevel@tonic-gate 297c478bd9Sstevel@tonic-gate 307c478bd9Sstevel@tonic-gateROOT_PLAT_DIR = $(ROOT)/platform 317c478bd9Sstevel@tonic-gate 327c478bd9Sstevel@tonic-gateROOT_PSM_DIR = $(ROOT_PLAT_DIR)/$(PLATFORM) 337c478bd9Sstevel@tonic-gate 347c478bd9Sstevel@tonic-gateROOT_PSM_MOD_DIR = $(ROOT_PSM_DIR)/kernel 357c478bd9Sstevel@tonic-gateROOT_PSM_LIB_DIR = $(ROOT_PSM_DIR)/lib 367c478bd9Sstevel@tonic-gateROOT_PSM_LIB64_DIR = $(ROOT_PSM_LIB_DIR)/$(MACH64) 377c478bd9Sstevel@tonic-gateROOT_PSM_SBIN_DIR = $(ROOT_PSM_DIR)/sbin 387c478bd9Sstevel@tonic-gate 397c478bd9Sstevel@tonic-gateROOT_PSM_KERN_DIR_32 = $(ROOT_PSM_MOD_DIR) 407c478bd9Sstevel@tonic-gateROOT_PSM_DRV_DIR_32 = $(ROOT_PSM_MOD_DIR)/drv 417c478bd9Sstevel@tonic-gateROOT_PSM_EXEC_DIR_32 = $(ROOT_PSM_MOD_DIR)/exec 427c478bd9Sstevel@tonic-gateROOT_PSM_FS_DIR_32 = $(ROOT_PSM_MOD_DIR)/fs 437c478bd9Sstevel@tonic-gateROOT_PSM_SCHED_DIR_32 = $(ROOT_PSM_MOD_DIR)/sched 447c478bd9Sstevel@tonic-gateROOT_PSM_STRMOD_DIR_32 = $(ROOT_PSM_MOD_DIR)/strmod 457c478bd9Sstevel@tonic-gateROOT_PSM_SYS_DIR_32 = $(ROOT_PSM_MOD_DIR)/sys 467c478bd9Sstevel@tonic-gateROOT_PSM_MISC_DIR_32 = $(ROOT_PSM_MOD_DIR)/misc 477c478bd9Sstevel@tonic-gateROOT_PSM_KGSS_DIR_32 = $(ROOT_PSM_MOD_DIR)/misc/kgss 487c478bd9Sstevel@tonic-gateROOT_PSM_MACH_DIR_32 = $(ROOT_PSM_MOD_DIR)/mach 497c478bd9Sstevel@tonic-gateROOT_PSM_CPU_DIR_32 = $(ROOT_PSM_MOD_DIR)/cpu 507c478bd9Sstevel@tonic-gateROOT_PSM_PLAT_DIR_32 = $(ROOT_PSM_MOD_DIR)/misc 517c478bd9Sstevel@tonic-gateROOT_PSM_TOD_DIR_32 = $(ROOT_PSM_MOD_DIR)/tod 527c478bd9Sstevel@tonic-gateROOT_PSM_MMU_DIR_32 = $(ROOT_PSM_MOD_DIR)/mmu 537c478bd9Sstevel@tonic-gateROOT_PSM_DACF_DIR_32 = $(ROOT_PSM_MOD_DIR)/dacf 547c478bd9Sstevel@tonic-gateROOT_PSM_CRYPTO_DIR_32 = $(ROOT_PSM_MOD_DIR)/crypto 5518a0bfdeSae112802ROOT_PSM_PCBE_DIR_32 = $(ROOT_PSM_MOD_DIR)/pcbe 564a75c0c1SedpROOT_PSM_BRAND_DIR_32 = $(ROOT_PSM_MOD_DIR)/brand 577c478bd9Sstevel@tonic-gate 587c478bd9Sstevel@tonic-gateROOT_PSM_KERN_DIR_64 = $(ROOT_PSM_MOD_DIR)/$(SUBDIR64) 597c478bd9Sstevel@tonic-gateROOT_PSM_DRV_DIR_64 = $(ROOT_PSM_MOD_DIR)/drv/$(SUBDIR64) 607c478bd9Sstevel@tonic-gateROOT_PSM_EXEC_DIR_64 = $(ROOT_PSM_MOD_DIR)/exec/$(SUBDIR64) 617c478bd9Sstevel@tonic-gateROOT_PSM_FS_DIR_64 = $(ROOT_PSM_MOD_DIR)/fs/$(SUBDIR64) 627c478bd9Sstevel@tonic-gateROOT_PSM_SCHED_DIR_64 = $(ROOT_PSM_MOD_DIR)/sched/$(SUBDIR64) 637c478bd9Sstevel@tonic-gateROOT_PSM_STRMOD_DIR_64 = $(ROOT_PSM_MOD_DIR)/strmod/$(SUBDIR64) 647c478bd9Sstevel@tonic-gateROOT_PSM_SYS_DIR_64 = $(ROOT_PSM_MOD_DIR)/sys/$(SUBDIR64) 657c478bd9Sstevel@tonic-gateROOT_PSM_MISC_DIR_64 = $(ROOT_PSM_MOD_DIR)/misc/$(SUBDIR64) 667c478bd9Sstevel@tonic-gateROOT_PSM_KGSS_DIR_64 = $(ROOT_PSM_MOD_DIR)/misc/kgss/$(SUBDIR64) 677c478bd9Sstevel@tonic-gateROOT_PSM_MACH_DIR_64 = $(ROOT_PSM_MOD_DIR)/mach/$(SUBDIR64) 687c478bd9Sstevel@tonic-gateROOT_PSM_CPU_DIR_64 = $(ROOT_PSM_MOD_DIR)/cpu/$(SUBDIR64) 697c478bd9Sstevel@tonic-gateROOT_PSM_PLAT_DIR_64 = $(ROOT_PSM_MOD_DIR)/misc/$(SUBDIR64) 707c478bd9Sstevel@tonic-gateROOT_PSM_TOD_DIR_64 = $(ROOT_PSM_MOD_DIR)/tod/$(SUBDIR64) 717c478bd9Sstevel@tonic-gateROOT_PSM_MMU_DIR_64 = $(ROOT_PSM_MOD_DIR)/mmu/$(SUBDIR64) 727c478bd9Sstevel@tonic-gateROOT_PSM_DACF_DIR_64 = $(ROOT_PSM_MOD_DIR)/dacf/$(SUBDIR64) 737c478bd9Sstevel@tonic-gateROOT_PSM_CRYPTO_DIR_64 = $(ROOT_PSM_MOD_DIR)/crypto/$(SUBDIR64) 7418a0bfdeSae112802ROOT_PSM_PCBE_DIR_64 = $(ROOT_PSM_MOD_DIR)/pcbe/$(SUBDIR64) 754a75c0c1SedpROOT_PSM_BRAND_DIR_64 = $(ROOT_PSM_MOD_DIR)/brand/$(SUBDIR64) 767c478bd9Sstevel@tonic-gate 777c478bd9Sstevel@tonic-gateROOT_PSM_KERN_DIR = $(ROOT_PSM_KERN_DIR_$(CLASS)) 787c478bd9Sstevel@tonic-gateROOT_PSM_DRV_DIR = $(ROOT_PSM_DRV_DIR_$(CLASS)) 797c478bd9Sstevel@tonic-gateROOT_PSM_EXEC_DIR = $(ROOT_PSM_EXEC_DIR_$(CLASS)) 807c478bd9Sstevel@tonic-gateROOT_PSM_FS_DIR = $(ROOT_PSM_FS_DIR_$(CLASS)) 817c478bd9Sstevel@tonic-gateROOT_PSM_SCHED_DIR = $(ROOT_PSM_SCHED_DIR_$(CLASS)) 827c478bd9Sstevel@tonic-gateROOT_PSM_STRMOD_DIR = $(ROOT_PSM_STRMOD_DIR_$(CLASS)) 837c478bd9Sstevel@tonic-gateROOT_PSM_SYS_DIR = $(ROOT_PSM_SYS_DIR_$(CLASS)) 847c478bd9Sstevel@tonic-gateROOT_PSM_MISC_DIR = $(ROOT_PSM_MISC_DIR_$(CLASS)) 857c478bd9Sstevel@tonic-gateROOT_PSM_KGSS_DIR = $(ROOT_PSM_KGSS_DIR_$(CLASS)) 867c478bd9Sstevel@tonic-gateROOT_PSM_MACH_DIR = $(ROOT_PSM_MACH_DIR_$(CLASS)) 877c478bd9Sstevel@tonic-gateROOT_PSM_CPU_DIR = $(ROOT_PSM_CPU_DIR_$(CLASS)) 887c478bd9Sstevel@tonic-gateROOT_PSM_PLAT_DIR = $(ROOT_PSM_PLAT_DIR_$(CLASS)) 897c478bd9Sstevel@tonic-gateROOT_PSM_TOD_DIR = $(ROOT_PSM_TOD_DIR_$(CLASS)) 907c478bd9Sstevel@tonic-gateROOT_PSM_MMU_DIR = $(ROOT_PSM_MMU_DIR_$(CLASS)) 917c478bd9Sstevel@tonic-gateROOT_PSM_DACF_DIR = $(ROOT_PSM_DACF_DIR_$(CLASS)) 927c478bd9Sstevel@tonic-gateROOT_PSM_CRYPTO_DIR = $(ROOT_PSM_CRYPTO_DIR_$(CLASS)) 9318a0bfdeSae112802ROOT_PSM_PCBE_DIR = $(ROOT_PSM_PCBE_DIR_$(CLASS)) 944a75c0c1SedpROOT_PSM_BRAND_DIR = $(ROOT_PSM_BRAND_DIR_$(CLASS)) 957c478bd9Sstevel@tonic-gate 967c478bd9Sstevel@tonic-gateROOT_PSM_MOD_DIRS_32 = $(ROOT_PSM_DRV_DIR_32) 977c478bd9Sstevel@tonic-gateROOT_PSM_MOD_DIRS_32 += $(ROOT_PSM_EXEC_DIR_32) $(ROOT_PSM_FS_DIR_32) 987c478bd9Sstevel@tonic-gateROOT_PSM_MOD_DIRS_32 += $(ROOT_PSM_SCHED_DIR_32) $(ROOT_PSM_STRMOD_DIR_32) 997c478bd9Sstevel@tonic-gateROOT_PSM_MOD_DIRS_32 += $(ROOT_PSM_SYS_DIR_32) $(ROOT_PSM_MISC_DIR_32) 1007c478bd9Sstevel@tonic-gateROOT_PSM_MOD_DIRS_32 += $(ROOT_PSM_KGSS_DIR_32) 1017c478bd9Sstevel@tonic-gateROOT_PSM_MOD_DIRS_32 += $(ROOT_PSM_MACH_DIR_32) $(ROOT_PSM_CPU_DIR_32) 1027c478bd9Sstevel@tonic-gateROOT_PSM_MOD_DIRS_32 += $(ROOT_PSM_TOD_DIR_32) 1037c478bd9Sstevel@tonic-gateROOT_PSM_MOD_DIRS_32 += $(ROOT_PSM_MMU_DIR_32) 1047c478bd9Sstevel@tonic-gateROOT_PSM_MOD_DIRS_32 += $(ROOT_PSM_DACF_DIR_32) 1057c478bd9Sstevel@tonic-gateROOT_PSM_MOD_DIRS_32 += $(ROOT_PSM_CRYPTO_DIR_32) 10618a0bfdeSae112802ROOT_PSM_MOD_DIRS_32 += $(ROOT_PSM_PCBE_DIR_32) 1074a75c0c1SedpROOT_PSM_MOD_DIRS_32 += $(ROOT_PSM_BRAND_DIR_32) 1087c478bd9Sstevel@tonic-gate 109d876c67dSjgROOT_PSM_LIB_FS_DIR = $(ROOT_PSM_LIB_DIR)/fs 110d876c67dSjgROOT_PSM_LIB_UFS_DIR = $(ROOT_PSM_LIB_FS_DIR)/ufs 111d876c67dSjgROOT_PSM_LIB_NFS_DIR = $(ROOT_PSM_LIB_FS_DIR)/nfs 112d876c67dSjgROOT_PSM_LIB_HSFS_DIR = $(ROOT_PSM_LIB_FS_DIR)/hsfs 113d876c67dSjgROOT_PSM_LIB_ZFS_DIR = $(ROOT_PSM_LIB_FS_DIR)/zfs 114d876c67dSjg 1157c478bd9Sstevel@tonic-gateUSR_PLAT_DIR = $(ROOT)/usr/platform 1167c478bd9Sstevel@tonic-gate 1177c478bd9Sstevel@tonic-gateUSR_PSM_DIR = $(USR_PLAT_DIR)/$(PLATFORM) 1187c478bd9Sstevel@tonic-gate 1197c478bd9Sstevel@tonic-gateUSR_PSM_MOD_DIR = $(USR_PSM_DIR)/kernel 1207c478bd9Sstevel@tonic-gateUSR_PSM_INCL_DIR = $(USR_PSM_DIR)/include 1217c478bd9Sstevel@tonic-gateUSR_PSM_LIB_DIR = $(USR_PSM_DIR)/lib 1227c478bd9Sstevel@tonic-gateUSR_PSM_LIB64_DIR = $(USR_PSM_LIB_DIR)/$(MACH64) 1237c478bd9Sstevel@tonic-gateUSR_PSM_SBIN_DIR = $(USR_PSM_DIR)/sbin 1247c478bd9Sstevel@tonic-gate 1257c478bd9Sstevel@tonic-gateUSR_PSM_ISYS_DIR = $(USR_PSM_INCL_DIR)/sys 1267c478bd9Sstevel@tonic-gateUSR_PSM_IVM_DIR = $(USR_PSM_INCL_DIR)/vm 1277c478bd9Sstevel@tonic-gate 1287c478bd9Sstevel@tonic-gateUSR_PSM_LIB_ABI_DIR = $(USR_PSM_LIB_DIR)/abi 1297c478bd9Sstevel@tonic-gateUSR_PSM_LIB_ABI_DIR_64 = $(USR_PSM_LIB_ABI_DIR)/$(MACH64) 1307c478bd9Sstevel@tonic-gate 1317c478bd9Sstevel@tonic-gateUSR_PSM_LIB_FS_DIR = $(USR_PSM_LIB_DIR)/fs 1327c478bd9Sstevel@tonic-gateUSR_PSM_LIB_UFS_DIR = $(USR_PSM_LIB_FS_DIR)/ufs 1337c478bd9Sstevel@tonic-gateUSR_PSM_LIB_NFS_DIR = $(USR_PSM_LIB_FS_DIR)/nfs 1347c478bd9Sstevel@tonic-gateUSR_PSM_LIB_HSFS_DIR = $(USR_PSM_LIB_FS_DIR)/hsfs 135986fd29aSsetjeUSR_PSM_LIB_ZFS_DIR = $(USR_PSM_LIB_FS_DIR)/zfs 1367c478bd9Sstevel@tonic-gate 1377c478bd9Sstevel@tonic-gateUSR_PSM_DRV_DIR_32 = $(USR_PSM_MOD_DIR)/drv 1387c478bd9Sstevel@tonic-gateUSR_PSM_EXEC_DIR_32 = $(USR_PSM_MOD_DIR)/exec 1397c478bd9Sstevel@tonic-gateUSR_PSM_FS_DIR_32 = $(USR_PSM_MOD_DIR)/fs 1407c478bd9Sstevel@tonic-gateUSR_PSM_SCHED_DIR_32 = $(USR_PSM_MOD_DIR)/sched 1417c478bd9Sstevel@tonic-gateUSR_PSM_STRMOD_DIR_32 = $(USR_PSM_MOD_DIR)/strmod 1427c478bd9Sstevel@tonic-gateUSR_PSM_SYS_DIR_32 = $(USR_PSM_MOD_DIR)/sys 1437c478bd9Sstevel@tonic-gateUSR_PSM_MISC_DIR_32 = $(USR_PSM_MOD_DIR)/misc 1447c478bd9Sstevel@tonic-gateUSR_PSM_DACF_DIR_32 = $(USR_PSM_MOD_DIR)/dacf 1457c478bd9Sstevel@tonic-gate 1467c478bd9Sstevel@tonic-gateUSR_PSM_DRV_DIR_64 = $(USR_PSM_MOD_DIR)/drv/$(SUBDIR64) 1477c478bd9Sstevel@tonic-gateUSR_PSM_EXEC_DIR_64 = $(USR_PSM_MOD_DIR)/exec/$(SUBDIR64) 1487c478bd9Sstevel@tonic-gateUSR_PSM_FS_DIR_64 = $(USR_PSM_MOD_DIR)/fs/$(SUBDIR64) 1497c478bd9Sstevel@tonic-gateUSR_PSM_SCHED_DIR_64 = $(USR_PSM_MOD_DIR)/sched/$(SUBDIR64) 1507c478bd9Sstevel@tonic-gateUSR_PSM_STRMOD_DIR_64 = $(USR_PSM_MOD_DIR)/strmod/$(SUBDIR64) 1517c478bd9Sstevel@tonic-gateUSR_PSM_SYS_DIR_64 = $(USR_PSM_MOD_DIR)/sys/$(SUBDIR64) 1527c478bd9Sstevel@tonic-gateUSR_PSM_MISC_DIR_64 = $(USR_PSM_MOD_DIR)/misc/$(SUBDIR64) 1537c478bd9Sstevel@tonic-gateUSR_PSM_DACF_DIR_64 = $(USR_PSM_MOD_DIR)/dacf/$(SUBDIR64) 1547c478bd9Sstevel@tonic-gate 1557c478bd9Sstevel@tonic-gateUSR_PSM_DRV_DIR = $(USR_PSM_DRV_DIR_$(CLASS)) 1567c478bd9Sstevel@tonic-gateUSR_PSM_EXEC_DIR = $(USR_PSM_EXEC_DIR_$(CLASS)) 1577c478bd9Sstevel@tonic-gateUSR_PSM_FS_DIR = $(USR_PSM_FS_DIR_$(CLASS)) 1587c478bd9Sstevel@tonic-gateUSR_PSM_SCHED_DIR = $(USR_PSM_SCHED_DIR_$(CLASS)) 1597c478bd9Sstevel@tonic-gateUSR_PSM_STRMOD_DIR = $(USR_PSM_STRMOD_DIR_$(CLASS)) 1607c478bd9Sstevel@tonic-gateUSR_PSM_SYS_DIR = $(USR_PSM_SYS_DIR_$(CLASS)) 1617c478bd9Sstevel@tonic-gateUSR_PSM_MISC_DIR = $(USR_PSM_MISC_DIR_$(CLASS)) 1627c478bd9Sstevel@tonic-gateUSR_PSM_DACF_DIR = $(USR_PSM_DACF_DIR_$(CLASS)) 1637c478bd9Sstevel@tonic-gate 1647c478bd9Sstevel@tonic-gateUSR_PSM_MOD_DIRS_32 = $(USR_PSM_DRV_DIR_32) 1657c478bd9Sstevel@tonic-gateUSR_PSM_MOD_DIRS_32 += $(USR_PSM_EXEC_DIR_32) $(USR_PSM_FS_DIR_32) 1667c478bd9Sstevel@tonic-gateUSR_PSM_MOD_DIRS_32 += $(USR_PSM_SCHED_DIR_32) $(USR_PSM_STRMOD_DIR_32) 1677c478bd9Sstevel@tonic-gateUSR_PSM_MOD_DIRS_32 += $(USR_PSM_SYS_DIR_32) $(USR_PSM_MISC_DIR_32) 1687c478bd9Sstevel@tonic-gateUSR_PSM_MOD_DIRS_32 += $(USR_PSM_DACF_DIR_32) 1697c478bd9Sstevel@tonic-gate 1707c478bd9Sstevel@tonic-gate# 1717c478bd9Sstevel@tonic-gate# UltraSparc III crypto modules 1727c478bd9Sstevel@tonic-gate# 1737c478bd9Sstevel@tonic-gateROOT_US3_DIR = $(ROOT_PLAT_DIR)/sun4u-us3 1747c478bd9Sstevel@tonic-gateROOT_US3_MOD_DIR = $(ROOT_US3_DIR)/kernel 1757c478bd9Sstevel@tonic-gateROOT_US3_CRYPTO_DIR_32 = $(ROOT_US3_MOD_DIR)/crypto 1767c478bd9Sstevel@tonic-gateROOT_US3_CRYPTO_DIR_64 = $(ROOT_US3_MOD_DIR)/crypto/$(SUBDIR64) 1777c478bd9Sstevel@tonic-gateROOT_US3_CRYPTO_DIR = $(ROOT_US3_CRYPTO_DIR_$(CLASS)) 1787c478bd9Sstevel@tonic-gateROOT_US3_CRYPTO_LINK = $(ROOT_US3_CRYPTO_DIR_64:$(ROOT_PLAT_DIR)%=../../../..%) 1797c478bd9Sstevel@tonic-gate 180ae115bc7SmrjROOT_BOOT_PSM_KERN_DIR = $(ROOT)/boot/platform/$(PLATFORM)/kernel 181ae115bc7Smrj 1827c478bd9Sstevel@tonic-gate# 1837c478bd9Sstevel@tonic-gate# The following are for the installation of objects in PSM directories. 1847c478bd9Sstevel@tonic-gate# 1857c478bd9Sstevel@tonic-gateROOT_PSM_PROG= $(PROG:%=$(ROOT_PSM_DIR)/%) 1867c478bd9Sstevel@tonic-gateUSR_PSM_PROG= $(PROG:%=$(USR_PSM_DIR)/%) 1877c478bd9Sstevel@tonic-gate 1887c478bd9Sstevel@tonic-gateROOT_PSM_SBIN_PROG= $(PROG:%=$(ROOT_PSM_SBIN_DIR)/%) 1897c478bd9Sstevel@tonic-gateUSR_PSM_SBIN_PROG= $(PROG:%=$(USR_PSM_SBIN_DIR)/%) 1907c478bd9Sstevel@tonic-gate 1917c478bd9Sstevel@tonic-gateROOT_PSM_LIBS= $(LIBS:%=$(ROOT_PSM_LIB_DIR)/%) 1927c478bd9Sstevel@tonic-gateUSR_PSM_LIBS= $(LIBS:%=$(USR_PSM_LIB_DIR)/%) 19371269a22SAnthony ScarpinoUSR_PSM_LIBS64= $(LIBS:%=$(USR_PSM_LIB64_DIR)/%) 1947c478bd9Sstevel@tonic-gate$(ROOT_PSM_LIB_DIR)/$(DYNLIB) := FILEMODE= 755 1957c478bd9Sstevel@tonic-gate$(ROOT_PSM_LIB64_DIR)/$(DYNLIB) := FILEMODE= 755 1967c478bd9Sstevel@tonic-gate$(USR_PSM_LIB_DIR)/$(DYNLIB) := FILEMODE= 755 1977c478bd9Sstevel@tonic-gate$(USR_PSM_LIB64_DIR)/$(DYNLIB) := FILEMODE= 755 1987c478bd9Sstevel@tonic-gate 1997c478bd9Sstevel@tonic-gate# 2007c478bd9Sstevel@tonic-gate# The following are used to link objects between platforms (for platforms 2017c478bd9Sstevel@tonic-gate# which wish to share some objects, but not everything). 2027c478bd9Sstevel@tonic-gate# 2037c478bd9Sstevel@tonic-gateROOT_PSM_PROG_LINKS= $(PLATLINKS:%=$(ROOT_PLAT_DIR)/%/$(PROG)) 2047c478bd9Sstevel@tonic-gateUSR_PSM_PROG_LINKS= $(PLATLINKS:%=$(USR_PLAT_DIR)/%/$(PROG)) 2057c478bd9Sstevel@tonic-gate 2067c478bd9Sstevel@tonic-gateROOT_PSM_SBIN_PROG_LINKS= $(PLATLINKS:%=$(ROOT_PLAT_DIR)/%/sbin/$(PROG)) 2077c478bd9Sstevel@tonic-gateUSR_PSM_SBIN_PROG_LINKS= $(PLATLINKS:%=$(USR_PLAT_DIR)/%/sbin/$(PROG)) 2087c478bd9Sstevel@tonic-gate 2097c478bd9Sstevel@tonic-gate# 2107c478bd9Sstevel@tonic-gate# The following are for the creation of the link between the generic name 2117c478bd9Sstevel@tonic-gate# of a library and the versioned instance of it. 2127c478bd9Sstevel@tonic-gate# 2137c478bd9Sstevel@tonic-gateROOT_PSM_LIB_VERLINKS= $(ROOT_PSM_LIB_DIR)/$(LIBLINKS) 2147c478bd9Sstevel@tonic-gateUSR_PSM_LIB_VERLINKS= $(USR_PSM_LIB_DIR)/$(LIBLINKS) 215