* Makefile.in (INTL_SRC): Define.
authorAndrew Cagney <cagney@redhat.com>
Sat, 22 Jun 2002 19:10:34 +0000 (19:10 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 22 Jun 2002 19:10:34 +0000 (19:10 +0000)
(INTL_CFLAGS): Define.
(INTL_DIR): Define.
(STD_CFLAGS): Add INTL_CFLAGS.

sim/ppc/ChangeLog
sim/ppc/Makefile.in

index 6ced05bc37fcbfd3ed4b12d213c977a25fcd5107..4c2dfef81817ead4a9699737205b0f6452acdc2a 100644 (file)
@@ -1,3 +1,10 @@
+2002-06-22  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in (INTL_SRC): Define.
+       (INTL_CFLAGS): Define.
+       (INTL_DIR): Define.
+       (STD_CFLAGS): Add INTL_CFLAGS.
+
 2002-06-17  Elena Zannoni  <ezannoni@redhat.com>
 
        * psim.c (psim_options): Don't choke when gdb invokes us with
index 6776992156718b763e7f238387ffb231d3b93123..d69b5c3691cf3e20187aeb826dae3a3960f5a7da 100644 (file)
@@ -113,7 +113,7 @@ CONFIG_CFLAGS = $(BSWAP_CFLAGS) \
   $(TERMIO_CFLAGS) \
   $(DEVZERO_CFLAGS)
 
-STD_CFLAGS     = $(CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(WARNING_CFLAGS) $(SIM_CFLAGS) $(HDEFINES) $(TDEFINES) $(INCLUDES)
+STD_CFLAGS     = $(CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(WARNING_CFLAGS) $(SIM_CFLAGS) $(HDEFINES) $(TDEFINES) $(INCLUDES) $(INTL_CFLAGS)
 NOWARN_CFLAGS  = $(CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(SIM_CFLAGS) $(HDEFINES) $(TDEFINES) $(INCLUDES)
 BUILD_CFLAGS   = -g -O $(INCLUDES) $(WARNING_CFLAGS)
 
@@ -154,6 +154,10 @@ BFD_LIB            = ../../bfd/libbfd.a
 
 INTLLIBS = @INTLLIBS@
 INTLDEPS = @INTLDEPS@
+INTL_DIR = ../../intl
+INTL_SRC = $(srcdir)/$(INTL_DIR)
+INTL_CFLAGS = -I$(INTL_DIR) -I$(INTL_SRC)
+
 
 TARGETLIB      = libsim.a