2014-09-07 11:00:16 -06:00
|
|
|
include Makefile.sources
|
|
|
|
|
2009-11-24 09:54:10 -07:00
|
|
|
AM_CFLAGS = \
|
|
|
|
$(WARN_CFLAGS) \
|
2010-06-01 12:23:42 -06:00
|
|
|
-I$(top_srcdir)/include/drm \
|
|
|
|
-I$(top_srcdir)
|
2009-11-24 09:54:10 -07:00
|
|
|
|
|
|
|
libkms_la_LTLIBRARIES = libkms.la
|
|
|
|
libkms_ladir = $(libdir)
|
|
|
|
libkms_la_LDFLAGS = -version-number 1:0:0 -no-undefined
|
2012-09-07 16:49:38 -06:00
|
|
|
libkms_la_LIBADD = ../libdrm.la
|
2010-01-12 10:53:49 -07:00
|
|
|
|
|
|
|
#if HAVE_LIBUDEV
|
|
|
|
#libkms_la_LIBADD += $(LIBUDEV_LIBS)
|
|
|
|
#endif
|
2009-11-24 09:54:10 -07:00
|
|
|
|
2014-09-07 11:00:16 -06:00
|
|
|
libkms_la_SOURCES = $(LIBKMS_FILES)
|
2010-01-05 12:55:02 -07:00
|
|
|
|
|
|
|
if HAVE_VMWGFX
|
2014-09-07 11:00:16 -06:00
|
|
|
libkms_la_SOURCES += $(LIBKMS_VMWGFX_FILES)
|
2010-01-05 12:55:02 -07:00
|
|
|
endif
|
2009-11-24 09:54:10 -07:00
|
|
|
|
2014-09-07 10:54:39 -06:00
|
|
|
if HAVE_INTEL
|
2014-09-07 11:00:16 -06:00
|
|
|
libkms_la_SOURCES += $(LIBKMS_INTEL_FILES)
|
2014-09-07 10:54:39 -06:00
|
|
|
endif
|
|
|
|
|
2010-02-27 09:02:25 -07:00
|
|
|
if HAVE_NOUVEAU
|
2014-09-07 11:00:16 -06:00
|
|
|
libkms_la_SOURCES += $(LIBKMS_NOUVEAU_FILES)
|
2010-02-27 09:02:25 -07:00
|
|
|
endif
|
|
|
|
|
2010-09-09 03:07:21 -06:00
|
|
|
if HAVE_RADEON
|
2014-09-07 11:00:16 -06:00
|
|
|
libkms_la_SOURCES += $(LIBKMS_RADEON_FILES)
|
2010-09-09 03:07:21 -06:00
|
|
|
endif
|
|
|
|
|
2014-01-10 00:44:30 -07:00
|
|
|
if HAVE_EXYNOS
|
2014-09-07 11:00:16 -06:00
|
|
|
libkms_la_SOURCES += $(LIBKMS_EXYNOS_FILES)
|
2014-01-10 00:44:30 -07:00
|
|
|
AM_CFLAGS += -I$(top_srcdir)/exynos
|
|
|
|
endif
|
|
|
|
|
2009-11-24 09:54:10 -07:00
|
|
|
libkmsincludedir = ${includedir}/libkms
|
2014-09-07 11:00:16 -06:00
|
|
|
libkmsinclude_HEADERS = $(LIBKMS_H_FILES)
|
2009-11-24 09:54:10 -07:00
|
|
|
|
|
|
|
pkgconfigdir = @pkgconfigdir@
|
|
|
|
pkgconfig_DATA = libkms.pc
|
|
|
|
|
2015-03-31 12:51:45 -06:00
|
|
|
TESTS = kms-symbol-check
|
2016-07-21 04:05:03 -06:00
|
|
|
EXTRA_DIST = $(TESTS)
|