radeon/winsys: Convert to automake
This commit is contained in:
committed by
Andreas Boll
parent
8dc4048b3b
commit
34a6150188
@@ -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
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Makefile
|
||||
@@ -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:
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user