[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/APInt/Makefile
Reid Spencer
reid at x10sys.com
Thu Mar 1 17:37:08 PST 2007
Changes in directory llvm-test/SingleSource/UnitTests/Integer/APInt:
Makefile updated: 1.3 -> 1.4
---
Log message:
Changes to support building APInt tests.
---
Diffs of the changes: (+9 -2)
Makefile | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
Index: llvm-test/SingleSource/UnitTests/Integer/APInt/Makefile
diff -u llvm-test/SingleSource/UnitTests/Integer/APInt/Makefile:1.3 llvm-test/SingleSource/UnitTests/Integer/APInt/Makefile:1.4
--- llvm-test/SingleSource/UnitTests/Integer/APInt/Makefile:1.3 Tue Feb 13 21:47:40 2007
+++ llvm-test/SingleSource/UnitTests/Integer/APInt/Makefile Thu Mar 1 19:36:51 2007
@@ -4,5 +4,12 @@
include $(LEVEL)/SingleSource/Makefile.singlesrc
-LDFLAGS += -L$(LLVM_OBJ_ROOT)/Debug/lib -lLLVMSupport -lLLVMSystem -lstdc++
-CXXFLAGS += -I$(LLVM_SRC_ROOT)/include -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__NO_MATH_INLINES -g -O0
+CXXFLAGS += -I$(LLVM_SRC_ROOT)/include -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__NO_MATH_INLINES
+ifeq ($(ENABLE_PROFILING),1)
+LDFLAGS += -L$(LLVM_OBJ_ROOT)/Profile/lib
+CXXFLAGS += -g -pg -O3
+else
+LDFLAGS += -L$(LLVM_OBJ_ROOT)/Debug/lib
+CXXFLAGS += -g -O0
+endif
+LDFLAGS += -lLLVMSupport -lLLVMSystem -lstdc++
More information about the llvm-commits
mailing list