[llvm-commits] [test-suite] r123865 - /test-suite/trunk/SingleSource/Makefile.singlesrc

Devang Patel dpatel at apple.com
Wed Jan 19 17:06:49 PST 2011


Author: dpatel
Date: Wed Jan 19 19:06:49 2011
New Revision: 123865

URL: http://llvm.org/viewvc/llvm-project?rev=123865&view=rev
Log:
Add support to build .dbg variant using native compiler. This will be used to compare quality of debug info wrt to native compiler.

Modified:
    test-suite/trunk/SingleSource/Makefile.singlesrc

Modified: test-suite/trunk/SingleSource/Makefile.singlesrc
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Makefile.singlesrc?rev=123865&r1=123864&r2=123865&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/Makefile.singlesrc (original)
+++ test-suite/trunk/SingleSource/Makefile.singlesrc Wed Jan 19 19:06:49 2011
@@ -85,6 +85,30 @@
 Output/%.native: $(SourceDir)/%.mm Output/.dir
 	-$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(OPTFLAGS) $(TARGET_FLAGS) $< -lm -o $@ $(LDFLAGS)
 
+Output/%.native.dbg: $(SourceDir)/%.c Output/.dir
+	-$(CC) -g $(CPPFLAGS) $(CFLAGS) $(TARGET_FLAGS) $< -lm -o $@ $(LDFLAGS)
+
+Output/%.native.dbg: $(SourceDir)/%.cpp Output/.dir
+	-$(CXX) -g $(CPPFLAGS) $(CXXFLAGS) $(TARGET_FLAGS) $< -lm -o $@ $(LDFLAGS)
+
+Output/%.native.dbg: $(SourceDir)/%.m Output/.dir
+	-$(CC) -g $(CPPFLAGS) $(CFLAGS) $(TARGET_FLAGS) $< -lm -o $@ $(LDFLAGS)
+
+Output/%.native.dbg: $(SourceDir)/%.mm Output/.dir
+	-$(CXX) -g $(CPPFLAGS) $(CXXFLAGS) $(TARGET_FLAGS) $< -lm -o $@ $(LDFLAGS)
+
+Output/%.native.dbg.opt: $(SourceDir)/%.c Output/.dir
+	-$(CC) -g $(CPPFLAGS) $(CFLAGS) $(OPTFLAGS) $(TARGET_FLAGS) $< -lm -o $@ $(LDFLAGS)
+
+Output/%.native.dbg.opt: $(SourceDir)/%.cpp Output/.dir
+	-$(CXX) -g $(CPPFLAGS) $(CXXFLAGS) $(OPTFLAGS) $(TARGET_FLAGS) $< -lm -o $@ $(LDFLAGS)
+
+Output/%.native.dbg.opt: $(SourceDir)/%.m Output/.dir
+	-$(CC) -g $(CPPFLAGS) $(CFLAGS) $(OPTFLAGS) $(TARGET_FLAGS) $< -lm -o $@ $(LDFLAGS)
+
+Output/%.native.dbg.opt: $(SourceDir)/%.mm Output/.dir
+	-$(CXX) -g $(CPPFLAGS) $(CXXFLAGS) $(OPTFLAGS) $(TARGET_FLAGS) $< -lm -o $@ $(LDFLAGS)
+
 Output/%.dbg: $(SourceDir)/%.c Output/.dir
 	-$(LCC) -g $(CPPFLAGS) $(CFLAGS) $(TARGET_FLAGS) $< -lm -o $@ $(LDFLAGS)
 





More information about the llvm-commits mailing list