forked from apple/darwin-xnu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
54 lines (36 loc) · 1.1 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd
export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def
export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
include $(MakeInc_cmd)
include $(MakeInc_def)
MIG_DEFS = lockd_mach.defs
DATAFILES = lockd_mach_types.h ${MIG_DEFS}
PRIVATE_DATAFILES = lockd_mach_types.h ${MIG_DEFS}
KERNELFILES = ${PRIVATE_DATAFILES}
INSTALL_MI_LIST =
INSTALL_MI_LCL_LIST = ${PRIVATE_DATAFILES}
INSTALL_MI_GEN_LIST =
INSTALL_MI_DIR = lockd
EXPORT_MI_LIST = ${KERNELFILES}
EXPORT_MI_GEN_LIST = lockd_mach.h
EXPORT_MI_DIR = lockd
#
# Build path
#
INCFLAGS_MAKEFILE= -I..
MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024
MIG_KUHDRS = lockd_mach.h
MIG_KUSRC = lockd_mach.c lockd_mach.h
COMP_FILES = ${MIG_KUSRC}
do_build_all:: $(COMP_FILES)
${MIG_KUSRC} : lockd_mach.defs
@echo "$(ColorM)MIG$(Color0) $(ColorF)$@$(Color0)"
$(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \
-user lockd_mach.c \
-header lockd_mach.h \
-server /dev/null \
-sheader /dev/null \
$<
include $(MakeInc_rule)
include $(MakeInc_dir)