1 |
26 |
jlechner |
## COMMON_PRE_CONFIG_FRAG
|
2 |
|
|
|
3 |
|
|
# These variables are given default values in COMMON_PRE_CONFIG_FRAG.
|
4 |
|
|
# We override the ones we need to here.
|
5 |
|
|
# Not all of these need to be mentioned, only the necessary ones.
|
6 |
|
|
# In fact it is better to *not* mention ones if the value is the default.
|
7 |
|
|
|
8 |
|
|
# List of object files, less common parts.
|
9 |
|
|
SIM_OBJS = sim-load.o scarts_16-bootmem.o scarts_16-codemem.o scarts_16-datamem.o scarts_16-iss.o scarts_16-mad.o scarts_16-plugins.o scarts_16-sim.o
|
10 |
|
|
|
11 |
|
|
# List of extra dependencies.
|
12 |
|
|
# Generally this consists of simulator specific files included by sim-main.h.
|
13 |
|
|
SIM_EXTRA_DEPS = $(srcdir)/../../gdb/scarts_16-tdep.h $(srcdir)/../../include/gdb/sim-scarts_16.h scarts-op.h tconfig.h
|
14 |
|
|
|
15 |
|
|
# List of flags to always pass to $(CC).
|
16 |
|
|
SIM_EXTRA_CFLAGS = -I$(srcdir)/../../gdb/
|
17 |
|
|
|
18 |
|
|
# List of extra libraries to link with.
|
19 |
|
|
SIM_EXTRA_LIBS = @LIBS@
|
20 |
|
|
|
21 |
|
|
# List of extra program dependencies.
|
22 |
|
|
SIM_EXTRA_LIBDEPS =
|
23 |
|
|
|
24 |
|
|
# List of main object files for `run'.
|
25 |
|
|
SIM_RUN_OBJS = run.o
|
26 |
|
|
|
27 |
|
|
# Dependency of `all' to build any extra files.
|
28 |
|
|
SIM_EXTRA_ALL =
|
29 |
|
|
|
30 |
|
|
# Dependency of `install' to install any extra files.
|
31 |
|
|
SIM_EXTRA_INSTALL =
|
32 |
|
|
|
33 |
|
|
# Dependency of `clean' to clean any extra files.
|
34 |
|
|
SIM_EXTRA_CLEAN =
|
35 |
|
|
|
36 |
|
|
## COMMON_POST_CONFIG_FRAG
|
37 |
|
|
|
38 |
|
|
# Rules need to build $(SIM_OBJS), plus whatever else the target wants.
|
39 |
|
|
|
40 |
|
|
scarts_16-bootmem.o: scarts_16-bootmem.c scarts_16-bootmem.h
|
41 |
|
|
$(CC) -c $(srcdir)/scarts_16-bootmem.c $(ALL_CFLAGS)
|
42 |
|
|
|
43 |
|
|
scarts_16-codemem.o: scarts_16-codemem.c scarts_16-codemem.h
|
44 |
|
|
$(CC) -c $(srcdir)/scarts_16-codemem.c $(ALL_CFLAGS)
|
45 |
|
|
|
46 |
|
|
scarts_16-datamem.o: scarts_16-datamem.c scarts_16-datamem.h
|
47 |
|
|
$(CC) -c $(srcdir)/scarts_16-datamem.c $(ALL_CFLAGS)
|
48 |
|
|
|
49 |
|
|
scarts_16-iss.o: scarts_16-iss.c scarts_16-iss.h scarts_16-mad.h scarts-op.h scarts_16-plugins.h
|
50 |
|
|
$(CC) -c $(srcdir)/scarts_16-iss.c $(ALL_CFLAGS)
|
51 |
|
|
|
52 |
|
|
scarts_16-mad.o: scarts_16-mad.c scarts_16-bootmem.h scarts_16-codemem.h scarts_16-datamem.h scarts_16-mad.h scarts_16-plugins.h
|
53 |
|
|
$(CC) -c $(srcdir)/scarts_16-mad.c $(ALL_CFLAGS)
|
54 |
|
|
|
55 |
|
|
scarts_16-plugins.o: scarts_16-plugins.c scarts_16-plugins.h
|
56 |
|
|
$(CC) -c $(srcdir)/scarts_16-plugins.c $(ALL_CFLAGS)
|
57 |
|
|
|
58 |
|
|
scarts_16-sim.o: scarts_16-iss.h scarts_16-sim.c scarts_16-sim.h
|
59 |
|
|
$(CC) -c $(srcdir)/scarts_16-sim.c $(ALL_CFLAGS)
|
60 |
|
|
|