]> git.lyx.org Git - features.git/blobdiff - src/graphics/Makefile.am
Add an image loader using the xforms library routines and compile it if
[features.git] / src / graphics / Makefile.am
index 68164a8f1e3ace9844b13639198fd141a9164d5f..39952bb3d4bacfc669d72aa56fac5ae342c2eeb1 100644 (file)
@@ -7,6 +7,12 @@ ETAGS_ARGS = --lang=c++
 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 \
@@ -16,9 +22,7 @@ libgraphics_la_SOURCES = \
        GraphicsConverter.C \
        GraphicsImage.h \
        GraphicsImage.C \
-       GraphicsImageXPM.h \
-       GraphicsImageXPM.C \
-       GraphicsParams.C \
+       $(GRAPHICSIMAGEXPM) GraphicsParams.C \
        GraphicsParams.h \
        GraphicsTypes.h