]> git.lyx.org Git - features.git/blobdiff - src/graphics/Makefile.am
More pch work.
[features.git] / src / graphics / Makefile.am
index 39952bb3d4bacfc669d72aa56fac5ae342c2eeb1..0b3bc1d2e2c4afc5eaccbbe866bea11453b11553 100644 (file)
@@ -1,17 +1,10 @@
-AUTOMAKE_OPTIONS = foreign
-DISTCLEANFILES= *.orig *.rej *~ *.bak core
-MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
+include $(top_srcdir)/config/common.am
+
 noinst_LTLIBRARIES = libgraphics.la
-LIBS =
-ETAGS_ARGS = --lang=c++
-BOOST_INCLUDES = -I$(top_srcdir)/boost
-INCLUDES = -I${srcdir}/../ $(SIGC_CFLAGS) $(BOOST_INCLUDES)
 
-EXTRA_DIST = GraphicsImageXPM.C GraphicsImageXPM.h
+INCLUDES = -I$(srcdir)/.. $(BOOST_INCLUDES)
 
-if USE_BASIC_IMAGE_LOADER
-GRAPHICSIMAGEXPM = GraphicsImageXPM.C GraphicsImageXPM.h
-endif
+AM_CXXFLAGS = $(PCH_FLAGS)
 
 libgraphics_la_SOURCES = \
        GraphicsCache.h \
@@ -22,11 +15,17 @@ libgraphics_la_SOURCES = \
        GraphicsConverter.C \
        GraphicsImage.h \
        GraphicsImage.C \
-       $(GRAPHICSIMAGEXPM) GraphicsParams.C \
+       GraphicsLoader.h \
+       GraphicsLoader.C \
+       GraphicsParams.C \
        GraphicsParams.h \
-       GraphicsTypes.h
-
-libgraphics.la: libgraphics.o
-
-libgraphics.o: $(libgraphics_la_OBJECTS) $(libgraphics_la_DEPENDENCIES)
-       $(CXXLINK) $(libgraphics_la_OBJECTS)
+       LoaderQueue.h \
+       LoaderQueue.C \
+       GraphicsTypes.h \
+       GraphicsTypes.C \
+       PreviewImage.h \
+       PreviewImage.C \
+       PreviewLoader.h \
+       PreviewLoader.C \
+       Previews.h \
+       Previews.C