]> Pileus Git - ~andy/gtk/blob - gdk-pixbuf/Makefile.am
Fixed up testpixbuf.c to simulate downloading at certain speed, set
[~andy/gtk] / gdk-pixbuf / Makefile.am
1 lib_LTLIBRARIES =               \
2         libgdk_pixbuf.la
3
4 libexecdir = $(libdir)/gdk-pixbuf/loaders
5
6 if HAVE_PNG
7 PNG_LIB =       libpixbuf-png.la
8 endif
9
10 if HAVE_JPEG
11 JPEG_LIB =      libpixbuf-jpeg.la
12 endif
13
14 GIF_LIB = libpixbuf-gif.la
15
16 RAS_LIB = libpixbuf-ras.la
17
18 if HAVE_TIFF
19 TIFF_LIB =      libpixbuf-tiff.la
20 endif
21
22 XPM_LIB =       libpixbuf-xpm.la
23
24 PNM_LIB =       libpixbuf-pnm.la
25
26 libexec_LTLIBRARIES =           \
27         $(PNG_LIB)      \
28         $(JPEG_LIB)     \
29         $(GIF_LIB)      \
30         $(RAS_LIB)      \
31         $(XPM_LIB)      \
32         $(TIFF_LIB)     \
33         $(PNM_LIB)
34
35 noinst_PROGRAMS = testpixbuf
36
37
38 DEPS = libgdk_pixbuf.la
39 INCLUDES = $(GLIB_CFLAGS) $(LIBART_CFLAGS) $(GTK_CFLAGS)
40 AM_CPPFLAGS = "-DPIXBUF_LIBDIR=\"$(libexecdir)\""
41
42 LDADDS = libgdk_pixbuf.la $(LIBART_LIBS) $(GLIB_LIBS)
43
44 testpixbuf_LDADD = $(LDADDS) $(LIBART_LIBS) $(GNOME_LIBS) -lgmodule
45
46 #
47 # The GdkPixBuf library
48 #
49 libgdk_pixbufincludedir = $(includedir)/gdk-pixbuf
50
51 libgdk_pixbuf_la_SOURCES =      \
52         gdk-pixbuf.c            \
53         gdk-pixbuf-data.c       \
54         gdk-pixbuf-drawable.c   \
55         gdk-pixbuf-io.c         \
56         gdk-pixbuf-loader.c     \
57         gdk-pixbuf-render.c     \
58         gnome-canvas-pixbuf.c
59
60 libgdk_pixbuf_la_LDFLAGS = -version-info 1:0:0
61
62 libgdk_pixbufinclude_HEADERS =  \
63         gdk-pixbuf.h            \
64         gdk-pixbuf-drawable.h   \
65         gdk-pixbuf-loader.h     \
66         gnome-canvas-pixbuf.h
67
68 noinst_HEADERS = \
69         gdk-pixbuf-io.h
70
71 #
72 # The PNG plugin.
73 #
74 libpixbuf_png_la_SOURCES = io-png.c
75 libpixbuf_png_la_LDFLAGS = -avoid-version -module
76 libpixbuf_png_la_LIBADD = $(LIBPNG)
77
78 #
79 # The JPEG loader
80 #
81 libpixbuf_jpeg_la_SOURCES = io-jpeg.c
82 libpixbuf_jpeg_la_LDFLAGS = -avoid-version -module
83 libpixbuf_jpeg_la_LIBADD = $(LIBJPEG)
84
85 #
86 # The XPM loader
87 #
88 libpixbuf_xpm_la_SOURCES = io-xpm.c
89 libpixbuf_xpm_la_LDFLAGS = -avoid-version -module
90
91 #
92 # The GIF loader
93 #
94 libpixbuf_gif_la_SOURCES = io-gif.c
95 libpixbuf_gif_la_LDFLAGS = -avoid-version -module
96 libpixbuf_gif_la_LIBADD =
97
98 #
99 # The RAS loader
100 #
101 libpixbuf_ras_la_SOURCES = io-ras.c
102 libpixbuf_ras_la_LDFLAGS = -avoid-version -module
103 libpixbuf_ras_la_LIBADD =
104
105 #
106 # The TIFF loader
107 #
108 libpixbuf_tiff_la_SOURCES = io-tiff.c
109 libpixbuf_tiff_la_LDFLAGS = -avoid-version -module
110 libpixbuf_tiff_la_LIBADD = $(LIBTIFF)
111
112 #
113 # The PNM loader
114 #
115 libpixbuf_pnm_la_SOURCES = io-pnm.c
116 libpixbuf_pnm_la_LDFLAGS = -avoid-version -module
117 libpixbuf_pnm_la_LIBADD =