• 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
13#if HAVE_LIBUDEV
14#libkms_la_LIBADD += $(LIBUDEV_LIBS)
15#endif
16
17libkms_la_SOURCES = $(LIBKMS_FILES)
18
19if HAVE_VMWGFX
20libkms_la_SOURCES += $(LIBKMS_VMWGFX_FILES)
21endif
22
23if HAVE_INTEL
24libkms_la_SOURCES += $(LIBKMS_INTEL_FILES)
25endif
26
27if HAVE_NOUVEAU
28libkms_la_SOURCES += $(LIBKMS_NOUVEAU_FILES)
29endif
30
31if HAVE_RADEON
32libkms_la_SOURCES += $(LIBKMS_RADEON_FILES)
33endif
34
35if HAVE_EXYNOS
36libkms_la_SOURCES += $(LIBKMS_EXYNOS_FILES)
37AM_CFLAGS += -I$(top_srcdir)/exynos
38endif
39
40libkmsincludedir = ${includedir}/libkms
41libkmsinclude_HEADERS = $(LIBKMS_H_FILES)
42
43pkgconfigdir = @pkgconfigdir@
44pkgconfig_DATA = libkms.pc
45
46TESTS = kms-symbol-check
47EXTRA_DIST = Android.mk $(TESTS)
48