1export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd
2export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def
3export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
4export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
5
6IOKIT_INCVERS = A
7IOKIT_INCFRAME = $(FRAMEDIR)/IOKit.framework
8IOKIT_INCDIR = $(IOKIT_INCFRAME)/Versions/$(IOKIT_INCVERS)/Headers
9IOKIT_PINCDIR = $(IOKIT_INCFRAME)/Versions/$(IOKIT_INCVERS)/PrivateHeaders
10
11INCDIR = $(IOKIT_INCDIR)
12LCLDIR = $(IOKIT_PINCDIR)
13
14include $(MakeInc_cmd)
15include $(MakeInc_def)
16
17INSTINC_SUBDIRS = \
18	nvram \
19	platform \
20	power \
21	pwr_mgt \
22	rtc \
23	system_management
24
25EXPINC_SUBDIRS = ${INSTINC_SUBDIRS}
26
27NOT_EXPORT_HEADERS = IOReportMacros.h
28
29NOT_KF_MI_HEADERS  = $(NOT_EXPORT_HEADERS)			\
30		     IOKitKeysPrivate.h IOCPU.h			\
31		     IOHibernatePrivate.h IOPolledInterface.h	\
32		     IOCommandQueue.h IOLocksPrivate.h 		\
33		     IOSyncer.h AppleKeyStoreInterface.h	\
34		     IOStatistics.h IOStatisticsPrivate.h
35
36NOT_LOCAL_HEADERS = 
37
38ALL_HEADERS = $(shell (cd $(SOURCE); echo *.h))
39
40INSTALL_MI_LIST	= IOBSD.h IOKitKeys.h IOKitServer.h IOReturn.h\
41		  IOSharedLock.h IOTypes.h OSMessageNotification.h\
42		  IODataQueueShared.h IOMessage.h
43
44INSTALL_MI_LCL_LIST = IOKitKeysPrivate.h IOHibernatePrivate.h \
45					  IOLocksPrivate.h IOStatistics.h \
46					  AppleKeyStoreInterface.h IOReportTypes.h
47
48INSTALL_MI_DIR = .
49
50EXPORT_MI_LIST	= $(filter-out $(NOT_EXPORT_HEADERS), $(ALL_HEADERS))
51
52EXPORT_MI_DIR = IOKit
53
54INSTALL_KF_MI_LIST = $(filter-out $(NOT_KF_MI_HEADERS), $(ALL_HEADERS))
55
56include $(MakeInc_rule)
57include $(MakeInc_dir)
58