]>
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 | |
39236c6e A |
7 | INCDIR = $(IOKIT_FRAMEDIR)/Headers |
8 | 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 \ | |
316670eb | 18 | IOPMPrivate.h |
1c79356b A |
19 | |
20 | ALL_HEADERS = $(shell (cd $(SOURCE); echo *.h)) | |
21 | ||
6d2010ae | 22 | INSTALL_MI_LIST = IOPMLibDefs.h IOPM.h |
593a1d5f | 23 | INSTALL_MI_LCL_LIST = IOPMPrivate.h |
1c79356b A |
24 | INSTALL_MI_DIR = $(MI_DIR) |
25 | ||
26 | EXPORT_MI_LIST = $(filter-out $(NOT_EXPORT_HEADERS), $(ALL_HEADERS)) | |
27 | EXPORT_MI_DIR = IOKit/$(MI_DIR) | |
28 | ||
b0d623f7 | 29 | INSTALL_KF_MI_LCL_LIST = $(EXPORT_MI_LIST) IOPMPrivate.h |
91447636 | 30 | |
1c79356b A |
31 | include $(MakeInc_rule) |
32 | include $(MakeInc_dir) |