5c2e63fc5eb546521ba5798bed24a7c02956648d
[glsdk/libdrm.git] / libkms / Makefile.am
1 AM_CFLAGS = \
2         $(WARN_CFLAGS) \
3         -I$(top_srcdir)/include/drm \
4         -I$(top_srcdir)
6 libkms_la_LTLIBRARIES = libkms.la
7 libkms_ladir = $(libdir)
8 libkms_la_LDFLAGS = -version-number 1:0:0 -no-undefined
9 libkms_la_LIBADD =
11 #if HAVE_LIBUDEV
12 #libkms_la_LIBADD += $(LIBUDEV_LIBS)
13 #endif
15 libkms_la_SOURCES = \
16         internal.h \
17         linux.c \
18         intel.c \
19         api.c
21 if HAVE_VMWGFX
22 libkms_la_SOURCES += vmwgfx.c
23 endif
25 if HAVE_NOUVEAU
26 libkms_la_SOURCES += nouveau.c
27 endif
29 if HAVE_RADEON
30 libkms_la_SOURCES += radeon.c
31 endif
33 libkmsincludedir = ${includedir}/libkms
34 libkmsinclude_HEADERS = libkms.h
36 pkgconfigdir = @pkgconfigdir@
37 pkgconfig_DATA = libkms.pc
39 EXTRA_DIST = libkms.pc.in