Lines Matching refs:mach
18 subdir := mach
22 headers = mach_init.h mach.h mach_error.h mach-shortcuts.h mach/mach_traps.h \
23 $(interface-headers) mach/mach.h mach/mig_support.h mach/error.h \
24 $(lock-headers) machine-sp.h bits/mach/param.h
27 routines = $(mach-syscalls) $(mach-shortcuts) \
39 mach-interface-list := $(patsubst mach,mach_interface,$(mach-interface-list))
40 mach/mach_interface.defs = mach/mach.defs
43 mach-interface-list := $(patsubst memory_object,memory_object_user,\
44 $(mach-interface-list))
45 mach/memory_object_user.defs = mach/memory_object.defs
47 user-interfaces := $(addprefix mach/,$(mach-interface-list) \
52 server-interfaces := mach/exc
67 mach-machine = $(patsubst powerpc,ppc,$(base-machine))
71 -include $(objpfx)mach-syscalls.mk
73 $(objpfx)mach-syscalls.mk: syscalls.awk Makefile libc-modules.h
80 -D_MACH_`echo $(mach-machine) | tr a-z A-Z`_SYSCALL_SW_H_=1 | \
90 generated += mach-syscalls.mk
92 ifndef mach-syscalls
97 $(mach-syscalls:%=$(objpfx)%.S): $(objpfx)%.S: $(objpfx)mach-syscalls.mk
103 generated += $(mach-syscalls:=.S)
107 mach-shortcuts := $(filter-out device_writev_request \
113 $(patsubst syscall_%,%,$(filter syscall_%,$(mach-syscalls))))
115 ifndef mach-shortcuts
119 user-interfaces := $(filter-out $(mach-interface-list:%=mach/%) \
120 mach/mach_port mach/mach_host mach/mach4 mach/gnumach \
126 MIGFLAGS-mach/mach4=-DMACH_PCSAMPLE
129 migdefines += $(foreach call,$(mach-shortcuts),-D$(call)=$(call)_rpc)
130 $(mach-interface-list:%=mach/%.uh) \
131 mach/mach_host.uh mach/mach_port.uh: $(objpfx)mach-syscalls.mk
133 ifdef mach-shortcuts
134 $(mach-shortcuts:%=$(objpfx)%.c): $(objpfx)%.c: shortcut.awk \
139 generated += $(mach-shortcuts:%=%.c)
144 $(objpfx)mach-shortcuts.h: $(mach-interface-list:%=$(objpfx)mach/%.h) \
145 $(objpfx)mach/mach_host.h \
146 $(objpfx)mach/mach_port.h
157 generated += mach-shortcuts.h
159 before-compile += $(objpfx)mach-shortcuts.h
179 .PHONY: mach-before-compile
180 mach-before-compile: $(mach-before-compile)