BOOST_INCLUDES = -I$(top_srcdir)/boost
INCLUDES = -I${srcdir}/../ $(SIGC_CFLAGS) $(BOOST_INCLUDES)
+EXTRA_DIST = GraphicsImageXPM.C GraphicsImageXPM.h
+
+if USE_BASIC_IMAGE_LOADER
+GRAPHICSIMAGEXPM = GraphicsImageXPM.C GraphicsImageXPM.h
+endif
+
libgraphics_la_SOURCES = \
GraphicsCache.h \
GraphicsCache.C \
GraphicsConverter.C \
GraphicsImage.h \
GraphicsImage.C \
- GraphicsImageXPM.h \
- GraphicsImageXPM.C \
- GraphicsParams.C \
+ $(GRAPHICSIMAGEXPM) GraphicsParams.C \
GraphicsParams.h \
GraphicsTypes.h