]> git.saurik.com Git - apple/xnu.git/blob - iokit/IOKit/pwr_mgt/Makefile
xnu-2050.18.24.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 export INCDIR = $(IOKIT_FRAMEDIR)/Headers
8 export 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 INSTINC_SUBDIRS =
21 INSTINC_SUBDIRS_I386 =
22 INSTINC_SUBDIRS_X86_64 =
23 INSTINC_SUBDIRS_ARM =
24
25 EXPINC_SUBDIRS = ${INSTINC_SUBDIRS}
26 EXPINC_SUBDIRS_I386 = ${INSTINC_SUBDIRS_I386}
27 EXPINC_SUBDIRS_X86_64 = ${INSTINC_SUBDIRS_X86_64}
28 EXPINC_SUBDIRS_ARM = ${INSTINC_SUBDIRS_ARM}
29
30 ALL_HEADERS = $(shell (cd $(SOURCE); echo *.h))
31
32 INSTALL_MI_LIST = IOPMLibDefs.h IOPM.h
33 INSTALL_MI_LCL_LIST = IOPMPrivate.h
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
39 INSTALL_KF_MI_LCL_LIST = $(EXPORT_MI_LIST) IOPMPrivate.h
40
41 include $(MakeInc_rule)
42 include $(MakeInc_dir)