build and link static libraries without libtool
[enigma2.git] / lib / gdi / Makefile.am
index abb75b79523adf299f069caa06f3904c292a2e3c..a47855ff2d05438e71380cb8bf59de0b5d1668e1 100644 (file)
@@ -1,8 +1,52 @@
-INCLUDES = \
-       -I$(top_srcdir)/include
+AM_CPPFLAGS = \
+       -I$(top_srcdir) \
+       -I$(top_srcdir)/include \
+       -include Python.h \
+       -include $(top_builddir)/enigma2_config.h
+
+AM_CXXFLAGS = \
+       $(LIBSDL_CFLAGS)
 
 noinst_LIBRARIES = libenigma_gdi.a
 
 libenigma_gdi_a_SOURCES = \
-       region.cpp grc.cpp epng.cpp erect.cpp fb.cpp font.cpp font_arabic.cpp gfbdc.cpp  \
-       glcddc.cpp gpixmap.cpp lcd.cpp sdl.cpp gfont.cpp
+       accel.cpp \
+       accel.h \
+       bcm.cpp \
+       compositing.cpp \
+       compositing.h \
+       epng.cpp \
+       epng.h \
+       epoint.h \
+       erect.cpp \
+       erect.h \
+       esize.h \
+       fb.cpp \
+       fb.h \
+       font.cpp \
+       font.h \
+       font_arabic.cpp \
+       gfbdc.cpp \
+       gfbdc.h \
+       gfont.cpp \
+       gfont.h \
+       glcddc.cpp \
+       glcddc.h \
+       gpixmap.cpp \
+       gpixmap.h \
+       grc.cpp \
+       grc.h \
+       lcd.cpp \
+       lcd.h \
+       picexif.cpp \
+       picexif.h \
+       picload.cpp \
+       picload.h \
+       region.cpp \
+       region.h
+
+if HAVE_LIBSDL
+libenigma_gdi_a_SOURCES += \
+       sdl.cpp \
+       sdl.h
+endif