Add intl support

This commit is contained in:
Michael Meissner 1998-04-22 18:19:01 +00:00
parent a46abdd087
commit 3618a6e972
2 changed files with 16 additions and 5 deletions

View file

@ -1,3 +1,10 @@
Wed Apr 22 14:14:19 1998 Michael Meissner <meissner@cygnus.com>
* 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 <jlemke@cygnus.com>
* sim-base.h: Add configure option --with-sim-funit.

View file

@ -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: