]> git.saurik.com Git - apple/xnu.git/blob - libkern/os/Makefile
74fa7b85416a1c10cf5249753986f1207c45f8d6
[apple/xnu.git] / libkern / os / 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 # PRIVATE_DATAFILES go to /usr/local/include
7 LIBKERN_USE_USR_LOCAL_INCLUDE := 1
8
9 include $(MakeInc_cmd)
10 include $(MakeInc_def)
11
12 KERNELFILES = \
13 atomic.h \
14 base.h \
15 cpp_util.h \
16 log.h \
17 object.h \
18 overflow.h \
19 trace.h
20
21 PRIVATE_KERNELFILES = \
22 atomic_private.h \
23 atomic_private_arch.h \
24 atomic_private_impl.h \
25 base_private.h \
26 hash.h \
27 ptrtools.h \
28 reason_private.h \
29 refcnt.h \
30 refcnt_internal.h
31
32 DATAFILES = \
33 atomic.h \
34 base.h \
35 overflow.h
36
37 DRIVERKIT_DATAFILES = \
38 atomic.h \
39 base.h \
40 overflow.h
41
42 PRIVATE_DATAFILES = \
43 atomic_private.h \
44 atomic_private_arch.h \
45 atomic_private_impl.h \
46 base_private.h \
47 reason_private.h
48
49 INSTALL_MI_LIST = ${DATAFILES}
50
51 INSTALL_DRIVERKIT_MI_LIST = ${DRIVERKIT_DATAFILES}
52
53 INSTALL_MI_DIR = os
54
55 INSTALL_MI_LCL_LIST = ${PRIVATE_DATAFILES}
56
57 INSTALL_KF_MI_LIST = ${KERNELFILES}
58
59 INSTALL_KF_MI_LCL_LIST = ${KERNELFILES} ${PRIVATE_KERNELFILES}
60
61 EXPORT_MI_LIST = \
62 ${KERNELFILES} ${PRIVATE_KERNELFILES} log_private.h
63
64 EXPORT_MI_DIR = os
65
66 include $(MakeInc_rule)
67 include $(MakeInc_dir)