OSDN Git Service

Remove last remenants of cleandeps
authorChris Lattner <sabre@nondot.org>
Fri, 22 Aug 2003 14:10:16 +0000 (14:10 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 22 Aug 2003 14:10:16 +0000 (14:10 +0000)
Allow disabling generation of .d files for a whole directory

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8053 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.common
Makefile.rules

index b5d1e54..a524f0b 100644 (file)
@@ -818,6 +818,8 @@ clean::
 #      from C/C++ source files.
 ###########################################################################
 
+ifndef DISABLE_AUTO_DEPENDENCIES
+
 # If dependencies were generated for the file that included this file,
 # include the dependencies now...
 #
@@ -846,6 +848,4 @@ endif
 endif
 endif
 
-cleandeps::
-       $(VERB) rm -f $(SourceDepend)
-
+endif  # ifndef DISABLE_AUTO_DEPENDENCIES
index b5d1e54..a524f0b 100644 (file)
@@ -818,6 +818,8 @@ clean::
 #      from C/C++ source files.
 ###########################################################################
 
+ifndef DISABLE_AUTO_DEPENDENCIES
+
 # If dependencies were generated for the file that included this file,
 # include the dependencies now...
 #
@@ -846,6 +848,4 @@ endif
 endif
 endif
 
-cleandeps::
-       $(VERB) rm -f $(SourceDepend)
-
+endif  # ifndef DISABLE_AUTO_DEPENDENCIES