import gdb-1999-10-18 snapshot
[deliverable/binutils-gdb.git] / gdb / config / i386 / i386gnu.mh
CommitLineData
c906108c
SS
1# Host: Intel 386 running the GNU Hurd
2XDEPFILES= i387-tdep.o
3NATDEPFILES= i386gnu-nat.o gnu-nat.o fork-child.o solib.o corelow.o notify_S.o process_reply_S.o msg_reply_S.o msg_U.o exc_request_U.o exc_request_S.o
4XM_FILE= xm-i386gnu.h
5NAT_FILE= nm-gnu.h
6MH_CFLAGS = -D_GNU_SOURCE
7
8XM_CLIBS = -lshouldbeinlibc
9
10# Use our own user stubs for the msg rpcs, so we can make them time out, in
11# case the program is fucked, or we guess the wrong signal thread.
12msg-MIGUFLAGS = -D'MSG_IMPORTS=waittime 1000;'
13
14# ick
15MIG = mig
16MIGCOM = $(MIG) -cc cat - /dev/null
17
18# Reply servers need special massaging of the code mig generates, to make
19# them work correctly for error returns in some cases.
20%_reply_S.h %_reply_S.c: %_reply.defs
21 $(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ -x c $< \
22 | $(MIGCOM) -sheader $*_reply_S.h -server $*_reply_S.raw -user /dev/null -header /dev/null \
23 && $(AWK) -f $(srcdir)/reply_mig_hack.awk < $*_reply_S.raw > $*_reply_S.c
24# Normal servers
25%_S.h %_S.c: %.defs
26 $(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ -x c $< \
27 | $(MIGCOM) -sheader $*_S.h -server $*_S.c -user /dev/null -header /dev/null
28# User rpc stubs
29%_U.h %_U.c: %.defs
30 $(CPP) $(CPPFLAGS) $($*-MIGUFLAGS) -x c $< \
31 | $(MIGCOM) -sheader /dev/null -server /dev/null -user $*_U.c -header $*_U.h
This page took 0.038964 seconds and 4 git commands to generate.