• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1include Makefile.sources
2
3AM_CFLAGS = \
4	$(WARN_CFLAGS) \
5	-I$(top_srcdir)/include/drm \
6	-I$(top_srcdir)
7
8libkms_la_LTLIBRARIES = libkms.la
9libkms_ladir = $(libdir)
10libkms_la_LDFLAGS = -version-number 1:0:0 -no-undefined
11libkms_la_LIBADD = ../libdrm.la
12
13libkms_la_SOURCES = $(LIBKMS_FILES)
14
15if HAVE_VMWGFX
16libkms_la_SOURCES += $(LIBKMS_VMWGFX_FILES)
17endif
18
19if HAVE_INTEL
20libkms_la_SOURCES += $(LIBKMS_INTEL_FILES)
21endif
22
23if HAVE_NOUVEAU
24libkms_la_SOURCES += $(LIBKMS_NOUVEAU_FILES)
25endif
26
27if HAVE_RADEON
28libkms_la_SOURCES += $(LIBKMS_RADEON_FILES)
29endif
30
31if HAVE_EXYNOS
32libkms_la_SOURCES += $(LIBKMS_EXYNOS_FILES)
33AM_CFLAGS += -I$(top_srcdir)/exynos
34endif
35
36libkmsincludedir = ${includedir}/libkms
37libkmsinclude_HEADERS = $(LIBKMS_H_FILES)
38
39pkgconfigdir = @pkgconfigdir@
40pkgconfig_DATA = libkms.pc
41
42TESTS = kms-symbol-check
43EXTRA_DIST = $(TESTS)
44