Added GST_LIBS to LIBADD.
[platform/upstream/gstreamer.git] / plugins / elements / Makefile.am
1 filterdir = $(libdir)/gst
2
3 filter_LTLIBRARIES = libgstelements.la
4
5 if HAVE_LIBGHTTP
6 GSTHTTPSRC=gsthttpsrc.c
7 else
8 GSTHTTPSRC=
9 endif
10
11 libgstelements_la_DEPENDENCIES = ../libgst.la
12 libgstelements_la_SOURCES =     \
13         gstelements.c           \
14         gstfakesrc.c            \
15         gstidentity.c           \
16         gstfakesink.c           \
17         gstdisksrc.c            \
18         gstdisksink.c           \
19         gstfdsrc.c              \
20         gstfdsink.c             \
21         gstmultidisksrc.c       \
22         gstpipefilter.c         \
23         gsttee.c                \
24         gstsinesrc.c            \
25         $(GSTHTTPSRC)
26
27 noinst_HEADERS =                \
28         gstfakesrc.h            \
29         gstidentity.h           \
30         gstfakesink.h           \
31         gstdisksrc.h            \
32         gstdisksink.h           \
33         gstfdsrc.h              \
34         gstmultidisksrc.h       \
35         gsthttpsrc.h            \
36         gstfdsink.h             \
37         gstpipefilter.h         \
38         gsttee.h                \
39         gstsinesrc.h
40
41 CFLAGS += -O2 -Wall
42
43 libgstelements_la_LIBADD = $(GHTTP_LIBS) $(GST_LIBS)
44 libgstelements_la_LDFLAGS = -version-info $(GST_LIBVERSION)