]>
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 | ||
11 | export INCDIR = $(IOKIT_INCDIR) | |
12 | export 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 | ||
6d2010ae | 25 | INSTINC_SUBDIRS_I386 = |
1c79356b | 26 | |
6d2010ae | 27 | INSTINC_SUBDIRS_X86_64 = |
b0d623f7 | 28 | |
6d2010ae | 29 | INSTINC_SUBDIRS_ARM = |
2d21ac55 | 30 | |
1c79356b | 31 | EXPINC_SUBDIRS = ${INSTINC_SUBDIRS} |
1c79356b | 32 | EXPINC_SUBDIRS_I386 = ${INSTINC_SUBDIRS_I386} |
b0d623f7 | 33 | EXPINC_SUBDIRS_X86_64 = ${INSTINC_SUBDIRS_X86_64} |
2d21ac55 | 34 | EXPINC_SUBDIRS_ARM = ${INSTINC_SUBDIRS_ARM} |
1c79356b | 35 | |
91447636 A |
36 | NOT_EXPORT_HEADERS = |
37 | ||
2d21ac55 A |
38 | NOT_KF_MI_HEADERS = $(NOT_EXPORT_HEADERS) \ |
39 | IOKitKeysPrivate.h IOCPU.h \ | |
40 | IOHibernatePrivate.h IOPolledInterface.h \ | |
6d2010ae A |
41 | IOCommandQueue.h IOLocksPrivate.h \ |
42 | AppleKeyStoreInterface.h \ | |
43 | IOStatistics.h IOStatisticsPrivate.h | |
55e303ae | 44 | |
1c79356b A |
45 | NOT_LOCAL_HEADERS = |
46 | ||
47 | ALL_HEADERS = $(shell (cd $(SOURCE); echo *.h)) | |
48 | ||
49 | INSTALL_MI_LIST = IOBSD.h IOKitKeys.h IOKitServer.h IOReturn.h\ | |
50 | IOSharedLock.h IOTypes.h OSMessageNotification.h\ | |
51 | IODataQueueShared.h IOMessage.h | |
52 | ||
6d2010ae | 53 | INSTALL_MI_LCL_LIST = IOKitKeysPrivate.h IOHibernatePrivate.h IOLocksPrivate.h IOStatistics.h AppleKeyStoreInterface.h |
1c79356b A |
54 | |
55 | INSTALL_MI_DIR = . | |
56 | ||
57 | EXPORT_MI_LIST = $(filter-out $(NOT_EXPORT_HEADERS), $(ALL_HEADERS)) | |
58 | ||
59 | EXPORT_MI_DIR = IOKit | |
60 | ||
91447636 A |
61 | INSTALL_KF_MI_LIST = $(filter-out $(NOT_KF_MI_HEADERS), $(ALL_HEADERS)) |
62 | ||
1c79356b A |
63 | include $(MakeInc_rule) |
64 | include $(MakeInc_dir) |