]> git.saurik.com Git - apple/xnu.git/blame - osfmk/mach/i386/Makefile
xnu-344.tar.gz
[apple/xnu.git] / osfmk / mach / i386 / Makefile
CommitLineData
1c79356b
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
9VPATH+=$(SOURCE)/../../i386:
10
11MIG_DEFS = mach_i386.defs
12
13MIGINCLUDES = mach_i386_server.h
14
15DATAFILES = \
9bccf70c 16 boolean.h exception.h fp_reg.h \
1c79356b
A
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
22INSTALL_MD_LIST = ${DATAFILES}
23
24INSTALL_MD_GEN_LIST = \
25 asm.h \
26 ${MIGINCLUDES}
27
28INSTALL_MD_DIR = mach/i386
29
30EXPORT_MD_LIST = ${DATAFILES}
31
32EXPORT_MD_GEN_LIST = \
33 asm.h \
34 ${MIGINCLUDES}
35
36EXPORT_MD_DIR = mach/i386
37
38.ORDER: ${MIG_HDRS} ${MIGINCLUDES}
39
40COMP_FILES = mach_i386_server.h mach_i386_server.c
41
42.ORDER: mach_i386_server.h mach_i386_server.c
43
44MIGKSFLAGS = -DKERNEL_SERVER
45
46mach_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
54include $(MakeInc_rule)
55include $(MakeInc_dir)
56
57