]> Pileus Git - ~andy/gtk/blob - gdk-pixbuf/Makefile.am
Filled in body of function. (rgbconvert): Added GdkColormap parameter, and
[~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 DEPS = libgdk_pixbuf.la
44 INCLUDES = -I$(top_builddir)/gdk-pixbuf $(GLIB_CFLAGS) $(LIBART_CFLAGS) $(GTK_CFLAGS)
45 AM_CPPFLAGS = "-DPIXBUF_LIBDIR=\"$(libexecdir)\""
46
47 LDADDS = libgdk_pixbuf.la $(LIBART_LIBS) $(GLIB_LIBS) $(GTK_LIBS)
48
49 if INSIDE_GNOME_LIBS
50 testpixbuf_LDADD = $(LDADDS) $(LIBART_LIBS) -lgmodule
51 testpixbuf_drawable_LDADD = $(LDADDS)
52 else
53 testpixbuf_LDADD = $(LDADDS) $(LIBART_LIBS) $(GNOME_LIBS) -lgmodule
54 testpixbuf_drawable_LDADD = $(LDADDS) $(GNOME_LIBS)
55 endif
56
57 GDK_PIXBUF_LIBS = $(LIBART_LIBS) $(GLIB_LIBS) $(GTK_LIBS)
58
59 #
60 # The GdkPixBuf library
61 #
62 if INSIDE_GNOME_LIBS
63 CANVAS_SOURCEFILES=
64 CANVAS_HEADERFILES=
65 else
66 CANVAS_SOURCEFILES=     gnome-canvas-pixbuf.c
67 CANVAS_HEADERFILES=     gnome-canvas-pixbuf.h
68 endif
69
70 libgdk_pixbufincludedir = $(includedir)/gdk-pixbuf
71
72 libgdk_pixbuf_la_SOURCES =      \
73         gdk-pixbuf.c            \
74         gdk-pixbuf-data.c       \
75         gdk-pixbuf-drawable.c   \
76         gdk-pixbuf-io.c         \
77         gdk-pixbuf-loader.c     \
78         gdk-pixbuf-render.c     \
79         gdk-pixbuf-util.c       \
80         $(CANVAS_SOURCEFILES)
81
82 libgdk_pixbuf_la_LDFLAGS = -version-info 1:0:0
83
84 libgdk_pixbufinclude_HEADERS =  \
85         gdk-pixbuf.h            \
86         gdk-pixbuf-loader.h     \
87         $(CANVAS_HEADERFILES)
88
89 noinst_HEADERS = \
90         gdk-pixbuf-io.h
91
92 #
93 # The PNG plugin.
94 #
95 libpixbuf_png_la_SOURCES = io-png.c
96 libpixbuf_png_la_LDFLAGS = -avoid-version -module
97 libpixbuf_png_la_LIBADD = $(LIBPNG)
98
99 #
100 # The JPEG loader
101 #
102 libpixbuf_jpeg_la_SOURCES = io-jpeg.c
103 libpixbuf_jpeg_la_LDFLAGS = -avoid-version -module
104 libpixbuf_jpeg_la_LIBADD = $(LIBJPEG)
105
106 #
107 # The XPM loader
108 #
109 libpixbuf_xpm_la_SOURCES = io-xpm.c
110 libpixbuf_xpm_la_LDFLAGS = -avoid-version -module
111 libpixbuf_xpm_la_LIBADD =
112
113 #
114 # The GIF loader
115 #
116 libpixbuf_gif_la_SOURCES = io-gif.c
117 libpixbuf_gif_la_LDFLAGS = -avoid-version -module
118 libpixbuf_gif_la_LIBADD =
119
120 #
121 # The ICO loader
122 #
123 libpixbuf_ico_la_SOURCES = io-ico.c
124 libpixbuf_ico_la_LDFLAGS = -avoid-version -module
125 libpixbuf_ico_la_LIBADD =
126
127 #
128 # The RAS loader
129 #
130 libpixbuf_ras_la_SOURCES = io-ras.c
131 libpixbuf_ras_la_LDFLAGS = -avoid-version -module
132 libpixbuf_ras_la_LIBADD =
133
134 #
135 # The TIFF loader
136 #
137 libpixbuf_tiff_la_SOURCES = io-tiff.c
138 libpixbuf_tiff_la_LDFLAGS = -avoid-version -module
139 libpixbuf_tiff_la_LIBADD =
140
141 #
142 # The PNM loader
143 #
144 libpixbuf_pnm_la_SOURCES = io-pnm.c
145 libpixbuf_pnm_la_LDFLAGS = -avoid-version -module
146 libpixbuf_pnm_la_LIBADD =
147
148 #
149 # The BMP loader
150 #
151 libpixbuf_bmp_la_SOURCES = io-bmp.c
152 libpixbuf_bmp_la_LDFLAGS = -avoid-version -module
153 libpixbuf_bmp_la_LIBADD =