]> git.saurik.com Git - apple/xnu.git/blame - osfmk/lockd/Makefile
xnu-2422.1.72.tar.gz
[apple/xnu.git] / osfmk / lockd / Makefile
CommitLineData
2d21ac55
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
6include $(MakeInc_cmd)
7include $(MakeInc_def)
8
2d21ac55
A
9MIG_DEFS = lockd_mach.defs
10
11DATAFILES = lockd_mach_types.h ${MIG_DEFS}
12
13INSTALL_MI_LIST =
14
15INSTALL_MI_LCL_LIST = ${DATAFILES}
16
17INSTALL_MI_GEN_LIST =
18
19INSTALL_MI_DIR = lockd
20
21EXPORT_MI_LIST = \
22 ${DATAFILES}
23
24EXPORT_MI_GEN_LIST = lockd_mach.h
25
26EXPORT_MI_DIR = lockd
27
28#
29# Build path
30#
31INCFLAGS_MAKEFILE= -I..
32
33MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024
34
35MIG_KUHDRS = lockd_mach.h
36
37MIG_KUSRC = lockd_mach.c lockd_mach.h
38
39COMP_FILES = ${MIG_KUSRC}
40
39236c6e 41do_build_all:: $(COMP_FILES)
2d21ac55
A
42
43${MIG_KUSRC} : lockd_mach.defs
44 @echo MIG $@
45 $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \
39236c6e
A
46 -user lockd_mach.c \
47 -header lockd_mach.h \
2d21ac55
A
48 -server /dev/null \
49 -sheader /dev/null \
50 $<
51
52include $(MakeInc_rule)
53include $(MakeInc_dir)