Commit db6d910d authored by Guillaume Desmottes's avatar Guillaume Desmottes

add src/Makefile.am

Much cleaner to have its proper Makefile.
parent 7b2a584d
SUBDIRS = src
EXTRA_DIST = autogen.sh
# Note: plugindir is set in configure
# src folder
##############################################################################
# TODO: change libgstplugin.la to something else, e.g. libmysomething.la #
##############################################################################
plugin_LTLIBRARIES = src/libgstdlnasrc.la
##############################################################################
# TODO: for the next set of variables, name the prefix if you named the .la, #
# e.g. libmysomething.la => libmysomething_la_SOURCES #
# libmysomething_la_CFLAGS #
# libmysomething_la_LIBADD #
# libmysomething_la_LDFLAGS #
##############################################################################
# sources used to compile this plug-in
src_libgstdlnasrc_la_SOURCES = \
src/gstdlnasrc.c \
src/gstdlnasrc.h \
src/util.c \
src/util.h
# compiler and linker flags used to compile this plugin, set in configure.ac
src_libgstdlnasrc_la_CFLAGS = $(GST_CFLAGS) $(SOUP_CFLAGS)
src_libgstdlnasrc_la_CXXFLAGS = $(GST_CFLAGS)
src_libgstdlnasrc_la_LIBADD = $(GST_LIBS) $(SOUP_LIBS)
src_libgstdlnasrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
src_libgstdlnasrc_la_LIBTOOLFLAGS = --tag=disable-static
# headers we need but don't want installed
noinst_HEADERS = \
src/gstdlnasrc.h \
src/util.h
......@@ -97,6 +97,8 @@ dnl set proper LDFLAGS for plugins
GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex [_]*\(gst_\|Gst\|GST_\).*'
AC_SUBST(GST_PLUGIN_LDFLAGS)
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([
Makefile \
src/Makefile])
AC_OUTPUT
# Note: plugindir is set in configure
##############################################################################
# TODO: change libgstplugin.la to something else, e.g. libmysomething.la #
##############################################################################
plugin_LTLIBRARIES = libgstdlnasrc.la
##############################################################################
# TODO: for the next set of variables, name the prefix if you named the .la, #
# e.g. libmysomething.la => libmysomething_la_SOURCES #
# libmysomething_la_CFLAGS #
# libmysomething_la_LIBADD #
# libmysomething_la_LDFLAGS #
##############################################################################
# sources used to compile this plug-in
libgstdlnasrc_la_SOURCES = \
gstdlnasrc.c \
gstdlnasrc.h \
util.c \
util.h
# compiler and linker flags used to compile this plugin, set in configure.ac
libgstdlnasrc_la_CFLAGS = $(GST_CFLAGS) $(SOUP_CFLAGS)
libgstdlnasrc_la_CXXFLAGS = $(GST_CFLAGS)
libgstdlnasrc_la_LIBADD = $(GST_LIBS) $(SOUP_LIBS)
libgstdlnasrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstdlnasrc_la_LIBTOOLFLAGS = --tag=disable-static
# headers we need but don't want installed
noinst_HEADERS = \
gstdlnasrc.h \
util.h
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment