Delete profile support from MIPS simulator, use sim/common/sim-profile
[deliverable/binutils-gdb.git] / sim / mips / Makefile.in
1 # Makefile template for Configure for the MIPS simulator.
2 # Written by Cygnus Support.
3
4 ## COMMON_PRE_CONFIG_FRAG
5
6 srcdir=@srcdir@
7 srcroot=$(srcdir)/../../
8
9 SIM_OBJS = interp.o \
10 sim-load.o \
11 sim-utils.o \
12 sim-hload.o \
13 sim-io.o \
14 sim-config.o \
15 sim-endian.o \
16 sim-engine.o \
17 sim-stop.o \
18 sim-resume.o \
19 sim-reason.o \
20 sim-events.o \
21 sim-module.o \
22 sim-trace.o \
23 sim-options.o \
24 sim-profile.o \
25 sim-core.o \
26 sim-watch.o
27
28 # List of flags to always pass to $(CC).
29 SIM_SUBTARGET=@SIM_SUBTARGET@
30
31 # FIXME: Hack to find syscall.h? Better support for syscall.h
32 # is in progress.
33 SIM_EXTRA_CFLAGS = \
34 $(SIM_SUBTARGET) \
35 -I$(srcdir)/../../newlib/libc/sys/idt
36
37 SIM_EXTRA_CLEAN = clean-extra
38
39 SIM_EXTRA_ALL = tmp.igen
40
41 # List of main object files for `run'.
42 SIM_RUN_OBJS = nrun.o
43
44
45
46 ## COMMON_POST_CONFIG_FRAG
47
48 interp.o: $(srcdir)/interp.c oengine.c config.h sim-main.h
49
50 oengine.c: gencode
51 ./gencode @SIMCONF@ > tmp-oengine
52 mv tmp-oengine oengine.c
53 tmp.igen: gencode
54 ./gencode --igen @SIMCONF@ > tmp-igen
55 mv tmp-igen tmp.igen
56
57 gencode: gencode.o getopt.o getopt1.o
58 $(CC_FOR_BUILD) -o $@ gencode.o getopt.o getopt1.o
59
60 gencode.o: $(srcdir)/gencode.c
61 $(CC_FOR_BUILD) -c -g -I${srcroot}/include $(srcdir)/gencode.c
62
63 getopt.o: $(srcdir)/../../libiberty/getopt.c
64 $(CC_FOR_BUILD) -c -g -I${srcroot}/include $(srcdir)/../../libiberty/getopt.c
65 getopt1.o: $(srcdir)/../../libiberty/getopt1.c
66 $(CC_FOR_BUILD) -c -g -I${srcroot}/include $(srcdir)/../../libiberty/getopt1.c
67
68 clean-extra:
69 rm -f gencode engine.c tmp.igen
This page took 0.031277 seconds and 4 git commands to generate.