build and link static libraries without libtool
[enigma2.git] / lib / components / Makefile.am
index 960e101cca851dd1b30a4cadaa9fe868515577cc..e873e5257ff2d0065a63e3e9874f3a7d1fff9ae2 100644 (file)
@@ -1,8 +1,13 @@
 AM_CPPFLAGS = \
        -I$(top_srcdir) \
        -I$(top_srcdir)/include \
-       -include Python.h
+       -include Python.h \
+       -include $(top_builddir)/enigma2_config.h
 
-noinst_LTLIBRARIES = libenigma_components.la
+noinst_LIBRARIES = libenigma_components.a
 
-libenigma_components_la_SOURCES = scan.cpp file_eraser.cpp
+libenigma_components_a_SOURCES = \
+       file_eraser.cpp \
+       file_eraser.h \
+       scan.cpp \
+       scan.h