summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/radeon
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-08-24 11:44:57 -0700
committerAndreas Boll <[email protected]>2013-01-10 22:01:06 +0100
commit34a615018844814d285c9c787ff46539b8adc9aa (patch)
tree57c72a66aad83df6de1a76a5b9112f7dcc7e32a3 /src/gallium/winsys/radeon
parent8dc4048b3bdb4dc3a5b3d392dcde65eb37a87965 (diff)
radeon/winsys: Convert to automake
Diffstat (limited to 'src/gallium/winsys/radeon')
-rw-r--r--src/gallium/winsys/radeon/drm/.gitignore1
-rw-r--r--src/gallium/winsys/radeon/drm/Makefile15
-rw-r--r--src/gallium/winsys/radeon/drm/Makefile.am15
3 files changed, 16 insertions, 15 deletions
diff --git a/src/gallium/winsys/radeon/drm/.gitignore b/src/gallium/winsys/radeon/drm/.gitignore
new file mode 100644
index 00000000000..f3c7a7c5da6
--- /dev/null
+++ b/src/gallium/winsys/radeon/drm/.gitignore
@@ -0,0 +1 @@
+Makefile
diff --git a/src/gallium/winsys/radeon/drm/Makefile b/src/gallium/winsys/radeon/drm/Makefile
deleted file mode 100644
index 517360e4364..00000000000
--- a/src/gallium/winsys/radeon/drm/Makefile
+++ /dev/null
@@ -1,15 +0,0 @@
-
-TOP = ../../../../..
-include $(TOP)/configs/current
-
-LIBNAME = radeonwinsys
-
-# get C_SOURCES
-include Makefile.sources
-
-LIBRARY_INCLUDES = -I$(TOP)/include \
- $(shell $(PKG_CONFIG) libdrm --cflags-only-I)
-
-include ../../../Makefile.template
-
-symlinks:
diff --git a/src/gallium/winsys/radeon/drm/Makefile.am b/src/gallium/winsys/radeon/drm/Makefile.am
new file mode 100644
index 00000000000..5b2506b35eb
--- /dev/null
+++ b/src/gallium/winsys/radeon/drm/Makefile.am
@@ -0,0 +1,15 @@
+include Makefile.sources
+include $(top_srcdir)/src/gallium/Automake.inc
+
+AM_CFLAGS = \
+ -I$(top_srcdir)/include \
+ $(GALLIUM_CFLAGS) \
+ $(RADEON_CFLAGS)
+
+noinst_LTLIBRARIES = libradeonwinsys.la
+
+libradeonwinsys_la_SOURCES = $(C_SOURCES)
+
+#XXX: Delete this when all targets using the radeon winsys are converted to automake.
+all-local: libradeonwinsys.la
+ ln -f $(builddir)/.libs/libradeonwinsys.a $(builddir)/libradeonwinsys.a