summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/sys/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/intel/sys/Makefile')
-rw-r--r--usr/src/uts/intel/sys/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/usr/src/uts/intel/sys/Makefile b/usr/src/uts/intel/sys/Makefile
index 127a8c24b4..31cb0ddb03 100644
--- a/usr/src/uts/intel/sys/Makefile
+++ b/usr/src/uts/intel/sys/Makefile
@@ -73,7 +73,6 @@ HDRS = \
pte.h \
reg.h \
regset.h \
- sbpro.h \
segment.h \
segments.h \
spl.h \
@@ -90,6 +89,9 @@ HDRS = \
vmparam.h \
x86_archext.h
+CLOSEDHDRS = \
+ sbpro.h
+
SUBHDRS = \
dktp/cdtypes.h \
dktp/mscsi.h \
@@ -113,17 +115,25 @@ ROOTFSDIR= $(ROOTDIR)/fs
ROOTDIRS= $(ROOTDIR) $(ROOTFSDIR)
ROOTHDRS= $(HDRS:%=$(ROOTDIR)/%) $(SUBHDRS:%=$(ROOTDIR)/%)
+$(CLOSED_BUILD)ROOTHDRS += $(CLOSEDHDRS:%=$(ROOTDIR)/%)
+
ROOTFSHDRS= $(FSHDRS:%=$(ROOTDIR)/fs/%)
CHECKHDRS= \
$(HDRS:%.h=%.check) \
$(SUBHDRS:%.h=%.check) \
+ $(CLOSEDHDRS:%.h=$(CLOSED)/uts/intel/sys/%.check) \
$(FSHDRS:%.h=fs/%.check)
+$(CLOSED_BUILD)CHECKHDRS += $(CLOSEDHDRS:%.h=$(CLOSED)/uts/intel/sys/%.check)
+
# install rules
$(ROOTDIR)/%: %
$(INS.file)
+$(ROOTDIR)/%: $(CLOSED)/uts/intel/sys/%
+ $(INS.file)
+
.KEEP_STATE:
.PARALLEL: $(CHECKHDRS) $(ROOTHDRS) $(ROOTFSHDRS)