(+includes): Add include directory to include path.
authordrepper <drepper>
Sun, 6 Jul 1997 21:35:26 +0000 (21:35 +0000)
committerdrepper <drepper>
Sun, 6 Jul 1997 21:35:26 +0000 (21:35 +0000)
Makeconfig

index 29d06ca..8f5313f 100644 (file)
@@ -487,14 +487,14 @@ endif     # $(+cflags) == ""
 
 
 # These are flags given to the C compiler to tell it to look for include
-# files (including ones given in angle brackets) in the current directory
-# and in the parent library source directory.
+# files (including ones given in angle brackets) in the current directory,
+# in the parent library source directory and in the include directory.
 # `+sysdep-includes' will be defined by Makerules.
-+includes = -I. $(filter-out -I,-I$(patsubst %/,%,$(..))) $($(stdio)-include) \
-               $(includes) $(+sysdep-includes) $(last-includes)
++includes = -I. $(patsubst %/,-I%,$(..)) -I$(..)include $($(stdio)-include) \
+           $(includes) $(+sysdep-includes) $(last-includes)
 
 # Since libio has several internal header files, we use a -I instead
-# of many little headers in the top level source directory.
+# of many little headers in the include directory.
 libio-include = -I$(..)libio
 
 # These are the variables that the implicit compilation rules use.