| Index: sim/common/Make-common.in
|
| diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
|
| index 1a3a6b684dca14fa63a2c343eec52f78184efff3..429fa0cceaffa464b2a93fff37d084cd93601d42 100644
|
| --- a/sim/common/Make-common.in
|
| +++ b/sim/common/Make-common.in
|
| @@ -1,6 +1,5 @@
|
| # Makefile fragment for common parts of all simulators.
|
| -# Copyright 1997-2001, 2004-2005, 2007-2012 Free Software Foundation,
|
| -# Inc.
|
| +# Copyright 1997-2013 Free Software Foundation, Inc.
|
| # Contributed by Cygnus Support.
|
|
|
| # This program is free software; you can redistribute it and/or modify
|
| @@ -39,6 +38,7 @@ VPATH = @srcdir@:$(srccom)
|
| srcdir = @srcdir@
|
| srccom = $(srcdir)/../common
|
| srcroot = $(srcdir)/../..
|
| +srcsim = $(srcdir)/..
|
|
|
| prefix = @prefix@
|
| exec_prefix = @exec_prefix@
|
| @@ -58,6 +58,7 @@ man1dir = $(mandir)/man1
|
| infodir = @infodir@
|
| includedir = @includedir@
|
|
|
| +lt_cv_dlopen_libs = @lt_cv_dlopen_libs@
|
| # This can be referenced by the gettext configuration code.
|
| top_builddir = ..
|
|
|
| @@ -255,6 +256,7 @@ COMMON_DEP_CFLAGS = $(CONFIG_CFLAGS) $(CSEARCH)
|
|
|
| LIBIBERTY_LIB = ../../libiberty/libiberty.a
|
| BFD_LIB = ../../bfd/libbfd.a
|
| +@PLUGINS_TRUE@LIBDL = @lt_cv_dlopen_libs@
|
| OPCODES_LIB = ../../opcodes/libopcodes.a
|
| LIBINTL = @LIBINTL@
|
| LIBINTL_DEP = @LIBINTL_DEP@
|
| @@ -262,7 +264,7 @@ CONFIG_LIBS = @LIBS@
|
| LIBDEPS = $(BFD_LIB) $(OPCODES_LIB) $(LIBINTL_DEP) $(LIBIBERTY_LIB) \
|
| $(SIM_EXTRA_LIBDEPS)
|
| EXTRA_LIBS = $(BFD_LIB) $(OPCODES_LIB) $(LIBINTL) $(LIBIBERTY_LIB) \
|
| - $(CONFIG_LIBS) $(SIM_EXTRA_LIBS)
|
| + $(CONFIG_LIBS) $(SIM_EXTRA_LIBS) $(LIBDL)
|
|
|
| LIB_OBJS = callback.o syscall.o targ-map.o version.o $(SIM_OBJS)
|
|
|
| @@ -299,12 +301,8 @@ stamp-tvals: gentmap
|
| $(SHELL) $(srcroot)/move-if-change tmp-tmap.c targ-map.c
|
| touch stamp-tvals
|
|
|
| -version.c: Makefile ../../gdb/version.in
|
| - rm -f version.c-tmp version.c
|
| - echo '#include "version.h"' >> version.c-tmp
|
| - echo 'const char version[] = "'"`sed q ${srcdir}/../../gdb/version.in`"'";' >> version.c-tmp
|
| - mv version.c-tmp version.c
|
| -
|
| +version.c: Makefile $(srccom)/create-version.sh ../../bfd/version.h ../../gdb/version.in
|
| + $(SHELL) $(srccom)/create-version.sh $(srcsim) $(host_alias) $(target_alias) version.c
|
|
|
| #
|
| # Rules for building sim-* components. Triggered by listing the corresponding
|
|
|