* wcsmbs/Makefile (strtox-CFLAGS): New variable,
authorRoland McGrath <roland@gnu.org>
Mon, 22 Jul 2002 04:39:52 +0000 (04:39 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 22 Jul 2002 04:39:52 +0000 (04:39 +0000)
put -I../include before -I../stdlib so we get the right errno.h et al.
(CFLAGS-wcstod.c): Use that variable instead of -I../stdlib.
(CFLAGS-wcstof.c): Likewise.
(CFLAGS-wcstold.c): Likewise.
(CFLAGS-wcstod_l.c): Likewise.
(CFLAGS-wcstof_l.c): Likewise.
(CFLAGS-wcstold_l.c): Likewise.

ChangeLog
wcsmbs/Makefile

index 8fe7af0..19a81d4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2002-07-21  Roland McGrath  <roland@frob.com>
+
+       * wcsmbs/Makefile (strtox-CFLAGS): New variable,
+       put -I../include before -I../stdlib so we get the right errno.h et al.
+       (CFLAGS-wcstod.c): Use that variable instead of -I../stdlib.
+       (CFLAGS-wcstof.c): Likewise.
+       (CFLAGS-wcstold.c): Likewise.
+       (CFLAGS-wcstod_l.c): Likewise.
+       (CFLAGS-wcstof_l.c): Likewise.
+       (CFLAGS-wcstold_l.c): Likewise.
+
 2002-07-19  Roland McGrath  <roland@frob.com>
 
        * sysdeps/mach/hurd/errnos.awk: Remove __set_errno defn from output.
index cf9fcbd..1b403f3 100644 (file)
@@ -47,20 +47,21 @@ include ../Rules
 CFLAGS-wcwidth.c = -I../wctype
 CFLAGS-wcswidth.c = -I../wctype
 
-CFLAGS-wcstol.c = -I../stdlib
-CFLAGS-wcstoul.c = -I../stdlib
-CFLAGS-wcstoll.c = -I../stdlib
-CFLAGS-wcstoull.c = -I../stdlib
-CFLAGS-wcstod.c = -I../stdlib
-CFLAGS-wcstold.c = -I../stdlib
-CFLAGS-wcstof.c = -I../stdlib
-CFLAGS-wcstol_l.c = -I../stdlib
-CFLAGS-wcstoul_l.c = -I../stdlib
-CFLAGS-wcstoll_l.c = -I../stdlib
-CFLAGS-wcstoull_l.c = -I../stdlib
-CFLAGS-wcstod_l.c = -I../stdlib
-CFLAGS-wcstold_l.c = -I../stdlib
-CFLAGS-wcstof_l.c = -I../stdlib
+strtox-CFLAGS = -I../include -I../stdlib
+CFLAGS-wcstol.c = $(strtox-CFLAGS)
+CFLAGS-wcstoul.c = $(strtox-CFLAGS)
+CFLAGS-wcstoll.c = $(strtox-CFLAGS)
+CFLAGS-wcstoull.c = $(strtox-CFLAGS)
+CFLAGS-wcstod.c = $(strtox-CFLAGS)
+CFLAGS-wcstold.c = $(strtox-CFLAGS)
+CFLAGS-wcstof.c = $(strtox-CFLAGS)
+CFLAGS-wcstol_l.c = $(strtox-CFLAGS)
+CFLAGS-wcstoul_l.c = $(strtox-CFLAGS)
+CFLAGS-wcstoll_l.c = $(strtox-CFLAGS)
+CFLAGS-wcstoull_l.c = $(strtox-CFLAGS)
+CFLAGS-wcstod_l.c = $(strtox-CFLAGS)
+CFLAGS-wcstold_l.c = $(strtox-CFLAGS)
+CFLAGS-wcstof_l.c = $(strtox-CFLAGS)
 
 tst-btowc-ENV = LOCPATH=$(common-objpfx)localedata
 tst-mbrtowc-ENV = LOCPATH=$(common-objpfx)localedata