Formerly unix/Makefile.~40~
authorroland <roland>
Wed, 16 Sep 1992 22:15:52 +0000 (22:15 +0000)
committerroland <roland>
Wed, 16 Sep 1992 22:15:52 +0000 (22:15 +0000)
sysdeps/unix/Makefile

index 7dcc017..eadd4b1 100644 (file)
@@ -60,7 +60,9 @@ include $(common-objpfx)param.h.dep
 
 # Don't preempt our own headers. 
 sys/param.h-includes := \
-  $(filter-out $(wildcard $(addprefix $(..),$(sys/param.h-includes))),\
+  $(filter-out $(patsubst $(..)%,%,\
+                         $(wildcard $(addprefix $(..),\
+                                    $(sys/param.h-includes)))),\
               $(sys/param.h-includes))
 
 sysdep_headers := $(sysdep_headers) $(sys/param.h-includes)