1 # Makefile template for Configure for the MIPS simulator.
2 # Written by Cygnus Support.
4 ## COMMON_PRE_CONFIG_FRAG
7 # FIXME: Hack to find syscall.h? Better support for syscall.h
9 SIM_EXTRA_CFLAGS
= -I
$(srcdir)/..
/..
/newlib
/libc
/sys
/idt
10 SIM_EXTRA_CLEAN
= clean-extra
12 ## COMMON_POST_CONFIG_FRAG
14 interp.o
: interp.c engine.c support.h config.h
17 .
/gencode @SIMCONF@
> $@
19 gencode
: gencode.o getopt.o getopt1.o
20 $(CC_FOR_BUILD
) -o
$@ gencode.o getopt.o getopt1.o
22 gencode.o
: $(srcdir)/gencode.c
23 $(CC_FOR_BUILD
) -c
-g
-I
${srcroot}/include $(srcdir)/gencode.c
24 getopt.o
: $(srcdir)/..
/..
/libiberty
/getopt.c
25 $(CC_FOR_BUILD
) -c
-g
-I
${srcroot}/include $(srcdir)/..
/..
/libiberty
/getopt.c
26 getopt1.o
: $(srcdir)/..
/..
/libiberty
/getopt1.c
27 $(CC_FOR_BUILD
) -c
-g
-I
${srcroot}/include $(srcdir)/..
/..
/libiberty
/getopt1.c
30 rm -f gencode engine.c