]> git.saurik.com Git - apple/xnu.git/blame - libsyscall/mach/Makefile.inc
xnu-1504.15.3.tar.gz
[apple/xnu.git] / libsyscall / mach / Makefile.inc
CommitLineData
2d21ac55 1# machine-dependent mach sources
c910b4d9 2ARCHDIR = ${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
12MD_MIGDEFS += task.defs \
13 thread_act.defs
14
15MD_MIGHDRS += ${MD_MIGDEFS:.defs=.h}
16
17MIGDEFS += \
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
32MIGHDRS = ${MIGDEFS:.defs=.h}
33MIGHDRS += clock_reply.h
34MACH_INSTHDRS += ${MIGHDRS}
35
36# These files are generated from the .defs files
37MIGSRCS = ${MIGDEFS:.defs=User.c} ${MD_MIGDEFS:.defs=User.c}
38
39MISRCS += ${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
68CLEANFILES += ${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
72MAN2 += brk.2
73
74MLINKS += brk.2 sbrk.2