[Mesa-dev] [PATCH 28/29] winsys/freedreno/drm: consolidate C sources list into Makefile.sources
Emil Velikov
emil.l.velikov at gmail.com
Sun Sep 22 13:29:51 PDT 2013
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
src/gallium/winsys/freedreno/drm/Makefile.am | 3 ++-
src/gallium/winsys/freedreno/drm/Makefile.sources | 2 ++
2 files changed, 4 insertions(+), 1 deletion(-)
create mode 100644 src/gallium/winsys/freedreno/drm/Makefile.sources
diff --git a/src/gallium/winsys/freedreno/drm/Makefile.am b/src/gallium/winsys/freedreno/drm/Makefile.am
index 58f69d1..8a74dcd 100644
--- a/src/gallium/winsys/freedreno/drm/Makefile.am
+++ b/src/gallium/winsys/freedreno/drm/Makefile.am
@@ -20,6 +20,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 = \
@@ -29,4 +30,4 @@ AM_CFLAGS = \
noinst_LTLIBRARIES = libfreedrenodrm.la
-libfreedrenodrm_la_SOURCES = freedreno_drm_winsys.c
+libfreedrenodrm_la_SOURCES = $(C_SOURCES)
diff --git a/src/gallium/winsys/freedreno/drm/Makefile.sources b/src/gallium/winsys/freedreno/drm/Makefile.sources
new file mode 100644
index 0000000..18a8f28
--- /dev/null
+++ b/src/gallium/winsys/freedreno/drm/Makefile.sources
@@ -0,0 +1,2 @@
+C_SOURCES := \
+ freedreno_drm_winsys.c
--
1.8.4
More information about the mesa-dev
mailing list