xref: /titanic_52/usr/src/uts/common/sys/Makefile.syshdrs (revision 506aa7c68b127eefb0197e329af7e9abcc3ebc98)
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.
22*506aa7c6SGarrett D'Amore# Copyright 2013 Garrett D'Amore <garrett@damore.org>
23fb9f9b97Skupfer#
24fb9f9b97Skupfer
25fb9f9b97Skupfer# Common definitions for open and closed headers.
26fb9f9b97Skupfer
27fb9f9b97Skupfer# check files really don't exist
28fb9f9b97Skupfer
29fb9f9b97Skupferaudio/%.check:	audio/%.h
30fb9f9b97Skupfer	$(DOT_H_CHECK)
31fb9f9b97Skupfer
32fb9f9b97Skupferav/%.check:	av/%.h
33fb9f9b97Skupfer	$(DOT_H_CHECK)
34fb9f9b97Skupfer
35fb9f9b97Skupferfm/%.check:     fm/%.h
36fb9f9b97Skupfer	$(DOT_H_CHECK)
37fb9f9b97Skupfer
38fb9f9b97Skupferfm/cpu/%.check:	fm/cpu/%.h
39fb9f9b97Skupfer	$(DOT_H_CHECK)
40fb9f9b97Skupfer
41ea8dc4b6Seschrockfm/fs/%.check:	fm/fs/%.h
42ea8dc4b6Seschrock	$(DOT_H_CHECK)
43ea8dc4b6Seschrock
44fb9f9b97Skupferfm/io/%.check:	fm/io/%.h
45fb9f9b97Skupfer	$(DOT_H_CHECK)
46fb9f9b97Skupfer
47fb9f9b97Skupferfs/%.check:	fs/%.h
48fb9f9b97Skupfer	$(DOT_H_CHECK)
49fb9f9b97Skupfer
50fb9f9b97Skupferib/%.check:		ib/%.h
51fb9f9b97Skupfer	$(DOT_H_CHECK)
52fb9f9b97Skupfer
53fb9f9b97Skupferib/clients/ibd/%.check:	ib/clients/ibd/%.h
54fb9f9b97Skupfer	$(DOT_H_CHECK)
55fb9f9b97Skupfer
56c39526b7SPramod Gunjikarib/clients/of/%.check:		ib/clients/of/%.h
57c39526b7SPramod Gunjikar	$(DOT_H_CHECK)
58c39526b7SPramod Gunjikar
59c39526b7SPramod Gunjikarib/clients/of/rdma/%.check:		ib/clients/of/rdma/%.h
60c39526b7SPramod Gunjikar	$(DOT_H_CHECK)
61c39526b7SPramod Gunjikar
62c39526b7SPramod Gunjikarib/clients/of/sol_ofs/%.check:		ib/clients/of/sol_ofs/%.h
63c39526b7SPramod Gunjikar	$(DOT_H_CHECK)
64c39526b7SPramod Gunjikar
65c39526b7SPramod Gunjikarib/clients/of/sol_uverbs/%.check:	ib/clients/of/sol_uverbs/%.h
66c39526b7SPramod Gunjikar	$(DOT_H_CHECK)
67c39526b7SPramod Gunjikar
68448bf859SLida.Hornib/clients/of/sol_umad/%.check:		ib/clients/of/sol_umad/%.h
69448bf859SLida.Horn	$(DOT_H_CHECK)
70448bf859SLida.Horn
71c39526b7SPramod Gunjikarib/clients/of/sol_ucma/%.check:		ib/clients/of/sol_ucma/%.h
72c39526b7SPramod Gunjikar	$(DOT_H_CHECK)
73c39526b7SPramod Gunjikar
74fb9f9b97Skupferib/ibtl/%.check:	ib/ibtl/%.h
75fb9f9b97Skupfer	$(DOT_H_CHECK)
76fb9f9b97Skupfer
77fb9f9b97Skupferib/ibtl/impl/%.check:	ib/ibtl/impl/%.h
78fb9f9b97Skupfer	$(DOT_H_CHECK)
79fb9f9b97Skupfer
80fb9f9b97Skupferib/ibnex/%.check:	ib/ibnex/%.h
81fb9f9b97Skupfer	$(DOT_H_CHECK)
82fb9f9b97Skupfer
83fb9f9b97Skupferib/mgt/%.check:	ib/mgt/%.h
84fb9f9b97Skupfer	$(DOT_H_CHECK)
85fb9f9b97Skupfer
86fb9f9b97Skupferib/mgt/ibmf/%.check:	ib/mgt/ibmf/%.h
87fb9f9b97Skupfer	$(DOT_H_CHECK)
88fb9f9b97Skupfer
89fb9f9b97Skupferib/adapters/tavor/%.check:	ib/adapters/tavor/%.h
90fb9f9b97Skupfer	$(DOT_H_CHECK)
91fb9f9b97Skupfer
927dd1301aSBill Taylorib/adapters/hermon/%.check:	ib/adapters/hermon/%.h
937dd1301aSBill Taylor	$(DOT_H_CHECK)
947dd1301aSBill Taylor
95758868cdSBill Taylorib/adapters/%.check:	ib/adapters/%.h
96758868cdSBill Taylor	$(DOT_H_CHECK)
97758868cdSBill Taylor
98a6d42e7dSPeter Dunlapidm/%.check:		idm/%.h
99a6d42e7dSPeter Dunlap	$(DOT_H_CHECK)
100a6d42e7dSPeter Dunlap
101a6d42e7dSPeter Dunlapiscsit/%.check:		iscsit/%.h
102a6d42e7dSPeter Dunlap	$(DOT_H_CHECK)
103a6d42e7dSPeter Dunlap
104fb9f9b97Skupferlvm/%.check:	lvm/%.h
105fb9f9b97Skupfer	$(DOT_H_CHECK)
106fb9f9b97Skupfer
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
146ff0e937bSRaymond Chenusb/clients/hwarc/%.check:	usb/clients/hwarc/%.h
147ff0e937bSRaymond Chen	$(DOT_H_CHECK)
148ff0e937bSRaymond Chen
149fb9f9b97Skupferusb/clients/mass_storage/%.check:	usb/clients/mass_storage/%.h
150fb9f9b97Skupfer	$(DOT_H_CHECK)
151fb9f9b97Skupfer
152fb9f9b97Skupferusb/clients/printer/%.check:  usb/clients/printer/%.h
153fb9f9b97Skupfer	$(DOT_H_CHECK)
154fb9f9b97Skupfer
15590f05028Syq193411usb/clients/usbcdc/%.check:	usb/clients/usbcdc/%.h
15690f05028Syq193411	$(DOT_H_CHECK)
15790f05028Syq193411
158c77a61a7Syz147069usb/clients/video/usbvc/%.check:  usb/clients/video/usbvc/%.h
159c77a61a7Syz147069	$(DOT_H_CHECK)
160c77a61a7Syz147069
161692d834dSPengcheng Chen - Sun Microsystems - Beijing Chinausb/clients/usbinput/usbwcm/%.check:	usb/clients/usbinput/usbwcm/%.h
162692d834dSPengcheng Chen - Sun Microsystems - Beijing China	$(DOT_H_CHECK)
163692d834dSPengcheng Chen - Sun Microsystems - Beijing China
164fb9f9b97Skupfer1394/%.check:         1394/%.h
165fb9f9b97Skupfer	$(DOT_H_CHECK)
166fb9f9b97Skupfer
167fb9f9b97Skupferrsm/%.check:	rsm/%.h
168fb9f9b97Skupfer	$(DOT_H_CHECK)
169fb9f9b97Skupfer
17045916cd2Sjpktsol/%.check:	tsol/%.h
17145916cd2Sjpk	$(DOT_H_CHECK)
17245916cd2Sjpk
173fb9f9b97SkupferROOTDIR=	$(ROOT)/usr/include/sys
174fb9f9b97Skupfer
175fb9f9b97SkupferROOTDKTPDIR=	$(ROOTDIR)/dktp
176fb9f9b97Skupfer
177fb9f9b97Skupfersparc_ROOTDIRS=	$(ROOTDKTPDIR) $(ROOTDIR)/scsi/adapters \
17847cd5876SAlan Perry		$(ROOTDIR)/scsi/targets
179fb9f9b97Skupfer
180fb9f9b97Skupferi386_ROOTDIRS=	$(ROOTDKTPDIR) $(ROOTDIR)/scsi/adapters $(ROOTDIR)/scsi/targets \
18191e10584Sdp		$(ROOTDIR)/agp $(ROOTDIR)/sata
182fb9f9b97Skupfer
183fb9f9b97SkupferROOTDIRS=			\
184fb9f9b97Skupfer	$(ROOTDIR)		\
185fb9f9b97Skupfer	$(ROOTDIR)/audio	\
18647cd5876SAlan Perry	$(ROOTDIR)/av		\
187fb9f9b97Skupfer	$(ROOTDIR)/hotplug	\
188fb9f9b97Skupfer	$(ROOTDIR)/hotplug/pci	\
189fb9f9b97Skupfer	$(ROOTDIR)/crypto	\
190fb9f9b97Skupfer	$(ROOTDIR)/dcam		\
191fb9f9b97Skupfer	$(ROOTDIR)/iso		\
192fcf3ce44SJohn Forte	$(ROOTDIR)/fc4		\
193fcf3ce44SJohn Forte	$(ROOTDIR)/fibre-channel    \
194fcf3ce44SJohn Forte	$(ROOTDIR)/fibre-channel/impl	\
195fcf3ce44SJohn Forte	$(ROOTDIR)/fibre-channel/ulp	\
196fb9f9b97Skupfer	$(ROOTDIR)/fm		\
197fb9f9b97Skupfer	$(ROOTDIR)/fm/cpu	\
198ea8dc4b6Seschrock	$(ROOTDIR)/fm/fs	\
199fb9f9b97Skupfer	$(ROOTDIR)/fm/io	\
200fb9f9b97Skupfer	$(ROOTDIR)/fs		\
201fb9f9b97Skupfer	$(ROOTDIR)/ib		\
202fb9f9b97Skupfer	$(ROOTDIR)/ib/adapters/tavor	\
2037dd1301aSBill Taylor	$(ROOTDIR)/ib/adapters/hermon	\
204758868cdSBill Taylor	$(ROOTDIR)/ib/adapters	\
205fb9f9b97Skupfer	$(ROOTDIR)/ib/ibtl	\
206fb9f9b97Skupfer	$(ROOTDIR)/ib/ibtl/impl	\
207fb9f9b97Skupfer	$(ROOTDIR)/ib/mgt	\
208fb9f9b97Skupfer	$(ROOTDIR)/ib/mgt/ibmf	\
209fb9f9b97Skupfer	$(ROOTDIR)/ib/ibnex	\
210fb9f9b97Skupfer	$(ROOTDIR)/ib/clients/ibd \
211c39526b7SPramod Gunjikar	$(ROOTDIR)/ib/clients/of	\
212c39526b7SPramod Gunjikar	$(ROOTDIR)/ib/clients/of/rdma	\
213c39526b7SPramod Gunjikar	$(ROOTDIR)/ib/clients/of/sol_ofs	\
214c39526b7SPramod Gunjikar	$(ROOTDIR)/ib/clients/of/sol_uverbs	\
215448bf859SLida.Horn	$(ROOTDIR)/ib/clients/of/sol_umad	\
216c39526b7SPramod Gunjikar	$(ROOTDIR)/ib/clients/of/sol_ucma	\
217a6d42e7dSPeter Dunlap	$(ROOTDIR)/idm		\
218a6d42e7dSPeter Dunlap	$(ROOTDIR)/iscsit	\
219fb9f9b97Skupfer	$(ROOTDIR)/lvm		\
220fb9f9b97Skupfer	$(ROOTDIR)/scsi		\
221fb9f9b97Skupfer	$(ROOTDIR)/scsi/conf	\
222fb9f9b97Skupfer	$(ROOTDIR)/scsi/generic	\
223fb9f9b97Skupfer	$(ROOTDIR)/scsi/impl	\
2244bb7efa7SGarrett D'Amore	$(ROOTDIR)/sdcard	\
225fb9f9b97Skupfer	$(ROOTDIR)/sysevent     \
226fb9f9b97Skupfer	$(ROOTDIR)/contract     \
227fb9f9b97Skupfer	$(ROOTDIR)/usb		\
228fb9f9b97Skupfer	$(ROOTDIR)/usb/hubd	\
229fb9f9b97Skupfer	$(ROOTDIR)/usb/clients	\
230fb9f9b97Skupfer	$(ROOTDIR)/usb/clients/audio  \
231fb9f9b97Skupfer	$(ROOTDIR)/usb/clients/hid \
232ff0e937bSRaymond Chen	$(ROOTDIR)/usb/clients/hwarc \
233fb9f9b97Skupfer	$(ROOTDIR)/usb/clients/mass_storage	\
234fb9f9b97Skupfer	$(ROOTDIR)/usb/clients/printer  \
23590f05028Syq193411	$(ROOTDIR)/usb/clients/usbcdc  \
236c77a61a7Syz147069	$(ROOTDIR)/usb/clients/video/usbvc  \
237692d834dSPengcheng Chen - Sun Microsystems - Beijing China	$(ROOTDIR)/usb/clients/usbinput/usbwcm \
238fb9f9b97Skupfer	$(ROOTDIR)/usb/clients/ugen  \
239ff0e937bSRaymond Chen	$(ROOTDIR)/uwb \
240ff0e937bSRaymond Chen	$(ROOTDIR)/uwb/uwba \
241fb9f9b97Skupfer	$(ROOTDIR)/1394         \
242fb9f9b97Skupfer	$(ROOTDIR)/rsm		\
24345916cd2Sjpk	$(ROOTDIR)/tsol		\
244fb9f9b97Skupfer	$($(MACH)_ROOTDIRS)
245fb9f9b97Skupfer
246fb9f9b97Skupfer
247fb9f9b97SkupferROOTHDRS=				\
248fb9f9b97Skupfer	$($(MACH)_HDRS:%=$(ROOTDIR)/%)	\
249fb9f9b97Skupfer	$(HDRS:%=$(ROOTDIR)/%)
250fb9f9b97Skupfer
251fb9f9b97SkupferROOTAUDHDRS= $(AUDIOHDRS:%=$(ROOTDIR)/audio/%)
252fb9f9b97Skupfer
253fb9f9b97SkupferROOTAVHDRS= $(AVHDRS:%=$(ROOTDIR)/av/%)
254fb9f9b97Skupfer
255fb9f9b97SkupferROOTCRYPTOHDRS= $(CRYPTOHDRS:%=$(ROOTDIR)/crypto/%)
256fb9f9b97Skupfer
257fb9f9b97SkupferROOTDCAMHDRS= $(DCAMHDRS:%=$(ROOTDIR)/dcam/%)
258fb9f9b97Skupfer
259fb9f9b97SkupferROOTIBHDRS= $(IBHDRS:%=$(ROOTDIR)/ib/%)
260fb9f9b97SkupferROOTIBDHDRS= $(IBDHDRS:%=$(ROOTDIR)/ib/clients/ibd/%)
261fb9f9b97SkupferROOTIBTLHDRS= $(IBTLHDRS:%=$(ROOTDIR)/ib/ibtl/%)
262fb9f9b97SkupferROOTIBTLIMPLHDRS= $(IBTLIMPLHDRS:%=$(ROOTDIR)/ib/ibtl/impl/%)
263fb9f9b97SkupferROOTIBNEXHDRS= $(IBNEXHDRS:%=$(ROOTDIR)/ib/ibnex/%)
264fb9f9b97SkupferROOTIBMGTHDRS= $(IBMGTHDRS:%=$(ROOTDIR)/ib/mgt/%)
265fb9f9b97SkupferROOTIBMFHDRS= $(IBMFHDRS:%=$(ROOTDIR)/ib/mgt/ibmf/%)
266c39526b7SPramod GunjikarROOTOFHDRS= $(OFHDRS:%=$(ROOTDIR)/ib/clients/of/%)
267c39526b7SPramod GunjikarROOTRDMAHDRS= $(RDMAHDRS:%=$(ROOTDIR)/ib/clients/of/rdma/%)
268c39526b7SPramod GunjikarROOTSOL_OFSHDRS= $(SOL_OFSHDRS:%=$(ROOTDIR)/ib/clients/of/sol_ofs/%)
269c39526b7SPramod GunjikarROOTSOL_UVERBSHDRS= $(SOL_UVERBSHDRS:%=$(ROOTDIR)/ib/clients/of/sol_uverbs/%)
270448bf859SLida.HornROOTSOL_UMADHDRS= $(SOL_UMADHDRS:%=$(ROOTDIR)/ib/clients/of/sol_umad/%)
271c39526b7SPramod GunjikarROOTSOL_UCMAHDRS= $(SOL_UCMAHDRS:%=$(ROOTDIR)/ib/clients/of/sol_ucma/%)
272fb9f9b97SkupferROOTTAVORHDRS= $(TAVORHDRS:%=$(ROOTDIR)/ib/adapters/tavor/%)
2737dd1301aSBill TaylorROOTHERMONHDRS= $(HERMONHDRS:%=$(ROOTDIR)/ib/adapters/hermon/%)
274758868cdSBill TaylorROOTMLNXHDRS= $(MLNXHDRS:%=$(ROOTDIR)/ib/adapters/%)
275fb9f9b97Skupfer
276a6d42e7dSPeter DunlapROOTIDMHDRS= $(IDMHDRS:%=$(ROOTDIR)/idm/%)
277a6d42e7dSPeter DunlapROOTISCSITHDRS= $(ISCSITHDRS:%=$(ROOTDIR)/iscsit/%)
278a6d42e7dSPeter Dunlap
279fb9f9b97SkupferROOTISOHDRS= $(ISOHDRS:%=$(ROOTDIR)/iso/%)
280fb9f9b97Skupfer
281fb9f9b97SkupferROOTFMHDRS= $(FMHDRS:%=$(ROOTDIR)/fm/%)
282fb9f9b97SkupferROOTFMCPUHDRS= $(FMCPUHDRS:%=$(ROOTDIR)/fm/cpu/%)
283fb9f9b97SkupferROOTFMIOHDRS= $(FMIOHDRS:%=$(ROOTDIR)/fm/io/%)
284ea8dc4b6SeschrockROOTFMFSHDRS= $(FMFSHDRS:%=$(ROOTDIR)/fm/fs/%)
285fb9f9b97Skupfer
286fb9f9b97SkupferROOTFSHDRS= $(FSHDRS:%=$(ROOTDIR)/fs/%)
287fb9f9b97Skupfer
288fb9f9b97SkupferROOTLVMHDRS= $(ALL_LVMHDRS:%=$(ROOTDIR)/lvm/%)
289fb9f9b97Skupfer
290fb9f9b97SkupferROOTSCSIHDRS= $(SCSIHDRS:%=$(ROOTDIR)/scsi/%)
29166f9d5cbSmlfROOTSATAGENHDRS= $(SATAGENHDRS:%=$(ROOTDIR)/sata/%)
292fb9f9b97SkupferROOTSCSICONFHDRS= $(SCSICONFHDRS:%=$(ROOTDIR)/scsi/conf/%)
293fb9f9b97SkupferROOTSCSIGENHDRS= $(SCSIGENHDRS:%=$(ROOTDIR)/scsi/generic/%)
294fb9f9b97SkupferROOTSCSIIMPLHDRS= $(SCSIIMPLHDRS:%=$(ROOTDIR)/scsi/impl/%)
295fb9f9b97SkupferROOTSCSITARGETSHDRS= $(SCSITARGETSHDRS:%=$(ROOTDIR)/scsi/targets/%)
296fb9f9b97SkupferROOTSCSICADHDRS= $(SCSICADHDRS:%=$(ROOTDIR)/scsi/adapters/%)
2974bb7efa7SGarrett D'AmoreROOTSCSIADHDRS= $(SCSICADHDRS:%=$(ROOTDIR)/scsi/adapters/%)
298fb9f9b97SkupferROOTSCSIVHCIHDRS= $(SCSIVHCIHDRS:%=$(ROOTDIR)/scsi/adapters/%)
299fcf3ce44SJohn ForteROOTSCSIISCSIHDRS= $(SCSIISCSIHDRS:%=$(ROOTDIR)/scsi/adapters/%)
300fb9f9b97Skupfer
301fcf3ce44SJohn ForteROOTFC4HDRS= $(FC4HDRS:%=$(ROOTDIR)/fc4/%)
302fcf3ce44SJohn ForteROOTFCHDRS= $(FCHDRS:%=$(ROOTDIR)/fibre-channel/%)
303fcf3ce44SJohn ForteROOTFCIMPLHDRS= $(FCIMPLHDRS:%=$(ROOTDIR)/fibre-channel/impl/%)
304fcf3ce44SJohn ForteROOTFCULPHDRS= $(FCULPHDRS:%=$(ROOTDIR)/fibre-channel/ulp/%)
305fb9f9b97Skupfer
3064bb7efa7SGarrett D'AmoreROOTSDCARDHDRS= $(SDCARDHDRS:%=$(ROOTDIR)/sdcard/%)
3074bb7efa7SGarrett D'Amore
308fb9f9b97SkupferROOTSYSEVENTHDRS= $(SYSEVENTHDRS:%=$(ROOTDIR)/sysevent/%)
309fb9f9b97SkupferROOTCONTRACTHDRS= $(CONTRACTHDRS:%=$(ROOTDIR)/contract/%)
310fb9f9b97Skupfer
311fb9f9b97SkupferROOTXHDRS= $(XHDRS:%=$(ROOTDIR)/%)
312fb9f9b97Skupfer
313fb9f9b97SkupferROOTUSBHDRS= $(USBHDRS:%=$(ROOTDIR)/usb/%)
314ff0e937bSRaymond ChenROOTUWBHDRS= $(UWBHDRS:%=$(ROOTDIR)/uwb/%)
315ff0e937bSRaymond ChenROOTUWBAHDRS= $(UWBAHDRS:%=$(ROOTDIR)/uwb/uwba/%)
316fb9f9b97SkupferROOTUSBAUDHDRS= $(USBAUDHDRS:%=$(ROOTDIR)/usb/clients/audio/%)
317fb9f9b97SkupferROOTUSBHUBDHDRS= $(USBHUBDHDRS:%=$(ROOTDIR)/usb/hubd/%)
318fb9f9b97SkupferROOTUSBHIDHDRS = $(USBHIDHDRS:%=$(ROOTDIR)/usb/clients/hid/%)
319ff0e937bSRaymond ChenROOTUSBHWARCHDRS = $(USBHWARCHDRS:%=$(ROOTDIR)/usb/clients/hwarc/%)
320fb9f9b97SkupferROOTUSBMSHDRS= $(USBMSHDRS:%=$(ROOTDIR)/usb/clients/mass_storage/%)
321fb9f9b97SkupferROOTUSBPRNHDRS= $(USBPRNHDRS:%=$(ROOTDIR)/usb/clients/printer/%)
32290f05028Syq193411ROOTUSBCDCHDRS= $(USBCDCHDRS:%=$(ROOTDIR)/usb/clients/usbcdc/%)
323c77a61a7Syz147069ROOTUSBVIDHDRS= $(USBVIDHDRS:%=$(ROOTDIR)/usb/clients/video/usbvc/%)
324692d834dSPengcheng Chen - Sun Microsystems - Beijing ChinaROOTUSBWCMHDRS= $(USBWCMHDRS:%=$(ROOTDIR)/usb/clients/usbinput/usbwcm/%)
325fb9f9b97SkupferROOTUGENHDRS= $(UGENHDRS:%=$(ROOTDIR)/usb/clients/ugen/%)
326fb9f9b97Skupfer
327fb9f9b97SkupferROOT1394HDRS= $(I1394HDRS:%=$(ROOTDIR)/1394/%)
328fb9f9b97Skupfer
329fb9f9b97SkupferROOTRSMHDRS= $(RSMHDRS:%=$(ROOTDIR)/rsm/%)
330fb9f9b97Skupfer
331fb9f9b97SkupferROOTSDKTPHDRS= $(SDKTPHDRS:%=$(ROOTDIR)/dktp/%)
332fb9f9b97SkupferROOTDKTPHDRS= $(DKTPHDRS:%=$(ROOTDIR)/dktp/%)
333fb9f9b97SkupferROOTPCHDRS= $(PCHDRS:%=$(ROOTDIR)/%)
334fb9f9b97SkupferROOTHOTPLUGHDRS= $(HOTPLUGHDRS:%=$(ROOTDIR)/hotplug/%)
335fb9f9b97SkupferROOTHOTPLUGPCIHDRS= $(HOTPLUGPCIHDRS:%=$(ROOTDIR)/hotplug/pci/%)
336fb9f9b97Skupfer
33745916cd2SjpkROOTTSOLHDRS= $(TSOLHDRS:%=$(ROOTDIR)/tsol/%)
338fb9f9b97Skupfer
339fb9f9b97Skupfersparc_ROOTHDRS=	$(ROOTSDKTPHDRS) $(ROOTSCSICADHDRS) $(ROOTSCSITARGETSHDRS) \
340*506aa7c6SGarrett D'Amore		$(ROOTUSBHDRS) $(ROOTUSBHUBDHDRS) \
341fcf3ce44SJohn Forte		$(ROOTUSBAUDHDRS) $(ROOTUSBHIDHDRS) $(ROOTUSBMSHDRS) \
342ff0e937bSRaymond Chen		$(ROOTUSBPRNHDRS) $(ROOTUGENHDRS) $(ROOTUSBVIDHDRS) \
343ff0e937bSRaymond Chen		$(ROOTUWBHDRS) $(ROOTUWBAHDRS) $(ROOTUSBHWARCHDRS)
344fb9f9b97Skupfer
345fb9f9b97Skupferi386_ROOTHDRS=	$(ROOTDKTPHDRS) $(ROOTPCHDRS) $(ROOTSCSITARGETSHDRS)	\
346*506aa7c6SGarrett D'Amore		$(ROOTSCSIVHCIHDRS) $(ROOTHOTPLUGHDRS) \
347ff0e937bSRaymond Chen		$(ROOTHOTPLUGPCIHDRS) $(ROOTSATAGENHDRS) \
348ff0e937bSRaymond Chen		$(ROOTUWBHDRS) $(ROOTUWBAHDRS) $(ROOTUSBHWARCHDRS)
349fb9f9b97Skupfer
350fb9f9b97Skupfer# install rules
351fb9f9b97Skupfer$(ROOTDIR)/%: %
352fb9f9b97Skupfer	$(INS.file)
353fb9f9b97Skupfer
354fb9f9b97Skupfer$(ROOTDIR)/crypto/%: crypto/%
355fb9f9b97Skupfer	$(INS.file)
356fb9f9b97Skupfer
357fcf3ce44SJohn Forte$(ROOTDIR)/fc4/%:		fc4/%
358fcf3ce44SJohn Forte	$(INS.file)
359fcf3ce44SJohn Forte
360fcf3ce44SJohn Forte$(ROOTDIR)/fibre-channel/%:	fibre-channel/%
361fcf3ce44SJohn Forte	$(INS.file)
362fcf3ce44SJohn Forte
363fcf3ce44SJohn Forte$(ROOTDIR)/fibre-channel/impl/%:	fibre-channel/impl/%
364fcf3ce44SJohn Forte	$(INS.file)
365fcf3ce44SJohn Forte
366fcf3ce44SJohn Forte$(ROOTDIR)/fibre-channel/ulp/:	fibre-channel/ulp/%
367fcf3ce44SJohn Forte	$(INS.file)
368fcf3ce44SJohn Forte
369fb9f9b97Skupfer$(ROOTDIR)/fm/%:                fm/%
370fb9f9b97Skupfer	$(INS.file)
371fb9f9b97Skupfer
372fb9f9b97Skupfer$(ROOTDIR)/fm/cpu/%:                fm/cpu/%
373fb9f9b97Skupfer	$(INS.file)
374fb9f9b97Skupfer
375fb9f9b97Skupfer$(ROOTDIR)/fm/io/%:                fm/io/%
376fb9f9b97Skupfer	$(INS.file)
377fb9f9b97Skupfer
378fb9f9b97Skupfer$(ROOTDIR)/fs/%: fs/%
379fb9f9b97Skupfer	$(INS.file)
380fb9f9b97Skupfer
381fb9f9b97Skupfer$(ROOTDIR)/ib/%:		ib/%
382fb9f9b97Skupfer	$(INS.file)
383fb9f9b97Skupfer
384fb9f9b97Skupfer$(ROOTDIR)/ib/clients/ibd/%:	ib/clients/ibd/%
385fb9f9b97Skupfer	$(INS.file)
386fb9f9b97Skupfer
387c39526b7SPramod Gunjikar$(ROOTDIR)/ib/clients/of/%:		of/%
388c39526b7SPramod Gunjikar	$(INS.file)
389c39526b7SPramod Gunjikar
390c39526b7SPramod Gunjikar$(ROOTDIR)/ib/clients/of/rdma/%:	ib/clients/of/rdma/%
391c39526b7SPramod Gunjikar	$(INS.file)
392c39526b7SPramod Gunjikar
393c39526b7SPramod Gunjikar$(ROOTDIR)/ib/clients/of/sol_ofs/%:	ib/clients/of/sol_ofs/%
394c39526b7SPramod Gunjikar	$(INS.file)
395c39526b7SPramod Gunjikar
396c39526b7SPramod Gunjikar$(ROOTDIR)/ib/clients/of/sol_uverbs/%:	ib/clients/of/sol_uverbs/%
397c39526b7SPramod Gunjikar	$(INS.file)
398c39526b7SPramod Gunjikar
399448bf859SLida.Horn$(ROOTDIR)/ib/clients/of/sol_umad/%:	ib/clients/of/sol_umad/%
400448bf859SLida.Horn	$(INS.file)
401448bf859SLida.Horn
402c39526b7SPramod Gunjikar$(ROOTDIR)/ib/clients/of/sol_ucma/%:	ib/clients/of/sol_ucma/%
403c39526b7SPramod Gunjikar	$(INS.file)
404c39526b7SPramod Gunjikar
405fb9f9b97Skupfer$(ROOTDIR)/ib/ibtl/%:		ib/ibtl/%
406fb9f9b97Skupfer	$(INS.file)
407fb9f9b97Skupfer
408fb9f9b97Skupfer$(ROOTDIR)/ib/ibtl/impl/%:	ib/ibtl/impl/%
409fb9f9b97Skupfer	$(INS.file)
410fb9f9b97Skupfer
411fb9f9b97Skupfer$(ROOTDIR)/ib/ibnex/%:		ib/ibnex/%
412fb9f9b97Skupfer	$(INS.file)
413fb9f9b97Skupfer
414fb9f9b97Skupfer$(ROOTDIR)/ib/mgt/%:		ib/mgt/%
415fb9f9b97Skupfer	$(INS.file)
416fb9f9b97Skupfer
417fb9f9b97Skupfer$(ROOTDIR)/ib/mgt/ibmf/%:	ib/mgt/ibmf/%
418fb9f9b97Skupfer	$(INS.file)
419fb9f9b97Skupfer
420fb9f9b97Skupfer$(ROOTDIR)/ib/adapters/tavor/%:	ib/adapters/tavor/%
421fb9f9b97Skupfer	$(INS.file)
422fb9f9b97Skupfer
4237dd1301aSBill Taylor$(ROOTDIR)/ib/adapters/hermon/%:	ib/adapters/hermon/%
4247dd1301aSBill Taylor	$(INS.file)
4257dd1301aSBill Taylor
426758868cdSBill Taylor$(ROOTDIR)/ib/adapters/%:	ib/adapters/%
427758868cdSBill Taylor	$(INS.file)
428758868cdSBill Taylor
429fb9f9b97Skupfer$(ROOTDIR)/lvm/%: lvm/%
430fb9f9b97Skupfer	$(INS.file)
431fb9f9b97Skupfer
432fb9f9b97Skupfer$(ROOTDIR)/scsi/%:		scsi/%
433fb9f9b97Skupfer	$(INS.file)
434fb9f9b97Skupfer
435fb9f9b97Skupfer$(ROOTDIR)/scsi/conf/%:		scsi/conf/%
436fb9f9b97Skupfer	$(INS.file)
437fb9f9b97Skupfer
438fb9f9b97Skupfer$(ROOTDIR)/scsi/generic/%:	scsi/generic/%
439fb9f9b97Skupfer	$(INS.file)
440fb9f9b97Skupfer
441fb9f9b97Skupfer$(ROOTDIR)/scsi/impl/%:		scsi/impl/%
442fb9f9b97Skupfer	$(INS.file)
443fb9f9b97Skupfer
444fb9f9b97Skupfer$(ROOTDIR)/scsi/targets/%:	scsi/targets/%
445fb9f9b97Skupfer	$(INS.file)
446fb9f9b97Skupfer
447fcf3ce44SJohn Forte$(ROOTDIR)/scsi/adapters/%:	scsi/adapters/%
448fb9f9b97Skupfer	$(INS.file)
449fb9f9b97Skupfer
4504bb7efa7SGarrett D'Amore$(ROOTDIR)/sdcard/%:		sdcard/%
4514bb7efa7SGarrett D'Amore	$(INS.file)
4524bb7efa7SGarrett D'Amore
453fb9f9b97Skupfer$(ROOTDIR)/sysevent/%:		sysevent/%
454fb9f9b97Skupfer	$(INS.file)
455fb9f9b97Skupfer
456fb9f9b97Skupfer$(ROOTDIR)/contract/%:		contract/%
457fb9f9b97Skupfer	$(INS.file)
458fb9f9b97Skupfer
459fb9f9b97Skupfer$(ROOTDIR)/usb/%:		usb/%
460fb9f9b97Skupfer	$(INS.file)
461fb9f9b97Skupfer
462fb9f9b97Skupfer$(ROOTDIR)/usb/hubd/%:		usb/hubd/%
463fb9f9b97Skupfer	$(INS.file)
464fb9f9b97Skupfer
465fb9f9b97Skupfer$(ROOTDIR)/usb/clients/hid/%:	usb/clients/hid/%
466fb9f9b97Skupfer	$(INS.file)
467fb9f9b97Skupfer
468fb9f9b97Skupfer$(ROOTDIR)/usb/clients/mass_storage/%:	usb/clients/mass_storage/%
469fb9f9b97Skupfer	$(INS.file)
470fb9f9b97Skupfer
471fb9f9b97Skupfer$(ROOTDIR)/dktp/%: dktp/%
472fb9f9b97Skupfer	$(INS.file)
473fb9f9b97Skupfer
474fb9f9b97Skupfer$(ROOTDIR)/1394/%:                    1394/%
475fb9f9b97Skupfer	$(INS.file)
476fb9f9b97Skupfer
477fb9f9b97Skupfer$(ROOTDIR)/rsm/%:	rsm/%
478fb9f9b97Skupfer	$(INS.file)
479fb9f9b97Skupfer
48045916cd2Sjpk$(ROOTDIR)/tsol/%:	tsol/%
48145916cd2Sjpk	$(INS.file)
48245916cd2Sjpk
483fb9f9b97Skupfer$(ROOTDIRS):
484fb9f9b97Skupfer	$(INS.dir)
485fb9f9b97Skupfer
486