]> git.saurik.com Git - apple/xnu.git/blame - iokit/IOKit/Makefile
xnu-1228.9.59.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
6IOKIT_FRAMEDIR = $(FRAMEDIR)/IOKit.framework/Versions/A
7export INCDIR = $(IOKIT_FRAMEDIR)/Headers
8export LCLDIR = $(IOKIT_FRAMEDIR)/PrivateHeaders
9
10include $(MakeInc_cmd)
11include $(MakeInc_def)
12
13INSTINC_SUBDIRS = \
1c79356b 14 nvram \
1c79356b
A
15 platform \
16 power \
17 pwr_mgt \
18 rtc \
1c79356b
A
19 system_management
20
21INSTINC_SUBDIRS_PPC = \
0b4e3aa0 22 ppc
1c79356b
A
23
24INSTINC_SUBDIRS_I386 = \
0b4e3aa0 25 i386
1c79356b 26
2d21ac55
A
27INSTINC_SUBDIRS_ARM = \
28 arm
29
1c79356b
A
30EXPINC_SUBDIRS = ${INSTINC_SUBDIRS}
31EXPINC_SUBDIRS_PPC = ${INSTINC_SUBDIRS_PPC}
32EXPINC_SUBDIRS_I386 = ${INSTINC_SUBDIRS_I386}
2d21ac55 33EXPINC_SUBDIRS_ARM = ${INSTINC_SUBDIRS_ARM}
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 \
40 IOCommandQueue.h IOLocksPrivate.h
55e303ae 41
1c79356b
A
42NOT_LOCAL_HEADERS =
43
44ALL_HEADERS = $(shell (cd $(SOURCE); echo *.h))
45
46INSTALL_MI_LIST = IOBSD.h IOKitKeys.h IOKitServer.h IOReturn.h\
47 IOSharedLock.h IOTypes.h OSMessageNotification.h\
48 IODataQueueShared.h IOMessage.h
49
2d21ac55 50INSTALL_MI_LCL_LIST = IOKitKeysPrivate.h IOHibernatePrivate.h IOLocksPrivate.h
1c79356b
A
51
52INSTALL_MI_DIR = .
53
54EXPORT_MI_LIST = $(filter-out $(NOT_EXPORT_HEADERS), $(ALL_HEADERS))
55
56EXPORT_MI_DIR = IOKit
57
91447636
A
58INSTALL_KF_MI_LIST = $(filter-out $(NOT_KF_MI_HEADERS), $(ALL_HEADERS))
59
1c79356b
A
60include $(MakeInc_rule)
61include $(MakeInc_dir)