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