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