summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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