X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/96b320d3d1b921cad7a94027b449dacd49470117..59e42503e34758a946ebee1a1405fecb8fe7236d:/lib/driver/Makefile.am diff --git a/lib/driver/Makefile.am b/lib/driver/Makefile.am index 63a205a8..b498a6c8 100644 --- a/lib/driver/Makefile.am +++ b/lib/driver/Makefile.am @@ -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