OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [config/] [i386/] [i386gnu.mh] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
# 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 corelow.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
MH_CFLAGS = -D_GNU_SOURCE
7
 
8
XM_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.
12
msg-MIGUFLAGS = -D'MSG_IMPORTS=waittime 1000;'
13
 
14
# ick
15
MIGCOM = $(MIG) -cc cat - /dev/null
16
 
17
# Reply servers need special massaging of the code mig generates, to make
18
# them work correctly for error returns in some cases.
19
%_reply_S.h %_reply_S.c: %_reply.defs
20
        $(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ -x c $< \
21
        | $(MIGCOM) -sheader $*_reply_S.h -server $*_reply_S.raw -user /dev/null -header /dev/null \
22
        && $(AWK) -f $(srcdir)/reply_mig_hack.awk < $*_reply_S.raw > $*_reply_S.c
23
# Normal servers
24
%_S.h %_S.c: %.defs
25
        $(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ -x c $< \
26
        | $(MIGCOM) -sheader $*_S.h -server $*_S.c -user /dev/null -header /dev/null
27
# User rpc stubs
28
%_U.h %_U.c: %.defs
29
        $(CPP) $(CPPFLAGS) $($*-MIGUFLAGS) -x c $< \
30
        | $(MIGCOM) -sheader /dev/null -server /dev/null -user $*_U.c -header $*_U.h

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.