OLD | NEW |
(Empty) | |
| 1 # Makefile template for Configure for the MSP430 sim library. |
| 2 # Copyright 2012 Free Software Foundation, Inc. |
| 3 # Written by Red Hat Inc. |
| 4 # |
| 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. |
| 9 # |
| 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. |
| 14 # |
| 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 = \ |
| 28 $(SIM_NEW_COMMON_OBJS) \ |
| 29 msp430-sim.o \ |
| 30 trace.o \ |
| 31 sim-cpu.o \ |
| 32 sim-engine.o \ |
| 33 sim-hload.o \ |
| 34 sim-hrw.o \ |
| 35 sim-reason.o \ |
| 36 sim-reg.o \ |
| 37 sim-resume.o \ |
| 38 sim-stop.o \ |
| 39 $(SIM_EXTRA_OBJS) |
| 40 |
| 41 # List of extra dependencies. |
| 42 # Generally this consists of simulator specific files included by sim-main.h. |
| 43 SIM_EXTRA_DEPS = |
| 44 # List of flags to always pass to $(CC). |
| 45 SIM_EXTRA_CFLAGS = |
| 46 # List of extra libraries to link with. |
| 47 SIM_EXTRA_LIBS = |
| 48 # List of extra program dependencies. |
| 49 SIM_EXTRA_LIBDEPS = |
| 50 # List of main object files for `run'. |
| 51 SIM_RUN_OBJS = nrun.o |
| 52 # Dependency of `all' to build any extra files. |
| 53 SIM_EXTRA_ALL = |
| 54 # Dependency of `install' to install any extra files. |
| 55 SIM_EXTRA_INSTALL = |
| 56 # Dependency of `clean' to clean any extra files. |
| 57 SIM_EXTRA_CLEAN = |
| 58 |
| 59 # This selects the MSP430 newlib/libgloss syscall definitions. |
| 60 NL_TARGET = -DNL_TARGET_msp430 |
| 61 |
| 62 ## COMMON_POST_CONFIG_FRAG |
| 63 |
| 64 # Rules need to build $(SIM_OBJS), plus whatever else the target wants. |
| 65 |
| 66 # ... target specific rules ... |
OLD | NEW |