]> Pileus Git - ~andy/gtk/blob - gdk-pixbuf/Makefile.am
Uncomment the GnomeCanvasPixbuf sources. This should be made conditional,
[~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 ICO_LIB = libpixbuf-ico.la
17
18 RAS_LIB = libpixbuf-ras.la
19
20 if HAVE_TIFF
21 TIFF_LIB =      libpixbuf-tiff.la
22 endif
23
24 XPM_LIB =       libpixbuf-xpm.la
25
26 PNM_LIB =       libpixbuf-pnm.la
27
28 BMP_LIB =       libpixbuf-bmp.la
29
30 libexec_LTLIBRARIES =           \
31         $(PNG_LIB)      \
32         $(JPEG_LIB)     \
33         $(GIF_LIB)      \
34         $(ICO_LIB)      \
35         $(RAS_LIB)      \
36         $(XPM_LIB)      \
37         $(TIFF_LIB)     \
38         $(PNM_LIB)      \
39         $(BMP_LIB)
40
41 noinst_PROGRAMS = testpixbuf testpixbuf-drawable
42
43
44 DEPS = libgdk_pixbuf.la
45 INCLUDES = -I$(top_builddir)/src $(GLIB_CFLAGS) $(LIBART_CFLAGS) $(GTK_CFLAGS)
46 AM_CPPFLAGS = "-DPIXBUF_LIBDIR=\"$(libexecdir)\""
47
48 LDADDS = libgdk_pixbuf.la $(LIBART_LIBS) $(GLIB_LIBS) $(GTK_LIBS)
49
50 testpixbuf_LDADD = $(LDADDS) $(LIBART_LIBS) $(GNOME_LIBS) \
51         -lgmodule
52
53 testpixbuf_drawable_LDADD = $(LDADDS) $(GNOME_LIBS)
54
55 GDK_PIXBUF_LIBS = $(LIBART_LIBS) $(GLIB_LIBS) $(GTK_LIBS)
56
57 #
58 # The GdkPixBuf library
59 #
60 libgdk_pixbufincludedir = $(includedir)/gdk-pixbuf
61
62 libgdk_pixbuf_la_SOURCES =      \
63         gdk-pixbuf.c            \
64         gdk-pixbuf-data.c       \
65         gdk-pixbuf-io.c         \
66         gdk-pixbuf-loader.c     \
67         gdk-pixbuf-render.c     \
68         gdk-pixbuf-drawable.c   \
69         gnome-canvas-pixbuf.c
70
71 libgdk_pixbuf_la_LDFLAGS = -version-info 1:0:0
72
73 libgdk_pixbufinclude_HEADERS =  \
74         gdk-pixbuf.h            \
75         gdk-pixbuf-drawable.h   \
76         gdk-pixbuf-loader.h     \
77         gnome-canvas-pixbuf.h
78
79 noinst_HEADERS = \
80         gdk-pixbuf-io.h
81
82 #
83 # The PNG plugin.
84 #
85 libpixbuf_png_la_SOURCES = io-png.c
86 libpixbuf_png_la_LDFLAGS = -avoid-version -module
87 libpixbuf_png_la_LIBADD = $(LIBPNG)
88
89 #
90 # The JPEG loader
91 #
92 libpixbuf_jpeg_la_SOURCES = io-jpeg.c
93 libpixbuf_jpeg_la_LDFLAGS = -avoid-version -module
94 libpixbuf_jpeg_la_LIBADD = $(LIBJPEG)
95
96 #
97 # The XPM loader
98 #
99 libpixbuf_xpm_la_SOURCES = io-xpm.c
100 libpixbuf_xpm_la_LDFLAGS = -avoid-version -module
101 libpixbuf_xpm_la_LIBADD =
102
103 #
104 # The GIF loader
105 #
106 libpixbuf_gif_la_SOURCES = io-gif.c
107 libpixbuf_gif_la_LDFLAGS = -avoid-version -module
108 libpixbuf_gif_la_LIBADD =
109
110 #
111 # The ICO loader
112 #
113 libpixbuf_ico_la_SOURCES = io-ico.c
114 libpixbuf_ico_la_LDFLAGS = -avoid-version -module
115 libpixbuf_ico_la_LIBADD =
116
117 #
118 # The RAS loader
119 #
120 libpixbuf_ras_la_SOURCES = io-ras.c
121 libpixbuf_ras_la_LDFLAGS = -avoid-version -module
122 libpixbuf_ras_la_LIBADD =
123
124 #
125 # The TIFF loader
126 #
127 libpixbuf_tiff_la_SOURCES = io-tiff.c
128 libpixbuf_tiff_la_LDFLAGS = -avoid-version -module
129 libpixbuf_tiff_la_LIBADD =
130
131 #
132 # The PNM loader
133 #
134 libpixbuf_pnm_la_SOURCES = io-pnm.c
135 libpixbuf_pnm_la_LDFLAGS = -avoid-version -module
136 libpixbuf_pnm_la_LIBADD =
137
138 #
139 # The BMP loader
140 #
141 libpixbuf_bmp_la_SOURCES = io-bmp.c
142 libpixbuf_bmp_la_LDFLAGS = -avoid-version -module
143 libpixbuf_bmp_la_LIBADD =