Whamcloud - gitweb
Fix the subdirs logic so it works with GNU make 3.80
authorTheodore Ts'o <tytso@mit.edu>
Sat, 11 Mar 2006 02:39:40 +0000 (21:39 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 11 Mar 2006 02:39:40 +0000 (21:39 -0500)
The previous fix which fixed the problem with GNU make 3.81 building
all of the library object files caused GNU make 3.80 fail because the
subdirectories (such as elfshared) were not getting created.  This fix
should allow the Makefiles to work with both GNU make 3.80 and GNU
make 3.81.

lib/ChangeLog
lib/Makefile.bsd-lib
lib/Makefile.checker
lib/Makefile.darwin-lib
lib/Makefile.elf-lib
lib/Makefile.library
lib/Makefile.profile
lib/Makefile.solaris-lib

index 5604f96..1212216 100644 (file)
@@ -1,3 +1,10 @@
+2006-03-10  Theodore Ts'o  <tytso@mit.edu>
+
+       * Makefile.bsd-lib, Makefile.checker, Makefile.darwin-lib,
+               Makefile.elf-lib, Makefile.library, Makefile.profile,
+               Makefile.solaris-lib: Fix the subdirs logic so it works
+               with GNU make 3.80 (as well as GNU make 3.81).
+
 2005-12-29  Theodore Ts'o  <tytso@mit.edu>
 
        * Makefile.bsd-lib, Makefile.checker, Makefile.darwin-lib,
index e49dd7a..4ab776a 100644 (file)
@@ -12,7 +12,7 @@
 
 all:: pic image
 
-subdirs:: pic
+real-subdirs:: pic
        @echo " MKDIR pic"
        @mkdir -p pic
 
index 304fc55..95974fa 100644 (file)
@@ -1,6 +1,6 @@
 all:: checker $(LIBRARY)_chk.a
 
-subdirs:: Makefile
+real-subdirs:: Makefile
        @echo " MKDIR checker"
        @mkdir -p checker
 
index c414a91..c9e44cc 100644 (file)
@@ -12,7 +12,7 @@
 
 all:: pic image
 
-subdirs:: Makefile
+real-subdirs:: Makefile
        @echo " MKDIR pic"
        @mkdir -p pic
 
index 8819ced..c360adc 100644 (file)
@@ -13,7 +13,7 @@
 
 all:: image
 
-subdirs:: Makefile
+real-subdirs:: Makefile
        @echo " MKDIR elfshared"
        @mkdir -p elfshared
 
index 92001a7..a421447 100644 (file)
@@ -5,6 +5,7 @@ install-shlibs::
 uninstall-shlibs::
 
 subdirs:: Makefile
+       @$(MAKE) -s real-subdirs
        @touch subdirs
 
 clean::
index ad0f1df..deaa7cb 100644 (file)
@@ -1,6 +1,6 @@
 all:: profiled $(LIBRARY)_p.a
 
-subdirs:: Makefile
+real-subdirs:: Makefile
        @echo " MKDIR $@"
        @mkdir -p profiled
 
index 4bb3f6d..0874592 100644 (file)
@@ -13,7 +13,7 @@
 
 all:: elfshared image
 
-subdirs:: Makefile
+real-subdirs:: Makefile
        @echo " MKDIR elfshared"
        @mkdir -p elfshared