1# Makefile template for Configure for the MSP430 sim library. 2# Copyright 2012-2016 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. 27SIM_OBJS = \ 28 $(SIM_NEW_COMMON_OBJS) \ 29 msp430-sim.o \ 30 sim-resume.o 31 32# List of extra dependencies. 33# Generally this consists of simulator specific files included by sim-main.h. 34SIM_EXTRA_DEPS = 35# List of flags to always pass to $(CC). 36SIM_EXTRA_CFLAGS = 37# List of extra libraries to link with. 38SIM_EXTRA_LIBS = 39# List of extra program dependencies. 40SIM_EXTRA_LIBDEPS = 41# Dependency of `all' to build any extra files. 42SIM_EXTRA_ALL = 43# Dependency of `install' to install any extra files. 44SIM_EXTRA_INSTALL = 45# Dependency of `clean' to clean any extra files. 46SIM_EXTRA_CLEAN = 47 48# This selects the MSP430 newlib/libgloss syscall definitions. 49NL_TARGET = -DNL_TARGET_msp430 50 51## COMMON_POST_CONFIG_FRAG 52 53# Rules need to build $(SIM_OBJS), plus whatever else the target wants. 54 55# ... target specific rules ... 56