2003-07-23 Michael Snyder <msnyder@redhat.com>
[platform/upstream/binutils.git] / sim / sh / Makefile.in
index dfa52aa..784c39a 100644 (file)
@@ -1,5 +1,5 @@
 #    Makefile template for Configure for the SH sim library.
-#    Copyright (C) 1990, 1991, 1992, 1995, 1996 Free Software Foundation, Inc.
+#    Copyright (C) 1990, 91, 92, 95, 96, 1997 Free Software Foundation, Inc.
 #    Written by Cygnus Support.
 # 
 # This program is free software; you can redistribute it and/or modify
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-SIM_OBJS = interp.o table.o
+## COMMON_PRE_CONFIG_FRAG
+
+SIM_OBJS = interp.o table.o sim-load.o
 SIM_EXTRA_LIBS = -lm
+SIM_EXTRA_CLEAN = sh-clean
 
-@COMMON_MAKEFILE_FRAG@
+## COMMON_POST_CONFIG_FRAG
 
-interp.o: interp.c code.c table.c
+interp.o: interp.c code.c table.c ppi.c $(srcroot)/include/gdb/sim-sh.h
 
 code.c: gencode
        ./gencode -x >code.c
@@ -31,5 +34,11 @@ table.c: gencode
        ./gencode -s >table.c
 #      indent table.c
 
+ppi.c: gencode
+       ./gencode -p >ppi.c
+
 gencode: gencode.c
        $(CC_FOR_BUILD) -o gencode $(srcdir)/gencode.c
+
+sh-clean:
+       rm -f gencode code.c table.c