Commit | Line | Data |
---|---|---|
3346cfda | 1 | # Makefile template for Configure for the MSP430 sim library. |
32d0add0 | 2 | # Copyright 2012-2015 Free Software Foundation, Inc. |
3346cfda | 3 | # Written by Red Hat Inc. |
1a8faa2a | 4 | # |
3346cfda NC |
5 | # This program is free software; you can redistribute it and/or modify |
6 | # it under the terms of the GNU General Public License as published by | |
7 | # the Free Software Foundation; either version 3 of the License, or | |
8 | # (at your option) any later version. | |
1a8faa2a | 9 | # |
3346cfda NC |
10 | # This program is distributed in the hope that it will be useful, |
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | # GNU General Public License for more details. | |
1a8faa2a | 14 | # |
3346cfda NC |
15 | # You should have received a copy of the GNU General Public License |
16 | # along with this program; if not, write to the Free Software | |
17 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
18 | ||
19 | ## COMMON_PRE_CONFIG_FRAG | |
20 | ||
21 | # These variables are given default values in COMMON_PRE_CONFIG_FRAG. | |
22 | # We override the ones we need to here. | |
23 | # Not all of these need to be mentioned, only the necessary ones. | |
24 | # In fact it is better to *not* mention ones if the value is the default. | |
25 | ||
26 | # List of object files, less common parts. | |
27 | SIM_OBJS = \ | |
1a8faa2a MF |
28 | $(SIM_NEW_COMMON_OBJS) \ |
29 | msp430-sim.o \ | |
3346cfda | 30 | trace.o \ |
1a8faa2a | 31 | sim-cpu.o \ |
1a8faa2a | 32 | sim-hload.o \ |
1a8faa2a MF |
33 | sim-reason.o \ |
34 | sim-reg.o \ | |
35 | sim-resume.o \ | |
36 | sim-stop.o \ | |
3346cfda NC |
37 | |
38 | # List of extra dependencies. | |
39 | # Generally this consists of simulator specific files included by sim-main.h. | |
40 | SIM_EXTRA_DEPS = | |
41 | # List of flags to always pass to $(CC). | |
42 | SIM_EXTRA_CFLAGS = | |
43 | # List of extra libraries to link with. | |
44 | SIM_EXTRA_LIBS = | |
45 | # List of extra program dependencies. | |
46 | SIM_EXTRA_LIBDEPS = | |
3346cfda NC |
47 | # Dependency of `all' to build any extra files. |
48 | SIM_EXTRA_ALL = | |
49 | # Dependency of `install' to install any extra files. | |
50 | SIM_EXTRA_INSTALL = | |
51 | # Dependency of `clean' to clean any extra files. | |
52 | SIM_EXTRA_CLEAN = | |
53 | ||
54 | # This selects the MSP430 newlib/libgloss syscall definitions. | |
55 | NL_TARGET = -DNL_TARGET_msp430 | |
56 | ||
57 | ## COMMON_POST_CONFIG_FRAG | |
58 | ||
59 | # Rules need to build $(SIM_OBJS), plus whatever else the target wants. | |
60 | ||
61 | # ... target specific rules ... |