Jakob Bornecrantz | 8c0571a | 2009-11-24 17:54:10 +0100 | [diff] [blame] | 1 | AM_CFLAGS = \ |
| 2 | $(WARN_CFLAGS) \ |
Daniel Stone | ae57dcf | 2010-06-01 19:23:42 +0100 | [diff] [blame] | 3 | -I$(top_srcdir)/include/drm \ |
| 4 | -I$(top_srcdir) |
Jakob Bornecrantz | 8c0571a | 2009-11-24 17:54:10 +0100 | [diff] [blame] | 5 | |
| 6 | libkms_la_LTLIBRARIES = libkms.la |
| 7 | libkms_ladir = $(libdir) |
| 8 | libkms_la_LDFLAGS = -version-number 1:0:0 -no-undefined |
Marcin Slusarz | 9c3c95f | 2012-09-08 00:49:38 +0200 | [diff] [blame^] | 9 | libkms_la_LIBADD = ../libdrm.la |
Jakob Bornecrantz | d920fa9 | 2010-01-12 17:53:49 +0000 | [diff] [blame] | 10 | |
| 11 | #if HAVE_LIBUDEV |
| 12 | #libkms_la_LIBADD += $(LIBUDEV_LIBS) |
| 13 | #endif |
Jakob Bornecrantz | 8c0571a | 2009-11-24 17:54:10 +0100 | [diff] [blame] | 14 | |
| 15 | libkms_la_SOURCES = \ |
Jakob Bornecrantz | 25c0c63 | 2010-02-18 13:14:07 +0100 | [diff] [blame] | 16 | internal.h \ |
Jakob Bornecrantz | 9042d72 | 2010-01-08 02:51:04 +0000 | [diff] [blame] | 17 | linux.c \ |
Jakob Bornecrantz | bfa44bb | 2010-01-08 03:00:56 +0000 | [diff] [blame] | 18 | intel.c \ |
Dave Airlie | bb99465 | 2011-02-09 13:41:49 +1000 | [diff] [blame] | 19 | dumb.c \ |
Jakob Bornecrantz | 5dbc1b3 | 2010-01-05 20:55:02 +0100 | [diff] [blame] | 20 | api.c |
| 21 | |
| 22 | if HAVE_VMWGFX |
| 23 | libkms_la_SOURCES += vmwgfx.c |
| 24 | endif |
Jakob Bornecrantz | 8c0571a | 2009-11-24 17:54:10 +0100 | [diff] [blame] | 25 | |
Marcin KoĆcielnicki | d5a2e77 | 2010-02-27 16:02:25 +0000 | [diff] [blame] | 26 | if HAVE_NOUVEAU |
| 27 | libkms_la_SOURCES += nouveau.c |
| 28 | endif |
| 29 | |
nobled | ed7d177 | 2010-09-09 10:07:21 +0100 | [diff] [blame] | 30 | if HAVE_RADEON |
| 31 | libkms_la_SOURCES += radeon.c |
| 32 | endif |
| 33 | |
Jakob Bornecrantz | 8c0571a | 2009-11-24 17:54:10 +0100 | [diff] [blame] | 34 | libkmsincludedir = ${includedir}/libkms |
| 35 | libkmsinclude_HEADERS = libkms.h |
| 36 | |
| 37 | pkgconfigdir = @pkgconfigdir@ |
| 38 | pkgconfig_DATA = libkms.pc |
| 39 | |
| 40 | EXTRA_DIST = libkms.pc.in |