drm/libkms/Makefile.am

48 lines
919 B
Makefile
Raw Normal View History

include Makefile.sources
2009-11-24 09:54:10 -07:00
AM_CFLAGS = \
$(WARN_CFLAGS) \
-I$(top_srcdir)/include/drm \
-I$(top_srcdir)
2009-11-24 09:54:10 -07:00
libkms_la_LTLIBRARIES = libkms.la
libkms_ladir = $(libdir)
libkms_la_LDFLAGS = -version-number 1:0:0 -no-undefined
libkms_la_LIBADD = ../libdrm.la
#if HAVE_LIBUDEV
#libkms_la_LIBADD += $(LIBUDEV_LIBS)
#endif
2009-11-24 09:54:10 -07:00
libkms_la_SOURCES = $(LIBKMS_FILES)
2010-01-05 12:55:02 -07:00
if HAVE_VMWGFX
libkms_la_SOURCES += $(LIBKMS_VMWGFX_FILES)
2010-01-05 12:55:02 -07:00
endif
2009-11-24 09:54:10 -07:00
if HAVE_INTEL
libkms_la_SOURCES += $(LIBKMS_INTEL_FILES)
endif
2010-02-27 09:02:25 -07:00
if HAVE_NOUVEAU
libkms_la_SOURCES += $(LIBKMS_NOUVEAU_FILES)
2010-02-27 09:02:25 -07:00
endif
if HAVE_RADEON
libkms_la_SOURCES += $(LIBKMS_RADEON_FILES)
endif
if HAVE_EXYNOS
libkms_la_SOURCES += $(LIBKMS_EXYNOS_FILES)
AM_CFLAGS += -I$(top_srcdir)/exynos
endif
2009-11-24 09:54:10 -07:00
libkmsincludedir = ${includedir}/libkms
libkmsinclude_HEADERS = $(LIBKMS_H_FILES)
2009-11-24 09:54:10 -07:00
pkgconfigdir = @pkgconfigdir@
pkgconfig_DATA = libkms.pc
TESTS = kms-symbol-check
EXTRA_DIST = Android.mk $(TESTS)