# Makefile template for Configure for the SH sim library.
-# Copyright (C) 1990, 91, 92, 95, 96, 1997, 2007, 2008, 2009
-# Free Software Foundation, Inc.
+# Copyright (C) 1990-2020 Free Software Foundation, Inc.
# Written by Cygnus Support.
-#
+#
# 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
## COMMON_PRE_CONFIG_FRAG
-SIM_OBJS = interp.o table.o sim-load.o
+SIM_OBJS = \
+ interp.o \
+ $(SIM_NEW_COMMON_OBJS) \
+ table.o
SIM_EXTRA_LIBS = -lm
SIM_EXTRA_CLEAN = sh-clean
./gencode -p >ppi.c
gencode: gencode.c
- $(CC_FOR_BUILD) -o gencode $(srcdir)/gencode.c
+ $(CC_FOR_BUILD) $(BUILD_CFLAGS) $(BUILD_LDFLAGS) $(WARN_CFLAGS) \
+ -o gencode $(srcdir)/gencode.c
sh-clean:
rm -f gencode code.c table.c