]>
Commit | Line | Data |
---|---|---|
1c79356b A |
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 | ||
1c79356b A |
6 | include $(MakeInc_cmd) |
7 | include $(MakeInc_def) | |
8 | ||
9 | MIG_DEFS = \ | |
10 | device.defs | |
11 | ||
12 | MIG_HDRS = \ | |
13 | ||
14 | DATAFILES = \ | |
15 | device_types.h device_port.h device_types.defs \ | |
16 | ${MIG_DEFS} | |
17 | ||
3e170ce0 A |
18 | PRIVATE_DATAFILES = \ |
19 | device_types.h | |
20 | ||
1c79356b A |
21 | MIGINCLUDES = \ |
22 | ||
23 | INSTALL_MI_LIST = ${DATAFILES} ${_MIG_HDRS_} ${MIGINCLUDES} | |
24 | ||
3e170ce0 A |
25 | INSTALL_MI_LCL_LIST = ${PRIVATE_DATAFILES} |
26 | ||
1c79356b A |
27 | INSTALL_MI_DIR = device |
28 | ||
29 | EXPORT_MI_LIST = ${DATAFILES} ${_MIG_HDRS_} ${MIGINCLUDES} | |
30 | ||
31 | EXPORT_MI_DIR = device | |
32 | ||
1c79356b A |
33 | # |
34 | # Build path | |
39037602 | 35 | # |
1c79356b A |
36 | INCFLAGS_MAKEFILE= -I.. |
37 | ||
38 | MIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1 | |
39 | MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 | |
40 | ||
41 | DEVICE_FILES = device_server.h device_server.c | |
42 | ||
43 | COMP_FILES = ${DEVICE_FILES} | |
44 | ||
39236c6e | 45 | do_build_all:: $(COMP_FILES) |
1c79356b A |
46 | |
47 | ${DEVICE_FILES}: device.defs | |
f427ee49 | 48 | @$(LOG_MIG) "$@" |
2d21ac55 | 49 | $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \ |
1c79356b A |
50 | -header /dev/null \ |
51 | -user /dev/null \ | |
52 | -sheader device_server.h \ | |
53 | -server device_server.c \ | |
54 | $< | |
55 | ||
1c79356b A |
56 | include $(MakeInc_rule) |
57 | include $(MakeInc_dir) |