]> git.saurik.com Git - apple/libc.git/blob - mach/Makefile.inc
Libc-320.tar.gz
[apple/libc.git] / mach / Makefile.inc
1 .PATH: ${.CURDIR}/${MACHINE_ARCH}/mach ${.CURDIR}/mach
2
3 .include "${.CURDIR}/mach/headers/Makefile.inc"
4 .include "${.CURDIR}/mach/servers/Makefile.inc"
5
6 # machine-dependent mach sources
7 .if exists(${.CURDIR}/${MACHINE_ARCH}/mach/Makefile.inc)
8 .include "${.CURDIR}/${MACHINE_ARCH}/mach/Makefile.inc"
9 .endif
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 processor.defs \
26 processor_set.defs \
27 vm_map.defs
28
29 MIGHDRS = ${MIGDEFS:.defs=.h}
30 MIGHDRS += clock_reply.h
31 MACH_INSTHDRS += ${MIGHDRS}
32
33 # These files are generated from the .defs files
34 MIGSRCS = ${MIGDEFS:.defs=User.c} ${MD_MIGDEFS:.defs=User.c}
35
36 SRCS += ${MIGSRCS} \
37 bootstrap_ports.c \
38 clock_sleep.c \
39 error_codes.c \
40 excServer.c \
41 excUser.c \
42 exc_catcher.c \
43 exc_catcher_state.c \
44 exc_catcher_state_identity.c \
45 fprintf_stderr.c \
46 mig_allocate.c \
47 mig_deallocate.c \
48 mig_reply_setup.c \
49 mig_strncpy.c \
50 mach_error.c \
51 mach_error_string.c \
52 mach_init.c \
53 mach_init_ports.c \
54 mach_msg.c \
55 mach_traps.s \
56 ms_thread_switch.c \
57 notifyUser.c \
58 panic.c \
59 port_obj.c \
60 sbrk.c \
61 semaphore.c \
62 slot_name.c
63
64 CLEANFILES += ${MIGHDRS} ${MIGSRCS} ${MD_MIGDEFS:.defs=Server.c} \
65 ${MIGDEFS:.defs=Server.c} exc.h excUser.c excServer.c \
66 notify.h notifyUser.c notifyServer.c