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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [config/] [i386/] [i386gnu.mh] - Diff between revs 107 and 1765

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 107 Rev 1765
# Host: Intel 386 running the GNU Hurd
# Host: Intel 386 running the GNU Hurd
XDEPFILES= i387-tdep.o
XDEPFILES= i387-tdep.o
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
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
XM_FILE= xm-i386gnu.h
XM_FILE= xm-i386gnu.h
NAT_FILE= nm-gnu.h
NAT_FILE= nm-gnu.h
MH_CFLAGS = -D_GNU_SOURCE
MH_CFLAGS = -D_GNU_SOURCE
XM_CLIBS = -lshouldbeinlibc
XM_CLIBS = -lshouldbeinlibc
# Use our own user stubs for the msg rpcs, so we can make them time out, in
# Use our own user stubs for the msg rpcs, so we can make them time out, in
# case the program is fucked, or we guess the wrong signal thread.
# case the program is fucked, or we guess the wrong signal thread.
msg-MIGUFLAGS = -D'MSG_IMPORTS=waittime 1000;'
msg-MIGUFLAGS = -D'MSG_IMPORTS=waittime 1000;'
# ick
# ick
MIGCOM = $(MIG) -cc cat - /dev/null
MIGCOM = $(MIG) -cc cat - /dev/null
# Reply servers need special massaging of the code mig generates, to make
# Reply servers need special massaging of the code mig generates, to make
# them work correctly for error returns in some cases.
# them work correctly for error returns in some cases.
%_reply_S.h %_reply_S.c: %_reply.defs
%_reply_S.h %_reply_S.c: %_reply.defs
        $(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ -x c $< \
        $(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ -x c $< \
        | $(MIGCOM) -sheader $*_reply_S.h -server $*_reply_S.raw -user /dev/null -header /dev/null \
        | $(MIGCOM) -sheader $*_reply_S.h -server $*_reply_S.raw -user /dev/null -header /dev/null \
        && $(AWK) -f $(srcdir)/reply_mig_hack.awk < $*_reply_S.raw > $*_reply_S.c
        && $(AWK) -f $(srcdir)/reply_mig_hack.awk < $*_reply_S.raw > $*_reply_S.c
# Normal servers
# Normal servers
%_S.h %_S.c: %.defs
%_S.h %_S.c: %.defs
        $(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ -x c $< \
        $(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ -x c $< \
        | $(MIGCOM) -sheader $*_S.h -server $*_S.c -user /dev/null -header /dev/null
        | $(MIGCOM) -sheader $*_S.h -server $*_S.c -user /dev/null -header /dev/null
# User rpc stubs
# User rpc stubs
%_U.h %_U.c: %.defs
%_U.h %_U.c: %.defs
        $(CPP) $(CPPFLAGS) $($*-MIGUFLAGS) -x c $< \
        $(CPP) $(CPPFLAGS) $($*-MIGUFLAGS) -x c $< \
        | $(MIGCOM) -sheader /dev/null -server /dev/null -user $*_U.c -header $*_U.h
        | $(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.