]> git.saurik.com Git - apple/libc.git/blob - mach/Makefile.inc
3a3942e8b879185eac12d3090a65666412e20027
[apple/libc.git] / mach / Makefile.inc
1 # machine-dependent mach sources
2 .if exists(${.CURDIR}/${MACHINE_ARCH}/mach/Makefile.inc)
3 .include "${.CURDIR}/${MACHINE_ARCH}/mach/Makefile.inc"
4 .endif
5
6 .PATH: ${.CURDIR}/mach
7
8 .include "${.CURDIR}/mach/headers/Makefile.inc"
9 .include "${.CURDIR}/mach/servers/Makefile.inc"
10
11 MD_MIGDEFS += task.defs \
12 thread_act.defs
13
14 MD_MIGHDRS += ${MD_MIGDEFS:.defs=.h}
15
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 \
25 mach_vm.defs \
26 processor.defs \
27 processor_set.defs \
28 vm_map.defs
29
30 MIGHDRS = ${MIGDEFS:.defs=.h}
31 MIGHDRS += clock_reply.h
32 MACH_INSTHDRS += ${MIGHDRS}
33
34 # These files are generated from the .defs files
35 MIGSRCS = ${MIGDEFS:.defs=User.c} ${MD_MIGDEFS:.defs=User.c}
36
37 MISRCS += ${MIGSRCS} \
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
65 CLEANFILES += ${MIGHDRS} ${MIGSRCS} ${MD_MIGDEFS:.defs=Server.c} \
66 ${MIGDEFS:.defs=Server.c} exc.h excUser.c excServer.c \
67 notify.h notifyUser.c notifyServer.c