]>
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 | ||
6 | IOKIT_FRAMEDIR = $(FRAMEDIR)/IOKit.framework/Versions/A | |
7 | export INCDIR = $(IOKIT_FRAMEDIR)/Headers | |
8 | export LCLDIR = $(IOKIT_FRAMEDIR)/PrivateHeaders | |
9 | ||
10 | include $(MakeInc_cmd) | |
11 | include $(MakeInc_def) | |
12 | ||
13 | INSTINC_SUBDIRS = \ | |
1c79356b | 14 | nvram \ |
1c79356b A |
15 | platform \ |
16 | power \ | |
17 | pwr_mgt \ | |
18 | rtc \ | |
1c79356b A |
19 | system_management |
20 | ||
21 | INSTINC_SUBDIRS_PPC = \ | |
0b4e3aa0 | 22 | ppc |
1c79356b A |
23 | |
24 | INSTINC_SUBDIRS_I386 = \ | |
0b4e3aa0 | 25 | i386 |
1c79356b | 26 | |
b0d623f7 A |
27 | INSTINC_SUBDIRS_X86_64 = \ |
28 | i386 | |
29 | ||
2d21ac55 A |
30 | INSTINC_SUBDIRS_ARM = \ |
31 | arm | |
32 | ||
1c79356b A |
33 | EXPINC_SUBDIRS = ${INSTINC_SUBDIRS} |
34 | EXPINC_SUBDIRS_PPC = ${INSTINC_SUBDIRS_PPC} | |
35 | EXPINC_SUBDIRS_I386 = ${INSTINC_SUBDIRS_I386} | |
b0d623f7 | 36 | EXPINC_SUBDIRS_X86_64 = ${INSTINC_SUBDIRS_X86_64} |
2d21ac55 | 37 | EXPINC_SUBDIRS_ARM = ${INSTINC_SUBDIRS_ARM} |
1c79356b | 38 | |
91447636 A |
39 | NOT_EXPORT_HEADERS = |
40 | ||
2d21ac55 A |
41 | NOT_KF_MI_HEADERS = $(NOT_EXPORT_HEADERS) \ |
42 | IOKitKeysPrivate.h IOCPU.h \ | |
43 | IOHibernatePrivate.h IOPolledInterface.h \ | |
44 | IOCommandQueue.h IOLocksPrivate.h | |
55e303ae | 45 | |
1c79356b A |
46 | NOT_LOCAL_HEADERS = |
47 | ||
48 | ALL_HEADERS = $(shell (cd $(SOURCE); echo *.h)) | |
49 | ||
50 | INSTALL_MI_LIST = IOBSD.h IOKitKeys.h IOKitServer.h IOReturn.h\ | |
51 | IOSharedLock.h IOTypes.h OSMessageNotification.h\ | |
52 | IODataQueueShared.h IOMessage.h | |
53 | ||
2d21ac55 | 54 | INSTALL_MI_LCL_LIST = IOKitKeysPrivate.h IOHibernatePrivate.h IOLocksPrivate.h |
1c79356b A |
55 | |
56 | INSTALL_MI_DIR = . | |
57 | ||
58 | EXPORT_MI_LIST = $(filter-out $(NOT_EXPORT_HEADERS), $(ALL_HEADERS)) | |
59 | ||
60 | EXPORT_MI_DIR = IOKit | |
61 | ||
91447636 A |
62 | INSTALL_KF_MI_LIST = $(filter-out $(NOT_KF_MI_HEADERS), $(ALL_HEADERS)) |
63 | ||
1c79356b A |
64 | include $(MakeInc_rule) |
65 | include $(MakeInc_dir) |