]>
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 \ | |
316670eb | 18 | IOPMPrivate.h |
593a1d5f | 19 | |
1c79356b | 20 | INSTINC_SUBDIRS = |
1c79356b | 21 | INSTINC_SUBDIRS_I386 = |
b0d623f7 | 22 | INSTINC_SUBDIRS_X86_64 = |
2d21ac55 | 23 | INSTINC_SUBDIRS_ARM = |
1c79356b A |
24 | |
25 | EXPINC_SUBDIRS = ${INSTINC_SUBDIRS} | |
1c79356b | 26 | EXPINC_SUBDIRS_I386 = ${INSTINC_SUBDIRS_I386} |
b0d623f7 | 27 | EXPINC_SUBDIRS_X86_64 = ${INSTINC_SUBDIRS_X86_64} |
2d21ac55 | 28 | EXPINC_SUBDIRS_ARM = ${INSTINC_SUBDIRS_ARM} |
1c79356b A |
29 | |
30 | ALL_HEADERS = $(shell (cd $(SOURCE); echo *.h)) | |
31 | ||
6d2010ae | 32 | INSTALL_MI_LIST = IOPMLibDefs.h IOPM.h |
593a1d5f | 33 | INSTALL_MI_LCL_LIST = IOPMPrivate.h |
1c79356b A |
34 | INSTALL_MI_DIR = $(MI_DIR) |
35 | ||
36 | EXPORT_MI_LIST = $(filter-out $(NOT_EXPORT_HEADERS), $(ALL_HEADERS)) | |
37 | EXPORT_MI_DIR = IOKit/$(MI_DIR) | |
38 | ||
b0d623f7 | 39 | INSTALL_KF_MI_LCL_LIST = $(EXPORT_MI_LIST) IOPMPrivate.h |
91447636 | 40 | |
1c79356b A |
41 | include $(MakeInc_rule) |
42 | include $(MakeInc_dir) |