summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/osmesa
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2013-09-22 20:35:21 +0100
committerTom Stellard <[email protected]>2013-10-01 07:29:51 -0700
commitc0024c4548e07a8eeedb178bdc0feaf320b71c3e (patch)
treea70f2e15fe3b31ea0658b77569e6ee0bd6907276 /src/gallium/state_trackers/osmesa
parent921fdf14293f0c417a46f36fd74cfa11e82b3456 (diff)
st/osmesa: consolidate C sources list into Makefile.sources
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/osmesa')
-rw-r--r--src/gallium/state_trackers/osmesa/Makefile.am4
-rw-r--r--src/gallium/state_trackers/osmesa/Makefile.sources2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/osmesa/Makefile.am b/src/gallium/state_trackers/osmesa/Makefile.am
index 318201200fa..4ba6c207498 100644
--- a/src/gallium/state_trackers/osmesa/Makefile.am
+++ b/src/gallium/state_trackers/osmesa/Makefile.am
@@ -19,6 +19,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
+include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc
AM_CFLAGS = $(GALLIUM_CFLAGS)
@@ -37,5 +38,4 @@ AM_CPPFLAGS = \
noinst_LTLIBRARIES = libosmesa.la
-libosmesa_la_SOURCES = \
- osmesa.c
+libosmesa_la_SOURCES = $(C_SOURCES)
diff --git a/src/gallium/state_trackers/osmesa/Makefile.sources b/src/gallium/state_trackers/osmesa/Makefile.sources
new file mode 100644
index 00000000000..f8008efdec5
--- /dev/null
+++ b/src/gallium/state_trackers/osmesa/Makefile.sources
@@ -0,0 +1,2 @@
+C_SOURCES := \
+ osmesa.c