119370Spst# Host: Intel 386 running the GNU Hurd 2130803SmarcelNATDEPFILES= i386gnu-nat.o gnu-nat.o corelow.o core-regset.o \ 3130803Smarcel fork-child.o solib.o solib-svr4.o solib-legacy.o \ 4130803Smarcel notify_S.o process_reply_S.o msg_reply_S.o \ 5130803Smarcel msg_U.o exc_request_U.o exc_request_S.o 6130803Smarcel 7130803SmarcelXM_FILE= xm-i386.h 8130803SmarcelNAT_FILE= nm-i386gnu.h 946283SdfrMH_CFLAGS = -D_GNU_SOURCE 1019370Spst 1146283SdfrXM_CLIBS = -lshouldbeinlibc 1246283Sdfr 1319370Spst# Use our own user stubs for the msg rpcs, so we can make them time out, in 1419370Spst# case the program is fucked, or we guess the wrong signal thread. 1519370Spstmsg-MIGUFLAGS = -D'MSG_IMPORTS=waittime 1000;' 1619370Spst 1719370Spst# ick 1819370SpstMIGCOM = $(MIG) -cc cat - /dev/null 1919370Spst 2019370Spst# Reply servers need special massaging of the code mig generates, to make 2119370Spst# them work correctly for error returns in some cases. 2219370Spst%_reply_S.h %_reply_S.c: %_reply.defs 2319370Spst $(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ -x c $< \ 2419370Spst | $(MIGCOM) -sheader $*_reply_S.h -server $*_reply_S.raw -user /dev/null -header /dev/null \ 2519370Spst && $(AWK) -f $(srcdir)/reply_mig_hack.awk < $*_reply_S.raw > $*_reply_S.c 2619370Spst# Normal servers 2719370Spst%_S.h %_S.c: %.defs 2819370Spst $(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ -x c $< \ 2919370Spst | $(MIGCOM) -sheader $*_S.h -server $*_S.c -user /dev/null -header /dev/null 3019370Spst# User rpc stubs 3119370Spst%_U.h %_U.c: %.defs 3219370Spst $(CPP) $(CPPFLAGS) $($*-MIGUFLAGS) -x c $< \ 3319370Spst | $(MIGCOM) -sheader /dev/null -server /dev/null -user $*_U.c -header $*_U.h 34