summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/Makefile.sources
diff options
context:
space:
mode:
authorJohannes Obermayr <[email protected]>2013-01-12 12:55:08 +0100
committerChristoph Bumiller <[email protected]>2013-01-12 17:14:04 +0100
commit6bca283ad5ebdd85e268c6757842b3c808c6b73d (patch)
tree0f85bb1f819390108eb846063b0bf5058f5cd8cc /src/gallium/drivers/nv50/Makefile.sources
parent09a00a141f8cf1cac1a8907df4f9c1cb1edd939c (diff)
nv50/nvc0: Build codegen in nv50.
This is required to make libnv50 independent of libnvc0.
Diffstat (limited to 'src/gallium/drivers/nv50/Makefile.sources')
-rw-r--r--src/gallium/drivers/nv50/Makefile.sources12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/Makefile.sources b/src/gallium/drivers/nv50/Makefile.sources
index c112e82e9c0..10925704f84 100644
--- a/src/gallium/drivers/nv50/Makefile.sources
+++ b/src/gallium/drivers/nv50/Makefile.sources
@@ -15,7 +15,7 @@ C_SOURCES := \
nv50_push.c \
nv50_query.c
-CPP_SOURCES := \
+CODEGEN_NV50_SOURCES := \
codegen/nv50_ir.cpp \
codegen/nv50_ir_bb.cpp \
codegen/nv50_ir_build_util.cpp \
@@ -30,3 +30,13 @@ CPP_SOURCES := \
codegen/nv50_ir_target.cpp \
codegen/nv50_ir_target_nv50.cpp \
codegen/nv50_ir_util.cpp
+
+CODEGEN_NVC0_SOURCES := \
+ $(top_srcdir)/src/gallium/drivers/nvc0/codegen/nv50_ir_emit_gk110.cpp \
+ $(top_srcdir)/src/gallium/drivers/nvc0/codegen/nv50_ir_emit_nvc0.cpp \
+ $(top_srcdir)/src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp \
+ $(top_srcdir)/src/gallium/drivers/nvc0/codegen/nv50_ir_target_nvc0.cpp
+
+CPP_SOURCES := \
+ $(CODEGEN_NV50_SOURCES) \
+ $(CODEGEN_NVC0_SOURCES)