Makefile.am 1.57 KB
Newer Older
1
# noinst_LTLIBRARIES = libgstvideoexample.la
2
plugin_LTLIBRARIES = libgstvideoflip.la libgstvideobalance.la libgstgamma.la
3

4
noinst_HEADERS = gstvideoflip.h gstvideobalance.h gstgamma.h
5

6
EXTRA_DIST = gstvideotemplate.c make_filter
7
CLEANFILES = gstvideoexample.c
8

9 10 11 12
# libgstvideoexample_la_SOURCES = gstvideoexample.c
# libgstvideoexample_la_CFLAGS = $(GST_CFLAGS)
# libgstvideoexample_la_LIBADD = libgstvideofilter-@GST_MAJORMINOR@.la $(GST_LIBS)
# libgstvideoexample_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
13

14
libgstvideoflip_la_SOURCES = gstvideoflip.c
15 16
libgstvideoflip_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \
			    $(GST_PLUGINS_BASE_CFLAGS)
17
libgstvideoflip_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_MAJORMINOR@ $(GST_BASE_LIBS) $(GST_LIBS)
18
libgstvideoflip_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
19

20 21 22
libgstvideobalance_la_SOURCES = gstvideobalance.c
libgstvideobalance_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \
			    $(GST_PLUGINS_BASE_CFLAGS)
23 24 25 26 27 28 29
libgstvideobalance_la_LIBADD = \
	$(GST_PLUGINS_BASE_LIBS) \
	-lgstvideo-@GST_MAJORMINOR@ \
	-lgstinterfaces-@GST_MAJORMINOR@ \
	$(GST_BASE_LIBS) \
	$(GST_LIBS) \
	$(LIBM)
30
libgstvideobalance_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
31

32 33 34 35 36
libgstgamma_la_SOURCES = gstgamma.c
libgstgamma_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \
			$(GST_PLUGINS_BASE_CFLAGS)
libgstgamma_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_MAJORMINOR@ \
			$(GST_BASE_LIBS) $(GST_LIBS)
37
libgstgamma_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(LIBM)
38

39
gstvideoexample.c: $(srcdir)/make_filter $(srcdir)/gstvideotemplate.c
40
	$(srcdir)/make_filter Videoexample $(srcdir)/gstvideotemplate.c