Merge branch 'bug_615_replace_rawfile'
[enigma2.git] / lib / driver / Makefile.am
index 63a205a8976c91ec090b7240f79997abde6817bd..b498a6c829fd8ecbee6dc3a5e56e8439f66a909f 100644 (file)
@@ -4,23 +4,35 @@ AM_CPPFLAGS = \
        -include Python.h \
        -include $(top_builddir)/enigma2_config.h
 
+AM_CXXFLAGS = \
+       $(LIBSDL_CFLAGS)
+
 noinst_LIBRARIES = libenigma_driver.a
 
 libenigma_driver_a_SOURCES = \
        avswitch.cpp \
-       avswitch.h \
        etimezone.cpp \
+       misc_options.cpp \
+       rc.cpp \
+       rcconsole.cpp \
+       rcinput.cpp \
+       rfmod.cpp
+
+driverincludedir = $(pkgincludedir)/lib/driver
+driverinclude_HEADERS = \
+       avswitch.h \
        etimezone.h \
        input_fake.h \
-       misc_options.cpp \
        misc_options.h \
-       rc.cpp \
        rc.h \
-       rcconsole.cpp \
        rcconsole.h \
        rcdbox.h \
        rcdreambox2.h \
-       rcinput.cpp \
        rcinput.h \
-       rfmod.cpp \
        rfmod.h
+
+if HAVE_LIBSDL
+libenigma_driver_a_SOURCES += \
+       rcsdl.cpp \
+       rcsdl.h
+endif