]>
Commit | Line | Data |
---|---|---|
59e0d9fe | 1 | # machine-dependent mach sources |
5b2abdfb A |
2 | .if exists(${.CURDIR}/${MACHINE_ARCH}/mach/Makefile.inc) |
3 | .include "${.CURDIR}/${MACHINE_ARCH}/mach/Makefile.inc" | |
4 | .endif | |
5 | ||
59e0d9fe A |
6 | .PATH: ${.CURDIR}/mach |
7 | ||
8 | .include "${.CURDIR}/mach/headers/Makefile.inc" | |
9 | .include "${.CURDIR}/mach/servers/Makefile.inc" | |
10 | ||
9385eb3d A |
11 | MD_MIGDEFS += task.defs \ |
12 | thread_act.defs | |
13 | ||
14 | MD_MIGHDRS += ${MD_MIGDEFS:.defs=.h} | |
15 | ||
5b2abdfb A |
16 | MIGDEFS += \ |
17 | clock.defs \ | |
18 | clock_priv.defs \ | |
19 | host_priv.defs \ | |
20 | host_security.defs \ | |
21 | ledger.defs \ | |
22 | lock_set.defs \ | |
23 | mach_port.defs \ | |
24 | mach_host.defs \ | |
59e0d9fe | 25 | mach_vm.defs \ |
5b2abdfb A |
26 | processor.defs \ |
27 | processor_set.defs \ | |
5b2abdfb A |
28 | vm_map.defs |
29 | ||
9385eb3d | 30 | MIGHDRS = ${MIGDEFS:.defs=.h} |
5b2abdfb A |
31 | MIGHDRS += clock_reply.h |
32 | MACH_INSTHDRS += ${MIGHDRS} | |
33 | ||
34 | # These files are generated from the .defs files | |
9385eb3d | 35 | MIGSRCS = ${MIGDEFS:.defs=User.c} ${MD_MIGDEFS:.defs=User.c} |
5b2abdfb | 36 | |
59e0d9fe | 37 | MISRCS += ${MIGSRCS} \ |
5b2abdfb A |
38 | bootstrap_ports.c \ |
39 | clock_sleep.c \ | |
40 | error_codes.c \ | |
41 | excServer.c \ | |
42 | excUser.c \ | |
43 | exc_catcher.c \ | |
44 | exc_catcher_state.c \ | |
45 | exc_catcher_state_identity.c \ | |
46 | fprintf_stderr.c \ | |
47 | mig_allocate.c \ | |
48 | mig_deallocate.c \ | |
49 | mig_reply_setup.c \ | |
50 | mig_strncpy.c \ | |
51 | mach_error.c \ | |
52 | mach_error_string.c \ | |
53 | mach_init.c \ | |
54 | mach_init_ports.c \ | |
55 | mach_msg.c \ | |
56 | mach_traps.s \ | |
57 | ms_thread_switch.c \ | |
58 | notifyUser.c \ | |
59 | panic.c \ | |
60 | port_obj.c \ | |
61 | sbrk.c \ | |
62 | semaphore.c \ | |
63 | slot_name.c | |
64 | ||
9385eb3d A |
65 | CLEANFILES += ${MIGHDRS} ${MIGSRCS} ${MD_MIGDEFS:.defs=Server.c} \ |
66 | ${MIGDEFS:.defs=Server.c} exc.h excUser.c excServer.c \ | |
5b2abdfb | 67 | notify.h notifyUser.c notifyServer.c |
3d9156a7 A |
68 | |
69 | .if ${LIB} == "c" | |
70 | ||
71 | MAN2 += brk.2 | |
72 | ||
73 | MLINKS += brk.2 sbrk.2 | |
74 | ||
75 | .endif |