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