summaryrefslogtreecommitdiff
path: root/libkms/Makefile.am
blob: 0375ae492ac5cc7dcd66d8ff081fc7ed25789850 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
AM_CFLAGS = \
	$(WARN_CFLAGS) \
	-I$(top_srcdir)/include/drm

libkms_la_LTLIBRARIES = libkms.la
libkms_ladir = $(libdir)
libkms_la_LDFLAGS = -version-number 1:0:0 -no-undefined
libkms_la_LIBADD =

#if HAVE_LIBUDEV
#libkms_la_LIBADD += $(LIBUDEV_LIBS)
#endif

libkms_la_SOURCES = \
	internal.h \
	linux.c \
	intel.c \
	api.c

if HAVE_VMWGFX
libkms_la_SOURCES += vmwgfx.c
endif

if HAVE_NOUVEAU
libkms_la_SOURCES += nouveau.c
endif

libkmsincludedir = ${includedir}/libkms
libkmsinclude_HEADERS = libkms.h

pkgconfigdir = @pkgconfigdir@
pkgconfig_DATA = libkms.pc

EXTRA_DIST = libkms.pc.in