aboutsummaryrefslogtreecommitdiff
path: root/sim/common/Make-common.in
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/Make-common.in')
-rw-r--r--sim/common/Make-common.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 813d2d6..d217e6e 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -57,6 +57,9 @@ man1dir = $(mandir)/man1
infodir = @infodir@
includedir = @includedir@
+# This can be referenced by the gettext configuration code.
+top_builddir = ..
+
SHELL = @SHELL@
INSTALL = @INSTALL@
@@ -205,11 +208,12 @@ COMMON_DEP_CFLAGS = $(CONFIG_CFLAGS) $(CSEARCH)
LIBIBERTY_LIB = ../../libiberty/libiberty.a
BFD_LIB = ../../bfd/libbfd.a
OPCODES_LIB = ../../opcodes/libopcodes.a
-INTL_LIB = ../../intl/libintl.a
+INTLLIBS = @INTLLIBS@
+INTLDEPS = @INTLDEPS@
CONFIG_LIBS = @LIBS@
-LIBDEPS = $(BFD_LIB) $(OPCODES_LIB) $(INTL_LIB) $(LIBIBERTY_LIB) \
+LIBDEPS = $(BFD_LIB) $(OPCODES_LIB) $(INTLLIBS) $(LIBIBERTY_LIB) \
$(SIM_EXTRA_LIBDEPS)
-EXTRA_LIBS = $(BFD_LIB) $(OPCODES_LIB) $(INTL_LIB) $(LIBIBERTY_LIB) \
+EXTRA_LIBS = $(BFD_LIB) $(OPCODES_LIB) $(INTLLIBS) $(LIBIBERTY_LIB) \
$(CONFIG_LIBS) $(SIM_EXTRA_LIBS)
LIB_OBJS = callback.o syscall.o targ-map.o $(SIM_OBJS)