]> git.saurik.com Git - apple/xnu.git/blob - iokit/IOKit/pwr_mgt/Makefile
xnu-2422.1.72.tar.gz
[apple/xnu.git] / iokit / IOKit / pwr_mgt / Makefile
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 INCDIR = $(IOKIT_FRAMEDIR)/Headers
8 LCLDIR = $(IOKIT_FRAMEDIR)/PrivateHeaders
9
10 include $(MakeInc_cmd)
11 include $(MakeInc_def)
12
13 MI_DIR = pwr_mgt
14 NOT_EXPORT_HEADERS = \
15 IOPMinformee.h \
16 IOPMinformeeList.h \
17 IOPMlog.h \
18 IOPMPrivate.h
19
20 ALL_HEADERS = $(shell (cd $(SOURCE); echo *.h))
21
22 INSTALL_MI_LIST = IOPMLibDefs.h IOPM.h
23 INSTALL_MI_LCL_LIST = IOPMPrivate.h
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
29 INSTALL_KF_MI_LCL_LIST = $(EXPORT_MI_LIST) IOPMPrivate.h
30
31 include $(MakeInc_rule)
32 include $(MakeInc_dir)