1 # Makefile template for Configure for the MSP430 sim library.
2 # Copyright 2012-2015 Free Software Foundation, Inc.
3 # Written by Red Hat Inc.
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.
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.
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.
19 ## COMMON_PRE_CONFIG_FRAG
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.
26 # List of object files, less common parts.
28 $(SIM_NEW_COMMON_OBJS) \
37 # List of extra dependencies.
38 # Generally this consists of simulator specific files included by sim-main.h.
40 # List of flags to always pass to $(CC).
42 # List of extra libraries to link with.
44 # List of extra program dependencies.
46 # Dependency of `all' to build any extra files.
48 # Dependency of `install' to install any extra files.
50 # Dependency of `clean' to clean any extra files.
53 # This selects the MSP430 newlib/libgloss syscall definitions.
54 NL_TARGET = -DNL_TARGET_msp430
56 ## COMMON_POST_CONFIG_FRAG
58 # Rules need to build $(SIM_OBJS), plus whatever else the target wants.
60 # ... target specific rules ...