radeon/llvm: Use a struct for storing compiled code
[mesa.git] / src / gallium / drivers / radeon / Makefile.sources
index 9742e6b7790e756253c5963ea3a5b9e0f567d39d..a23d5c4ad2c7b4d179b6c10c4145617fe0f1ab54 100644 (file)
@@ -1,58 +1,9 @@
+C_SOURCES := \
+       radeon_uvd.c
 
-GENERATED_SOURCES := \
-       R600Intrinsics.td               \
-       R600RegisterInfo.td             \
-       SIRegisterInfo.td               \
-       SIRegisterGetHWRegNum.inc               \
-       AMDGPUGenRegisterInfo.inc       \
-       AMDGPUGenInstrInfo.inc          \
-       AMDGPUGenAsmWriter.inc          \
-       AMDGPUGenDAGISel.inc            \
-       AMDGPUGenCallingConv.inc                \
-       AMDGPUGenSubtargetInfo.inc              \
-       AMDGPUGenEDInfo.inc             \
-       AMDGPUGenIntrinsics.inc         \
-       AMDGPUGenCodeEmitter.inc
-
-CPP_SOURCES := \
-       AMDIL7XXDevice.cpp              \
-       AMDILCFGStructurizer.cpp        \
-       AMDILDevice.cpp                 \
-       AMDILDeviceInfo.cpp             \
-       AMDILEvergreenDevice.cpp        \
-       AMDILFrameLowering.cpp          \
-       AMDILInstrInfo.cpp              \
-       AMDILIntrinsicInfo.cpp          \
-       AMDILISelDAGToDAG.cpp           \
-       AMDILISelLowering.cpp           \
-       AMDILNIDevice.cpp               \
-       AMDILPeepholeOptimizer.cpp      \
-       AMDILRegisterInfo.cpp           \
-       AMDILSIDevice.cpp               \
-       AMDILSubtarget.cpp              \
-       AMDGPUTargetMachine.cpp         \
-       AMDGPUISelLowering.cpp          \
-       AMDGPUConvertToISA.cpp          \
-       AMDGPULowerInstructions.cpp             \
-       AMDGPUInstrInfo.cpp             \
-       AMDGPURegisterInfo.cpp          \
-       AMDGPUUtil.cpp                  \
-       R600CodeEmitter.cpp             \
-       R600ISelLowering.cpp            \
-       R600InstrInfo.cpp               \
-       R600KernelParameters.cpp        \
-       R600MachineFunctionInfo.cpp     \
-       R600RegisterInfo.cpp            \
-       SIAssignInterpRegs.cpp          \
-       SICodeEmitter.cpp               \
-       SIInstrInfo.cpp                 \
-       SIISelLowering.cpp              \
-       SIMachineFunctionInfo.cpp       \
-       SIRegisterInfo.cpp              \
-       MCTargetDesc/AMDILMCAsmInfo.cpp \
-       MCTargetDesc/AMDILMCTargetDesc.cpp      \
-       TargetInfo/AMDILTargetInfo.cpp  \
+LLVM_CPP_FILES := \
        radeon_llvm_emit.cpp
 
-C_SOURCES := \
-       radeon_setup_tgsi_llvm.c
+LLVM_C_FILES := \
+       radeon_setup_tgsi_llvm.c \
+       radeon_llvm_util.c