]>
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 | |
91447636 | 8 | export LCLDIR = $(IOKIT_FRAMEDIR)/PrivateHeaders |
1c79356b A |
9 | |
10 | include $(MakeInc_cmd) | |
11 | include $(MakeInc_def) | |
12 | ||
13 | MI_DIR = pwr_mgt | |
14 | NOT_EXPORT_HEADERS = \ | |
1c79356b A |
15 | IOPMinformee.h \ |
16 | IOPMinformeeList.h \ | |
17 | IOPMlog.h \ | |
593a1d5f A |
18 | IOPMPagingPlexus.h |
19 | ||
1c79356b A |
20 | INSTINC_SUBDIRS = |
21 | INSTINC_SUBDIRS_PPC = | |
22 | INSTINC_SUBDIRS_I386 = | |
b0d623f7 | 23 | INSTINC_SUBDIRS_X86_64 = |
2d21ac55 | 24 | INSTINC_SUBDIRS_ARM = |
1c79356b A |
25 | |
26 | EXPINC_SUBDIRS = ${INSTINC_SUBDIRS} | |
27 | EXPINC_SUBDIRS_PPC = ${INSTINC_SUBDIRS_PPC} | |
28 | EXPINC_SUBDIRS_I386 = ${INSTINC_SUBDIRS_I386} | |
b0d623f7 | 29 | EXPINC_SUBDIRS_X86_64 = ${INSTINC_SUBDIRS_X86_64} |
2d21ac55 | 30 | EXPINC_SUBDIRS_ARM = ${INSTINC_SUBDIRS_ARM} |
1c79356b A |
31 | |
32 | ALL_HEADERS = $(shell (cd $(SOURCE); echo *.h)) | |
33 | ||
0c530ab8 | 34 | INSTALL_MI_LIST = IOPMLibDefs.h IOPM.h IOPMDeprecated.h |
593a1d5f | 35 | INSTALL_MI_LCL_LIST = IOPMPrivate.h |
1c79356b A |
36 | INSTALL_MI_DIR = $(MI_DIR) |
37 | ||
38 | EXPORT_MI_LIST = $(filter-out $(NOT_EXPORT_HEADERS), $(ALL_HEADERS)) | |
39 | EXPORT_MI_DIR = IOKit/$(MI_DIR) | |
40 | ||
b0d623f7 | 41 | INSTALL_KF_MI_LCL_LIST = $(EXPORT_MI_LIST) IOPMPrivate.h |
91447636 | 42 | |
1c79356b A |
43 | include $(MakeInc_rule) |
44 | include $(MakeInc_dir) |