compile and link sdl.cpp if WITH_SDL is set
authorAndreas Oberritter <obi@opendreambox.org>
Tue, 25 Mar 2008 19:53:11 +0000 (19:53 +0000)
committerAndreas Oberritter <obi@opendreambox.org>
Tue, 25 Mar 2008 19:53:11 +0000 (19:53 +0000)
lib/gdi/Makefile.am

index ff688af..46ed948 100644 (file)
@@ -7,5 +7,8 @@ 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
 
        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
 
+if WITH_SDL
+libenigma_gdi_a_SOURCES += sdl.cpp
+endif
 
 #      ati/2dablt.cpp ati/2dcore.cpp ati/ati_core.cpp ati/test.cpp ati/2dutil.cpp
 
 #      ati/2dablt.cpp ati/2dcore.cpp ati/ati_core.cpp ati/test.cpp ati/2dutil.cpp