SDL: add input support, use SDL mainloop in a thread
[enigma2.git] / lib / driver / Makefile.am
index 88d9bec5418d94b293553e4e8fef9a2829a078ed..b498a6c829fd8ecbee6dc3a5e56e8439f66a909f 100644 (file)
@@ -4,6 +4,9 @@ AM_CPPFLAGS = \
        -include Python.h \
        -include $(top_builddir)/enigma2_config.h
 
+AM_CXXFLAGS = \
+       $(LIBSDL_CFLAGS)
+
 noinst_LIBRARIES = libenigma_driver.a
 
 libenigma_driver_a_SOURCES = \
@@ -27,3 +30,9 @@ driverinclude_HEADERS = \
        rcdreambox2.h \
        rcinput.h \
        rfmod.h
+
+if HAVE_LIBSDL
+libenigma_driver_a_SOURCES += \
+       rcsdl.cpp \
+       rcsdl.h
+endif