Remove conditionals from the makefiles.
authorZack Rusin <zack@tungstengraphics.com>
Mon, 29 Oct 2007 14:01:29 +0000 (10:01 -0400)
committerKeith Whitwell <keith@tungstengraphics.com>
Mon, 29 Oct 2007 16:14:10 +0000 (16:14 +0000)
src/mesa/pipe/llvm/instructions.cpp
src/mesa/pipe/llvm/llvmtgsi.cpp
src/mesa/pipe/llvm/storage.cpp
src/mesa/sources

index 645ab91..b0aa0cc 100644 (file)
@@ -29,6 +29,7 @@
   * Authors:
   *   Zack Rusin zack@tungstengraphics.com
   */
+#ifdef MESA_LLVM
 
 #include "instructions.h"
 
@@ -1165,3 +1166,4 @@ llvm::Function * Instructions::findFunction(int label)
    return func;
 }
 
+#endif //MESA_LLVM
index b57a0f8..4611ac1 100644 (file)
@@ -29,6 +29,7 @@
   * Authors:
   *   Zack Rusin zack@tungstengraphics.com
   */
+#ifdef MESA_LLVM
 
 #include "llvmtgsi.h"
 
@@ -67,8 +68,6 @@
 #include <fstream>
 #include <iostream>
 
-#ifdef MESA_LLVM
-
 struct gallivm_prog {
    llvm::Module *module;
    void *function;
index dca8b39..ff62fcf 100644 (file)
@@ -29,6 +29,7 @@
   * Authors:
   *   Zack Rusin zack@tungstengraphics.com
   */
+#ifdef MESA_LLVM
 
 #include "storage.h"
 
@@ -391,3 +392,4 @@ void Storage::popTemps()
    m_temps = m_tempStack.top();
    m_tempStack.pop();
 }
+#endif //MESA_LLVM
index 30d3c32..e27f02a 100644 (file)
@@ -187,12 +187,10 @@ TGSIDECO_SOURCES = \
        pipe/tgsi/deco/deco_caps.c
 
 
-ifeq ($(MESA_LLVM),1)
-  LLVMTGSI_SOURCES = \
+LLVMTGSI_SOURCES = \
        pipe/llvm/llvmtgsi.cpp \
        pipe/llvm/storage.cpp \
        pipe/llvm/instructions.cpp
-endif
 
 STATECACHE_SOURCES = \
        pipe/cso_cache/cso_hash.c \