]>
Commit | Line | Data |
---|---|---|
1c79356b A |
1 | export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd |
2 | export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def | |
3 | export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule | |
4 | export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir | |
5 | ||
6d2010ae A |
6 | IOKIT_INCVERS = A |
7 | IOKIT_INCFRAME = $(FRAMEDIR)/IOKit.framework | |
8 | IOKIT_INCDIR = $(IOKIT_INCFRAME)/Versions/$(IOKIT_INCVERS)/Headers | |
9 | IOKIT_PINCDIR = $(IOKIT_INCFRAME)/Versions/$(IOKIT_INCVERS)/PrivateHeaders | |
10 | ||
39236c6e A |
11 | INCDIR = $(IOKIT_INCDIR) |
12 | LCLDIR = $(IOKIT_PINCDIR) | |
1c79356b A |
13 | |
14 | include $(MakeInc_cmd) | |
15 | include $(MakeInc_def) | |
16 | ||
17 | INSTINC_SUBDIRS = \ | |
1c79356b | 18 | nvram \ |
1c79356b A |
19 | platform \ |
20 | power \ | |
21 | pwr_mgt \ | |
22 | rtc \ | |
1c79356b A |
23 | system_management |
24 | ||
39037602 | 25 | |
1c79356b | 26 | EXPINC_SUBDIRS = ${INSTINC_SUBDIRS} |
316670eb | 27 | |
39037602 | 28 | # By default, everything in xnu/iokit/IOKit gets installed into |
fe8ab488 A |
29 | # Kernel.framework/Headers/IOKit AND Kernel.framework/PrivateHeaders/IOKit. |
30 | # This is so the files with #ifdef ...PRIVATE portions can be processed. | |
31 | # xnu/README documents the INSTALL* and EXPORT_MI_DIR lists. | |
32 | ALL_HEADERS = $(shell (cd $(SOURCE); echo *.h)) | |
33 | ||
34 | # Do not install these headers (anywhere). | |
35 | NOT_EXPORT_HEADERS = IOInterruptAccountingPrivate.h | |
91447636 | 36 | |
fe8ab488 | 37 | # Install these only in Kernel.framework's PrivateHeaders (not Headers). |
2d21ac55 A |
38 | NOT_KF_MI_HEADERS = $(NOT_EXPORT_HEADERS) \ |
39 | IOKitKeysPrivate.h IOCPU.h \ | |
40 | IOHibernatePrivate.h IOPolledInterface.h \ | |
39037602 | 41 | IOCommandQueue.h IOLocksPrivate.h \ |
316670eb | 42 | IOSyncer.h AppleKeyStoreInterface.h \ |
fe8ab488 A |
43 | IOStatistics.h IOStatisticsPrivate.h \ |
44 | IOKernelReporters.h | |
1c79356b | 45 | |
fe8ab488 | 46 | # These should be additionally installed in IOKit.framework's public Headers |
1c79356b A |
47 | INSTALL_MI_LIST = IOBSD.h IOKitKeys.h IOKitServer.h IOReturn.h\ |
48 | IOSharedLock.h IOTypes.h OSMessageNotification.h\ | |
fe8ab488 | 49 | IODataQueueShared.h IOMessage.h IOInterruptAccounting.h\ |
39236c6e | 50 | |
fe8ab488 | 51 | # These should be additionally installed in IOKit.framework's PrivateHeaders |
39236c6e A |
52 | INSTALL_MI_LCL_LIST = IOKitKeysPrivate.h IOHibernatePrivate.h \ |
53 | IOLocksPrivate.h IOStatistics.h \ | |
fe8ab488 A |
54 | AppleKeyStoreInterface.h \ |
55 | IOReportTypes.h IOKernelReportStructs.h \ | |
56 | IOReportMacros.h | |
1c79356b A |
57 | |
58 | INSTALL_MI_DIR = . | |
59 | ||
60 | EXPORT_MI_LIST = $(filter-out $(NOT_EXPORT_HEADERS), $(ALL_HEADERS)) | |
61 | ||
62 | EXPORT_MI_DIR = IOKit | |
63 | ||
91447636 A |
64 | INSTALL_KF_MI_LIST = $(filter-out $(NOT_KF_MI_HEADERS), $(ALL_HEADERS)) |
65 | ||
1c79356b A |
66 | include $(MakeInc_rule) |
67 | include $(MakeInc_dir) |