]> git.lyx.org Git - lyx.git/blob - src/graphics/Makefile.am
Fix for bug: #260 special rules if partially linking
[lyx.git] / src / graphics / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 noinst_LTLIBRARIES = libgraphics.la
4
5 INCLUDES = -I${srcdir}/../ $(SIGC_CFLAGS) $(BOOST_INCLUDES)
6
7 EXTRA_DIST = GraphicsImageXPM.C GraphicsImageXPM.h
8
9 if USE_BASIC_IMAGE_LOADER
10 GRAPHICSIMAGEXPM = GraphicsImageXPM.C GraphicsImageXPM.h
11 endif
12
13 libgraphics_la_SOURCES = \
14         GraphicsCache.h \
15         GraphicsCache.C \
16         GraphicsCacheItem.h \
17         GraphicsCacheItem.C \
18         GraphicsConverter.h \
19         GraphicsConverter.C \
20         GraphicsImage.h \
21         GraphicsImage.C \
22         $(GRAPHICSIMAGEXPM) GraphicsParams.C \
23         GraphicsParams.h \
24         GraphicsTypes.h
25
26 if USE_LD_R
27 libgraphics.la: libgraphics.o
28
29 libgraphics.o: $(libgraphics_la_OBJECTS) $(libgraphics_la_DEPENDENCIES)
30         $(CXXLINK) $(libgraphics_la_OBJECTS)
31 endif