xref: /titanic_52/usr/src/uts/common/sys/Makefile.syshdrs (revision c9df77d984161315e2f741c6ac78c396a2743fe6)
1fb9f9b97Skupfer#
291e10584Sdp# CDDL HEADER START
391e10584Sdp#
491e10584Sdp# The contents of this file are subject to the terms of the
591e10584Sdp# Common Development and Distribution License (the "License").
691e10584Sdp# You may not use this file except in compliance with the License.
791e10584Sdp#
891e10584Sdp# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
991e10584Sdp# or http://www.opensolaris.org/os/licensing.
1091e10584Sdp# See the License for the specific language governing permissions
1191e10584Sdp# and limitations under the License.
1291e10584Sdp#
1391e10584Sdp# When distributing Covered Code, include this CDDL HEADER in each
1491e10584Sdp# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1591e10584Sdp# If applicable, add the following below this CDDL HEADER, with the
1691e10584Sdp# fields enclosed by brackets "[]" replaced with your own identifying
1791e10584Sdp# information: Portions Copyright [yyyy] [name of copyright owner]
1891e10584Sdp#
1991e10584Sdp# CDDL HEADER END
2091e10584Sdp#
21e373b6e4SYuri Pankov
22e373b6e4SYuri Pankov#
23c39526b7SPramod Gunjikar# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
24e2c88f0cSGarrett D'Amore# Copyright 2014 Garrett D'Amore <garrett@damore.org>
25e373b6e4SYuri Pankov# Copyright 2016 Nexenta Systems, Inc.
26fb9f9b97Skupfer#
27fb9f9b97Skupfer
28fb9f9b97Skupfer# Common definitions for open and closed headers.
29fb9f9b97Skupfer
30fb9f9b97Skupfer# check files really don't exist
31fb9f9b97Skupfer
32fb9f9b97Skupferaudio/%.check:	audio/%.h
33fb9f9b97Skupfer	$(DOT_H_CHECK)
34fb9f9b97Skupfer
35fb9f9b97Skupferav/%.check:	av/%.h
36fb9f9b97Skupfer	$(DOT_H_CHECK)
37fb9f9b97Skupfer
38fb9f9b97Skupferfm/%.check:     fm/%.h
39fb9f9b97Skupfer	$(DOT_H_CHECK)
40fb9f9b97Skupfer
41fb9f9b97Skupferfm/cpu/%.check:	fm/cpu/%.h
42fb9f9b97Skupfer	$(DOT_H_CHECK)
43fb9f9b97Skupfer
44ea8dc4b6Seschrockfm/fs/%.check:	fm/fs/%.h
45ea8dc4b6Seschrock	$(DOT_H_CHECK)
46ea8dc4b6Seschrock
47fb9f9b97Skupferfm/io/%.check:	fm/io/%.h
48fb9f9b97Skupfer	$(DOT_H_CHECK)
49fb9f9b97Skupfer
50fb9f9b97Skupferfs/%.check:	fs/%.h
51fb9f9b97Skupfer	$(DOT_H_CHECK)
52fb9f9b97Skupfer
53fb9f9b97Skupferib/%.check:		ib/%.h
54fb9f9b97Skupfer	$(DOT_H_CHECK)
55fb9f9b97Skupfer
56fb9f9b97Skupferib/clients/ibd/%.check:	ib/clients/ibd/%.h
57fb9f9b97Skupfer	$(DOT_H_CHECK)
58fb9f9b97Skupfer
59c39526b7SPramod Gunjikarib/clients/of/%.check:		ib/clients/of/%.h
60c39526b7SPramod Gunjikar	$(DOT_H_CHECK)
61c39526b7SPramod Gunjikar
62c39526b7SPramod Gunjikarib/clients/of/rdma/%.check:		ib/clients/of/rdma/%.h
63c39526b7SPramod Gunjikar	$(DOT_H_CHECK)
64c39526b7SPramod Gunjikar
65c39526b7SPramod Gunjikarib/clients/of/sol_ofs/%.check:		ib/clients/of/sol_ofs/%.h
66c39526b7SPramod Gunjikar	$(DOT_H_CHECK)
67c39526b7SPramod Gunjikar
68c39526b7SPramod Gunjikarib/clients/of/sol_uverbs/%.check:	ib/clients/of/sol_uverbs/%.h
69c39526b7SPramod Gunjikar	$(DOT_H_CHECK)
70c39526b7SPramod Gunjikar
71448bf859SLida.Hornib/clients/of/sol_umad/%.check:		ib/clients/of/sol_umad/%.h
72448bf859SLida.Horn	$(DOT_H_CHECK)
73448bf859SLida.Horn
74c39526b7SPramod Gunjikarib/clients/of/sol_ucma/%.check:		ib/clients/of/sol_ucma/%.h
75c39526b7SPramod Gunjikar	$(DOT_H_CHECK)
76c39526b7SPramod Gunjikar
77fb9f9b97Skupferib/ibtl/%.check:	ib/ibtl/%.h
78fb9f9b97Skupfer	$(DOT_H_CHECK)
79fb9f9b97Skupfer
80fb9f9b97Skupferib/ibtl/impl/%.check:	ib/ibtl/impl/%.h
81fb9f9b97Skupfer	$(DOT_H_CHECK)
82fb9f9b97Skupfer
83fb9f9b97Skupferib/ibnex/%.check:	ib/ibnex/%.h
84fb9f9b97Skupfer	$(DOT_H_CHECK)
85fb9f9b97Skupfer
86fb9f9b97Skupferib/mgt/%.check:	ib/mgt/%.h
87fb9f9b97Skupfer	$(DOT_H_CHECK)
88fb9f9b97Skupfer
89fb9f9b97Skupferib/mgt/ibmf/%.check:	ib/mgt/ibmf/%.h
90fb9f9b97Skupfer	$(DOT_H_CHECK)
91fb9f9b97Skupfer
92fb9f9b97Skupferib/adapters/tavor/%.check:	ib/adapters/tavor/%.h
93fb9f9b97Skupfer	$(DOT_H_CHECK)
94fb9f9b97Skupfer
957dd1301aSBill Taylorib/adapters/hermon/%.check:	ib/adapters/hermon/%.h
967dd1301aSBill Taylor	$(DOT_H_CHECK)
977dd1301aSBill Taylor
98758868cdSBill Taylorib/adapters/%.check:	ib/adapters/%.h
99758868cdSBill Taylor	$(DOT_H_CHECK)
100758868cdSBill Taylor
101a6d42e7dSPeter Dunlapidm/%.check:		idm/%.h
102a6d42e7dSPeter Dunlap	$(DOT_H_CHECK)
103a6d42e7dSPeter Dunlap
104a6d42e7dSPeter Dunlapiscsit/%.check:		iscsit/%.h
105a6d42e7dSPeter Dunlap	$(DOT_H_CHECK)
106a6d42e7dSPeter Dunlap
107fb9f9b97Skupferscsi/%.check:		scsi/%.h
108fb9f9b97Skupfer	$(DOT_H_CHECK)
109fb9f9b97Skupfer
110fb9f9b97Skupferscsi/conf/%.check:	scsi/conf/%.h
111fb9f9b97Skupfer	$(DOT_H_CHECK)
112fb9f9b97Skupfer
113fb9f9b97Skupferscsi/generic/%.check:	scsi/generic/%.h
114fb9f9b97Skupfer	$(DOT_H_CHECK)
115fb9f9b97Skupfer
116fb9f9b97Skupferscsi/impl/%.check:	scsi/impl/%.h
117fb9f9b97Skupfer	$(DOT_H_CHECK)
118fb9f9b97Skupfer
119fb9f9b97Skupferscsi/targets/%.check:	scsi/targets/%.h
120fb9f9b97Skupfer	$(DOT_H_CHECK)
121fb9f9b97Skupfer
122fb9f9b97Skupferscsi/adapters/%.check:	scsi/adapters/%.h
123fb9f9b97Skupfer	$(DOT_H_CHECK)
124fb9f9b97Skupfer
1254bb7efa7SGarrett D'Amoresdcard/%.check:		sdcard/%.h
1264bb7efa7SGarrett D'Amore	$(DOT_H_CHECK)
1274bb7efa7SGarrett D'Amore
128fb9f9b97Skupfersysevent/%.check:     sysevent/%.h
129fb9f9b97Skupfer	$(DOT_H_CHECK)
130fb9f9b97Skupfer
131fb9f9b97Skupfercontract/%.check:     contract/%.h
132fb9f9b97Skupfer	$(DOT_H_CHECK)
133fb9f9b97Skupfer
134fb9f9b97Skupferusb/%.check:		usb/%.h
135fb9f9b97Skupfer	$(DOT_H_CHECK)
136fb9f9b97Skupfer
137fb9f9b97Skupferusb/clients/audio/%.check:  usb/clients/audio/%.h
138fb9f9b97Skupfer	$(DOT_H_CHECK)
139fb9f9b97Skupfer
140fb9f9b97Skupferusb/hubd/%.check:	usb/hubd/%.h
141fb9f9b97Skupfer	$(DOT_H_CHECK)
142fb9f9b97Skupfer
143fb9f9b97Skupferusb/clients/hid/%.check:	usb/clients/hid/%.h
144fb9f9b97Skupfer	$(DOT_H_CHECK)
145fb9f9b97Skupfer
146fb9f9b97Skupferusb/clients/mass_storage/%.check:	usb/clients/mass_storage/%.h
147fb9f9b97Skupfer	$(DOT_H_CHECK)
148fb9f9b97Skupfer
149fb9f9b97Skupferusb/clients/printer/%.check:  usb/clients/printer/%.h
150fb9f9b97Skupfer	$(DOT_H_CHECK)
151fb9f9b97Skupfer
15290f05028Syq193411usb/clients/usbcdc/%.check:	usb/clients/usbcdc/%.h
15390f05028Syq193411	$(DOT_H_CHECK)
15490f05028Syq193411
155c77a61a7Syz147069usb/clients/video/usbvc/%.check:  usb/clients/video/usbvc/%.h
156c77a61a7Syz147069	$(DOT_H_CHECK)
157c77a61a7Syz147069
158692d834dSPengcheng Chen - Sun Microsystems - Beijing Chinausb/clients/usbinput/usbwcm/%.check:	usb/clients/usbinput/usbwcm/%.h
159692d834dSPengcheng Chen - Sun Microsystems - Beijing China	$(DOT_H_CHECK)
160692d834dSPengcheng Chen - Sun Microsystems - Beijing China
161fb9f9b97Skupfer1394/%.check:         1394/%.h
162fb9f9b97Skupfer	$(DOT_H_CHECK)
163fb9f9b97Skupfer
164fb9f9b97Skupferrsm/%.check:	rsm/%.h
165fb9f9b97Skupfer	$(DOT_H_CHECK)
166fb9f9b97Skupfer
16745916cd2Sjpktsol/%.check:	tsol/%.h
16845916cd2Sjpk	$(DOT_H_CHECK)
16945916cd2Sjpk
170fb9f9b97SkupferROOTDIR=	$(ROOT)/usr/include/sys
171fb9f9b97Skupfer
172fb9f9b97SkupferROOTDKTPDIR=	$(ROOTDIR)/dktp
173fb9f9b97Skupfer
174fb9f9b97Skupfersparc_ROOTDIRS=	$(ROOTDKTPDIR) $(ROOTDIR)/scsi/adapters \
17547cd5876SAlan Perry		$(ROOTDIR)/scsi/targets
176fb9f9b97Skupfer
177*c9df77d9SGordon Rossi386_ROOTDIRS=	$(ROOTDKTPDIR) $(ROOTDIR)/scsi/adapters \
178*c9df77d9SGordon Ross		$(ROOTDIR)/scsi/targets \
179*c9df77d9SGordon Ross		$(ROOTDIR)/sata
180fb9f9b97Skupfer
181fb9f9b97SkupferROOTDIRS=			\
182fb9f9b97Skupfer	$(ROOTDIR)		\
183fb9f9b97Skupfer	$(ROOTDIR)/audio	\
18447cd5876SAlan Perry	$(ROOTDIR)/av		\
185fb9f9b97Skupfer	$(ROOTDIR)/hotplug	\
186fb9f9b97Skupfer	$(ROOTDIR)/hotplug/pci	\
187fb9f9b97Skupfer	$(ROOTDIR)/crypto	\
188fb9f9b97Skupfer	$(ROOTDIR)/dcam		\
189fb9f9b97Skupfer	$(ROOTDIR)/iso		\
190fcf3ce44SJohn Forte	$(ROOTDIR)/fc4		\
191fcf3ce44SJohn Forte	$(ROOTDIR)/fibre-channel    \
192fcf3ce44SJohn Forte	$(ROOTDIR)/fibre-channel/impl	\
193fcf3ce44SJohn Forte	$(ROOTDIR)/fibre-channel/ulp	\
194fb9f9b97Skupfer	$(ROOTDIR)/fm		\
195fb9f9b97Skupfer	$(ROOTDIR)/fm/cpu	\
196ea8dc4b6Seschrock	$(ROOTDIR)/fm/fs	\
197fb9f9b97Skupfer	$(ROOTDIR)/fm/io	\
198fb9f9b97Skupfer	$(ROOTDIR)/fs		\
199fb9f9b97Skupfer	$(ROOTDIR)/ib		\
200fb9f9b97Skupfer	$(ROOTDIR)/ib/adapters/tavor	\
2017dd1301aSBill Taylor	$(ROOTDIR)/ib/adapters/hermon	\
202758868cdSBill Taylor	$(ROOTDIR)/ib/adapters	\
203fb9f9b97Skupfer	$(ROOTDIR)/ib/ibtl	\
204fb9f9b97Skupfer	$(ROOTDIR)/ib/ibtl/impl	\
205fb9f9b97Skupfer	$(ROOTDIR)/ib/mgt	\
206fb9f9b97Skupfer	$(ROOTDIR)/ib/mgt/ibmf	\
207fb9f9b97Skupfer	$(ROOTDIR)/ib/ibnex	\
208fb9f9b97Skupfer	$(ROOTDIR)/ib/clients/ibd \
209c39526b7SPramod Gunjikar	$(ROOTDIR)/ib/clients/of	\
210c39526b7SPramod Gunjikar	$(ROOTDIR)/ib/clients/of/rdma	\
211c39526b7SPramod Gunjikar	$(ROOTDIR)/ib/clients/of/sol_ofs	\
212c39526b7SPramod Gunjikar	$(ROOTDIR)/ib/clients/of/sol_uverbs	\
213448bf859SLida.Horn	$(ROOTDIR)/ib/clients/of/sol_umad	\
214c39526b7SPramod Gunjikar	$(ROOTDIR)/ib/clients/of/sol_ucma	\
215a6d42e7dSPeter Dunlap	$(ROOTDIR)/idm		\
216a6d42e7dSPeter Dunlap	$(ROOTDIR)/iscsit	\
217fb9f9b97Skupfer	$(ROOTDIR)/scsi		\
218fb9f9b97Skupfer	$(ROOTDIR)/scsi/conf	\
219fb9f9b97Skupfer	$(ROOTDIR)/scsi/generic	\
220fb9f9b97Skupfer	$(ROOTDIR)/scsi/impl	\
2214bb7efa7SGarrett D'Amore	$(ROOTDIR)/sdcard	\
222fb9f9b97Skupfer	$(ROOTDIR)/sysevent     \
223fb9f9b97Skupfer	$(ROOTDIR)/contract     \
224fb9f9b97Skupfer	$(ROOTDIR)/usb		\
225fb9f9b97Skupfer	$(ROOTDIR)/usb/hubd	\
226fb9f9b97Skupfer	$(ROOTDIR)/usb/clients	\
227fb9f9b97Skupfer	$(ROOTDIR)/usb/clients/audio  \
228fb9f9b97Skupfer	$(ROOTDIR)/usb/clients/hid \
229fb9f9b97Skupfer	$(ROOTDIR)/usb/clients/mass_storage	\
230fb9f9b97Skupfer	$(ROOTDIR)/usb/clients/printer  \
23190f05028Syq193411	$(ROOTDIR)/usb/clients/usbcdc  \
232c77a61a7Syz147069	$(ROOTDIR)/usb/clients/video/usbvc  \
233692d834dSPengcheng Chen - Sun Microsystems - Beijing China	$(ROOTDIR)/usb/clients/usbinput/usbwcm \
234fb9f9b97Skupfer	$(ROOTDIR)/usb/clients/ugen  \
235fb9f9b97Skupfer	$(ROOTDIR)/1394         \
236fb9f9b97Skupfer	$(ROOTDIR)/rsm		\
23745916cd2Sjpk	$(ROOTDIR)/tsol		\
238fb9f9b97Skupfer	$($(MACH)_ROOTDIRS)
239fb9f9b97Skupfer
240fb9f9b97Skupfer
241fb9f9b97SkupferROOTHDRS=				\
242fb9f9b97Skupfer	$($(MACH)_HDRS:%=$(ROOTDIR)/%)	\
243fb9f9b97Skupfer	$(HDRS:%=$(ROOTDIR)/%)
244fb9f9b97Skupfer
245fb9f9b97SkupferROOTAUDHDRS= $(AUDIOHDRS:%=$(ROOTDIR)/audio/%)
246fb9f9b97Skupfer
247fb9f9b97SkupferROOTAVHDRS= $(AVHDRS:%=$(ROOTDIR)/av/%)
248fb9f9b97Skupfer
249fb9f9b97SkupferROOTCRYPTOHDRS= $(CRYPTOHDRS:%=$(ROOTDIR)/crypto/%)
250fb9f9b97Skupfer
251fb9f9b97SkupferROOTDCAMHDRS= $(DCAMHDRS:%=$(ROOTDIR)/dcam/%)
252fb9f9b97Skupfer
253fb9f9b97SkupferROOTIBHDRS= $(IBHDRS:%=$(ROOTDIR)/ib/%)
254fb9f9b97SkupferROOTIBDHDRS= $(IBDHDRS:%=$(ROOTDIR)/ib/clients/ibd/%)
255fb9f9b97SkupferROOTIBTLHDRS= $(IBTLHDRS:%=$(ROOTDIR)/ib/ibtl/%)
256fb9f9b97SkupferROOTIBTLIMPLHDRS= $(IBTLIMPLHDRS:%=$(ROOTDIR)/ib/ibtl/impl/%)
257fb9f9b97SkupferROOTIBNEXHDRS= $(IBNEXHDRS:%=$(ROOTDIR)/ib/ibnex/%)
258fb9f9b97SkupferROOTIBMGTHDRS= $(IBMGTHDRS:%=$(ROOTDIR)/ib/mgt/%)
259fb9f9b97SkupferROOTIBMFHDRS= $(IBMFHDRS:%=$(ROOTDIR)/ib/mgt/ibmf/%)
260c39526b7SPramod GunjikarROOTOFHDRS= $(OFHDRS:%=$(ROOTDIR)/ib/clients/of/%)
261c39526b7SPramod GunjikarROOTRDMAHDRS= $(RDMAHDRS:%=$(ROOTDIR)/ib/clients/of/rdma/%)
262c39526b7SPramod GunjikarROOTSOL_OFSHDRS= $(SOL_OFSHDRS:%=$(ROOTDIR)/ib/clients/of/sol_ofs/%)
263c39526b7SPramod GunjikarROOTSOL_UVERBSHDRS= $(SOL_UVERBSHDRS:%=$(ROOTDIR)/ib/clients/of/sol_uverbs/%)
264448bf859SLida.HornROOTSOL_UMADHDRS= $(SOL_UMADHDRS:%=$(ROOTDIR)/ib/clients/of/sol_umad/%)
265c39526b7SPramod GunjikarROOTSOL_UCMAHDRS= $(SOL_UCMAHDRS:%=$(ROOTDIR)/ib/clients/of/sol_ucma/%)
266fb9f9b97SkupferROOTTAVORHDRS= $(TAVORHDRS:%=$(ROOTDIR)/ib/adapters/tavor/%)
2677dd1301aSBill TaylorROOTHERMONHDRS= $(HERMONHDRS:%=$(ROOTDIR)/ib/adapters/hermon/%)
268758868cdSBill TaylorROOTMLNXHDRS= $(MLNXHDRS:%=$(ROOTDIR)/ib/adapters/%)
269fb9f9b97Skupfer
270a6d42e7dSPeter DunlapROOTIDMHDRS= $(IDMHDRS:%=$(ROOTDIR)/idm/%)
271a6d42e7dSPeter DunlapROOTISCSITHDRS= $(ISCSITHDRS:%=$(ROOTDIR)/iscsit/%)
272a6d42e7dSPeter Dunlap
273fb9f9b97SkupferROOTISOHDRS= $(ISOHDRS:%=$(ROOTDIR)/iso/%)
274fb9f9b97Skupfer
275fb9f9b97SkupferROOTFMHDRS= $(FMHDRS:%=$(ROOTDIR)/fm/%)
276fb9f9b97SkupferROOTFMCPUHDRS= $(FMCPUHDRS:%=$(ROOTDIR)/fm/cpu/%)
277fb9f9b97SkupferROOTFMIOHDRS= $(FMIOHDRS:%=$(ROOTDIR)/fm/io/%)
278ea8dc4b6SeschrockROOTFMFSHDRS= $(FMFSHDRS:%=$(ROOTDIR)/fm/fs/%)
279fb9f9b97Skupfer
280fb9f9b97SkupferROOTFSHDRS= $(FSHDRS:%=$(ROOTDIR)/fs/%)
281fb9f9b97Skupfer
282fb9f9b97SkupferROOTSCSIHDRS= $(SCSIHDRS:%=$(ROOTDIR)/scsi/%)
28366f9d5cbSmlfROOTSATAGENHDRS= $(SATAGENHDRS:%=$(ROOTDIR)/sata/%)
284fb9f9b97SkupferROOTSCSICONFHDRS= $(SCSICONFHDRS:%=$(ROOTDIR)/scsi/conf/%)
285fb9f9b97SkupferROOTSCSIGENHDRS= $(SCSIGENHDRS:%=$(ROOTDIR)/scsi/generic/%)
286fb9f9b97SkupferROOTSCSIIMPLHDRS= $(SCSIIMPLHDRS:%=$(ROOTDIR)/scsi/impl/%)
287fb9f9b97SkupferROOTSCSITARGETSHDRS= $(SCSITARGETSHDRS:%=$(ROOTDIR)/scsi/targets/%)
288fb9f9b97SkupferROOTSCSICADHDRS= $(SCSICADHDRS:%=$(ROOTDIR)/scsi/adapters/%)
2894bb7efa7SGarrett D'AmoreROOTSCSIADHDRS= $(SCSICADHDRS:%=$(ROOTDIR)/scsi/adapters/%)
290fb9f9b97SkupferROOTSCSIVHCIHDRS= $(SCSIVHCIHDRS:%=$(ROOTDIR)/scsi/adapters/%)
291fcf3ce44SJohn ForteROOTSCSIISCSIHDRS= $(SCSIISCSIHDRS:%=$(ROOTDIR)/scsi/adapters/%)
292fb9f9b97Skupfer
293fcf3ce44SJohn ForteROOTFC4HDRS= $(FC4HDRS:%=$(ROOTDIR)/fc4/%)
294fcf3ce44SJohn ForteROOTFCHDRS= $(FCHDRS:%=$(ROOTDIR)/fibre-channel/%)
295fcf3ce44SJohn ForteROOTFCIMPLHDRS= $(FCIMPLHDRS:%=$(ROOTDIR)/fibre-channel/impl/%)
296fcf3ce44SJohn ForteROOTFCULPHDRS= $(FCULPHDRS:%=$(ROOTDIR)/fibre-channel/ulp/%)
297fb9f9b97Skupfer
2984bb7efa7SGarrett D'AmoreROOTSDCARDHDRS= $(SDCARDHDRS:%=$(ROOTDIR)/sdcard/%)
2994bb7efa7SGarrett D'Amore
300fb9f9b97SkupferROOTSYSEVENTHDRS= $(SYSEVENTHDRS:%=$(ROOTDIR)/sysevent/%)
301fb9f9b97SkupferROOTCONTRACTHDRS= $(CONTRACTHDRS:%=$(ROOTDIR)/contract/%)
302fb9f9b97Skupfer
303fb9f9b97SkupferROOTXHDRS= $(XHDRS:%=$(ROOTDIR)/%)
304fb9f9b97Skupfer
305fb9f9b97SkupferROOTUSBHDRS= $(USBHDRS:%=$(ROOTDIR)/usb/%)
306fb9f9b97SkupferROOTUSBAUDHDRS= $(USBAUDHDRS:%=$(ROOTDIR)/usb/clients/audio/%)
307fb9f9b97SkupferROOTUSBHUBDHDRS= $(USBHUBDHDRS:%=$(ROOTDIR)/usb/hubd/%)
308fb9f9b97SkupferROOTUSBHIDHDRS = $(USBHIDHDRS:%=$(ROOTDIR)/usb/clients/hid/%)
309fb9f9b97SkupferROOTUSBMSHDRS= $(USBMSHDRS:%=$(ROOTDIR)/usb/clients/mass_storage/%)
310fb9f9b97SkupferROOTUSBPRNHDRS= $(USBPRNHDRS:%=$(ROOTDIR)/usb/clients/printer/%)
31190f05028Syq193411ROOTUSBCDCHDRS= $(USBCDCHDRS:%=$(ROOTDIR)/usb/clients/usbcdc/%)
312c77a61a7Syz147069ROOTUSBVIDHDRS= $(USBVIDHDRS:%=$(ROOTDIR)/usb/clients/video/usbvc/%)
313692d834dSPengcheng Chen - Sun Microsystems - Beijing ChinaROOTUSBWCMHDRS= $(USBWCMHDRS:%=$(ROOTDIR)/usb/clients/usbinput/usbwcm/%)
314fb9f9b97SkupferROOTUGENHDRS= $(UGENHDRS:%=$(ROOTDIR)/usb/clients/ugen/%)
315fb9f9b97Skupfer
316fb9f9b97SkupferROOT1394HDRS= $(I1394HDRS:%=$(ROOTDIR)/1394/%)
317fb9f9b97Skupfer
318fb9f9b97SkupferROOTRSMHDRS= $(RSMHDRS:%=$(ROOTDIR)/rsm/%)
319fb9f9b97Skupfer
320fb9f9b97SkupferROOTSDKTPHDRS= $(SDKTPHDRS:%=$(ROOTDIR)/dktp/%)
321fb9f9b97SkupferROOTDKTPHDRS= $(DKTPHDRS:%=$(ROOTDIR)/dktp/%)
322fb9f9b97SkupferROOTPCHDRS= $(PCHDRS:%=$(ROOTDIR)/%)
323fb9f9b97SkupferROOTHOTPLUGHDRS= $(HOTPLUGHDRS:%=$(ROOTDIR)/hotplug/%)
324fb9f9b97SkupferROOTHOTPLUGPCIHDRS= $(HOTPLUGPCIHDRS:%=$(ROOTDIR)/hotplug/pci/%)
325fb9f9b97Skupfer
32645916cd2SjpkROOTTSOLHDRS= $(TSOLHDRS:%=$(ROOTDIR)/tsol/%)
327fb9f9b97Skupfer
328fb9f9b97Skupfersparc_ROOTHDRS=	$(ROOTSDKTPHDRS) $(ROOTSCSICADHDRS) $(ROOTSCSITARGETSHDRS) \
329506aa7c6SGarrett D'Amore		$(ROOTUSBHDRS) $(ROOTUSBHUBDHDRS) \
330fcf3ce44SJohn Forte		$(ROOTUSBAUDHDRS) $(ROOTUSBHIDHDRS) $(ROOTUSBMSHDRS) \
331e2c88f0cSGarrett D'Amore		$(ROOTUSBPRNHDRS) $(ROOTUGENHDRS) $(ROOTUSBVIDHDRS)
332fb9f9b97Skupfer
333fb9f9b97Skupferi386_ROOTHDRS=	$(ROOTDKTPHDRS) $(ROOTPCHDRS) $(ROOTSCSITARGETSHDRS)	\
334506aa7c6SGarrett D'Amore		$(ROOTSCSIVHCIHDRS) $(ROOTHOTPLUGHDRS) \
335e2c88f0cSGarrett D'Amore		$(ROOTHOTPLUGPCIHDRS) $(ROOTSATAGENHDRS)
336fb9f9b97Skupfer
337fb9f9b97Skupfer# install rules
338fb9f9b97Skupfer$(ROOTDIR)/%: %
339fb9f9b97Skupfer	$(INS.file)
340fb9f9b97Skupfer
341fb9f9b97Skupfer$(ROOTDIR)/crypto/%: crypto/%
342fb9f9b97Skupfer	$(INS.file)
343fb9f9b97Skupfer
344fcf3ce44SJohn Forte$(ROOTDIR)/fc4/%:		fc4/%
345fcf3ce44SJohn Forte	$(INS.file)
346fcf3ce44SJohn Forte
347fcf3ce44SJohn Forte$(ROOTDIR)/fibre-channel/%:	fibre-channel/%
348fcf3ce44SJohn Forte	$(INS.file)
349fcf3ce44SJohn Forte
350fcf3ce44SJohn Forte$(ROOTDIR)/fibre-channel/impl/%:	fibre-channel/impl/%
351fcf3ce44SJohn Forte	$(INS.file)
352fcf3ce44SJohn Forte
353fcf3ce44SJohn Forte$(ROOTDIR)/fibre-channel/ulp/:	fibre-channel/ulp/%
354fcf3ce44SJohn Forte	$(INS.file)
355fcf3ce44SJohn Forte
356fb9f9b97Skupfer$(ROOTDIR)/fm/%:                fm/%
357fb9f9b97Skupfer	$(INS.file)
358fb9f9b97Skupfer
359fb9f9b97Skupfer$(ROOTDIR)/fm/cpu/%:                fm/cpu/%
360fb9f9b97Skupfer	$(INS.file)
361fb9f9b97Skupfer
362fb9f9b97Skupfer$(ROOTDIR)/fm/io/%:                fm/io/%
363fb9f9b97Skupfer	$(INS.file)
364fb9f9b97Skupfer
365fb9f9b97Skupfer$(ROOTDIR)/fs/%: fs/%
366fb9f9b97Skupfer	$(INS.file)
367fb9f9b97Skupfer
368fb9f9b97Skupfer$(ROOTDIR)/ib/%:		ib/%
369fb9f9b97Skupfer	$(INS.file)
370fb9f9b97Skupfer
371fb9f9b97Skupfer$(ROOTDIR)/ib/clients/ibd/%:	ib/clients/ibd/%
372fb9f9b97Skupfer	$(INS.file)
373fb9f9b97Skupfer
374c39526b7SPramod Gunjikar$(ROOTDIR)/ib/clients/of/%:		of/%
375c39526b7SPramod Gunjikar	$(INS.file)
376c39526b7SPramod Gunjikar
377c39526b7SPramod Gunjikar$(ROOTDIR)/ib/clients/of/rdma/%:	ib/clients/of/rdma/%
378c39526b7SPramod Gunjikar	$(INS.file)
379c39526b7SPramod Gunjikar
380c39526b7SPramod Gunjikar$(ROOTDIR)/ib/clients/of/sol_ofs/%:	ib/clients/of/sol_ofs/%
381c39526b7SPramod Gunjikar	$(INS.file)
382c39526b7SPramod Gunjikar
383c39526b7SPramod Gunjikar$(ROOTDIR)/ib/clients/of/sol_uverbs/%:	ib/clients/of/sol_uverbs/%
384c39526b7SPramod Gunjikar	$(INS.file)
385c39526b7SPramod Gunjikar
386448bf859SLida.Horn$(ROOTDIR)/ib/clients/of/sol_umad/%:	ib/clients/of/sol_umad/%
387448bf859SLida.Horn	$(INS.file)
388448bf859SLida.Horn
389c39526b7SPramod Gunjikar$(ROOTDIR)/ib/clients/of/sol_ucma/%:	ib/clients/of/sol_ucma/%
390c39526b7SPramod Gunjikar	$(INS.file)
391c39526b7SPramod Gunjikar
392fb9f9b97Skupfer$(ROOTDIR)/ib/ibtl/%:		ib/ibtl/%
393fb9f9b97Skupfer	$(INS.file)
394fb9f9b97Skupfer
395fb9f9b97Skupfer$(ROOTDIR)/ib/ibtl/impl/%:	ib/ibtl/impl/%
396fb9f9b97Skupfer	$(INS.file)
397fb9f9b97Skupfer
398fb9f9b97Skupfer$(ROOTDIR)/ib/ibnex/%:		ib/ibnex/%
399fb9f9b97Skupfer	$(INS.file)
400fb9f9b97Skupfer
401fb9f9b97Skupfer$(ROOTDIR)/ib/mgt/%:		ib/mgt/%
402fb9f9b97Skupfer	$(INS.file)
403fb9f9b97Skupfer
404fb9f9b97Skupfer$(ROOTDIR)/ib/mgt/ibmf/%:	ib/mgt/ibmf/%
405fb9f9b97Skupfer	$(INS.file)
406fb9f9b97Skupfer
407fb9f9b97Skupfer$(ROOTDIR)/ib/adapters/tavor/%:	ib/adapters/tavor/%
408fb9f9b97Skupfer	$(INS.file)
409fb9f9b97Skupfer
4107dd1301aSBill Taylor$(ROOTDIR)/ib/adapters/hermon/%:	ib/adapters/hermon/%
4117dd1301aSBill Taylor	$(INS.file)
4127dd1301aSBill Taylor
413758868cdSBill Taylor$(ROOTDIR)/ib/adapters/%:	ib/adapters/%
414758868cdSBill Taylor	$(INS.file)
415758868cdSBill Taylor
416fb9f9b97Skupfer$(ROOTDIR)/scsi/%:		scsi/%
417fb9f9b97Skupfer	$(INS.file)
418fb9f9b97Skupfer
419fb9f9b97Skupfer$(ROOTDIR)/scsi/conf/%:		scsi/conf/%
420fb9f9b97Skupfer	$(INS.file)
421fb9f9b97Skupfer
422fb9f9b97Skupfer$(ROOTDIR)/scsi/generic/%:	scsi/generic/%
423fb9f9b97Skupfer	$(INS.file)
424fb9f9b97Skupfer
425fb9f9b97Skupfer$(ROOTDIR)/scsi/impl/%:		scsi/impl/%
426fb9f9b97Skupfer	$(INS.file)
427fb9f9b97Skupfer
428fb9f9b97Skupfer$(ROOTDIR)/scsi/targets/%:	scsi/targets/%
429fb9f9b97Skupfer	$(INS.file)
430fb9f9b97Skupfer
431fcf3ce44SJohn Forte$(ROOTDIR)/scsi/adapters/%:	scsi/adapters/%
432fb9f9b97Skupfer	$(INS.file)
433fb9f9b97Skupfer
4344bb7efa7SGarrett D'Amore$(ROOTDIR)/sdcard/%:		sdcard/%
4354bb7efa7SGarrett D'Amore	$(INS.file)
4364bb7efa7SGarrett D'Amore
437fb9f9b97Skupfer$(ROOTDIR)/sysevent/%:		sysevent/%
438fb9f9b97Skupfer	$(INS.file)
439fb9f9b97Skupfer
440fb9f9b97Skupfer$(ROOTDIR)/contract/%:		contract/%
441fb9f9b97Skupfer	$(INS.file)
442fb9f9b97Skupfer
443fb9f9b97Skupfer$(ROOTDIR)/usb/%:		usb/%
444fb9f9b97Skupfer	$(INS.file)
445fb9f9b97Skupfer
446fb9f9b97Skupfer$(ROOTDIR)/usb/hubd/%:		usb/hubd/%
447fb9f9b97Skupfer	$(INS.file)
448fb9f9b97Skupfer
449fb9f9b97Skupfer$(ROOTDIR)/usb/clients/hid/%:	usb/clients/hid/%
450fb9f9b97Skupfer	$(INS.file)
451fb9f9b97Skupfer
452fb9f9b97Skupfer$(ROOTDIR)/usb/clients/mass_storage/%:	usb/clients/mass_storage/%
453fb9f9b97Skupfer	$(INS.file)
454fb9f9b97Skupfer
455fb9f9b97Skupfer$(ROOTDIR)/dktp/%: dktp/%
456fb9f9b97Skupfer	$(INS.file)
457fb9f9b97Skupfer
458fb9f9b97Skupfer$(ROOTDIR)/1394/%:                    1394/%
459fb9f9b97Skupfer	$(INS.file)
460fb9f9b97Skupfer
461fb9f9b97Skupfer$(ROOTDIR)/rsm/%:	rsm/%
462fb9f9b97Skupfer	$(INS.file)
463fb9f9b97Skupfer
46445916cd2Sjpk$(ROOTDIR)/tsol/%:	tsol/%
46545916cd2Sjpk	$(INS.file)
46645916cd2Sjpk
467fb9f9b97Skupfer$(ROOTDIRS):
468fb9f9b97Skupfer	$(INS.dir)
469fb9f9b97Skupfer
470