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 59ef7884dSanovick# Common Development and Distribution License (the "License"). 69ef7884dSanovick# 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# 22ae115bc7Smrj# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 237c478bd9Sstevel@tonic-gate# Use is subject to license terms. 247c478bd9Sstevel@tonic-gate# 257c478bd9Sstevel@tonic-gate# ident "%Z%%M% %I% %E% SMI" 267c478bd9Sstevel@tonic-gate# 277c478bd9Sstevel@tonic-gate# This makefile drives the production of all implementation architecture 287c478bd9Sstevel@tonic-gate# dependent modules for the sun4v architecture. 297c478bd9Sstevel@tonic-gate# 307c478bd9Sstevel@tonic-gate 317c478bd9Sstevel@tonic-gateUTSBASE = .. 327c478bd9Sstevel@tonic-gate 337c478bd9Sstevel@tonic-gateinclude Makefile.sun4v 349ef7884dSanovickinclude Makefile.stpaul 35a90d965dSfw157321include Makefile.huron 3659ac0c16Sdavemqinclude Makefile.maramba 37ca6d7ba9Sjl139090include Makefile.thunder 38c40d696fSwillardinclude Makefile.turgo 398696d418Sky115808include Makefile.congo 40*bbdcea1aSmcwalterinclude Makefile.monza 4159ac0c16Sdavemq 42ecb56eb0SwillardUSR_GLENDALE_DIR = $(USR_PLAT_DIR)/SUNW,Sun-Blade-T6320 43ecb56eb0SwillardUSR_GLENDALE_SBIN_DIR = $(USR_GLENDALE_DIR)/sbin 44ecb56eb0SwillardUSR_GLENDALE_LIB_DIR = $(USR_GLENDALE_DIR)/lib 45ecb56eb0Swillard 467c478bd9Sstevel@tonic-gate 477c478bd9Sstevel@tonic-gate# 487c478bd9Sstevel@tonic-gate# The following are SPARC specific (rather than sun4v) specific modules 497c478bd9Sstevel@tonic-gate# which are required for the sun4v kernel to completely lint. They are 507c478bd9Sstevel@tonic-gate# not involved in the build in any other way. In order to minimize 517c478bd9Sstevel@tonic-gate# build time, it is assumed that they are up to date. But since sun4v 527c478bd9Sstevel@tonic-gate# is really a separate architecture we cannot use the v7 sparc modules. 537c478bd9Sstevel@tonic-gate# 547c478bd9Sstevel@tonic-gateSPARC_LIB_DIR = $(UTSBASE)/sparc/lint-libs/$(OBJS_DIR) 557c478bd9Sstevel@tonic-gate 567c478bd9Sstevel@tonic-gateSPARC_LINTS = 577c478bd9Sstevel@tonic-gate 587c478bd9Sstevel@tonic-gate# 597c478bd9Sstevel@tonic-gate# 607c478bd9Sstevel@tonic-gate# 617c478bd9Sstevel@tonic-gateLINT_LIBS = $(LINT_LIB) \ 627c478bd9Sstevel@tonic-gate $(LINT_KMODS:%=$(LINT_LIB_DIR)/llib-l%.ln) \ 63fb9f9b97Skupfer $(CLOSED_LINT_KMODS:%=$(LINT_LIB_DIR)/llib-l%.ln) \ 647c478bd9Sstevel@tonic-gate $(SPARC_LINTS:%=$(SPARC_LIB_DIR)/llib-l%.ln) 657c478bd9Sstevel@tonic-gate 66554ff184Skais# EXPORT DELETE START 67554ff184Skais# 68554ff184Skais# CRYPTO_EK_KMODS modules go in the encryption pack (SUNWcry*) 69554ff184Skais# They need to be listed separately since they duplicate global symbols 70554ff184Skais# causing the 2nd pass of lint on the kernel to complain. CRYPTO_EK_KMODS 71554ff184Skais# should not be listed in the lint target. 72554ff184Skais# 73fb9f9b97Skupfer# Don't build this for OpenSolaris, since it will be replaced by 74fb9f9b97Skupfer# a binary that is signed by Sun RE. 75fb9f9b97Skupfer# 76fb9f9b97Skupfer$(CLOSED_BUILD)CRYPTO_EK_KMODS += arcfour2048 77554ff184Skais# EXPORT DELETE END 78554ff184Skais 797c478bd9Sstevel@tonic-gatedef := TARGET= def 807c478bd9Sstevel@tonic-gateall := TARGET= all 817c478bd9Sstevel@tonic-gateinstall := TARGET= install 827c478bd9Sstevel@tonic-gateinstall_h := TARGET= install_h 837c478bd9Sstevel@tonic-gateclean := TARGET= clean 847c478bd9Sstevel@tonic-gateclobber := TARGET= clobber 857c478bd9Sstevel@tonic-gatelint := TARGET= lint 867c478bd9Sstevel@tonic-gatelintlib := TARGET= lintlib 877c478bd9Sstevel@tonic-gatemodlintlib := TARGET= modlintlib 88fb9f9b97Skupfermodlist := TARGET= modlist 89fb9f9b97Skupfermodlist modlist.sparc := NO_STATE= -K $$MODSTATE$$$$ 907c478bd9Sstevel@tonic-gateclean.lint := TARGET= clean.lint 917c478bd9Sstevel@tonic-gatecheck := TARGET= check 927c478bd9Sstevel@tonic-gate 937c478bd9Sstevel@tonic-gate.KEEP_STATE: 947c478bd9Sstevel@tonic-gate 95ae115bc7Smrj.PARALLEL: $(PARALLEL_KMODS) $(CLOSED_KMODS) $(XMODS) $(CLOSED_XMODS) \ 96fb9f9b97Skupfer modlist modlist.sparc 977c478bd9Sstevel@tonic-gate 987c478bd9Sstevel@tonic-gate# Override for CPU_KMODS... they cannot be built 997c478bd9Sstevel@tonic-gate# in parallel 1007c478bd9Sstevel@tonic-gate.NO_PARALLEL: $(CPU_KMODS) 1017c478bd9Sstevel@tonic-gate 102fb9f9b97Skupferdef all clean clobber clean.lint: genassym unix .WAIT \ 103fb9f9b97Skupfer $(KMODS) $(CLOSED_KMODS) $(XMODS) $(CLOSED_XMODS) $(IMPLEMENTATIONS) 104fb9f9b97Skupfer 105fb9f9b97Skupfer# list the modules under sun4v. 106fb9f9b97Skupfermodlist: unix $(KMODS) $(CLOSED_KMODS) $(XMODS) $(CLOSED_XMODS) \ 1077c478bd9Sstevel@tonic-gate $(IMPLEMENTATIONS) 1087c478bd9Sstevel@tonic-gate 109fb9f9b97Skupfer# list the modules for Install -k sun4v. 110fb9f9b97Skupfermodlist.karch: modlist modlist.sparc 111fb9f9b97Skupfer 112fb9f9b97Skupfermodlist.sparc: 113fb9f9b97Skupfer @cd $(SRC)/uts/sparc; pwd; $(MAKE) $(NO_STATE) modlist 114fb9f9b97Skupfer 115fb9f9b97Skupferinstall: install_platforms genassym unix .WAIT $(KMODS) $(CLOSED_KMODS) \ 116fb9f9b97Skupfer $(XMODS) $(CLOSED_XMODS) $(IMPLEMENTATIONS) 1177c478bd9Sstevel@tonic-gate 1187c478bd9Sstevel@tonic-gatelintlib: unix 1197c478bd9Sstevel@tonic-gate 120fb9f9b97Skupfermodlintlib: $(LINT_KMODS) $(CLOSED_LINT_KMODS) 1217c478bd9Sstevel@tonic-gate 122fb9f9b97Skupfergenassym unix $(KMODS): FRC 123fb9f9b97Skupfer @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET) 124fb9f9b97Skupfer 125fb9f9b97Skupfer$(IMPLEMENTATIONS): FRC 126fb9f9b97Skupfer @cd $@; pwd; THISIMPL=$@ $(MAKE) $(NO_STATE) $(TARGET) 1277c478bd9Sstevel@tonic-gate 1287c478bd9Sstevel@tonic-gate$(XMODS): FRC 1297c478bd9Sstevel@tonic-gate @if [ -f $@/Makefile ]; then \ 130fb9f9b97Skupfer cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET); \ 1317c478bd9Sstevel@tonic-gate else \ 1327c478bd9Sstevel@tonic-gate true; \ 1337c478bd9Sstevel@tonic-gate fi 1347c478bd9Sstevel@tonic-gate 135fb9f9b97Skupfer$(CLOSED_XMODS): FRC 136fb9f9b97Skupfer @if [ -f $(CLOSED)/uts/sun4v/$@/Makefile ]; then \ 137fb9f9b97Skupfer cd $(CLOSED)/uts/sun4v/$@; pwd; \ 138fb9f9b97Skupfer $(MAKE) $(NO_STATE) $(TARGET); \ 139fb9f9b97Skupfer else \ 140fb9f9b97Skupfer true; \ 141fb9f9b97Skupfer fi 142fb9f9b97Skupfer 143fb9f9b97Skupfer$(CLOSED_KMODS): FRC 144fb9f9b97Skupfer cd $(CLOSED)/uts/sun4v/$@; pwd; $(MAKE) $(NO_STATE) $(TARGET) 145fb9f9b97Skupfer 1467c478bd9Sstevel@tonic-gateinstall_h check: install_platforms $(IMPLEMENTATIONS) FRC 1477c478bd9Sstevel@tonic-gate @cd sys; pwd; $(MAKE) $(TARGET) 1487c478bd9Sstevel@tonic-gate @cd vm; pwd; $(MAKE) $(TARGET) 1497c478bd9Sstevel@tonic-gate 1507c478bd9Sstevel@tonic-gate# 1517c478bd9Sstevel@tonic-gate# Rules for the /platforms directories. This is hardwired here because 1527c478bd9Sstevel@tonic-gate# the first stage of the project (KBI) only implements the userland 1537c478bd9Sstevel@tonic-gate# changes, but the only reasonable place to record the aliases is 1547c478bd9Sstevel@tonic-gate# here in kernel land. 1557c478bd9Sstevel@tonic-gate# 1567c478bd9Sstevel@tonic-gate$(ROOT_PLAT_DIRS): $(ROOT_PLAT_DIR) 1577c478bd9Sstevel@tonic-gate -$(INS.dir.root.sys) 1587c478bd9Sstevel@tonic-gate 159b7f45089Sdf157793$(LINKED_PLATFORMS:%=$(ROOT_PLAT_DIR)/%): $(ROOT_PLAT_DIR) 160b7f45089Sdf157793 $(INS.slink1) 161b7f45089Sdf157793 1627c478bd9Sstevel@tonic-gate# 1637c478bd9Sstevel@tonic-gate# create directories in /usr/platform/ for the implementations that are 1647c478bd9Sstevel@tonic-gate# defined in $(IMPLEMENTED_PLATFORM) 1657c478bd9Sstevel@tonic-gate# 1667c478bd9Sstevel@tonic-gate 1677c478bd9Sstevel@tonic-gate# Foreach $(IMPLEMENTED_PLATFORM) there can be a list of $(LINKED_PLATFORMS) 1687c478bd9Sstevel@tonic-gate# that are linked to it. 1697c478bd9Sstevel@tonic-gate# 1707c478bd9Sstevel@tonic-gate$(USR_PLAT_DIR)/$(IMPLEMENTED_PLATFORM): $(USR_PLAT_DIR) 1717c478bd9Sstevel@tonic-gate -$(INS.dir.root.sys) 1727c478bd9Sstevel@tonic-gate 1737c478bd9Sstevel@tonic-gate# 1747c478bd9Sstevel@tonic-gate# create the links in /usr/platform/ foreach $(LINKED_PLATFORMS) 1757c478bd9Sstevel@tonic-gate# to it's corresponding $(IMPLEMENTED_PLATFORM). 1767c478bd9Sstevel@tonic-gate# 1777c478bd9Sstevel@tonic-gatePLATFORMS = $(LINKED_PLATFORMS) 1787c478bd9Sstevel@tonic-gate 1797c478bd9Sstevel@tonic-gate$(USR_PLAT_DIRS): $(USR_PLAT_DIR) 1807c478bd9Sstevel@tonic-gate $(INS.slink3) 1817c478bd9Sstevel@tonic-gate 1827c478bd9Sstevel@tonic-gatePLATFORMS += $(IMPLEMENTED_PLATFORM) 1837c478bd9Sstevel@tonic-gate 18459ac0c16Sdavemq 1857c478bd9Sstevel@tonic-gate# 1867c478bd9Sstevel@tonic-gate# Make the /platforms directories. This is hardwired here because 1877c478bd9Sstevel@tonic-gate# the first stage of the project (KBI) only implements the userland 1887c478bd9Sstevel@tonic-gate# changes, but the only reasonable place to record the aliases is 1897c478bd9Sstevel@tonic-gate# here in kernel land. 1907c478bd9Sstevel@tonic-gate# 19159ac0c16Sdavemq 1927c478bd9Sstevel@tonic-gateinstall_platforms: $(ROOT_PSM_DIR) $(USR_PSM_DIR) \ 1937c478bd9Sstevel@tonic-gate $(ROOT_PLAT_DIRS) $(USR_PLAT_DIRS) \ 194b7f45089Sdf157793 $(LINKED_PLATFORMS:%=$(ROOT_PLAT_DIR)/%) \ 1957c478bd9Sstevel@tonic-gate $(USR_DESKTOP_DIR) $(USR_DESKTOP_INC_DIR) \ 1969ef7884dSanovick $(USR_DESKTOP_SBIN_DIR) $(USR_DESKTOP_LIB_DIR) \ 1979ef7884dSanovick $(USR_STPAUL_DIR) $(USR_STPAUL_SBIN_DIR) \ 198ecb56eb0Swillard $(USR_STPAUL_LIB_DIR) \ 199ecb56eb0Swillard $(USR_GLENDALE_DIR) $(USR_GLENDALE_SBIN_DIR) \ 200a90d965dSfw157321 $(USR_GLENDALE_LIB_DIR) \ 201a90d965dSfw157321 $(USR_HURON_DIR) \ 20259ac0c16Sdavemq $(USR_HURON_SBIN_DIR) $(USR_HURON_LIB_DIR) \ 20359ac0c16Sdavemq $(USR_MARAMBA_DIR) $(USR_MARAMBA_SBIN_DIR) \ 204c40d696fSwillard $(USR_MARAMBA_LIB_DIR) \ 205ca6d7ba9Sjl139090 $(USR_THUNDER_DIR) $(USR_THUNDER_SBIN_DIR) \ 206ca6d7ba9Sjl139090 $(USR_THUNDER_LIB_DIR) \ 207c40d696fSwillard $(USR_TURGO_DIR) $(USR_TURGO_SBIN_DIR) \ 2088696d418Sky115808 $(USR_TURGO_LIB_DIR) \ 2098696d418Sky115808 $(USR_CONGO_DIR) $(USR_CONGO_SBIN_DIR) \ 210*bbdcea1aSmcwalter $(USR_CONGO_LIB_DIR) \ 211*bbdcea1aSmcwalter $(USR_MONZA_DIR) \ 212*bbdcea1aSmcwalter $(USR_MONZA_SBIN_DIR) $(USR_MONZA_SBIN_LINKS) 21359ac0c16Sdavemq 2147c478bd9Sstevel@tonic-gate 2157c478bd9Sstevel@tonic-gate# 2167c478bd9Sstevel@tonic-gate# rules for making include, sbin, lib dirs/links in 2177c478bd9Sstevel@tonic-gate# /usr/platform/$(PLATFORM)/ for desktop platforms 2187c478bd9Sstevel@tonic-gate# 2197c478bd9Sstevel@tonic-gate$(USR_DESKTOP_INC_DIR): $(USR_DESKTOP_DIR) 2207c478bd9Sstevel@tonic-gate $(INS.slink4) 2217c478bd9Sstevel@tonic-gate 2227c478bd9Sstevel@tonic-gate$(USR_DESKTOP_SBIN_DIR): $(USR_DESKTOP_DIR) 2237c478bd9Sstevel@tonic-gate $(INS.slink5) 2247c478bd9Sstevel@tonic-gate 225ecb56eb0Swillard$(USR_DESKTOP_LIB_DIR): $(USR_DESKTOP_DIR) 226ecb56eb0Swillard -$(INS.dir.root.bin) 227ecb56eb0Swillard 2289ef7884dSanovick$(USR_STPAUL_DIR): $(USR_SUN4V_PLAT_DIR) 2299ef7884dSanovick -$(INS.dir.root.sys) 2309ef7884dSanovick 2319ef7884dSanovick$(USR_STPAUL_SBIN_DIR): $(USR_STPAUL_DIR) 2329ef7884dSanovick $(INS.slink5) 2339ef7884dSanovick 2349ef7884dSanovick$(USR_STPAUL_LIB_DIR): $(USR_STPAUL_DIR) 2359ef7884dSanovick -$(INS.dir.root.bin) 2369ef7884dSanovick 237a90d965dSfw157321$(USR_HURON_DIR): $(USR_SUN4V_PLAT_DIR) 238a90d965dSfw157321 -$(INS.dir.root.sys) 239a90d965dSfw157321 240a90d965dSfw157321$(USR_HURON_SBIN_DIR): $(USR_HURON_DIR) 241a90d965dSfw157321 $(INS.slink5) 242a90d965dSfw157321 243a90d965dSfw157321$(USR_HURON_LIB_DIR): $(USR_HURON_DIR) 244a90d965dSfw157321 -$(INS.dir.root.bin) 245a90d965dSfw157321 246ecb56eb0Swillard$(USR_GLENDALE_DIR): $(USR_SUN4V_PLAT_DIR) 247ecb56eb0Swillard -$(INS.dir.root.sys) 2487c478bd9Sstevel@tonic-gate 249ecb56eb0Swillard$(USR_GLENDALE_SBIN_DIR): $(USR_GLENDALE_DIR) 250ecb56eb0Swillard $(INS.slink5) 251ecb56eb0Swillard 252ecb56eb0Swillard$(USR_GLENDALE_LIB_DIR): $(USR_GLENDALE_DIR) 253ecb56eb0Swillard -$(INS.dir.root.bin) 25459ac0c16Sdavemq 25559ac0c16Sdavemq$(USR_MARAMBA_DIR): $(USR_SUN4V_PLAT_DIR) 25659ac0c16Sdavemq -$(INS.dir.root.sys) 25759ac0c16Sdavemq 25859ac0c16Sdavemq$(USR_MARAMBA_SBIN_DIR): $(USR_MARAMBA_DIR) 25959ac0c16Sdavemq $(INS.slink5) 26059ac0c16Sdavemq 26159ac0c16Sdavemq$(USR_MARAMBA_LIB_DIR): $(USR_MARAMBA_DIR) 26259ac0c16Sdavemq -$(INS.dir.root.bin) 26359ac0c16Sdavemq 264ca6d7ba9Sjl139090$(USR_THUNDER_DIR): $(USR_SUN4V_PLAT_DIR) 265ca6d7ba9Sjl139090 -$(INS.dir.root.sys) 266ca6d7ba9Sjl139090 267ca6d7ba9Sjl139090$(USR_THUNDER_SBIN_DIR): $(USR_THUNDER_DIR) 268ca6d7ba9Sjl139090 $(INS.slink5) 269ca6d7ba9Sjl139090 270ca6d7ba9Sjl139090$(USR_THUNDER_LIB_DIR): $(USR_THUNDER_DIR) 271ca6d7ba9Sjl139090 -$(INS.dir.root.bin) 272ca6d7ba9Sjl139090 273c40d696fSwillard$(USR_TURGO_DIR): $(USR_SUN4V_PLAT_DIR) 274c40d696fSwillard -$(INS.dir.root.sys) 275c40d696fSwillard 276c40d696fSwillard$(USR_TURGO_SBIN_DIR): $(USR_TURGO_DIR) 277c40d696fSwillard $(INS.slink5) 278c40d696fSwillard 279c40d696fSwillard$(USR_TURGO_LIB_DIR): $(USR_TURGO_DIR) 280c40d696fSwillard -$(INS.dir.root.bin) 281c40d696fSwillard 2828696d418Sky115808$(USR_CONGO_DIR): $(USR_SUN4V_PLAT_DIR) 2838696d418Sky115808 -$(INS.dir.root.sys) 2848696d418Sky115808 2858696d418Sky115808$(USR_CONGO_SBIN_DIR): $(USR_CONGO_DIR) 2868696d418Sky115808 $(INS.slink5) 2878696d418Sky115808 2888696d418Sky115808$(USR_CONGO_LIB_DIR): $(USR_CONGO_DIR) 2898696d418Sky115808 -$(INS.dir.root.bin) 2908696d418Sky115808 291*bbdcea1aSmcwalter$(USR_MONZA_DIR): $(USR_SUN4V_PLAT_DIR) 292*bbdcea1aSmcwalter -$(INS.dir.root.sys) 293*bbdcea1aSmcwalter 294*bbdcea1aSmcwalter$(USR_MONZA_SBIN_DIR): $(USR_MONZA_DIR) 295*bbdcea1aSmcwalter -$(INS.dir.root.sys) 296*bbdcea1aSmcwalter 297*bbdcea1aSmcwalter$(USR_MONZA_SBIN_LINKS): $(USR_MONZA_SBIN_DIR) 298*bbdcea1aSmcwalter $(INS.slink7) 299*bbdcea1aSmcwalter 3007c478bd9Sstevel@tonic-gate# 3017c478bd9Sstevel@tonic-gate# Full kernel lint target. 3027c478bd9Sstevel@tonic-gate# 3037c478bd9Sstevel@tonic-gateLINT_TARGET = globallint 3047c478bd9Sstevel@tonic-gate 3057c478bd9Sstevel@tonic-gategloballint: 3067c478bd9Sstevel@tonic-gate @-$(ECHO) "\nSUN4V KERNEL: global crosschecks:" 3077c478bd9Sstevel@tonic-gate @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2) 3087c478bd9Sstevel@tonic-gate 3097c478bd9Sstevel@tonic-gatelint: lintlib .WAIT modlintlib .WAIT $(SPARC_LINTS) $(LINT_DEPS) \ 3107c478bd9Sstevel@tonic-gate $(IMPLEMENTATIONS) 3117c478bd9Sstevel@tonic-gate 3127c478bd9Sstevel@tonic-gate# EXPORT DELETE START 3137c478bd9Sstevel@tonic-gate 3147c478bd9Sstevel@tonic-gateEXPORT_SRC: 3157c478bd9Sstevel@tonic-gate $(RM) Makefile+ 3167c478bd9Sstevel@tonic-gate sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 3177c478bd9Sstevel@tonic-gate < Makefile > Makefile+ 3187c478bd9Sstevel@tonic-gate $(MV) Makefile+ Makefile 3197c478bd9Sstevel@tonic-gate $(CHMOD) 444 Makefile 3207c478bd9Sstevel@tonic-gate 3217c478bd9Sstevel@tonic-gate# EXPORT DELETE END 3227c478bd9Sstevel@tonic-gate 3237c478bd9Sstevel@tonic-gateinclude ../Makefile.targ 3247c478bd9Sstevel@tonic-gate 3257c478bd9Sstevel@tonic-gate# 3267c478bd9Sstevel@tonic-gate# Cross-reference customization: build a cross-reference over all of the 3277c478bd9Sstevel@tonic-gate# sun4v-related directories. 3287c478bd9Sstevel@tonic-gate# 329fb9f9b97SkupferSHARED_XRDIRS = ../sun4v ../sun4 ../sfmmu ../sparc ../sun ../common 330fb9f9b97SkupferCLOSED_XRDIRS = $(SHARED_XRDIRS:../%=../% ../../../closed/uts/%) 331fb9f9b97SkupferXRDIRS = $(SHARED_XRDIRS) 332fb9f9b97Skupfer$(CLOSED_BUILD)XRDIRS = $(CLOSED_XRDIRS:../../../closed/uts/sfmmu=) 333fb9f9b97Skupfer 33449126f4eSjb145095XRPRUNE = i86pc sun4u intel 3357c478bd9Sstevel@tonic-gate 3367c478bd9Sstevel@tonic-gatecscope.out tags: FRC 3377c478bd9Sstevel@tonic-gate $(XREF) -x $@ 338