URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
227 |
jeremybenn |
# Host: Intel 386 running the GNU Hurd
|
2 |
|
|
NATDEPFILES= i386gnu-nat.o gnu-nat.o corelow.o core-regset.o fork-child.o \
|
3 |
|
|
notify_S.o process_reply_S.o msg_reply_S.o \
|
4 |
|
|
msg_U.o exc_request_U.o exc_request_S.o
|
5 |
|
|
|
6 |
|
|
NAT_FILE= nm-i386gnu.h
|
7 |
|
|
MH_CFLAGS = -D_GNU_SOURCE
|
8 |
|
|
|
9 |
|
|
XM_CLIBS = -lshouldbeinlibc
|
10 |
|
|
|
11 |
|
|
# Use our own user stubs for the msg rpcs, so we can make them time out, in
|
12 |
|
|
# case the program is fucked, or we guess the wrong signal thread.
|
13 |
|
|
msg-MIGUFLAGS = -D'MSG_IMPORTS=waittime 1000;'
|
14 |
|
|
|
15 |
|
|
# ick
|
16 |
|
|
MIGCOM = $(MIG) -cc cat - /dev/null
|
17 |
|
|
|
18 |
|
|
# Reply servers need special massaging of the code mig generates, to make
|
19 |
|
|
# them work correctly for error returns in some cases.
|
20 |
|
|
%_reply_S.h %_reply_S.c: %_reply.defs
|
21 |
|
|
$(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ -x c $< \
|
22 |
|
|
| $(MIGCOM) -sheader $*_reply_S.h -server $*_reply_S.raw -user /dev/null -header /dev/null \
|
23 |
|
|
&& $(AWK) -f $(srcdir)/reply_mig_hack.awk < $*_reply_S.raw > $*_reply_S.c
|
24 |
|
|
# Normal servers
|
25 |
|
|
%_S.h %_S.c: %.defs
|
26 |
|
|
$(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ -x c $< \
|
27 |
|
|
| $(MIGCOM) -sheader $*_S.h -server $*_S.c -user /dev/null -header /dev/null
|
28 |
|
|
# User rpc stubs
|
29 |
|
|
%_U.h %_U.c: %.defs
|
30 |
|
|
$(CPP) $(CPPFLAGS) $($*-MIGUFLAGS) -x c $< \
|
31 |
|
|
| $(MIGCOM) -sheader /dev/null -server /dev/null -user $*_U.c -header $*_U.h
|
32 |
|
|
|
33 |
|
|
NAT_GENERATED_FILES = notify_S.h notify_S.c \
|
34 |
|
|
process_reply_S.h process_reply_S.c \
|
35 |
|
|
msg_reply_S.h msg_reply_S.c msg_U.h msg_U.c \
|
36 |
|
|
exc_request_U.h exc_request_U.c exc_request_S.h exc_request_S.c
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.