Makefile.syshdrs revision 47cd5876b2168926dea28a62f1857b167da29d6c
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Common definitions for open and closed headers.
# check files really don't exist
audio/%.check: audio/%.h
$(DOT_H_CHECK)
av/%.check: av/%.h
$(DOT_H_CHECK)
fm/%.check: fm/%.h
$(DOT_H_CHECK)
fm/cpu/%.check: fm/cpu/%.h
$(DOT_H_CHECK)
fm/fs/%.check: fm/fs/%.h
$(DOT_H_CHECK)
fm/io/%.check: fm/io/%.h
$(DOT_H_CHECK)
fs/%.check: fs/%.h
$(DOT_H_CHECK)
ib/%.check: ib/%.h
$(DOT_H_CHECK)
ib/clients/ibd/%.check: ib/clients/ibd/%.h
$(DOT_H_CHECK)
ib/ibtl/%.check: ib/ibtl/%.h
$(DOT_H_CHECK)
ib/ibtl/impl/%.check: ib/ibtl/impl/%.h
$(DOT_H_CHECK)
ib/ibnex/%.check: ib/ibnex/%.h
$(DOT_H_CHECK)
ib/mgt/%.check: ib/mgt/%.h
$(DOT_H_CHECK)
ib/mgt/ibmf/%.check: ib/mgt/ibmf/%.h
$(DOT_H_CHECK)
ib/adapters/tavor/%.check: ib/adapters/tavor/%.h
$(DOT_H_CHECK)
ib/adapters/hermon/%.check: ib/adapters/hermon/%.h
$(DOT_H_CHECK)
idm/%.check: idm/%.h
$(DOT_H_CHECK)
iscsit/%.check: iscsit/%.h
$(DOT_H_CHECK)
lvm/%.check: lvm/%.h
$(DOT_H_CHECK)
pcmcia/%.check: pcmcia/%.h
$(DOT_H_CHECK)
scsi/%.check: scsi/%.h
$(DOT_H_CHECK)
scsi/conf/%.check: scsi/conf/%.h
$(DOT_H_CHECK)
scsi/generic/%.check: scsi/generic/%.h
$(DOT_H_CHECK)
scsi/impl/%.check: scsi/impl/%.h
$(DOT_H_CHECK)
scsi/targets/%.check: scsi/targets/%.h
$(DOT_H_CHECK)
scsi/adapters/%.check: scsi/adapters/%.h
$(DOT_H_CHECK)
sdcard/%.check: sdcard/%.h
$(DOT_H_CHECK)
sysevent/%.check: sysevent/%.h
$(DOT_H_CHECK)
contract/%.check: contract/%.h
$(DOT_H_CHECK)
usb/%.check: usb/%.h
$(DOT_H_CHECK)
usb/clients/audio/%.check: usb/clients/audio/%.h
$(DOT_H_CHECK)
usb/hubd/%.check: usb/hubd/%.h
$(DOT_H_CHECK)
usb/clients/hid/%.check: usb/clients/hid/%.h
$(DOT_H_CHECK)
usb/clients/mass_storage/%.check: usb/clients/mass_storage/%.h
$(DOT_H_CHECK)
usb/clients/hid/%.check: usb/clients/hid/%.h
$(DOT_H_CHECK)
usb/clients/printer/%.check: usb/clients/printer/%.h
$(DOT_H_CHECK)
usb/clients/usbcdc/%.check: usb/clients/usbcdc/%.h
$(DOT_H_CHECK)
usb/clients/video/usbvc/%.check: usb/clients/video/usbvc/%.h
$(DOT_H_CHECK)
1394/%.check: 1394/%.h
$(DOT_H_CHECK)
rsm/%.check: rsm/%.h
$(DOT_H_CHECK)
tsol/%.check: tsol/%.h
$(DOT_H_CHECK)
ROOTDIR= $(ROOT)/usr/include/sys
ROOTDKTPDIR= $(ROOTDIR)/dktp
sparc_ROOTDIRS= $(ROOTDKTPDIR) $(ROOTDIR)/scsi/adapters \
$(ROOTDIR)/scsi/targets
i386_ROOTDIRS= $(ROOTDKTPDIR) $(ROOTDIR)/scsi/adapters $(ROOTDIR)/scsi/targets \
$(ROOTDIR)/agp $(ROOTDIR)/sata
ROOTDIRS= \
$(ROOTDIR) \
$(ROOTDIR)/audio \
$(ROOTDIR)/av \
$(ROOTDIR)/hotplug \
$(ROOTDIR)/hotplug/pci \
$(ROOTDIR)/crypto \
$(ROOTDIR)/dcam \
$(ROOTDIR)/iso \
$(ROOTDIR)/fc4 \
$(ROOTDIR)/fibre-channel \
$(ROOTDIR)/fibre-channel/impl \
$(ROOTDIR)/fibre-channel/ulp \
$(ROOTDIR)/fm \
$(ROOTDIR)/fm/cpu \
$(ROOTDIR)/fm/fs \
$(ROOTDIR)/fm/io \
$(ROOTDIR)/fs \
$(ROOTDIR)/ib \
$(ROOTDIR)/ib/adapters/tavor \
$(ROOTDIR)/ib/adapters/hermon \
$(ROOTDIR)/ib/ibtl \
$(ROOTDIR)/ib/ibtl/impl \
$(ROOTDIR)/ib/mgt \
$(ROOTDIR)/ib/mgt/ibmf \
$(ROOTDIR)/ib/ibnex \
$(ROOTDIR)/ib/clients/ibd \
$(ROOTDIR)/idm \
$(ROOTDIR)/iscsit \
$(ROOTDIR)/lvm \
$(ROOTDIR)/pcmcia \
$(ROOTDIR)/scsi \
$(ROOTDIR)/scsi/conf \
$(ROOTDIR)/scsi/generic \
$(ROOTDIR)/scsi/impl \
$(ROOTDIR)/sdcard \
$(ROOTDIR)/sysevent \
$(ROOTDIR)/contract \
$(ROOTDIR)/usb \
$(ROOTDIR)/usb/hubd \
$(ROOTDIR)/usb/clients \
$(ROOTDIR)/usb/clients/audio \
$(ROOTDIR)/usb/clients/hid \
$(ROOTDIR)/usb/clients/mass_storage \
$(ROOTDIR)/usb/clients/printer \
$(ROOTDIR)/usb/clients/usbcdc \
$(ROOTDIR)/usb/clients/video/usbvc \
$(ROOTDIR)/usb/clients/ugen \
$(ROOTDIR)/1394 \
$(ROOTDIR)/rsm \
$(ROOTDIR)/tsol \
$($(MACH)_ROOTDIRS)
ROOTHDRS= \
$($(MACH)_HDRS:%=$(ROOTDIR)/%) \
$(HDRS:%=$(ROOTDIR)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AHDRS= $(PCMCIAHDRS:%=$(ROOTDIR)/pcmcia/%)
ROOTSCSIHDRS= $(SCSIHDRS:%=$(ROOTDIR)/scsi/%)
ROOTSATAGENHDRS= $(SATAGENHDRS:%=$(ROOTDIR)/sata/%)
ROOTSCSICONFHDRS= $(SCSICONFHDRS:%=$(ROOTDIR)/scsi/conf/%)
ROOTSCSIGENHDRS= $(SCSIGENHDRS:%=$(ROOTDIR)/scsi/generic/%)
ROOTSCSIIMPLHDRS= $(SCSIIMPLHDRS:%=$(ROOTDIR)/scsi/impl/%)
ROOTSCSITARGETSHDRS= $(SCSITARGETSHDRS:%=$(ROOTDIR)/scsi/targets/%)
ROOTSCSICADHDRS= $(SCSICADHDRS:%=$(ROOTDIR)/scsi/adapters/%)
ROOTSCSIADHDRS= $(SCSICADHDRS:%=$(ROOTDIR)/scsi/adapters/%)
ROOTSCSIVHCIHDRS= $(SCSIVHCIHDRS:%=$(ROOTDIR)/scsi/adapters/%)
ROOTSCSIISCSIHDRS= $(SCSIISCSIHDRS:%=$(ROOTDIR)/scsi/adapters/%)
ROOTFC4HDRS= $(FC4HDRS:%=$(ROOTDIR)/fc4/%)
ROOTFCHDRS= $(FCHDRS:%=$(ROOTDIR)/fibre-channel/%)
ROOTFCIMPLHDRS= $(FCIMPLHDRS:%=$(ROOTDIR)/fibre-channel/impl/%)
ROOTFCULPHDRS= $(FCULPHDRS:%=$(ROOTDIR)/fibre-channel/ulp/%)
ROOTSDCARDHDRS= $(SDCARDHDRS:%=$(ROOTDIR)/sdcard/%)
ROOTSYSEVENTHDRS= $(SYSEVENTHDRS:%=$(ROOTDIR)/sysevent/%)
ROOTCONTRACTHDRS= $(CONTRACTHDRS:%=$(ROOTDIR)/contract/%)
ROOTXHDRS= $(XHDRS:%=$(ROOTDIR)/%)
ROOTUSBHDRS= $(USBHDRS:%=$(ROOTDIR)/usb/%)
ROOTUSBAUDHDRS= $(USBAUDHDRS:%=$(ROOTDIR)/usb/clients/audio/%)
ROOTUSBHUBDHDRS= $(USBHUBDHDRS:%=$(ROOTDIR)/usb/hubd/%)
ROOTUSBHIDHDRS = $(USBHIDHDRS:%=$(ROOTDIR)/usb/clients/hid/%)
ROOTUSBMSHDRS= $(USBMSHDRS:%=$(ROOTDIR)/usb/clients/mass_storage/%)
ROOTUSBPRNHDRS= $(USBPRNHDRS:%=$(ROOTDIR)/usb/clients/printer/%)
ROOTUSBCDCHDRS= $(USBCDCHDRS:%=$(ROOTDIR)/usb/clients/usbcdc/%)
ROOTUSBVIDHDRS= $(USBVIDHDRS:%=$(ROOTDIR)/usb/clients/video/usbvc/%)
ROOTUGENHDRS= $(UGENHDRS:%=$(ROOTDIR)/usb/clients/ugen/%)
ROOT1394HDRS= $(I1394HDRS:%=$(ROOTDIR)/1394/%)
ROOTRSMHDRS= $(RSMHDRS:%=$(ROOTDIR)/rsm/%)
ROOTSDKTPHDRS= $(SDKTPHDRS:%=$(ROOTDIR)/dktp/%)
ROOTDKTPHDRS= $(DKTPHDRS:%=$(ROOTDIR)/dktp/%)
ROOTPCHDRS= $(PCHDRS:%=$(ROOTDIR)/%)
ROOTHOTPLUGHDRS= $(HOTPLUGHDRS:%=$(ROOTDIR)/hotplug/%)
ROOTHOTPLUGPCIHDRS= $(HOTPLUGPCIHDRS:%=$(ROOTDIR)/hotplug/pci/%)
ROOTTSOLHDRS= $(TSOLHDRS:%=$(ROOTDIR)/tsol/%)
sparc_ROOTHDRS= $(ROOTSDKTPHDRS) $(ROOTSCSICADHDRS) $(ROOTSCSITARGETSHDRS) \
$(ROOTUSBHDRS) $(ROOTUSBHUBDHDRS) $(ROOTPCMCIAHDRS) \
$(ROOTUSBAUDHDRS) $(ROOTUSBHIDHDRS) $(ROOTUSBMSHDRS) \
$(ROOTUSBPRNHDRS) $(ROOTUGENHDRS) $(ROOTUSBVIDHDRS)
i386_ROOTHDRS= $(ROOTDKTPHDRS) $(ROOTPCHDRS) $(ROOTSCSITARGETSHDRS) \
$(ROOTSCSIVHCIHDRS) $(ROOTPCMCIAHDRS) $(ROOTHOTPLUGHDRS) \
$(ROOTHOTPLUGPCIHDRS) $(ROOTSATAGENHDRS)
# install rules
$(ROOTDIR)/%: %
$(INS.file)
$(ROOTDIR)/crypto/%: crypto/%
$(INS.file)
$(ROOTDIR)/fc4/%: fc4/%
$(INS.file)
$(ROOTDIR)/fibre-channel/%: fibre-channel/%
$(INS.file)
$(ROOTDIR)/fibre-channel/impl/%: fibre-channel/impl/%
$(INS.file)
$(ROOTDIR)/fibre-channel/ulp/: fibre-channel/ulp/%
$(INS.file)
$(ROOTDIR)/fm/%: fm/%
$(INS.file)
$(ROOTDIR)/fm/cpu/%: fm/cpu/%
$(INS.file)
$(ROOTDIR)/fm/io/%: fm/io/%
$(INS.file)
$(ROOTDIR)/fs/%: fs/%
$(INS.file)
$(ROOTDIR)/ib/%: ib/%
$(INS.file)
$(ROOTDIR)/ib/clients/ibd/%: ib/clients/ibd/%
$(INS.file)
$(ROOTDIR)/ib/ibtl/%: ib/ibtl/%
$(INS.file)
$(ROOTDIR)/ib/ibtl/impl/%: ib/ibtl/impl/%
$(INS.file)
$(ROOTDIR)/ib/ibnex/%: ib/ibnex/%
$(INS.file)
$(ROOTDIR)/ib/mgt/%: ib/mgt/%
$(INS.file)
$(ROOTDIR)/ib/mgt/ibmf/%: ib/mgt/ibmf/%
$(INS.file)
$(ROOTDIR)/ib/adapters/tavor/%: ib/adapters/tavor/%
$(INS.file)
$(ROOTDIR)/ib/adapters/hermon/%: ib/adapters/hermon/%
$(INS.file)
$(ROOTDIR)/lvm/%: lvm/%
$(INS.file)
$(ROOTDIR)/pcmcia/%: pcmcia/%
$(INS.file)
$(ROOTDIR)/scsi/%: scsi/%
$(INS.file)
$(ROOTDIR)/scsi/conf/%: scsi/conf/%
$(INS.file)
$(ROOTDIR)/scsi/generic/%: scsi/generic/%
$(INS.file)
$(ROOTDIR)/scsi/impl/%: scsi/impl/%
$(INS.file)
$(ROOTDIR)/scsi/targets/%: scsi/targets/%
$(INS.file)
$(ROOTDIR)/scsi/adapters/%: scsi/adapters/%
$(INS.file)
$(ROOTDIR)/sdcard/%: sdcard/%
$(INS.file)
$(ROOTDIR)/sysevent/%: sysevent/%
$(INS.file)
$(ROOTDIR)/contract/%: contract/%
$(INS.file)
$(ROOTDIR)/usb/%: usb/%
$(INS.file)
$(ROOTDIR)/usb/hubd/%: usb/hubd/%
$(INS.file)
$(ROOTDIR)/usb/clients/hid/%: usb/clients/hid/%
$(INS.file)
$(ROOTDIR)/usb/clients/mass_storage/%: usb/clients/mass_storage/%
$(INS.file)
$(ROOTDIR)/dktp/%: dktp/%
$(INS.file)
$(ROOTDIR)/1394/%: 1394/%
$(INS.file)
$(ROOTDIR)/rsm/%: rsm/%
$(INS.file)
$(ROOTDIR)/tsol/%: tsol/%
$(INS.file)
$(ROOTDIRS):
$(INS.dir)