Remove conditionals from the makefiles.
This commit is contained in:
committed by
Keith Whitwell
parent
a70c5e37f1
commit
a6a3d8cb75
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
+1
-3
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user