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