e750d25e90
(i387-nat.o): Delete dependency list. (go32-nat.o): Change i387-nat.h to i387-tdep.h. (x86-64-linux-nat.o): Likewise. * i387-nat.c: Delete file, moving contents to... * i387-tdep.c: ...here. * i387-nat.h: Rename... * i387-tdep.h: ...to this. * go32-nat.c: Include i387-tdep.h instead of i387-nat.h. * i386-linux-nat.c: Likewise. * i386bsd-nat.c: Likewise. * i386gnu-nat.c: Likewise. * i386nbsd-nat.c: Likewise. * i386v4-nat.c: Likewise. * x86-64-linux-nat.c: Likewise. * config/i386/fbsd.mh (NATDEPFILES): Remove i387-nat.o. * config/i386/go32.mh (NATDEPFILES): Likewise. * config/i386/i386gnu.mh (NATDEPFILES): Likewise. * config/i386/i386sol2.mh (NATDEPFILES): Likewise. * config/i386/i386v42mp.mh (NATDEPFILES): Likewise. * config/i386/linux.mh (NATDEPFILES): Likewise. * config/i386/nbsd.mh (NATDEPFILES): Likewise. * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. * config/i386/obsd.mh (NATDEPFILES): Likewise. * config/i386/x86-64linux.mh (NATDEPFILES): Likewise.
33 lines
1.3 KiB
Text
33 lines
1.3 KiB
Text
# Host: Intel 386 running the GNU Hurd
|
|
NATDEPFILES= i386gnu-nat.o gnu-nat.o corelow.o core-regset.o \
|
|
fork-child.o solib.o solib-svr4.o solib-legacy.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
|
|
NAT_FILE= nm-gnu.h
|
|
MH_CFLAGS = -D_GNU_SOURCE
|
|
|
|
XM_CLIBS = -lshouldbeinlibc
|
|
|
|
# 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.
|
|
msg-MIGUFLAGS = -D'MSG_IMPORTS=waittime 1000;'
|
|
|
|
# ick
|
|
MIGCOM = $(MIG) -cc cat - /dev/null
|
|
|
|
# Reply servers need special massaging of the code mig generates, to make
|
|
# them work correctly for error returns in some cases.
|
|
%_reply_S.h %_reply_S.c: %_reply.defs
|
|
$(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ -x c $< \
|
|
| $(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
|
|
# Normal servers
|
|
%_S.h %_S.c: %.defs
|
|
$(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ -x c $< \
|
|
| $(MIGCOM) -sheader $*_S.h -server $*_S.c -user /dev/null -header /dev/null
|
|
# User rpc stubs
|
|
%_U.h %_U.c: %.defs
|
|
$(CPP) $(CPPFLAGS) $($*-MIGUFLAGS) -x c $< \
|
|
| $(MIGCOM) -sheader /dev/null -server /dev/null -user $*_U.c -header $*_U.h
|