62eceb47dd
* config/m68k/xm-m68k.h: Delete file. * config/m68k/xm-linux.h: Do not include "m68k/xm-m68k.h". Update copyright. (HOST_LONG_DOUBLE_FORMAT): Delete macro. * config/pa/xm-linux.h: Delete empty file. * config/pa/linux.mh (XM_FILE): Delete. * config/i386/xm-i386.h: Delete empty file. * config/i386/xm-nbsd.h, config/i386/xm-go32.h: Do not include "i386/xm-i386.h". * config/i386/obsdaout.mh (XM_FILE): Delete. * config/i386/obsd64.mh (XM_FILE): Delete. * config/i386/fbsd64.mh (XM_FILE): Delete. * config/i386/nto.mh (XM_FILE): Delete. * config/i386/obsd.mh (XM_FILE): Delete. * config/i386/linux64.mh (XM_FILE): Delete. * config/i386/linux.mh (XM_FILE): Delete. * config/i386/i386sol2.mh (XM_FILE): Delete. * config/i386/i386gnu.mh (XM_FILE): Delete. * config/i386/fbsd.mh (XM_FILE): Delete. * config/i386/nbsd64.mh (XM_FILE): Delete.
32 lines
1.2 KiB
Text
32 lines
1.2 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
|
|
|
|
NAT_FILE= nm-i386gnu.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
|