radeon/winsys: Convert to automake

This commit is contained in:
Tom Stellard 2012-08-24 11:44:57 -07:00 committed by Andreas Boll
parent 8dc4048b3b
commit 34a6150188
4 changed files with 17 additions and 15 deletions

View file

@ -2010,6 +2010,7 @@ AC_CONFIG_FILES([configs/current
src/gallium/targets/Makefile
src/gallium/targets/opencl/Makefile
src/gallium/winsys/Makefile
src/gallium/winsys/radeon/drm/Makefile
src/gbm/Makefile
src/gbm/main/gbm.pc
src/glsl/Makefile

View file

@ -0,0 +1 @@
Makefile

View file

@ -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:

View file

@ -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