]> git.saurik.com Git - apple/xnu.git/blob - osfmk/mach/i386/Makefile
xnu-123.5.tar.gz
[apple/xnu.git] / osfmk / mach / i386 / 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 VPATH+=$(SOURCE)/../../i386:
10
11 MIG_DEFS = mach_i386.defs
12
13 MIGINCLUDES = mach_i386_server.h
14
15 DATAFILES = \
16 boolean.h exception.h fp_reg.h flipc_dep.h \
17 processor_info.h kern_return.h mach_i386_types.h ndr_def.h syscall_sw.h \
18 thread_status.h thread_state.h vm_param.h \
19 vm_types.h rpc.h \
20 machine_types.defs ${MIG_DEFS}
21
22 INSTALL_MD_LIST = ${DATAFILES}
23
24 INSTALL_MD_GEN_LIST = \
25 asm.h \
26 ${MIGINCLUDES}
27
28 INSTALL_MD_DIR = mach/i386
29
30 EXPORT_MD_LIST = ${DATAFILES}
31
32 EXPORT_MD_GEN_LIST = \
33 asm.h \
34 ${MIGINCLUDES}
35
36 EXPORT_MD_DIR = mach/i386
37
38 .ORDER: ${MIG_HDRS} ${MIGINCLUDES}
39
40 COMP_FILES = mach_i386_server.h mach_i386_server.c
41
42 .ORDER: mach_i386_server.h mach_i386_server.c
43
44 MIGKSFLAGS = -DKERNEL_SERVER
45
46 mach_i386_server.h mach_i386_server.c: mach_i386.defs
47 ${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \
48 -header /dev/null \
49 -user /dev/null \
50 -sheader mach_i386_server.h \
51 -server mach_i386_server.c \
52 $<
53
54 include $(MakeInc_rule)
55 include $(MakeInc_dir)
56
57