From 3618a6e972780ed158ab4530fdb1096672af477e Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Wed, 22 Apr 1998 18:19:01 +0000 Subject: [PATCH] Add intl support --- sim/common/ChangeLog | 7 +++++++ sim/common/Make-common.in | 14 +++++++++----- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 631c5283bd3..191e2e9693d 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,10 @@ +Wed Apr 22 14:14:19 1998 Michael Meissner + + * Make-common.in (CSEARCH): Add -I to intl directories. + (INTL_LIB): Point to libintl.a. + (LIBDEPS): Add $(INTL_LIB). + (EXTRA_LIBS): Ditto. + start-sanitize-sky Tue Apr 21 17:29:48 1998 Jim Lemke * sim-base.h: Add configure option --with-sim-funit. diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in index eac0c7b4007..813d2d6cd20 100644 --- a/sim/common/Make-common.in +++ b/sim/common/Make-common.in @@ -1,5 +1,5 @@ # Makefile fragment for common parts of all simulators. -# Copyright (C) 1997 Free Software Foundation, Inc. +# Copyright (C) 1997, 1998 Free Software Foundation, Inc. # Contributed by Cygnus Support. # This program is free software; you can redistribute it and/or modify @@ -195,7 +195,8 @@ CONFIG_CFLAGS = \ CSEARCH = -I. -I$(srcdir) -I../common -I$(srccom) \ -I../../include -I$(srcroot)/include \ -I../../bfd -I$(srcroot)/bfd \ - -I../../opcodes -I$(srcroot)/opcodes + -I../../opcodes -I$(srcroot)/opcodes \ + -I../../intl -I$(srcroot)/intl ALL_CFLAGS = $(CONFIG_CFLAGS) $(CSEARCH) $(CFLAGS) BUILD_CFLAGS = -g -O $(CSEARCH) @@ -204,14 +205,17 @@ 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 CONFIG_LIBS = @LIBS@ -LIBDEPS = $(BFD_LIB) $(OPCODES_LIB) $(LIBIBERTY_LIB) \ +LIBDEPS = $(BFD_LIB) $(OPCODES_LIB) $(INTL_LIB) $(LIBIBERTY_LIB) \ $(SIM_EXTRA_LIBDEPS) -EXTRA_LIBS = $(BFD_LIB) $(OPCODES_LIB) $(LIBIBERTY_LIB) \ +EXTRA_LIBS = $(BFD_LIB) $(OPCODES_LIB) $(INTL_LIB) $(LIBIBERTY_LIB) \ $(CONFIG_LIBS) $(SIM_EXTRA_LIBS) LIB_OBJS = callback.o syscall.o targ-map.o $(SIM_OBJS) +RUNTESTFLAGS = + all: $(SIM_EXTRA_ALL) libsim.a run .gdbinit libsim.a: $(LIB_OBJS) @@ -533,7 +537,7 @@ installdirs: $(SHELL) $(srcdir)/../../mkinstalldirs $(bindir) check: - cd ../testsuite && $(MAKE) check + cd ../testsuite && $(MAKE) check RUNTESTFLAGS="$(RUNTESTFLAGS)" info: clean-info: -- 2.30.2