1 # Host: Intel 386 running the GNU Hurd
3 NATDEPFILES= i386gnu-nat.o gnu-nat.o fork-child.o solib.o notify_S.o process_reply_S.o msg_reply_S.o msg_U.o exc_request_U.o exc_request_S.o
7 # Use our own user stubs for the msg rpcs, so we can make them time out, in
8 # case the program is fucked, or we guess the wrong signal thread.
9 msg-MIGUFLAGS = -D'MSG_IMPORTS=waittime 1000;'
13 MIGCOM = $(MIG) -cc cat - /dev/null
15 # Reply servers need special massaging of the code mig generates, to make
16 # them work correctly for error returns in some cases.
17 %_reply_S.h %_reply_S.c: %_reply.defs
18 $(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ -x c $< \
19 | $(MIGCOM) -sheader $*_reply_S.h -server $*_reply_S.raw -user /dev/null -header /dev/null \
20 && $(AWK) -f $(srcdir)/reply_mig_hack.awk < $*_reply_S.raw > $*_reply_S.c
23 $(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ -x c $< \
24 | $(MIGCOM) -sheader $*_S.h -server $*_S.c -user /dev/null -header /dev/null
27 $(CPP) $(CPPFLAGS) $($*-MIGUFLAGS) -x c $< \
28 | $(MIGCOM) -sheader /dev/null -server /dev/null -user $*_U.c -header $*_U.h
30 gnu-nat.o: process_reply_S.h exc_request_S.h notify_S.h msg_reply_S.h exc_request_U.h msg_U.h
32 gnu-nat.o i386gnu-nat.o: gnu-nat.h
34 # Don't use the mmalloc library in Mach 3.
36 MMALLOC_CFLAGS = -DNO_MMALLOC