]> git.saurik.com Git - apple/xnu.git/blame - iokit/IOKit/Makefile
xnu-792.6.56.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
A
26
27EXPINC_SUBDIRS = ${INSTINC_SUBDIRS}
28EXPINC_SUBDIRS_PPC = ${INSTINC_SUBDIRS_PPC}
29EXPINC_SUBDIRS_I386 = ${INSTINC_SUBDIRS_I386}
30
91447636
A
31NOT_EXPORT_HEADERS =
32
3a60a9f5 33NOT_KF_MI_HEADERS = $(NOT_EXPORT_HEADERS) IOKitKeysPrivate.h IOCPU.h IOHibernatePrivate.h IOPolledInterface.h
55e303ae 34
1c79356b
A
35NOT_LOCAL_HEADERS =
36
37ALL_HEADERS = $(shell (cd $(SOURCE); echo *.h))
38
39INSTALL_MI_LIST = IOBSD.h IOKitKeys.h IOKitServer.h IOReturn.h\
40 IOSharedLock.h IOTypes.h OSMessageNotification.h\
41 IODataQueueShared.h IOMessage.h
42
3a60a9f5 43INSTALL_MI_LCL_LIST = IOKitKeysPrivate.h IOHibernatePrivate.h
1c79356b
A
44
45INSTALL_MI_DIR = .
46
47EXPORT_MI_LIST = $(filter-out $(NOT_EXPORT_HEADERS), $(ALL_HEADERS))
48
49EXPORT_MI_DIR = IOKit
50
91447636
A
51INSTALL_KF_MI_LIST = $(filter-out $(NOT_KF_MI_HEADERS), $(ALL_HEADERS))
52
1c79356b
A
53include $(MakeInc_rule)
54include $(MakeInc_dir)