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