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