xref: /xnu-11215/bsd/pthread/Makefile (revision e6231be0)
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
6include $(MakeInc_cmd)
7include $(MakeInc_def)
8
9# These are covered by CoreOSModuleMaps because they're
10# mixed in with headers from other projects in pthread/.
11DATAFILES = \
12	bsdthread_private.h \
13	priority_private.h \
14	workqueue_syscalls.h
15
16PRIVATE_DATAFILES = \
17	bsdthread_private.h \
18	priority_private.h \
19	workqueue_syscalls.h
20
21KERNELFILES = \
22
23PRIVATE_KERNELFILES = \
24	bsdthread_private.h \
25	priority_private.h \
26	workqueue_syscalls.h
27
28INTERNAL_KERNELFILES = \
29	workqueue_internal.h \
30	workqueue_trace.h
31
32INSTALL_MI_DIR = pthread
33
34# /usr/local/include without PRIVATE stuff
35# /System/Library/Frameworks/System.framework/PrivateHeaders
36INCDIR = $(SDKHEADERSROOT)/usr/local/include
37INSTALL_MI_LIST = ${DATAFILES}
38INSTALL_SF_MI_LCL_LIST = $(sort ${DATAFILES} ${PRIVATE_DATAFILES})
39
40# /System/Library/Frameworks/Kernel.framework/Headers
41# /System/Library/Frameworks/Kernel.framework/PrivateHeaders
42INSTALL_KF_MI_LIST = $(sort ${KERNELFILES})
43INSTALL_KF_MI_LCL_LIST = $(sort ${KERNELFILES} ${PRIVATE_KERNELFILES})
44
45EXPORT_MI_LIST = $(sort ${KERNELFILES} ${PRIVATE_KERNELFILES} ${INTERNAL_KERNELFILES})
46
47EXPORT_MI_DIR = ${INSTALL_MI_DIR}
48
49include $(MakeInc_rule)
50include $(MakeInc_dir)
51