teemperor updated this revision to Diff 243106.
teemperor added a comment.

- Rebased


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74126/new/

https://reviews.llvm.org/D74126

Files:
  lldb/packages/Python/lldbsuite/test/api/multithreaded/Makefile
  lldb/packages/Python/lldbsuite/test/commands/expression/call-function/Makefile
  
lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/Makefile
  
lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/Makefile
  lldb/packages/Python/lldbsuite/test/functionalities/memory-region/Makefile
  
lldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/Makefile
  lldb/packages/Python/lldbsuite/test/functionalities/target_var/Makefile
  lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Makefile
  lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/Makefile
  lldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/Makefile
  lldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/Makefile
  lldb/packages/Python/lldbsuite/test/lang/cpp/stl/Makefile
  lldb/packages/Python/lldbsuite/test/lang/cpp/unicode-literals/Makefile
  lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/Makefile
  lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/Makefile
  
lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile
  lldb/packages/Python/lldbsuite/test/linux/add-symbols/Makefile
  lldb/packages/Python/lldbsuite/test/linux/mix-dwo-and-regular-objects/Makefile
  lldb/packages/Python/lldbsuite/test/linux/sepdebugsymlink/Makefile
  lldb/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/Makefile
  lldb/packages/Python/lldbsuite/test/macosx/universal/Makefile
  lldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/Makefile
  lldb/packages/Python/lldbsuite/test/python_api/formatters/Makefile
  lldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/Makefile
  lldb/packages/Python/lldbsuite/test/source-manager/Makefile

Index: lldb/packages/Python/lldbsuite/test/source-manager/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/source-manager/Makefile
+++ lldb/packages/Python/lldbsuite/test/source-manager/Makefile
@@ -5,7 +5,3 @@
 # Copy file into the build folder to enable the test to modify it.
 main-copy.c: main.c
 	cp -f $< $@
-
-
-clean::
-	$(RM) main-copy.c
Index: lldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/Makefile
+++ lldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/Makefile
@@ -1,6 +1,3 @@
 CXX_SOURCES := main.cpp
 
-# Clean renamed executable on 'make clean'
-clean: OBJECTS+=no_synth
-
 include Makefile.rules
Index: lldb/packages/Python/lldbsuite/test/python_api/formatters/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/python_api/formatters/Makefile
+++ lldb/packages/Python/lldbsuite/test/python_api/formatters/Makefile
@@ -1,7 +1,3 @@
 CXX_SOURCES := main.cpp
 
 include Makefile.rules
-
-# Clean renamed executable on 'make clean'
-clean::
-	$(RM) -f no_synth
Index: lldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/Makefile
+++ lldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/Makefile
@@ -2,7 +2,3 @@
 
 include Makefile.rules
 
-# Clean renamed executable on 'make clean'
-clean::
-	$(RM) -f no_synth
-
Index: lldb/packages/Python/lldbsuite/test/macosx/universal/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/macosx/universal/Makefile
+++ lldb/packages/Python/lldbsuite/test/macosx/universal/Makefile
@@ -18,6 +18,3 @@
 
 testit.x86_64.o: main.c
 	$(CC) -g -O0 -arch x86_64 -c -o testit.x86_64.o $<
-
-clean::
-	rm -rf $(wildcard testit* *~)
Index: lldb/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/Makefile
+++ lldb/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/Makefile
@@ -15,6 +15,3 @@
 	cp -r $(SRCDIR)/TestApp.app .
 	mv TestApp TestApp.app/Contents/MacOS/TestApp
 	mv TestApp.dSYM TestApp.app.dSYM
-
-clean:
-	rm -rf TestApp.app/Contents/MacOS/TestApp TestApp.app.dSYM
Index: lldb/packages/Python/lldbsuite/test/linux/sepdebugsymlink/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/linux/sepdebugsymlink/Makefile
+++ lldb/packages/Python/lldbsuite/test/linux/sepdebugsymlink/Makefile
@@ -13,7 +13,4 @@
 	mkdir $@
 	ln -s ../$</stripped.out $@/stripped.symlink
 
-clean::
-	$(RM) -r dirreal dirsymlink
-
 include Makefile.rules
Index: lldb/packages/Python/lldbsuite/test/linux/mix-dwo-and-regular-objects/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/linux/mix-dwo-and-regular-objects/Makefile
+++ lldb/packages/Python/lldbsuite/test/linux/mix-dwo-and-regular-objects/Makefile
@@ -2,7 +2,3 @@
 a.o: CFLAGS_EXTRAS := -gsplit-dwarf
 
 include Makefile.rules
-
-.PHONY: clean
-clean::
-	$(RM) -f a.dwo a.o b.o main
Index: lldb/packages/Python/lldbsuite/test/linux/add-symbols/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/linux/add-symbols/Makefile
+++ lldb/packages/Python/lldbsuite/test/linux/add-symbols/Makefile
@@ -6,7 +6,4 @@
 stripped.out : a.out
 	$(OBJCOPY) --remove-section=.note.gnu.build-id --remove-section=.gnu_debuglink --strip-debug $< $@
 
-clean::
-	$(RM) stripped.out
-
 include Makefile.rules
Index: lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile
+++ lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile
@@ -7,8 +7,4 @@
 	strip -o a.out.stripped a.out
 	ln -sf a.out.dSYM a.out.stripped.dSYM
 
-clean::
-	rm -f a.out.stripped
-	rm -rf $(wildcard *.dSYM)
-
 include Makefile.rules
Index: lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/Makefile
+++ lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/Makefile
@@ -6,8 +6,4 @@
 a.out.stripped: a.out.dSYM
 	strip -o a.out.stripped a.out
 
-clean::
-	rm -f a.out.stripped
-	rm -rf a.out.stripped.dSYM
-
 include Makefile.rules
Index: lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/Makefile
+++ lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/Makefile
@@ -1,6 +1,4 @@
 CXX_SOURCES := main.cpp
 CFLAGS := -g -O0
 
-clean: OBJECTS+=$(wildcard main.d.*)
-
 include Makefile.rules
Index: lldb/packages/Python/lldbsuite/test/lang/cpp/unicode-literals/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/lang/cpp/unicode-literals/Makefile
+++ lldb/packages/Python/lldbsuite/test/lang/cpp/unicode-literals/Makefile
@@ -1,6 +1,4 @@
 CXX_SOURCES := main.cpp
 CFLAGS := -g -O0 -std=c++11
 
-clean: OBJECTS+=$(wildcard main.d.*)
-
 include Makefile.rules
Index: lldb/packages/Python/lldbsuite/test/lang/cpp/stl/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/lang/cpp/stl/Makefile
+++ lldb/packages/Python/lldbsuite/test/lang/cpp/stl/Makefile
@@ -1,6 +1,4 @@
 CXX_SOURCES := main.cpp
 CFLAGS := -g -O0
 
-clean: OBJECTS+=$(wildcard main.d.*)
-
 include Makefile.rules
Index: lldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/Makefile
+++ lldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/Makefile
@@ -1,6 +1,3 @@
 CXX_SOURCES := main.cpp
 
 include Makefile.rules
-
-clean::
-	rm -rf $(wildcard *.o *.d *.dSYM)
Index: lldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/Makefile
+++ lldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/Makefile
@@ -2,8 +2,4 @@
 
 CXXFLAGS_EXTRAS := -std=c++11
 
-clean: OBJECTS+=$(wildcard main.d.*)
-
-
-
 include Makefile.rules
Index: lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/Makefile
+++ lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/Makefile
@@ -1,6 +1,4 @@
 CXX_SOURCES := main.cpp
 CFLAGS :=-g -O0 -std=c++11
 
-clean: OBJECTS+=$(wildcard main.d.*)
-
 include Makefile.rules
Index: lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Makefile
+++ lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Makefile
@@ -8,7 +8,3 @@
 
 lib_%:
 	$(MAKE) VPATH=$(SRCDIR)/$* -I $(SRCDIR) -f $(SRCDIR)/$*.mk
-
-clean::
-	$(MAKE) -f $(SRCDIR)/One.mk clean
-	$(MAKE) -f $(SRCDIR)/Two.mk clean
Index: lldb/packages/Python/lldbsuite/test/functionalities/target_var/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/functionalities/target_var/Makefile
+++ lldb/packages/Python/lldbsuite/test/functionalities/target_var/Makefile
@@ -3,6 +3,3 @@
 a.out: globals.ll
 	$(CC) $(CFLAGS) -g -c $^ -o globals.o
 	$(LD) $(LDFLAGS) -g globals.o -o $@
-
-clean::
-	rm -rf globals.o a.out *.dSYM
Index: lldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/Makefile
+++ lldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/Makefile
@@ -11,7 +11,3 @@
 
 lib_%:
 	$(MAKE) VPATH=$(SRCDIR)/$* -I $(SRCDIR) -f $(SRCDIR)/$*.mk DSYMUTIL=$(DSYMUTIL)
-
-clean::
-	$(MAKE) -f $(SRCDIR)/One.mk clean
-	$(MAKE) -f $(SRCDIR)/Two.mk clean
Index: lldb/packages/Python/lldbsuite/test/functionalities/memory-region/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/functionalities/memory-region/Makefile
+++ lldb/packages/Python/lldbsuite/test/functionalities/memory-region/Makefile
@@ -1,6 +1,3 @@
 CXX_SOURCES := main.cpp
 
 include Makefile.rules
-
-clean::
-	rm -rf $(wildcard *.o *.d *.dSYM)
Index: lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/Makefile
+++ lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/Makefile
@@ -3,6 +3,3 @@
 LD_EXTRAS := -framework Foundation
 
 include Makefile.rules
-
-clean::
-	rm -rf $(wildcard *.o *.d *.dSYM *.log)
Index: lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/Makefile
+++ lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/Makefile
@@ -7,6 +7,3 @@
 # Force relative filenames by copying it into the build directory.
 relative.cpp: main.cpp
 	cp -f $< $@
-
-clean::
-	rm -rf relative.cpp
Index: lldb/packages/Python/lldbsuite/test/commands/expression/call-function/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/commands/expression/call-function/Makefile
+++ lldb/packages/Python/lldbsuite/test/commands/expression/call-function/Makefile
@@ -1,6 +1,3 @@
 CXX_SOURCES := main.cpp
 
 include Makefile.rules
-
-clean::
-	rm -rf $(wildcard *.o *.d *.dSYM)
Index: lldb/packages/Python/lldbsuite/test/api/multithreaded/Makefile
===================================================================
--- lldb/packages/Python/lldbsuite/test/api/multithreaded/Makefile
+++ lldb/packages/Python/lldbsuite/test/api/multithreaded/Makefile
@@ -2,6 +2,3 @@
 CXX_SOURCES := main.cpp
 
 include Makefile.rules
-
-clean::
-	rm -rf $(wildcard *.o *.d *.dSYM)
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to