build and link static libraries without libtool
[enigma2.git] / lib / gdi / Makefile.am
index 1280556eff8d47bae2c5a782accd426e9a3ddb55..a47855ff2d05438e71380cb8bf59de0b5d1668e1 100644 (file)
@@ -1,15 +1,52 @@
-INCLUDES = \
-       -I$(top_srcdir)/include -I$(top_srcdir)/lib/gdi/ati
+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 gfont.cpp accel.cpp picload.cpp picexif.cpp \
-       compositing.cpp bcm.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 WITH_SDL
-libenigma_gdi_a_SOURCES += sdl.cpp
+if HAVE_LIBSDL
+libenigma_gdi_a_SOURCES += \
+       sdl.cpp \
+       sdl.h
 endif
-
-#      ati/2dablt.cpp ati/2dcore.cpp ati/ati_core.cpp ati/test.cpp ati/2dutil.cpp