(CPPFLAGS): Add -Iglob.
authorRoland McGrath <roland@redhat.com>
Tue, 12 Dec 1995 05:47:27 +0000 (05:47 +0000)
committerRoland McGrath <roland@redhat.com>
Tue, 12 Dec 1995 05:47:27 +0000 (05:47 +0000)
GNUmakefile

index 6332ce9196651cc142e41fe079a3b6a0ddbf0449..7358f4621a3528500baee100cc48b2d9034e03e6 100644 (file)
@@ -2,7 +2,7 @@
 
 # Copyright (C) 1990, 91, 92, 93, 94, 95 Free Software Foundation, Inc.
 # This file is part of GNU Make.
-# 
+#
 # GNU Make is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; either version 2, or (at your option)
@@ -12,7 +12,7 @@
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
 # along with GNU Make; see the file COPYING.  If not, write to
 # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
@@ -89,7 +89,7 @@ GETOPT =
 #GETOPT_SRC = Don't clear this or dist will break.
 
 # glob is in libc too.
-GLOB = 
+GLOB =
 
 else
 
@@ -113,7 +113,7 @@ $(archpfx)load.o: load.c
 $(archpfx)load.dep: load.c
        $(mkdep) $(LOAD_AVG) $< | sed 's,$*\.o,& $@,' > $@
 
-CPPFLAGS := -I$(ARCH) -DHAVE_CONFIG_H $(filter-out @%@,$(CPPFLAGS))
+CPPFLAGS := -I$(ARCH) -Iglob -DHAVE_CONFIG_H $(filter-out @%@,$(CPPFLAGS))
 
 ifneq "$(wildcard $(ARCH)/makefile)" ""
 include $(ARCH)/makefile
@@ -126,7 +126,7 @@ endif
 
 ifneq  "$(findstring gcc,$(CC))" ""
 CFLAGS = -g -Wall -Wtraditional -Wid-clash-31 -Wpointer-arith \
-           -Wbad-function-cast -Wconversion 
+           -Wbad-function-cast -Wconversion
 else
 CFLAGS = -g
 endif