xref: /titanic_52/usr/src/uts/common/sys/Makefile.syshdrs (revision 758868cd83cd5d9918ae5b04bbf44526701f0c8a)
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#
21c39526b7SPramod Gunjikar# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
22fb9f9b97Skupfer#
23fb9f9b97Skupfer
24fb9f9b97Skupfer# Common definitions for open and closed headers.
25fb9f9b97Skupfer
26fb9f9b97Skupfer# check files really don't exist
27fb9f9b97Skupfer
28fb9f9b97Skupferaudio/%.check:	audio/%.h
29fb9f9b97Skupfer	$(DOT_H_CHECK)
30fb9f9b97Skupfer
31fb9f9b97Skupferav/%.check:	av/%.h
32fb9f9b97Skupfer	$(DOT_H_CHECK)
33fb9f9b97Skupfer
34fb9f9b97Skupferfm/%.check:     fm/%.h
35fb9f9b97Skupfer	$(DOT_H_CHECK)
36fb9f9b97Skupfer
37fb9f9b97Skupferfm/cpu/%.check:	fm/cpu/%.h
38fb9f9b97Skupfer	$(DOT_H_CHECK)
39fb9f9b97Skupfer
40ea8dc4b6Seschrockfm/fs/%.check:	fm/fs/%.h
41ea8dc4b6Seschrock	$(DOT_H_CHECK)
42ea8dc4b6Seschrock
43fb9f9b97Skupferfm/io/%.check:	fm/io/%.h
44fb9f9b97Skupfer	$(DOT_H_CHECK)
45fb9f9b97Skupfer
46fb9f9b97Skupferfs/%.check:	fs/%.h
47fb9f9b97Skupfer	$(DOT_H_CHECK)
48fb9f9b97Skupfer
49fb9f9b97Skupferib/%.check:		ib/%.h
50fb9f9b97Skupfer	$(DOT_H_CHECK)
51fb9f9b97Skupfer
52fb9f9b97Skupferib/clients/ibd/%.check:	ib/clients/ibd/%.h
53fb9f9b97Skupfer	$(DOT_H_CHECK)
54fb9f9b97Skupfer
55c39526b7SPramod Gunjikarib/clients/of/%.check:		ib/clients/of/%.h
56c39526b7SPramod Gunjikar	$(DOT_H_CHECK)
57c39526b7SPramod Gunjikar
58c39526b7SPramod Gunjikarib/clients/of/rdma/%.check:		ib/clients/of/rdma/%.h
59c39526b7SPramod Gunjikar	$(DOT_H_CHECK)
60c39526b7SPramod Gunjikar
61c39526b7SPramod Gunjikarib/clients/of/sol_ofs/%.check:		ib/clients/of/sol_ofs/%.h
62c39526b7SPramod Gunjikar	$(DOT_H_CHECK)
63c39526b7SPramod Gunjikar
64c39526b7SPramod Gunjikarib/clients/of/sol_uverbs/%.check:	ib/clients/of/sol_uverbs/%.h
65c39526b7SPramod Gunjikar	$(DOT_H_CHECK)
66c39526b7SPramod Gunjikar
67448bf859SLida.Hornib/clients/of/sol_umad/%.check:		ib/clients/of/sol_umad/%.h
68448bf859SLida.Horn	$(DOT_H_CHECK)
69448bf859SLida.Horn
70c39526b7SPramod Gunjikarib/clients/of/sol_ucma/%.check:		ib/clients/of/sol_ucma/%.h
71c39526b7SPramod Gunjikar	$(DOT_H_CHECK)
72c39526b7SPramod Gunjikar
73fb9f9b97Skupferib/ibtl/%.check:	ib/ibtl/%.h
74fb9f9b97Skupfer	$(DOT_H_CHECK)
75fb9f9b97Skupfer
76fb9f9b97Skupferib/ibtl/impl/%.check:	ib/ibtl/impl/%.h
77fb9f9b97Skupfer	$(DOT_H_CHECK)
78fb9f9b97Skupfer
79fb9f9b97Skupferib/ibnex/%.check:	ib/ibnex/%.h
80fb9f9b97Skupfer	$(DOT_H_CHECK)
81fb9f9b97Skupfer
82fb9f9b97Skupferib/mgt/%.check:	ib/mgt/%.h
83fb9f9b97Skupfer	$(DOT_H_CHECK)
84fb9f9b97Skupfer
85fb9f9b97Skupferib/mgt/ibmf/%.check:	ib/mgt/ibmf/%.h
86fb9f9b97Skupfer	$(DOT_H_CHECK)
87fb9f9b97Skupfer
88fb9f9b97Skupferib/adapters/tavor/%.check:	ib/adapters/tavor/%.h
89fb9f9b97Skupfer	$(DOT_H_CHECK)
90fb9f9b97Skupfer
917dd1301aSBill Taylorib/adapters/hermon/%.check:	ib/adapters/hermon/%.h
927dd1301aSBill Taylor	$(DOT_H_CHECK)
937dd1301aSBill Taylor
94*758868cdSBill Taylorib/adapters/%.check:	ib/adapters/%.h
95*758868cdSBill Taylor	$(DOT_H_CHECK)
96*758868cdSBill Taylor
97a6d42e7dSPeter Dunlapidm/%.check:		idm/%.h
98a6d42e7dSPeter Dunlap	$(DOT_H_CHECK)
99a6d42e7dSPeter Dunlap
100a6d42e7dSPeter Dunlapiscsit/%.check:		iscsit/%.h
101a6d42e7dSPeter Dunlap	$(DOT_H_CHECK)
102a6d42e7dSPeter Dunlap
103fb9f9b97Skupferlvm/%.check:	lvm/%.h
104fb9f9b97Skupfer	$(DOT_H_CHECK)
105fb9f9b97Skupfer
106fb9f9b97Skupferpcmcia/%.check:	pcmcia/%.h
107fb9f9b97Skupfer	$(DOT_H_CHECK)
108fb9f9b97Skupfer
109fb9f9b97Skupferscsi/%.check:		scsi/%.h
110fb9f9b97Skupfer	$(DOT_H_CHECK)
111fb9f9b97Skupfer
112fb9f9b97Skupferscsi/conf/%.check:	scsi/conf/%.h
113fb9f9b97Skupfer	$(DOT_H_CHECK)
114fb9f9b97Skupfer
115fb9f9b97Skupferscsi/generic/%.check:	scsi/generic/%.h
116fb9f9b97Skupfer	$(DOT_H_CHECK)
117fb9f9b97Skupfer
118fb9f9b97Skupferscsi/impl/%.check:	scsi/impl/%.h
119fb9f9b97Skupfer	$(DOT_H_CHECK)
120fb9f9b97Skupfer
121fb9f9b97Skupferscsi/targets/%.check:	scsi/targets/%.h
122fb9f9b97Skupfer	$(DOT_H_CHECK)
123fb9f9b97Skupfer
124fb9f9b97Skupferscsi/adapters/%.check:	scsi/adapters/%.h
125fb9f9b97Skupfer	$(DOT_H_CHECK)
126fb9f9b97Skupfer
1274bb7efa7SGarrett D'Amoresdcard/%.check:		sdcard/%.h
1284bb7efa7SGarrett D'Amore	$(DOT_H_CHECK)
1294bb7efa7SGarrett D'Amore
130fb9f9b97Skupfersysevent/%.check:     sysevent/%.h
131fb9f9b97Skupfer	$(DOT_H_CHECK)
132fb9f9b97Skupfer
133fb9f9b97Skupfercontract/%.check:     contract/%.h
134fb9f9b97Skupfer	$(DOT_H_CHECK)
135fb9f9b97Skupfer
136fb9f9b97Skupferusb/%.check:		usb/%.h
137fb9f9b97Skupfer	$(DOT_H_CHECK)
138fb9f9b97Skupfer
139fb9f9b97Skupferusb/clients/audio/%.check:  usb/clients/audio/%.h
140fb9f9b97Skupfer	$(DOT_H_CHECK)
141fb9f9b97Skupfer
142fb9f9b97Skupferusb/hubd/%.check:	usb/hubd/%.h
143fb9f9b97Skupfer	$(DOT_H_CHECK)
144fb9f9b97Skupfer
145fb9f9b97Skupferusb/clients/hid/%.check:	usb/clients/hid/%.h
146fb9f9b97Skupfer	$(DOT_H_CHECK)
147fb9f9b97Skupfer
148ff0e937bSRaymond Chenusb/clients/hwarc/%.check:	usb/clients/hwarc/%.h
149ff0e937bSRaymond Chen	$(DOT_H_CHECK)
150ff0e937bSRaymond Chen
151fb9f9b97Skupferusb/clients/mass_storage/%.check:	usb/clients/mass_storage/%.h
152fb9f9b97Skupfer	$(DOT_H_CHECK)
153fb9f9b97Skupfer
154fb9f9b97Skupferusb/clients/printer/%.check:  usb/clients/printer/%.h
155fb9f9b97Skupfer	$(DOT_H_CHECK)
156fb9f9b97Skupfer
15790f05028Syq193411usb/clients/usbcdc/%.check:	usb/clients/usbcdc/%.h
15890f05028Syq193411	$(DOT_H_CHECK)
15990f05028Syq193411
160c77a61a7Syz147069usb/clients/video/usbvc/%.check:  usb/clients/video/usbvc/%.h
161c77a61a7Syz147069	$(DOT_H_CHECK)
162c77a61a7Syz147069
163692d834dSPengcheng Chen - Sun Microsystems - Beijing Chinausb/clients/usbinput/usbwcm/%.check:	usb/clients/usbinput/usbwcm/%.h
164692d834dSPengcheng Chen - Sun Microsystems - Beijing China	$(DOT_H_CHECK)
165692d834dSPengcheng Chen - Sun Microsystems - Beijing China
166fb9f9b97Skupfer1394/%.check:         1394/%.h
167fb9f9b97Skupfer	$(DOT_H_CHECK)
168fb9f9b97Skupfer
169fb9f9b97Skupferrsm/%.check:	rsm/%.h
170fb9f9b97Skupfer	$(DOT_H_CHECK)
171fb9f9b97Skupfer
17245916cd2Sjpktsol/%.check:	tsol/%.h
17345916cd2Sjpk	$(DOT_H_CHECK)
17445916cd2Sjpk
175fb9f9b97SkupferROOTDIR=	$(ROOT)/usr/include/sys
176fb9f9b97Skupfer
177fb9f9b97SkupferROOTDKTPDIR=	$(ROOTDIR)/dktp
178fb9f9b97Skupfer
179fb9f9b97Skupfersparc_ROOTDIRS=	$(ROOTDKTPDIR) $(ROOTDIR)/scsi/adapters \
18047cd5876SAlan Perry		$(ROOTDIR)/scsi/targets
181fb9f9b97Skupfer
182fb9f9b97Skupferi386_ROOTDIRS=	$(ROOTDKTPDIR) $(ROOTDIR)/scsi/adapters $(ROOTDIR)/scsi/targets \
18391e10584Sdp		$(ROOTDIR)/agp $(ROOTDIR)/sata
184fb9f9b97Skupfer
185fb9f9b97SkupferROOTDIRS=			\
186fb9f9b97Skupfer	$(ROOTDIR)		\
187fb9f9b97Skupfer	$(ROOTDIR)/audio	\
18847cd5876SAlan Perry	$(ROOTDIR)/av		\
189fb9f9b97Skupfer	$(ROOTDIR)/hotplug	\
190fb9f9b97Skupfer	$(ROOTDIR)/hotplug/pci	\
191fb9f9b97Skupfer	$(ROOTDIR)/crypto	\
192fb9f9b97Skupfer	$(ROOTDIR)/dcam		\
193fb9f9b97Skupfer	$(ROOTDIR)/iso		\
194fcf3ce44SJohn Forte	$(ROOTDIR)/fc4		\
195fcf3ce44SJohn Forte	$(ROOTDIR)/fibre-channel    \
196fcf3ce44SJohn Forte	$(ROOTDIR)/fibre-channel/impl	\
197fcf3ce44SJohn Forte	$(ROOTDIR)/fibre-channel/ulp	\
198fb9f9b97Skupfer	$(ROOTDIR)/fm		\
199fb9f9b97Skupfer	$(ROOTDIR)/fm/cpu	\
200ea8dc4b6Seschrock	$(ROOTDIR)/fm/fs	\
201fb9f9b97Skupfer	$(ROOTDIR)/fm/io	\
202fb9f9b97Skupfer	$(ROOTDIR)/fs		\
203fb9f9b97Skupfer	$(ROOTDIR)/ib		\
204fb9f9b97Skupfer	$(ROOTDIR)/ib/adapters/tavor	\
2057dd1301aSBill Taylor	$(ROOTDIR)/ib/adapters/hermon	\
206*758868cdSBill Taylor	$(ROOTDIR)/ib/adapters	\
207fb9f9b97Skupfer	$(ROOTDIR)/ib/ibtl	\
208fb9f9b97Skupfer	$(ROOTDIR)/ib/ibtl/impl	\
209fb9f9b97Skupfer	$(ROOTDIR)/ib/mgt	\
210fb9f9b97Skupfer	$(ROOTDIR)/ib/mgt/ibmf	\
211fb9f9b97Skupfer	$(ROOTDIR)/ib/ibnex	\
212fb9f9b97Skupfer	$(ROOTDIR)/ib/clients/ibd \
213c39526b7SPramod Gunjikar	$(ROOTDIR)/ib/clients/of	\
214c39526b7SPramod Gunjikar	$(ROOTDIR)/ib/clients/of/rdma	\
215c39526b7SPramod Gunjikar	$(ROOTDIR)/ib/clients/of/sol_ofs	\
216c39526b7SPramod Gunjikar	$(ROOTDIR)/ib/clients/of/sol_uverbs	\
217448bf859SLida.Horn	$(ROOTDIR)/ib/clients/of/sol_umad	\
218c39526b7SPramod Gunjikar	$(ROOTDIR)/ib/clients/of/sol_ucma	\
219a6d42e7dSPeter Dunlap	$(ROOTDIR)/idm		\
220a6d42e7dSPeter Dunlap	$(ROOTDIR)/iscsit	\
221fb9f9b97Skupfer	$(ROOTDIR)/lvm		\
222fb9f9b97Skupfer	$(ROOTDIR)/pcmcia	\
223fb9f9b97Skupfer	$(ROOTDIR)/scsi		\
224fb9f9b97Skupfer	$(ROOTDIR)/scsi/conf	\
225fb9f9b97Skupfer	$(ROOTDIR)/scsi/generic	\
226fb9f9b97Skupfer	$(ROOTDIR)/scsi/impl	\
2274bb7efa7SGarrett D'Amore	$(ROOTDIR)/sdcard	\
228fb9f9b97Skupfer	$(ROOTDIR)/sysevent     \
229fb9f9b97Skupfer	$(ROOTDIR)/contract     \
230fb9f9b97Skupfer	$(ROOTDIR)/usb		\
231fb9f9b97Skupfer	$(ROOTDIR)/usb/hubd	\
232fb9f9b97Skupfer	$(ROOTDIR)/usb/clients	\
233fb9f9b97Skupfer	$(ROOTDIR)/usb/clients/audio  \
234fb9f9b97Skupfer	$(ROOTDIR)/usb/clients/hid \
235ff0e937bSRaymond Chen	$(ROOTDIR)/usb/clients/hwarc \
236fb9f9b97Skupfer	$(ROOTDIR)/usb/clients/mass_storage	\
237fb9f9b97Skupfer	$(ROOTDIR)/usb/clients/printer  \
23890f05028Syq193411	$(ROOTDIR)/usb/clients/usbcdc  \
239c77a61a7Syz147069	$(ROOTDIR)/usb/clients/video/usbvc  \
240692d834dSPengcheng Chen - Sun Microsystems - Beijing China	$(ROOTDIR)/usb/clients/usbinput/usbwcm \
241fb9f9b97Skupfer	$(ROOTDIR)/usb/clients/ugen  \
242ff0e937bSRaymond Chen	$(ROOTDIR)/uwb \
243ff0e937bSRaymond Chen	$(ROOTDIR)/uwb/uwba \
244fb9f9b97Skupfer	$(ROOTDIR)/1394         \
245fb9f9b97Skupfer	$(ROOTDIR)/rsm		\
24645916cd2Sjpk	$(ROOTDIR)/tsol		\
247fb9f9b97Skupfer	$($(MACH)_ROOTDIRS)
248fb9f9b97Skupfer
249fb9f9b97Skupfer
250fb9f9b97SkupferROOTHDRS=				\
251fb9f9b97Skupfer	$($(MACH)_HDRS:%=$(ROOTDIR)/%)	\
252fb9f9b97Skupfer	$(HDRS:%=$(ROOTDIR)/%)
253fb9f9b97Skupfer
254fb9f9b97SkupferROOTAUDHDRS= $(AUDIOHDRS:%=$(ROOTDIR)/audio/%)
255fb9f9b97Skupfer
256fb9f9b97SkupferROOTAVHDRS= $(AVHDRS:%=$(ROOTDIR)/av/%)
257fb9f9b97Skupfer
258fb9f9b97SkupferROOTCRYPTOHDRS= $(CRYPTOHDRS:%=$(ROOTDIR)/crypto/%)
259fb9f9b97Skupfer
260fb9f9b97SkupferROOTDCAMHDRS= $(DCAMHDRS:%=$(ROOTDIR)/dcam/%)
261fb9f9b97Skupfer
262fb9f9b97SkupferROOTIBHDRS= $(IBHDRS:%=$(ROOTDIR)/ib/%)
263fb9f9b97SkupferROOTIBDHDRS= $(IBDHDRS:%=$(ROOTDIR)/ib/clients/ibd/%)
264fb9f9b97SkupferROOTIBTLHDRS= $(IBTLHDRS:%=$(ROOTDIR)/ib/ibtl/%)
265fb9f9b97SkupferROOTIBTLIMPLHDRS= $(IBTLIMPLHDRS:%=$(ROOTDIR)/ib/ibtl/impl/%)
266fb9f9b97SkupferROOTIBNEXHDRS= $(IBNEXHDRS:%=$(ROOTDIR)/ib/ibnex/%)
267fb9f9b97SkupferROOTIBMGTHDRS= $(IBMGTHDRS:%=$(ROOTDIR)/ib/mgt/%)
268fb9f9b97SkupferROOTIBMFHDRS= $(IBMFHDRS:%=$(ROOTDIR)/ib/mgt/ibmf/%)
269c39526b7SPramod GunjikarROOTOFHDRS= $(OFHDRS:%=$(ROOTDIR)/ib/clients/of/%)
270c39526b7SPramod GunjikarROOTRDMAHDRS= $(RDMAHDRS:%=$(ROOTDIR)/ib/clients/of/rdma/%)
271c39526b7SPramod GunjikarROOTSOL_OFSHDRS= $(SOL_OFSHDRS:%=$(ROOTDIR)/ib/clients/of/sol_ofs/%)
272c39526b7SPramod GunjikarROOTSOL_UVERBSHDRS= $(SOL_UVERBSHDRS:%=$(ROOTDIR)/ib/clients/of/sol_uverbs/%)
273448bf859SLida.HornROOTSOL_UMADHDRS= $(SOL_UMADHDRS:%=$(ROOTDIR)/ib/clients/of/sol_umad/%)
274c39526b7SPramod GunjikarROOTSOL_UCMAHDRS= $(SOL_UCMAHDRS:%=$(ROOTDIR)/ib/clients/of/sol_ucma/%)
275fb9f9b97SkupferROOTTAVORHDRS= $(TAVORHDRS:%=$(ROOTDIR)/ib/adapters/tavor/%)
2767dd1301aSBill TaylorROOTHERMONHDRS= $(HERMONHDRS:%=$(ROOTDIR)/ib/adapters/hermon/%)
277*758868cdSBill TaylorROOTMLNXHDRS= $(MLNXHDRS:%=$(ROOTDIR)/ib/adapters/%)
278fb9f9b97Skupfer
279a6d42e7dSPeter DunlapROOTIDMHDRS= $(IDMHDRS:%=$(ROOTDIR)/idm/%)
280a6d42e7dSPeter DunlapROOTISCSITHDRS= $(ISCSITHDRS:%=$(ROOTDIR)/iscsit/%)
281a6d42e7dSPeter Dunlap
282fb9f9b97SkupferROOTISOHDRS= $(ISOHDRS:%=$(ROOTDIR)/iso/%)
283fb9f9b97Skupfer
284fb9f9b97SkupferROOTFMHDRS= $(FMHDRS:%=$(ROOTDIR)/fm/%)
285fb9f9b97SkupferROOTFMCPUHDRS= $(FMCPUHDRS:%=$(ROOTDIR)/fm/cpu/%)
286fb9f9b97SkupferROOTFMIOHDRS= $(FMIOHDRS:%=$(ROOTDIR)/fm/io/%)
287ea8dc4b6SeschrockROOTFMFSHDRS= $(FMFSHDRS:%=$(ROOTDIR)/fm/fs/%)
288fb9f9b97Skupfer
289fb9f9b97SkupferROOTFSHDRS= $(FSHDRS:%=$(ROOTDIR)/fs/%)
290fb9f9b97Skupfer
291fb9f9b97SkupferROOTLVMHDRS= $(ALL_LVMHDRS:%=$(ROOTDIR)/lvm/%)
292fb9f9b97Skupfer
293fb9f9b97SkupferROOTPCMCIAHDRS= $(PCMCIAHDRS:%=$(ROOTDIR)/pcmcia/%)
294fb9f9b97Skupfer
295fb9f9b97SkupferROOTSCSIHDRS= $(SCSIHDRS:%=$(ROOTDIR)/scsi/%)
29666f9d5cbSmlfROOTSATAGENHDRS= $(SATAGENHDRS:%=$(ROOTDIR)/sata/%)
297fb9f9b97SkupferROOTSCSICONFHDRS= $(SCSICONFHDRS:%=$(ROOTDIR)/scsi/conf/%)
298fb9f9b97SkupferROOTSCSIGENHDRS= $(SCSIGENHDRS:%=$(ROOTDIR)/scsi/generic/%)
299fb9f9b97SkupferROOTSCSIIMPLHDRS= $(SCSIIMPLHDRS:%=$(ROOTDIR)/scsi/impl/%)
300fb9f9b97SkupferROOTSCSITARGETSHDRS= $(SCSITARGETSHDRS:%=$(ROOTDIR)/scsi/targets/%)
301fb9f9b97SkupferROOTSCSICADHDRS= $(SCSICADHDRS:%=$(ROOTDIR)/scsi/adapters/%)
3024bb7efa7SGarrett D'AmoreROOTSCSIADHDRS= $(SCSICADHDRS:%=$(ROOTDIR)/scsi/adapters/%)
303fb9f9b97SkupferROOTSCSIVHCIHDRS= $(SCSIVHCIHDRS:%=$(ROOTDIR)/scsi/adapters/%)
304fcf3ce44SJohn ForteROOTSCSIISCSIHDRS= $(SCSIISCSIHDRS:%=$(ROOTDIR)/scsi/adapters/%)
305fb9f9b97Skupfer
306fcf3ce44SJohn ForteROOTFC4HDRS= $(FC4HDRS:%=$(ROOTDIR)/fc4/%)
307fcf3ce44SJohn ForteROOTFCHDRS= $(FCHDRS:%=$(ROOTDIR)/fibre-channel/%)
308fcf3ce44SJohn ForteROOTFCIMPLHDRS= $(FCIMPLHDRS:%=$(ROOTDIR)/fibre-channel/impl/%)
309fcf3ce44SJohn ForteROOTFCULPHDRS= $(FCULPHDRS:%=$(ROOTDIR)/fibre-channel/ulp/%)
310fb9f9b97Skupfer
3114bb7efa7SGarrett D'AmoreROOTSDCARDHDRS= $(SDCARDHDRS:%=$(ROOTDIR)/sdcard/%)
3124bb7efa7SGarrett D'Amore
313fb9f9b97SkupferROOTSYSEVENTHDRS= $(SYSEVENTHDRS:%=$(ROOTDIR)/sysevent/%)
314fb9f9b97SkupferROOTCONTRACTHDRS= $(CONTRACTHDRS:%=$(ROOTDIR)/contract/%)
315fb9f9b97Skupfer
316fb9f9b97SkupferROOTXHDRS= $(XHDRS:%=$(ROOTDIR)/%)
317fb9f9b97Skupfer
318fb9f9b97SkupferROOTUSBHDRS= $(USBHDRS:%=$(ROOTDIR)/usb/%)
319ff0e937bSRaymond ChenROOTUWBHDRS= $(UWBHDRS:%=$(ROOTDIR)/uwb/%)
320ff0e937bSRaymond ChenROOTUWBAHDRS= $(UWBAHDRS:%=$(ROOTDIR)/uwb/uwba/%)
321fb9f9b97SkupferROOTUSBAUDHDRS= $(USBAUDHDRS:%=$(ROOTDIR)/usb/clients/audio/%)
322fb9f9b97SkupferROOTUSBHUBDHDRS= $(USBHUBDHDRS:%=$(ROOTDIR)/usb/hubd/%)
323fb9f9b97SkupferROOTUSBHIDHDRS = $(USBHIDHDRS:%=$(ROOTDIR)/usb/clients/hid/%)
324ff0e937bSRaymond ChenROOTUSBHWARCHDRS = $(USBHWARCHDRS:%=$(ROOTDIR)/usb/clients/hwarc/%)
325fb9f9b97SkupferROOTUSBMSHDRS= $(USBMSHDRS:%=$(ROOTDIR)/usb/clients/mass_storage/%)
326fb9f9b97SkupferROOTUSBPRNHDRS= $(USBPRNHDRS:%=$(ROOTDIR)/usb/clients/printer/%)
32790f05028Syq193411ROOTUSBCDCHDRS= $(USBCDCHDRS:%=$(ROOTDIR)/usb/clients/usbcdc/%)
328c77a61a7Syz147069ROOTUSBVIDHDRS= $(USBVIDHDRS:%=$(ROOTDIR)/usb/clients/video/usbvc/%)
329692d834dSPengcheng Chen - Sun Microsystems - Beijing ChinaROOTUSBWCMHDRS= $(USBWCMHDRS:%=$(ROOTDIR)/usb/clients/usbinput/usbwcm/%)
330fb9f9b97SkupferROOTUGENHDRS= $(UGENHDRS:%=$(ROOTDIR)/usb/clients/ugen/%)
331fb9f9b97Skupfer
332fb9f9b97SkupferROOT1394HDRS= $(I1394HDRS:%=$(ROOTDIR)/1394/%)
333fb9f9b97Skupfer
334fb9f9b97SkupferROOTRSMHDRS= $(RSMHDRS:%=$(ROOTDIR)/rsm/%)
335fb9f9b97Skupfer
336fb9f9b97SkupferROOTSDKTPHDRS= $(SDKTPHDRS:%=$(ROOTDIR)/dktp/%)
337fb9f9b97SkupferROOTDKTPHDRS= $(DKTPHDRS:%=$(ROOTDIR)/dktp/%)
338fb9f9b97SkupferROOTPCHDRS= $(PCHDRS:%=$(ROOTDIR)/%)
339fb9f9b97SkupferROOTHOTPLUGHDRS= $(HOTPLUGHDRS:%=$(ROOTDIR)/hotplug/%)
340fb9f9b97SkupferROOTHOTPLUGPCIHDRS= $(HOTPLUGPCIHDRS:%=$(ROOTDIR)/hotplug/pci/%)
341fb9f9b97Skupfer
34245916cd2SjpkROOTTSOLHDRS= $(TSOLHDRS:%=$(ROOTDIR)/tsol/%)
343fb9f9b97Skupfer
344fb9f9b97Skupfersparc_ROOTHDRS=	$(ROOTSDKTPHDRS) $(ROOTSCSICADHDRS) $(ROOTSCSITARGETSHDRS) \
345fcf3ce44SJohn Forte		$(ROOTUSBHDRS) $(ROOTUSBHUBDHDRS) $(ROOTPCMCIAHDRS) \
346fcf3ce44SJohn Forte		$(ROOTUSBAUDHDRS) $(ROOTUSBHIDHDRS) $(ROOTUSBMSHDRS) \
347ff0e937bSRaymond Chen		$(ROOTUSBPRNHDRS) $(ROOTUGENHDRS) $(ROOTUSBVIDHDRS) \
348ff0e937bSRaymond Chen		$(ROOTUWBHDRS) $(ROOTUWBAHDRS) $(ROOTUSBHWARCHDRS)
349fb9f9b97Skupfer
350fb9f9b97Skupferi386_ROOTHDRS=	$(ROOTDKTPHDRS) $(ROOTPCHDRS) $(ROOTSCSITARGETSHDRS)	\
351fcf3ce44SJohn Forte		$(ROOTSCSIVHCIHDRS) $(ROOTPCMCIAHDRS) $(ROOTHOTPLUGHDRS) \
352ff0e937bSRaymond Chen		$(ROOTHOTPLUGPCIHDRS) $(ROOTSATAGENHDRS) \
353ff0e937bSRaymond Chen		$(ROOTUWBHDRS) $(ROOTUWBAHDRS) $(ROOTUSBHWARCHDRS)
354fb9f9b97Skupfer
355fb9f9b97Skupfer# install rules
356fb9f9b97Skupfer$(ROOTDIR)/%: %
357fb9f9b97Skupfer	$(INS.file)
358fb9f9b97Skupfer
359fb9f9b97Skupfer$(ROOTDIR)/crypto/%: crypto/%
360fb9f9b97Skupfer	$(INS.file)
361fb9f9b97Skupfer
362fcf3ce44SJohn Forte$(ROOTDIR)/fc4/%:		fc4/%
363fcf3ce44SJohn Forte	$(INS.file)
364fcf3ce44SJohn Forte
365fcf3ce44SJohn Forte$(ROOTDIR)/fibre-channel/%:	fibre-channel/%
366fcf3ce44SJohn Forte	$(INS.file)
367fcf3ce44SJohn Forte
368fcf3ce44SJohn Forte$(ROOTDIR)/fibre-channel/impl/%:	fibre-channel/impl/%
369fcf3ce44SJohn Forte	$(INS.file)
370fcf3ce44SJohn Forte
371fcf3ce44SJohn Forte$(ROOTDIR)/fibre-channel/ulp/:	fibre-channel/ulp/%
372fcf3ce44SJohn Forte	$(INS.file)
373fcf3ce44SJohn Forte
374fb9f9b97Skupfer$(ROOTDIR)/fm/%:                fm/%
375fb9f9b97Skupfer	$(INS.file)
376fb9f9b97Skupfer
377fb9f9b97Skupfer$(ROOTDIR)/fm/cpu/%:                fm/cpu/%
378fb9f9b97Skupfer	$(INS.file)
379fb9f9b97Skupfer
380fb9f9b97Skupfer$(ROOTDIR)/fm/io/%:                fm/io/%
381fb9f9b97Skupfer	$(INS.file)
382fb9f9b97Skupfer
383fb9f9b97Skupfer$(ROOTDIR)/fs/%: fs/%
384fb9f9b97Skupfer	$(INS.file)
385fb9f9b97Skupfer
386fb9f9b97Skupfer$(ROOTDIR)/ib/%:		ib/%
387fb9f9b97Skupfer	$(INS.file)
388fb9f9b97Skupfer
389fb9f9b97Skupfer$(ROOTDIR)/ib/clients/ibd/%:	ib/clients/ibd/%
390fb9f9b97Skupfer	$(INS.file)
391fb9f9b97Skupfer
392c39526b7SPramod Gunjikar$(ROOTDIR)/ib/clients/of/%:		of/%
393c39526b7SPramod Gunjikar	$(INS.file)
394c39526b7SPramod Gunjikar
395c39526b7SPramod Gunjikar$(ROOTDIR)/ib/clients/of/rdma/%:	ib/clients/of/rdma/%
396c39526b7SPramod Gunjikar	$(INS.file)
397c39526b7SPramod Gunjikar
398c39526b7SPramod Gunjikar$(ROOTDIR)/ib/clients/of/sol_ofs/%:	ib/clients/of/sol_ofs/%
399c39526b7SPramod Gunjikar	$(INS.file)
400c39526b7SPramod Gunjikar
401c39526b7SPramod Gunjikar$(ROOTDIR)/ib/clients/of/sol_uverbs/%:	ib/clients/of/sol_uverbs/%
402c39526b7SPramod Gunjikar	$(INS.file)
403c39526b7SPramod Gunjikar
404448bf859SLida.Horn$(ROOTDIR)/ib/clients/of/sol_umad/%:	ib/clients/of/sol_umad/%
405448bf859SLida.Horn	$(INS.file)
406448bf859SLida.Horn
407c39526b7SPramod Gunjikar$(ROOTDIR)/ib/clients/of/sol_ucma/%:	ib/clients/of/sol_ucma/%
408c39526b7SPramod Gunjikar	$(INS.file)
409c39526b7SPramod Gunjikar
410fb9f9b97Skupfer$(ROOTDIR)/ib/ibtl/%:		ib/ibtl/%
411fb9f9b97Skupfer	$(INS.file)
412fb9f9b97Skupfer
413fb9f9b97Skupfer$(ROOTDIR)/ib/ibtl/impl/%:	ib/ibtl/impl/%
414fb9f9b97Skupfer	$(INS.file)
415fb9f9b97Skupfer
416fb9f9b97Skupfer$(ROOTDIR)/ib/ibnex/%:		ib/ibnex/%
417fb9f9b97Skupfer	$(INS.file)
418fb9f9b97Skupfer
419fb9f9b97Skupfer$(ROOTDIR)/ib/mgt/%:		ib/mgt/%
420fb9f9b97Skupfer	$(INS.file)
421fb9f9b97Skupfer
422fb9f9b97Skupfer$(ROOTDIR)/ib/mgt/ibmf/%:	ib/mgt/ibmf/%
423fb9f9b97Skupfer	$(INS.file)
424fb9f9b97Skupfer
425fb9f9b97Skupfer$(ROOTDIR)/ib/adapters/tavor/%:	ib/adapters/tavor/%
426fb9f9b97Skupfer	$(INS.file)
427fb9f9b97Skupfer
4287dd1301aSBill Taylor$(ROOTDIR)/ib/adapters/hermon/%:	ib/adapters/hermon/%
4297dd1301aSBill Taylor	$(INS.file)
4307dd1301aSBill Taylor
431*758868cdSBill Taylor$(ROOTDIR)/ib/adapters/%:	ib/adapters/%
432*758868cdSBill Taylor	$(INS.file)
433*758868cdSBill Taylor
434fb9f9b97Skupfer$(ROOTDIR)/lvm/%: lvm/%
435fb9f9b97Skupfer	$(INS.file)
436fb9f9b97Skupfer
437fb9f9b97Skupfer$(ROOTDIR)/pcmcia/%:		pcmcia/%
438fb9f9b97Skupfer	$(INS.file)
439fb9f9b97Skupfer
440fb9f9b97Skupfer$(ROOTDIR)/scsi/%:		scsi/%
441fb9f9b97Skupfer	$(INS.file)
442fb9f9b97Skupfer
443fb9f9b97Skupfer$(ROOTDIR)/scsi/conf/%:		scsi/conf/%
444fb9f9b97Skupfer	$(INS.file)
445fb9f9b97Skupfer
446fb9f9b97Skupfer$(ROOTDIR)/scsi/generic/%:	scsi/generic/%
447fb9f9b97Skupfer	$(INS.file)
448fb9f9b97Skupfer
449fb9f9b97Skupfer$(ROOTDIR)/scsi/impl/%:		scsi/impl/%
450fb9f9b97Skupfer	$(INS.file)
451fb9f9b97Skupfer
452fb9f9b97Skupfer$(ROOTDIR)/scsi/targets/%:	scsi/targets/%
453fb9f9b97Skupfer	$(INS.file)
454fb9f9b97Skupfer
455fcf3ce44SJohn Forte$(ROOTDIR)/scsi/adapters/%:	scsi/adapters/%
456fb9f9b97Skupfer	$(INS.file)
457fb9f9b97Skupfer
4584bb7efa7SGarrett D'Amore$(ROOTDIR)/sdcard/%:		sdcard/%
4594bb7efa7SGarrett D'Amore	$(INS.file)
4604bb7efa7SGarrett D'Amore
461fb9f9b97Skupfer$(ROOTDIR)/sysevent/%:		sysevent/%
462fb9f9b97Skupfer	$(INS.file)
463fb9f9b97Skupfer
464fb9f9b97Skupfer$(ROOTDIR)/contract/%:		contract/%
465fb9f9b97Skupfer	$(INS.file)
466fb9f9b97Skupfer
467fb9f9b97Skupfer$(ROOTDIR)/usb/%:		usb/%
468fb9f9b97Skupfer	$(INS.file)
469fb9f9b97Skupfer
470fb9f9b97Skupfer$(ROOTDIR)/usb/hubd/%:		usb/hubd/%
471fb9f9b97Skupfer	$(INS.file)
472fb9f9b97Skupfer
473fb9f9b97Skupfer$(ROOTDIR)/usb/clients/hid/%:	usb/clients/hid/%
474fb9f9b97Skupfer	$(INS.file)
475fb9f9b97Skupfer
476fb9f9b97Skupfer$(ROOTDIR)/usb/clients/mass_storage/%:	usb/clients/mass_storage/%
477fb9f9b97Skupfer	$(INS.file)
478fb9f9b97Skupfer
479fb9f9b97Skupfer$(ROOTDIR)/dktp/%: dktp/%
480fb9f9b97Skupfer	$(INS.file)
481fb9f9b97Skupfer
482fb9f9b97Skupfer$(ROOTDIR)/1394/%:                    1394/%
483fb9f9b97Skupfer	$(INS.file)
484fb9f9b97Skupfer
485fb9f9b97Skupfer$(ROOTDIR)/rsm/%:	rsm/%
486fb9f9b97Skupfer	$(INS.file)
487fb9f9b97Skupfer
48845916cd2Sjpk$(ROOTDIR)/tsol/%:	tsol/%
48945916cd2Sjpk	$(INS.file)
49045916cd2Sjpk
491fb9f9b97Skupfer$(ROOTDIRS):
492fb9f9b97Skupfer	$(INS.dir)
493fb9f9b97Skupfer
494