distcheck fixes
[platform/upstream/gst-plugins-good.git] / ext / gdk_pixbuf / Makefile.am
1
2 plugin_LTLIBRARIES = libgstgdkpixbuf.la
3
4 libgstgdkpixbuf_la_SOURCES = gstgdkpixbuf.c
5 libgstgdkpixbuf_la_CFLAGS = $(GST_CFLAGS) $(GTK_CFLAGS)
6 libgstgdkpixbuf_la_LIBADD = $(GTK_LIBS)
7 libgstgdkpixbuf_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
8
9
10 if HAVE_GDK_LOADERS
11 loaderdir = $(DESTDIR)$(GDK_PIXBUF_LOADER_DIR)
12 loader_LTLIBRARIES = gst_loader.la
13
14 gst_loader_la_CFLAGS = $(GST_CFLAGS) $(GTK_CFLAGS) -DGDK_PIXBUF_ENABLE_BACKEND
15 gst_loader_la_SOURCES =         \
16         gstgdkanimation.c       \
17         gst_loader.c
18 gst_loader_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) --avoid-version --module
19 gst_loader_la_LIBADD = $(GTK_LIBS) $(GST_LIBS)
20
21 gst_loader_headers = gstgdkanimation.h
22
23 install-data-hook:
24         if test -z "$(DESTDIR)"  ; then \
25           $(mkinstalldirs) $(DESTDIR)$(GDK_PIXBUF_CONF_DIR) ; \
26           $(QUERYLOADERS) > $(DESTDIR)$(GDK_PIXBUF_CONF_DIR)/gdk-pixbuf.loaders ; \
27         fi
28
29 else
30 gst_loader_headers =
31 endif
32
33
34 noinst_HEADERS = gstgdkpixbuf.h \
35         $(gst_loader_headers)