75cba98a80b859aa7141d556259792b177e03bb1
[deliverable/binutils-gdb.git] / gdb / config / i386 / i386gnu.mh
1 # Host: Intel 386 running the GNU Hurd
2 XDEPFILES= i387-tdep.o
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
4 XM_FILE= xm-i386gnu.h
5 NAT_FILE= nm-gnu.h
6
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;'
10
11 # ick
12 MIG = mig
13 MIGCOM = $(MIG) -cc cat - /dev/null
14
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
21 # Normal servers
22 %_S.h %_S.c: %.defs
23 $(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ -x c $< \
24 | $(MIGCOM) -sheader $*_S.h -server $*_S.c -user /dev/null -header /dev/null
25 # User rpc stubs
26 %_U.h %_U.c: %.defs
27 $(CPP) $(CPPFLAGS) $($*-MIGUFLAGS) -x c $< \
28 | $(MIGCOM) -sheader /dev/null -server /dev/null -user $*_U.c -header $*_U.h
29
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
31
32 gnu-nat.o i386gnu-nat.o: gnu-nat.h
33
34 # Don't use the mmalloc library in Mach 3.
35 MMALLOC =
36 MMALLOC_CFLAGS = -DNO_MMALLOC
This page took 0.062393 seconds and 4 git commands to generate.