]> Pileus Git - ~andy/gtk/blob - gdk-pixbuf/Makefile.am
Added testpixbuf-drawable test program
[~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 testpixbuf-drawable
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 testpixbuf_drawable_LDADD = $(LDADDS) $(GNOME_LIBS)
47
48 #
49 # The GdkPixBuf library
50 #
51 libgdk_pixbufincludedir = $(includedir)/gdk-pixbuf
52
53 libgdk_pixbuf_la_SOURCES =      \
54         gdk-pixbuf.c            \
55         gdk-pixbuf-data.c       \
56         gdk-pixbuf-drawable.c   \
57         gdk-pixbuf-io.c         \
58         gdk-pixbuf-loader.c     \
59         gdk-pixbuf-render.c     \
60         gnome-canvas-pixbuf.c
61
62 libgdk_pixbuf_la_LDFLAGS = -version-info 1:0:0
63
64 libgdk_pixbufinclude_HEADERS =  \
65         gdk-pixbuf.h            \
66         gdk-pixbuf-drawable.h   \
67         gdk-pixbuf-loader.h     \
68         gnome-canvas-pixbuf.h
69
70 noinst_HEADERS = \
71         gdk-pixbuf-io.h
72
73 #
74 # The PNG plugin.
75 #
76 libpixbuf_png_la_SOURCES = io-png.c
77 libpixbuf_png_la_LDFLAGS = -avoid-version -module
78 libpixbuf_png_la_LIBADD = $(LIBPNG)
79
80 #
81 # The JPEG loader
82 #
83 libpixbuf_jpeg_la_SOURCES = io-jpeg.c
84 libpixbuf_jpeg_la_LDFLAGS = -avoid-version -module
85 libpixbuf_jpeg_la_LIBADD = $(LIBJPEG)
86
87 #
88 # The XPM loader
89 #
90 libpixbuf_xpm_la_SOURCES = io-xpm.c
91 libpixbuf_xpm_la_LDFLAGS = -avoid-version -module
92
93 #
94 # The GIF loader
95 #
96 libpixbuf_gif_la_SOURCES = io-gif.c
97 libpixbuf_gif_la_LDFLAGS = -avoid-version -module
98 libpixbuf_gif_la_LIBADD =
99
100 #
101 # The RAS loader
102 #
103 libpixbuf_ras_la_SOURCES = io-ras.c
104 libpixbuf_ras_la_LDFLAGS = -avoid-version -module
105 libpixbuf_ras_la_LIBADD =
106
107 #
108 # The TIFF loader
109 #
110 libpixbuf_tiff_la_SOURCES = io-tiff.c
111 libpixbuf_tiff_la_LDFLAGS = -avoid-version -module
112 libpixbuf_tiff_la_LIBADD = $(LIBTIFF)
113
114 #
115 # The PNM loader
116 #
117 libpixbuf_pnm_la_SOURCES = io-pnm.c
118 libpixbuf_pnm_la_LDFLAGS = -avoid-version -module
119 libpixbuf_pnm_la_LIBADD =