-AUTOMAKE_OPTIONS = foreign
-DISTCLEANFILES= *.orig *.rej *~ *.bak core
-MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
+include $(top_srcdir)/config/common.am
+
+EXTRA_DIST = pch.h
+
+BUILT_SOURCES = $(PCH_FILE)
+
noinst_LTLIBRARIES = libgraphics.la
-LIBS =
-ETAGS_ARGS = --lang=c++
-BOOST_INCLUDES = -I$(top_srcdir)/boost
-INCLUDES = -I${srcdir}/../ $(SIGC_CFLAGS) $(BOOST_INCLUDES)
+
+AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
libgraphics_la_SOURCES = \
GraphicsCache.h \
GraphicsCache.C \
GraphicsCacheItem.h \
GraphicsCacheItem.C \
- ImageLoaderXPM.h \
- ImageLoaderXPM.C \
- ImageLoader.h \
- ImageLoader.C
-
-libgraphics.la: libgraphics.o
-
-libgraphics.o: $(libgraphics_la_OBJECTS) $(libgraphics_la_DEPENDENCIES)
- $(CXXLINK) $(libgraphics_la_OBJECTS)
+ GraphicsConverter.h \
+ GraphicsConverter.C \
+ GraphicsImage.h \
+ GraphicsImage.C \
+ GraphicsLoader.h \
+ GraphicsLoader.C \
+ GraphicsParams.C \
+ GraphicsParams.h \
+ LoaderQueue.h \
+ LoaderQueue.C \
+ GraphicsTypes.h \
+ GraphicsTypes.C \
+ PreviewImage.h \
+ PreviewImage.C \
+ PreviewLoader.h \
+ PreviewLoader.C \
+ Previews.h \
+ Previews.C