From: Emil Velikov Date: Sun, 22 Sep 2013 19:35:21 +0000 (+0100) Subject: st/osmesa: consolidate C sources list into Makefile.sources X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c0024c4548e07a8eeedb178bdc0feaf320b71c3e;p=mesa.git st/osmesa: consolidate C sources list into Makefile.sources Signed-off-by: Emil Velikov Reviewed-by: Tom Stellard --- 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