]> git.saurik.com Git - apple/xnu.git/blob - iokit/IOKit/Makefile
69e6c7aadc785c65bb85f8d3f966c3e302b77d9a
[apple/xnu.git] / iokit / IOKit / 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_INCVERS = A
7 IOKIT_INCFRAME = $(FRAMEDIR)/IOKit.framework
8 IOKIT_INCDIR = $(IOKIT_INCFRAME)/Versions/$(IOKIT_INCVERS)/Headers
9 IOKIT_PINCDIR = $(IOKIT_INCFRAME)/Versions/$(IOKIT_INCVERS)/PrivateHeaders
10
11 export INCDIR = $(IOKIT_INCDIR)
12 export LCLDIR = $(IOKIT_PINCDIR)
13
14 include $(MakeInc_cmd)
15 include $(MakeInc_def)
16
17 INSTINC_SUBDIRS = \
18 nvram \
19 platform \
20 power \
21 pwr_mgt \
22 rtc \
23 system_management
24
25 INSTINC_SUBDIRS_I386 =
26
27 INSTINC_SUBDIRS_X86_64 =
28
29
30 EXPINC_SUBDIRS = ${INSTINC_SUBDIRS}
31 EXPINC_SUBDIRS_I386 = ${INSTINC_SUBDIRS_I386}
32 EXPINC_SUBDIRS_X86_64 = ${INSTINC_SUBDIRS_X86_64}
33
34
35 NOT_EXPORT_HEADERS =
36
37 NOT_KF_MI_HEADERS = $(NOT_EXPORT_HEADERS) \
38 IOKitKeysPrivate.h IOCPU.h \
39 IOHibernatePrivate.h IOPolledInterface.h \
40 IOCommandQueue.h IOLocksPrivate.h \
41 IOSyncer.h AppleKeyStoreInterface.h \
42 IOStatistics.h IOStatisticsPrivate.h
43
44 NOT_LOCAL_HEADERS =
45
46 ALL_HEADERS = $(shell (cd $(SOURCE); echo *.h))
47
48 INSTALL_MI_LIST = IOBSD.h IOKitKeys.h IOKitServer.h IOReturn.h\
49 IOSharedLock.h IOTypes.h OSMessageNotification.h\
50 IODataQueueShared.h IOMessage.h
51
52 INSTALL_MI_LCL_LIST = IOKitKeysPrivate.h IOHibernatePrivate.h IOLocksPrivate.h IOStatistics.h AppleKeyStoreInterface.h
53
54 INSTALL_MI_DIR = .
55
56 EXPORT_MI_LIST = $(filter-out $(NOT_EXPORT_HEADERS), $(ALL_HEADERS))
57
58 EXPORT_MI_DIR = IOKit
59
60 INSTALL_KF_MI_LIST = $(filter-out $(NOT_KF_MI_HEADERS), $(ALL_HEADERS))
61
62 include $(MakeInc_rule)
63 include $(MakeInc_dir)