(version.c): Adjust call to $(srccom)/create-version.sh as per change.
+2013-10-15 Hans-Peter Nilsson <hp@axis.com>
+
+ * Makefile.in (srcsim): New variable.
+ (version.c): Adjust call to $(srccom)/create-version.sh as per change.
+
2013-06-28 Tom Tromey <tromey@redhat.com>
* Make-common.in (version.c): Use version.in, not
srcdir = @srcdir@
srccom = $(srcdir)/../common
srcroot = $(srcdir)/../..
+srcsim = $(srcdir)/..
prefix = @prefix@
exec_prefix = @exec_prefix@
$(RANLIB) $(TARGETLIB)
version.c: Makefile $(srccom)/create-version.sh ../../bfd/version.h ../../gdb/version.in
- $(SHELL) $(srccom)/create-version.sh $(srccom) version.c
+ $(SHELL) $(srccom)/create-version.sh $(srcsim) $(host_alias) $(target_alias) version.c
version.o: version.c $(version_h)
psim.o: psim.c $(CPU_H) $(IDECODE_H) $(OPTIONS_H) $(TREE_H) $(BFD_H)