# Makefile template for Configure for the MCore sim library.
-# Copyright (C) 1990, 91, 92, 95, 96, 19, 1999, 2007, 2008, 2009, 2010
-# Free Software Foundation, Inc.
+# Copyright (C) 1990-2019 Free Software Foundation, Inc.
# Written by Cygnus Solutions.
-#
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+# This selects the bfin newlib/libgloss syscall definitions.
+NL_TARGET = -DNL_TARGET_mcore
+
## COMMON_PRE_CONFIG_FRAG
-SIM_OBJS = interp.o sim-load.o
-SIM_EXTRA_LIBS = -lm
-SIM_EXTRA_CLEAN = mcore-clean
+SIM_OBJS = \
+ interp.o \
+ $(SIM_NEW_COMMON_OBJS) \
+ sim-resume.o
## COMMON_POST_CONFIG_FRAG
-
-interp.o: interp.c
-
-mcore-clean: