From d9316e72a5b7f5f9cbaab0acbc5cf094362c3419 Mon Sep 17 00:00:00 2001 From: Jimena Salas Date: Tue, 23 Mar 2021 17:14:32 -0600 Subject: [PATCH] Remove autotools related files --- Makefile.am | 62 ---- autogen.sh | 113 ------ configure.ac | 430 ---------------------- docs/Makefile.am | 18 - docs/plugins/Makefile.am | 80 ---- docs/version.entities.in | 2 - ext/Makefile.am | 21 -- ext/opencv/Makefile.am | 50 --- ext/r2inference/Makefile.am | 54 --- gst-inference.pc.in | 12 - gst-libs/Makefile.am | 2 - gst-libs/gst/Makefile.am | 19 - gst-libs/gst/opencv/Makefile.am | 33 -- gst-libs/gst/r2inference/Makefile.am | 50 --- gst/Makefile.am | 2 - gst/inferenceutils/Makefile.am | 43 --- m4/Makefile.am | 1 - tests/Makefile.am | 16 - tests/check/Makefile.am | 119 ------ tests/examples/Makefile.am | 17 - tests/examples/classification/Makefile.am | 30 -- tests/examples/detection/Makefile.am | 30 -- tests/examples/embedding/Makefile.am | 30 -- tests/files/Makefile.am | 4 - 24 files changed, 1238 deletions(-) delete mode 100644 Makefile.am delete mode 100755 autogen.sh delete mode 100644 configure.ac delete mode 100644 docs/Makefile.am delete mode 100644 docs/plugins/Makefile.am delete mode 100644 docs/version.entities.in delete mode 100644 ext/Makefile.am delete mode 100644 ext/opencv/Makefile.am delete mode 100644 ext/r2inference/Makefile.am delete mode 100644 gst-inference.pc.in delete mode 100644 gst-libs/Makefile.am delete mode 100644 gst-libs/gst/Makefile.am delete mode 100644 gst-libs/gst/opencv/Makefile.am delete mode 100644 gst-libs/gst/r2inference/Makefile.am delete mode 100644 gst/Makefile.am delete mode 100644 gst/inferenceutils/Makefile.am delete mode 100644 m4/Makefile.am delete mode 100644 tests/Makefile.am delete mode 100644 tests/check/Makefile.am delete mode 100644 tests/examples/Makefile.am delete mode 100644 tests/examples/classification/Makefile.am delete mode 100644 tests/examples/detection/Makefile.am delete mode 100644 tests/examples/embedding/Makefile.am delete mode 100644 tests/files/Makefile.am diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index fcdc4dde..00000000 --- a/Makefile.am +++ /dev/null @@ -1,62 +0,0 @@ -DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc - -ALWAYS_SUBDIRS = \ - gst-libs \ - gst \ - ext \ - tests \ - common \ - docs \ - m4 - -SUBDIRS = $(ALWAYS_SUBDIRS) - -DIST_SUBDIRS = $(ALWAYS_SUBDIRS) - -EXTRA_DIST = \ - depcomp \ - AUTHORS NEWS README REQUIREMENTS \ - ChangeLog gst-inference.doap autogen.sh - -DISTCLEANFILES = _stdint.h - -noinst_HEADERS = - -ACLOCAL_AMFLAGS = -I m4 -I common/m4 - -include $(top_srcdir)/common/release.mak - -check-valgrind: - $(MAKE) -C tests/check check-valgrind - -if HAVE_GST_CHECK -check-torture: - $(MAKE) -C tests/check torture - -build-checks: - $(MAKE) -C tests/check build-checks -else -check-torture: - true -build-checks: - true -endif - -include $(top_srcdir)/common/coverage/lcov.mak - -# cruft: plugins that have been merged or moved or renamed - -CRUFT_FILES = \ - $(top_builddir)/common/shave \ - $(top_builddir)/common/shave-libtool - -CRUFT_DIRS = - -include $(top_srcdir)/common/cruft.mak - -all-local: check-cruft - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = gst-inference-@GST_API_VERSION@.pc - -EXTRA_DIST = gst-inference.pc.in diff --git a/autogen.sh b/autogen.sh deleted file mode 100755 index a6237b6e..00000000 --- a/autogen.sh +++ /dev/null @@ -1,113 +0,0 @@ -#!/bin/sh -# -# gst-inference autogen.sh -# -# Run this to generate all the initial makefiles, etc. -# -# This file has been generated from common/autogen.sh.in via common/update-autogen - - -test -n "$srcdir" || srcdir=`dirname "$0"` -test -n "$srcdir" || srcdir=. - -olddir=`pwd` -cd "$srcdir" - -package=gst-inference -srcfile=gst-inference.doap - -# Make sure we have common -if test ! -f common/gst-autogen.sh; -then - echo "+ Setting up common submodule" - git submodule init -fi -git submodule update - -# source helper functions -if test ! -f common/gst-autogen.sh; -then - echo There is something wrong with your source tree. - echo You are missing common/gst-autogen.sh - exit 1 -fi -. common/gst-autogen.sh - -# install pre-commit hook for doing clean commits -if test ! \( -x .git/hooks/pre-commit -a -L .git/hooks/pre-commit \); -then - rm -f .git/hooks/pre-commit - if ! ln -s ../../common/hooks/pre-commit.hook .git/hooks/pre-commit 2> /dev/null - then - echo "Failed to create commit hook symlink, copying instead ..." - cp common/hooks/pre-commit.hook .git/hooks/pre-commit - fi -fi - -CONFIGURE_DEF_OPT='--enable-maintainer-mode --enable-gtk-doc' - -if test "x$package" = "xgstreamer"; then - CONFIGURE_DEF_OPT="$CONFIGURE_DEF_OPT --enable-failing-tests --enable-poisoning" -elif test "x$package" = "xgst-plugins-bad"; then - CONFIGURE_DEF_OPT="$CONFIGURE_DEF_OPT --with-player-tests" -fi - -autogen_options $@ - -printf "+ check for build tools" -if test -z "$NOCHECK"; then - echo - - printf " checking for autoreconf ... " - echo - which "autoreconf" 2>/dev/null || { - echo "not found! Please install the autoconf package." - exit 1 - } - - printf " checking for pkg-config ... " - echo - which "pkg-config" 2>/dev/null || { - echo "not found! Please install pkg-config." - exit 1 - } -else - echo ": skipped version checks" -fi - -# if no arguments specified then this will be printed -if test -z "$*" && test -z "$NOCONFIGURE"; then - echo "+ checking for autogen.sh options" - echo " This autogen script will automatically run ./configure as:" - echo " ./configure $CONFIGURE_DEF_OPT" - echo " To pass any additional options, please specify them on the $0" - echo " command line." -fi - -toplevel_check $srcfile - -# aclocal -if test -f acinclude.m4; then rm acinclude.m4; fi - -autoreconf --force --install || exit 1 - -test -n "$NOCONFIGURE" && { - echo "+ skipping configure stage for package $package, as requested." - echo "+ autogen.sh done." - exit 0 -} - -cd "$olddir" - -echo "+ running configure ... " -test ! -z "$CONFIGURE_DEF_OPT" && echo " default flags: $CONFIGURE_DEF_OPT" -test ! -z "$CONFIGURE_EXT_OPT" && echo " external flags: $CONFIGURE_EXT_OPT" -echo - -echo "$srcdir/configure" $CONFIGURE_DEF_OPT $CONFIGURE_EXT_OPT -"$srcdir/configure" $CONFIGURE_DEF_OPT $CONFIGURE_EXT_OPT || { - echo " configure failed" - exit 1 -} - -echo "Now type 'make' to compile $package." diff --git a/configure.ac b/configure.ac deleted file mode 100644 index 09778db5..00000000 --- a/configure.ac +++ /dev/null @@ -1,430 +0,0 @@ -AC_PREREQ([2.69]) - -dnl please read gstreamer/docs/random/autotools before changing this file - -dnl initialize autoconf -dnl releases only do -Wall, git and prerelease does -Werror too -dnl use a three digit version number for releases, and four for git/pre -AC_INIT([GStreamer Inference],[0.11.0.1],[https://github.com/RidgeRun/gst-inference/issues],[gst-inference]) - -AG_GST_INIT - -dnl initialize automake -AM_INIT_AUTOMAKE([-Wno-portability 1.14 no-dist-gzip dist-xz tar-ustar subdir-objects foreign]) - -dnl define PACKAGE_VERSION_* variables -AS_VERSION - -dnl check if this is a release version -AS_NANO(GST_GIT="no", GST_GIT="yes") - -dnl can autoconf find the source ? -AC_CONFIG_SRCDIR([ext/r2inference/gstinference.c]) - -dnl define the output header for config -AC_CONFIG_HEADERS([config.h]) - -dnl AM_MAINTAINER_MODE only provides the option to configure to enable it -AM_MAINTAINER_MODE([enable]) - -dnl sets host_* variables -AC_CANONICAL_HOST - -dnl use pretty build output with automake >= 1.11 -m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])], - [AM_DEFAULT_VERBOSITY=1 - AC_SUBST(AM_DEFAULT_VERBOSITY)]) - -dnl our libraries and install dirs use GST_API_VERSION in the filename -dnl to allow side-by-side installation of different API versions -GST_API_VERSION=1.0 -AC_SUBST(GST_API_VERSION) -AC_DEFINE_UNQUOTED(GST_API_VERSION, "$GST_API_VERSION", - [GStreamer API Version]) - -AG_GST_LIBTOOL_PREPARE -AS_LIBTOOL(GST, 100, 0, 100) - -dnl *** required versions of GStreamer stuff *** -GST_REQ=1.8.0.1 -GSTPB_REQ=1.8.0.1 - -dnl *** autotools stuff **** - -dnl allow for different autotools -AS_AUTOTOOLS_ALTERNATE - -dnl Add parameters for aclocal -AC_SUBST(ACLOCAL_AMFLAGS, "-I m4 -I common/m4") - -dnl *** check for arguments to configure *** - -AG_GST_ARG_DISABLE_FATAL_WARNINGS -AG_GST_ARG_ENABLE_EXTRA_CHECKS - -AG_GST_ARG_DEBUG -AG_GST_ARG_PROFILING -AG_GST_ARG_VALGRIND -AG_GST_ARG_GCOV - -AG_GST_ARG_EXAMPLES - -AG_GST_ARG_WITH_PKG_CONFIG_PATH -AG_GST_ARG_WITH_PACKAGE_NAME -AG_GST_ARG_WITH_PACKAGE_ORIGIN - -AG_GST_ARG_WITH_PLUGINS - -AG_GST_ARG_ENABLE_EXTERNAL - -AG_GST_ARG_ENABLE_EXPERIMENTAL - -AG_GST_PKG_CONFIG_PATH - -dnl *** checks for platform *** - -dnl * hardware/architecture * - -dnl common/m4/gst-arch.m4 -dnl check CPU type -AG_GST_ARCH - -dnl Determine endianness -AC_C_BIGENDIAN - -dnl *** checks for programs *** - -dnl find a compiler -AC_PROG_CC -AC_PROG_CC_STDC - -dnl determine c++ compiler -AC_PROG_CXX -dnl determine if c++ is available on this system -AC_CHECK_PROG(HAVE_CXX, $CXX, yes, no) - -dnl determine c++ preprocessor -dnl FIXME: do we need this ? -AC_PROG_CXXCPP - -dnl check if the compiler supports '-c' and '-o' options -AM_PROG_CC_C_O - -dnl find an assembler -AM_PROG_AS - -dnl check if the compiler supports do while(0) macros -AG_GST_CHECK_DOWHILE_MACROS - -AC_PATH_PROG(VALGRIND_PATH, valgrind, no) -AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno") - -dnl check for documentation tools -GTK_DOC_CHECK([1.12]) -AG_GST_PLUGIN_DOCS([1.12]) - -dnl *** checks for libraries *** - -dnl check for pthreads -AX_PTHREAD - -dnl *** checks for header files *** - -dnl check if we have ANSI C header files -AC_HEADER_STDC - -dnl *** checks for types/defines *** - -dnl *** checks for structures *** - -dnl *** checks for compiler characteristics *** - -dnl *** checks for library functions *** - -dnl *** checks for dependency libraries *** - - -dnl GLib -GLIB_REQ=2.40.0 -AG_GST_GLIB_CHECK([$GLIB_REQ]) - -dnl checks for gstreamer -dnl uninstalled is selected preferentially -- see pkg-config(1) -AG_GST_CHECK_GST($GST_API_VERSION, [$GST_REQ], yes) -AG_GST_CHECK_GST_BASE($GST_API_VERSION, [$GST_REQ], yes) -AG_GST_CHECK_GST_CONTROLLER($GST_API_VERSION, [$GST_REQ], yes) -AG_GST_CHECK_GST_CHECK($GST_API_VERSION, [$GST_REQ], no) -AG_GST_CHECK_GST_PLUGINS_BASE($GST_API_VERSION, [$GSTPB_REQ], yes) -AG_GST_CHECK_MODULES(GST_VIDEO, gstreamer-video-[$GST_API_VERSION], [$GST_REQ], [GStreamer Video], yes) - -GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_API_VERSION` -if test -z $GST_TOOLS_DIR; then - AC_MSG_ERROR([no tools dir defined in GStreamer pkg-config file; core upgrade needed.]) -fi -AC_SUBST(GST_TOOLS_DIR) - -AC_MSG_NOTICE(Using GStreamer Core Plugins in $GST_PLUGINS_DIR) -AC_MSG_NOTICE(Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR) - -AM_CONDITIONAL(HAVE_GST_CHECK, test "x$HAVE_GST_CHECK" = "xyes") - -dnl Check for documentation xrefs -GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`" -GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_API_VERSION`" -GSTPB_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-plugins-base-$GST_API_VERSION`" -AC_SUBST(GLIB_PREFIX) -AC_SUBST(GST_PREFIX) -AC_SUBST(GSTPB_PREFIX) - -dnl Check for -Bsymbolic-functions linker flag used to avoid -dnl intra-library PLT jumps, if available. -AC_ARG_ENABLE(Bsymbolic, - [AS_HELP_STRING([--disable-Bsymbolic],[avoid linking with -Bsymbolic])],, - [SAVED_LDFLAGS="${LDFLAGS}" SAVED_LIBS="${LIBS}" - AC_MSG_CHECKING([for -Bsymbolic-functions linker flag]) - LDFLAGS=-Wl,-Bsymbolic-functions - LIBS= - AC_TRY_LINK([], [return 0], - AC_MSG_RESULT(yes) - enable_Bsymbolic=yes, - AC_MSG_RESULT(no) - enable_Bsymbolic=no) - LDFLAGS="${SAVED_LDFLAGS}" LIBS="${SAVED_LIBS}"]) - -dnl *** set variables based on configure arguments *** - -dnl set license and copyright notice -GST_LICENSE="LGPL" -AC_DEFINE_UNQUOTED(GST_LICENSE, "$GST_LICENSE", [GStreamer Inference license]) -AC_SUBST(GST_LICENSE) - -dnl set location of plugin directory -AG_GST_SET_PLUGINDIR - -dnl set release date/time -AG_GST_SET_PACKAGE_RELEASE_DATETIME_WITH_NANO([$PACKAGE_VERSION_NANO], - ["${srcdir}/gst-inference.doap"], - [$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO]) - -# set by AG_GST_PARSE_SUBSYSTEM_DISABLES above -dnl make sure it does not complain about unused variables if debugging is disabled -NO_WARNINGS="" -AG_GST_CHECK_GST_DEBUG_DISABLED([NO_WARNINGS="-Wno-unused"], [NO_WARNINGS=""]) - -dnl define an ERROR_CFLAGS Makefile variable -dnl -Wundef: too many broken headers -AG_GST_SET_ERROR_CFLAGS($FATAL_WARNINGS, [ - -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls - -Wwrite-strings -Wold-style-definition -Waggregate-return - -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar - -Wnested-externs $NO_WARNINGS]) - -dnl define an ERROR_CXXFLAGS Makefile variable -AG_GST_SET_ERROR_CXXFLAGS($FATAL_WARNINGS, [ - -Wmissing-declarations -Wredundant-decls - -Wwrite-strings - -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar - $NO_WARNINGS]) - -dnl define an ERROR_OBJCFLAGS Makefile variable -AG_GST_SET_ERROR_OBJCFLAGS($FATAL_WARNINGS, [ - -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls - -Wwrite-strings -Wold-style-definition - -Winit-self -Wmissing-include-dirs -Wno-multichar - -Wnested-externs $NO_WARNINGS]) - -dnl define correct level for debugging messages -AG_GST_SET_LEVEL_DEFAULT($GST_GIT) - -dnl used in examples -AG_GST_DEFAULT_ELEMENTS - -dnl *** plug-ins to include *** - -dnl these are all the gst plug-ins, compilable without additional libs -dnl videofilter is at the top because others depend on it -dnl AG_GST_CHECK_PLUGIN(example) - -dnl disable experimental plug-ins -dnl if test "x$BUILD_EXPERIMENTAL" != "xyes"; then - dnl AG_GST_DISABLE_PLUGIN(example) -dnl fi - -dnl *** sys plug-ins *** - -echo -AC_MSG_NOTICE([Checking libraries for plugins in sys/]) -echo - -dnl *** ext plug-ins *** -dnl keep this list sorted alphabetically ! - -if test "x$BUILD_EXTERNAL" = "xyes"; then - -echo -AC_MSG_NOTICE([Checking libraries for plugins in ext/]) -echo - -dnl *** opencv *** -OPENCV_REQ=2.3.1 -translit(dnm, m, l) AM_CONDITIONAL(USE_OPENCV, true) -AG_GST_CHECK_FEATURE(OPENCV, [OpenCV computer vision library], opencv, - [ - PKG_CHECK_MODULES(OPENCV, opencv4, - [ - HAVE_OPENCV="yes" - HAVE_OPENCV4="yes" - ], - [ - HAVE_OPENCV="no" - HAVE_OPENCV4="no" - AC_MSG_NOTICE($OPENCV_PKG_ERRORS) - PKG_CHECK_MODULES(OPENCV, opencv >= OPENCV_REQ , - [ - HAVE_OPENCV="yes" - HAVE_OPENCV4="no" - ], - [ - HAVE_OPENCV="no" - AC_MSG_NOTICE($OPENCV_PKG_ERRORS) - ]) - ]) - ]) - -dnl define conditional for opencv versions 2.3.1 to 4.0.0 -if test "$USE_OPENCV" = "yes"; then - OCV_BASE_VERSION_MAJOR=3 - OCV_BASE_VERSION_MINOR=2 - if test "$HAVE_OPENCV4" = "yes"; then - AC_DEFINE([OCV_VERSION_4_0], [1], [Defined if OpenCV version is 4]) - OCV_VERSION_MAJOR=$(pkg-config --modversion opencv4 | awk -F. '{print $1}') - OCV_VERSION_MINOR=$(pkg-config --modversion opencv4 | awk -F. '{print $2}') - else - if test "$HAVE_OPENCV4" = "no"; then - OCV_VERSION_MAJOR=$(pkg-config --modversion opencv | awk -F. '{print $1}') - OCV_VERSION_MINOR=$(pkg-config --modversion opencv | awk -F. '{print $2}') - if test "$OCV_VERSION_MAJOR" -lt "$OCV_BASE_VERSION_MAJOR"; then - AC_DEFINE([OCV_VERSION_LT_3_2], [1], [Defined if OpenCV version is less than 3.2]) - else - if test "$OCV_VERSION_MINOR" -lt "$OCV_BASE_VERSION_MINOR"; then - AC_DEFINE([OCV_VERSION_LT_3_2], [1], [Defined if OpenCV version is less than 3.2]) - fi - fi - fi - fi - AC_MSG_NOTICE([OpenCV version: $OCV_VERSION_MAJOR.$OCV_VERSION_MINOR]) -fi - -dnl *** r2inference *** -R2INFERENCE_REQ=0.8.0 -AG_GST_CHECK_FEATURE(R2INFERENCE, [RidgeRun\'s Inference Framework], r2inference, [ - AG_GST_PKG_CHECK_MODULES(R2INFERENCE, r2inference-0.0 >= $R2INFERENCE_REQ) -],[],[],[ - AC_MSG_ERROR([Please install R2Inference from https://github.com/RidgeRun/r2inference.git]) -]) - -else - -dnl not building plugins with external dependencies, -dnl but we still need to set the conditionals -AM_CONDITIONAL(USE_R2INFERENCE, false) - -fi dnl of EXT plugins - -dnl *** finalize CFLAGS, LDFLAGS, LIBS - -dnl Overview: -dnl GST_OPTION_CFLAGS: common flags for profiling, debugging, errors, ... -dnl GST_*: flags shared by all built objects -dnl GST_ALL_LDFLAGS: linker flags shared by all -dnl GST_LIB_LDFLAGS: not needed, we do not install libraries -dnl GST_LT_LDFLAGS: library versioning of our libraries -dnl GST_PLUGIN_LDFLAGS: flags to be used for all plugins - -dnl GST_OPTION_CFLAGS -if test "x$USE_DEBUG" = xyes; then - PROFILE_CFLAGS="-g" -fi -AC_SUBST(PROFILE_CFLAGS) - -if test "x$PACKAGE_VERSION_NANO" = "x1"; then - dnl Define _only_ for git (not pre-releases or releases) - DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED" -else - DEPRECATED_CFLAGS="" -fi -AC_SUBST(DEPRECATED_CFLAGS) - -dnl every flag in GST_OPTION_CFLAGS, GST_OPTION_CXXFLAGS and GST_OPTION_OBJCFLAGS can be overridden -dnl at make time with e.g. make ERROR_CFLAGS="" -GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)" -GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)" -GST_OPTION_OBJCFLAGS="\$(WARNING_OBJCFLAGS) \$(ERROR_OBJCFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)" -AC_SUBST(GST_OPTION_CFLAGS) -AC_SUBST(GST_OPTION_CXXFLAGS) -AC_SUBST(GST_OPTION_OBJCFLAGS) - -dnl our libraries need to be versioned correctly -AC_SUBST(GST_LT_LDFLAGS) - -dnl FIXME: do we want to rename to GST_ALL_* ? -dnl prefer internal headers to already installed ones -dnl also add builddir include for enumtypes and marshal -dnl add ERROR_CFLAGS, but overridable -GST_CFLAGS="$GST_CFLAGS -DGST_USE_UNSTABLE_API -Wno-error=missing-include-dirs" -GST_CXXFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CXXFLAGS)" -GST_OBJCFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_OBJCFLAGS)" -GST_CFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CFLAGS)" -AC_SUBST(GST_CFLAGS) -AC_SUBST(GST_CXXFLAGS) -AC_SUBST(GST_OBJCFLAGS) -AC_SUBST(GST_LIBS) - -dnl LDFLAGS really should only contain flags, not libs - they get added before -dnl whatevertarget_LIBS and -L flags here affect the rest of the linking -GST_ALL_LDFLAGS="-no-undefined" -if test "x${enable_Bsymbolic}" = "xyes"; then - GST_ALL_LDFLAGS="$GST_ALL_LDFLAGS -Wl,-Bsymbolic-functions" -fi -AC_SUBST(GST_ALL_LDFLAGS) - -dnl this really should only contain flags, not libs - they get added before -dnl whatevertarget_LIBS and -L flags here affect the rest of the linking -GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^[_]*gst_plugin_.*' $GST_ALL_LDFLAGS" -AC_SUBST(GST_PLUGIN_LDFLAGS) - -dnl *** output files *** - -# Our Include path, to be shared in multiple makefiles -AC_SUBST([GSTINCLUDEDIR],[$includedir/gstreamer-1.0]) - -dnl keep this alphabetic per directory, please -AC_CONFIG_FILES( -Makefile -common/Makefile -common/m4/Makefile -docs/Makefile -docs/plugins/Makefile -docs/version.entities -ext/Makefile -ext/opencv/Makefile -ext/r2inference/Makefile -gst/Makefile -gst/inferenceutils/Makefile -gst-libs/Makefile -gst-libs/gst/Makefile -gst-libs/gst/opencv/Makefile -gst-libs/gst/r2inference/Makefile -m4/Makefile -tests/check/Makefile -gst-inference-${GST_API_VERSION}.pc:gst-inference.pc.in -tests/Makefile -tests/examples/classification/Makefile -tests/examples/detection/Makefile -tests/examples/embedding/Makefile -tests/examples/Makefile -tests/files/Makefile -) -AC_OUTPUT - -AG_GST_OUTPUT_PLUGINS diff --git a/docs/Makefile.am b/docs/Makefile.am deleted file mode 100644 index b71b89a4..00000000 --- a/docs/Makefile.am +++ /dev/null @@ -1,18 +0,0 @@ -if ENABLE_GTK_DOC -if ENABLE_PLUGIN_DOCS -PLUGIN_DOCS_DIRS = plugins -else -PLUGIN_DOCS_DIRS = -endif -else -PLUGIN_DOCS_DIRS = plugins -endif - -SUBDIRS = $(PLUGIN_DOCS_DIRS) -DIST_SUBDIRS = plugins - -EXTRA_DIST = \ - version.entities.in - -upload: - @if test "x$(SUBDIRS)" != x; then for a in $(SUBDIRS); do cd $$a; make upload; cd ..; done; fi diff --git a/docs/plugins/Makefile.am b/docs/plugins/Makefile.am deleted file mode 100644 index 07687303..00000000 --- a/docs/plugins/Makefile.am +++ /dev/null @@ -1,80 +0,0 @@ -GST_DOC_SCANOBJ = $(top_srcdir)/common/gstdoc-scangobj - -## Process this file with automake to produce Makefile.in - -# The name of the module, e.g. 'glib'. -MODULE=gst-inference -DOC_MODULE=$(MODULE)-plugin - -# for upload-doc.mak -DOC=$(MODULE)-plugin -FORMATS=html -html: html-build.stamp -include $(top_srcdir)/common/upload-doc.mak - -# The top-level SGML file. Change it if you want. -DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml - -# The directory containing the source code. -# gtk-doc will search all .c & .h files beneath here for inline comments -# documenting functions and macros. -DOC_SOURCE_DIR = $(top_srcdir)/ext - -# Extra options to supply to gtkdoc-scan. -SCAN_OPTIONS= - -# Extra options to supply to gtkdoc-mkdb. -MKDB_OPTIONS=--sgml-mode --source-suffixes=c,h,cc - -# Extra options to supply to gtkdoc-fixref. -FIXXREF_OPTIONS=--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html \ - --extra-dir=$(GST_PREFIX)/share/gtk-doc/html \ - --extra-dir=$(GSTPB_PREFIX)/share/gtk-doc/html - -# Used for dependencies. -HFILE_GLOB= \ - $(top_srcdir)/ext/*/*.h -CFILE_GLOB= \ - $(top_srcdir)/ext/*/*.c - -# Header files to ignore when scanning. -IGNORE_HFILES = -IGNORE_CFILES = - -# we add all .h files of elements that have signals/args we want -# sadly this also pulls in the private methods - maybe we should -# move those around in the source ? -# also, we should add some stuff here conditionally based on whether -# or not the plugin will actually build -# but I'm not sure about that - it might be this Just Works given that -# the registry won't have the element - -EXTRA_HFILES = -# $(top_srcdir)/ext/example/example.h# -# $(top_srcdir)/gst/example/example.h# -# $(top_srcdir)/sys/example/example.h - -# example code that needs to be converted to xml and placed in xml/ -EXAMPLE_CFILES = -# $(top_srcdir)/tests/examples/example/example.c - -# Images to copy into HTML directory. -HTML_IMAGES = - -# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). -content_files = - -# Other files to distribute. -extra_files = - -# CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib -# contains GtkObjects/GObjects and you want to document signals and properties. -GTKDOC_CFLAGS = $(GST_BASE_CFLAGS) -I$(top_builddir) -GTKDOC_LIBS = $(GST_BASE_LIBS) - -# If you need to override some of the declarations, place them in this file -# and uncomment this line. -#DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt -DOC_OVERRIDES = - -include $(top_srcdir)/common/gtk-doc-plugins.mak diff --git a/docs/version.entities.in b/docs/version.entities.in deleted file mode 100644 index 286989f5..00000000 --- a/docs/version.entities.in +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/ext/Makefile.am b/ext/Makefile.am deleted file mode 100644 index cb157b23..00000000 --- a/ext/Makefile.am +++ /dev/null @@ -1,21 +0,0 @@ -if USE_R2INFERENCE -R2INFERENCE_DIR=r2inference -else -R2INFERENCE_DIR= -endif - -if USE_OPENCV -OPENCV_DIR = opencv -else -OPENCV_DIR = -endif - -SUBDIRS = \ - $(R2INFERENCE_DIR) \ - $(OPENCV_DIR) - -DIST_SUBDIRS = \ - r2inference \ - opencv - -include $(top_srcdir)/common/parallel-subdirs.mak diff --git a/ext/opencv/Makefile.am b/ext/opencv/Makefile.am deleted file mode 100644 index f20e5919..00000000 --- a/ext/opencv/Makefile.am +++ /dev/null @@ -1,50 +0,0 @@ -plugin_LTLIBRARIES = libgstinferenceoverlayplugin.la - -libgstinferenceoverlayplugin_la_SOURCES = \ - gstclassificationoverlay.cc \ - gstdetectionoverlay.cc \ - gstplugin.cc \ - gstinferenceoverlay.cc \ - gstembeddingoverlay.cc - -libgstinferenceoverlayplugin_la_CFLAGS = \ - $(GST_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_VIDEO_CFLAGS) \ - $(R2INFERENCE_CFLAGS) \ - $(OPENCV_CFLAGS) \ - -I$(top_srcdir)/gst-libs - - -libgstinferenceoverlayplugin_la_CXXFLAGS = \ - $(GST_CXXFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_VIDEO_CFLAGS) \ - $(R2INFERENCE_CFLAGS) \ - $(OPENCV_CFLAGS) \ - -std=c++11 - - -libgstinferenceoverlayplugin_la_LIBADD = \ - $(GST_LIBS) \ - $(GST_BASE_LIBS) \ - $(GST_PLUGINS_BASE_LIBS) \ - $(GST_VIDEO_LIBS) \ - $(OPENCV_LIBS) \ - $(R2INFERENCE_LIBS) \ - $(top_builddir)/gst-libs/gst/r2inference/libgstinference-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/opencv/libgstinferencebaseoverlay-@GST_API_VERSION@.la - -libgstinferenceoverlayplugin_la_LDFLAGS = \ - $(GST_PLUGIN_LDFLAGS) - -libgstinferenceoverlayplugin_la_LIBTOOLFLAGS = \ - $(GST_PLUGIN_LIBTOOLFLAGS) - -noinst_HEADERS = \ - gstclassificationoverlay.h \ - gstdetectionoverlay.h \ - gstinferenceoverlay.h \ - gstembeddingoverlay.h diff --git a/ext/r2inference/Makefile.am b/ext/r2inference/Makefile.am deleted file mode 100644 index 923797ab..00000000 --- a/ext/r2inference/Makefile.am +++ /dev/null @@ -1,54 +0,0 @@ -plugin_LTLIBRARIES = libgstinference.la - -libgstinference_la_SOURCES = \ - gstinceptionv1.c \ - gstinceptionv2.c \ - gstinceptionv3.c \ - gstinceptionv4.c \ - gstinference.c \ - gsttinyyolov2.c \ - gsttinyyolov3.c \ - gstfacenetv1.c \ - gstresnet50v1.c \ - gstmobilenetv2.c \ - gstmobilenetv2ssd.c - - -libgstinference_la_CFLAGS = \ - $(GST_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(R2INFERENCE_CFLAGS) \ - -I$(top_srcdir)/gst-libs - -libgstinference_la_CXXFLAGS = \ - $(GST_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(R2INFERENCE_CFLAGS) \ - -I$(top_srcdir)/gst-libs - -libgstinference_la_LIBADD = \ - $(GST_LIBS) \ - $(GST_BASE_LIBS) \ - $(GST_PLUGINS_BASE_LIBS) \ - $(R2INFERENCE_LIBS) \ - $(top_builddir)/gst-libs/gst/r2inference/libgstinference-@GST_API_VERSION@.la - -libgstinference_la_LDFLAGS = \ - $(GST_PLUGIN_LDFLAGS) - -libgstinference_la_LIBTOOLFLAGS = \ - $(GST_PLUGIN_LIBTOOLFLAGS) - -noinst_HEADERS = \ - gstinceptionv1.h \ - gstinceptionv2.h \ - gstinceptionv3.h \ - gstinceptionv4.h \ - gsttinyyolov2.h \ - gsttinyyolov3.h \ - gstfacenetv1.h \ - gstresnet50v1.h \ - gstmobilenetv2.h \ - gstmobilenetv2ssd.h diff --git a/gst-inference.pc.in b/gst-inference.pc.in deleted file mode 100644 index a753a936..00000000 --- a/gst-inference.pc.in +++ /dev/null @@ -1,12 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@GSTINCLUDEDIR@ - -Name: GstInference -Description: GStreamer framework for deep learning inference. -URL: https://github.com/RidgeRun/gst-inference/ -Version: @VERSION@ -Requires: gstreamer-1.0 gstreamer-plugins-base-1.0 gstreamer-video-1.0 r2inference-0.0 -Libs: -L${libdir} -lgstinference-@GST_API_VERSION@ -Cflags: -I${includedir} diff --git a/gst-libs/Makefile.am b/gst-libs/Makefile.am deleted file mode 100644 index 3d084fed..00000000 --- a/gst-libs/Makefile.am +++ /dev/null @@ -1,2 +0,0 @@ - -SUBDIRS=gst diff --git a/gst-libs/gst/Makefile.am b/gst-libs/gst/Makefile.am deleted file mode 100644 index fe41c8ae..00000000 --- a/gst-libs/gst/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -if USE_R2INFERENCE -R2INFERENCE_DIR=r2inference -else -R2INFERENCE_DIR= -endif - -if USE_OPENCV -OPENCV_DIR = opencv -else -OPENCV_DIR = -endif - -SUBDIRS = \ - $(R2INFERENCE_DIR) \ - $(OPENCV_DIR) - -DIST_SUBDIRS = \ - r2inference \ - opencv diff --git a/gst-libs/gst/opencv/Makefile.am b/gst-libs/gst/opencv/Makefile.am deleted file mode 100644 index c385d7ab..00000000 --- a/gst-libs/gst/opencv/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ - -lib_LTLIBRARIES = libgstinferencebaseoverlay-@GST_API_VERSION@.la - -libgstinferencebaseoverlay_@GST_API_VERSION@_la_SOURCES= \ - gstinferencebaseoverlay.cc - -libgstinferencebaseoverlay_@GST_API_VERSION@_la_CFLAGS= \ - $(GST_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(OPENCV_CFLAGS) \ - $(R2INFERENCE_CFLAGS) - -libgstinferencebaseoverlay_@GST_API_VERSION@_la_CXXFLAGS= \ - $(GST_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(OPENCV_CFLAGS) \ - $(R2INFERENCE_CFLAGS) \ - -std=c++11 - -libgstinferencebaseoverlay_@GST_API_VERSION@_la_LIBADD= \ - $(GST_LIBS) \ - $(GST_BASE_LIBS) \ - -lgstvideo-@GST_API_VERSION@ \ - $(GST_PLUGINS_BASE_LIBS) \ - $(OPENCV_LIBS) \ - $(R2INFERENCE_LIBS) - -gstinferencebaseoverlayincludedir=@includedir@/gstreamer-@GST_API_VERSION@/gst/opencv/ - -gstinferencebaseoverlayinclude_HEADERS= \ - gstinferencebaseoverlay.h diff --git a/gst-libs/gst/r2inference/Makefile.am b/gst-libs/gst/r2inference/Makefile.am deleted file mode 100644 index ca86d892..00000000 --- a/gst-libs/gst/r2inference/Makefile.am +++ /dev/null @@ -1,50 +0,0 @@ - -lib_LTLIBRARIES = libgstinference-@GST_API_VERSION@.la - -libgstinference_@GST_API_VERSION@_la_SOURCES= \ - gstvideoinference.c \ - gstchildinspector.c \ - gstinferencemeta.c \ - gstinferencebackends.cc \ - gstbasebackend.cc \ - gstinferencepreprocess.c \ - gstinferencepostprocess.c \ - gstinferencedebug.c \ - gstinferenceprediction.c \ - gstinferenceclassification.c \ - gstinferencebackend.cc - -libgstinference_@GST_API_VERSION@_la_CXXFLAGS= \ - $(GST_CXXFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(R2INFERENCE_CFLAGS) \ - -std=c++11 - -libgstinference_@GST_API_VERSION@_la_CFLAGS= \ - $(GST_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(R2INFERENCE_CFLAGS) - -libgstinference_@GST_API_VERSION@_la_LIBADD= \ - $(GST_LIBS) \ - $(GST_BASE_LIBS) \ - -lgstvideo-@GST_API_VERSION@ \ - $(GST_PLUGINS_BASE_LIBS) \ - $(R2INFERENCE_LIBS) - -gstinferenceincludedir=@includedir@/gstreamer-@GST_API_VERSION@/gst/r2inference/ - -gstinferenceinclude_HEADERS= \ - gstvideoinference.h \ - gstchildinspector.h \ - gstinferencebackends.h \ - gstbasebackend.h \ - gstbasebackendsubclass.h \ - gstinferencepreprocess.h \ - gstinferencepostprocess.h \ - gstinferencedebug.h \ - gstinferencemeta.h \ - gstinferenceprediction.h \ - gstinferenceclassification.h diff --git a/gst/Makefile.am b/gst/Makefile.am deleted file mode 100644 index 8131eb85..00000000 --- a/gst/Makefile.am +++ /dev/null @@ -1,2 +0,0 @@ -SUBDIRS = \ - inferenceutils diff --git a/gst/inferenceutils/Makefile.am b/gst/inferenceutils/Makefile.am deleted file mode 100644 index 6f1b38e8..00000000 --- a/gst/inferenceutils/Makefile.am +++ /dev/null @@ -1,43 +0,0 @@ -plugin_LTLIBRARIES = libgstinferenceutils.la - -libgstinferenceutils_la_SOURCES = \ - gstinferenceutils.c \ - gstinferencefilter.c \ - gstinferencedebug.c \ - gstinferencecrop.cc \ - cropelement.cc \ - videocrop.cc \ - gstinferencebin.c - -libgstinferenceutils_la_CFLAGS = \ - $(GST_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - -I$(top_srcdir)/gst-libs - -libgstinferenceutils_la_CXXFLAGS = \ - $(GST_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - -I$(top_srcdir)/gst-libs \ - -std=c++11 - -libgstinferenceutils_la_LIBADD = \ - $(GST_LIBS) \ - $(GST_BASE_LIBS) \ - $(GST_PLUGINS_BASE_LIBS) \ - $(top_builddir)/gst-libs/gst/r2inference/libgstinference-@GST_API_VERSION@.la - -libgstinferenceutils_la_LDFLAGS = \ - $(GST_PLUGIN_LDFLAGS) - -libgstinferenceutils_la_LIBTOOLFLAGS = \ - $(GST_PLUGIN_LIBTOOLFLAGS) - -noinst_HEADERS = \ - gstinferencefilter.h \ - gstinferencedebug.h \ - gstinferencecrop.h \ - cropelement.h \ - videocrop.h \ - gstinferencebin.h diff --git a/m4/Makefile.am b/m4/Makefile.am deleted file mode 100644 index d539a6ec..00000000 --- a/m4/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -EXTRA_DIST = diff --git a/tests/Makefile.am b/tests/Makefile.am deleted file mode 100644 index fa23c65b..00000000 --- a/tests/Makefile.am +++ /dev/null @@ -1,16 +0,0 @@ -if HAVE_GST_CHECK -SUBDIRS_CHECK = check files -else -SUBDIRS_CHECK = -endif - -if BUILD_EXAMPLES -SUBDIRS_EXAMPLES = examples -else -SUBDIRS_EXAMPLES = -endif - -SUBDIRS = $(SUBDIRS_CHECK) $(SUBDIRS_EXAMPLES) - -DIST_SUBDIRS = check files - diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am deleted file mode 100644 index d0df7cbc..00000000 --- a/tests/check/Makefile.am +++ /dev/null @@ -1,119 +0,0 @@ -include $(top_srcdir)/common/check.mak - -CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.reg - -REGISTRY_ENVIRONMENT = \ - GST_REGISTRY=$(CHECK_REGISTRY) - -AM_TESTS_ENVIRONMENT = \ - CK_DEFAULT_TIMEOUT=120 \ - $(REGISTRY_ENVIRONMENT) \ - GST_PLUGIN_SYSTEM_PATH_1_0= \ - GST_PLUGIN_PATH_1_0=$(top_builddir)/gst:$(GST_PLUGINS_DIR) \ - GST_PLUGIN_LOADING_WHITELIST="gstreamer:gst-plugins-good:gst-plugins-base:gst-plugins-bad:gst-plugins-ugly:libnice:gst-libav:gst-inference@$(top_builddir)" - -# the core dumps of some machines have PIDs appended, test registry and -# profiling data -CLEANFILES = core core.* test-registry.* *.gcno *.gcda - -SUPPRESSIONS = $(top_srcdir)/common/gst.supp - -clean-local: clean-local-check - -$(CHECK_REGISTRY): - $(AM_TESTS_ENVIRONMENT) - -check_PROGRAMS = \ - process/test_gst_pixel_to_float_function \ - process/test_gst_subtract_mean_function \ - process/test_gst_normalize_function \ - process/test_gst_fill_classification_meta_function - -# failing tests -noinst_PROGRAMS = - -TESTS = $(check_PROGRAMS) - -noinst_HEADERS = - -AM_CFLAGS = \ - $(GST_CFLAGS) \ - $(GST_CHECK_FLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_PLUGINS_GOOD_CFLAGS) \ - -I$(top_srcdir)/gst-libs/ - -LDADD = \ - $(top_builddir)/gst-libs/gst/r2inference/libgstinference-1.0.la \ - $(GST_LIBS) \ - $(GST_PLUGINS_BASE_LIBS) \ - -lgstvideo-1.0 \ - $(GST_PLUGINS_GOOD_LIBS) \ - $(GST_CHECK_LIBS) - -# valgrind testing -# these just need valgrind fixing, period -VALGRIND_TO_FIX = - -VALGRIND_IGNORE = - -# these need fixing because the threads cause segfaults under valgrind -TESTS_THREADED = - -VALGRIND_TESTS_DISABLE = \ - $(TESTS_THREADED) \ - $(VALGRIND_IGNORE) \ - $(VALGRIND_TO_FIX) - -# indexers does not get tested yet -COVERAGE_DIRS = gst-libs/gst/r2inference \ - gst-libs/gst/opencv - -COVERAGE_FILES = $(foreach dir,$(COVERAGE_DIRS),$(wildcard $(top_builddir)/$(dir)/*.gcov)) -COVERAGE_FILES_REL = $(subst $(top_builddir)/,,$(COVERAGE_FILES)) -COVERAGE_OUT_FILES = $(foreach dir,$(COVERAGE_DIRS),$(wildcard $(top_builddir)/$(dir)/*.gcov.out)) -COVERAGE_OUT_FILES_REL = $(subst $(top_builddir)/,,$(COVERAGE_OUT_FILES)) - -debug: - echo $(GST_PLUGINS_DIR) - echo $(COVERAGE_FILES) - echo $(COVERAGE_FILES_REL) - -.PHONY: coverage -if GST_GCOV_ENABLED -# we rebuild a registry and do gst-inspect so that all the get/set codepaths -# are also covered -coverage: - for file in `find $(top_builddir) -name '*.gcda'`; do rm $$file; done - -rm $(CHECK_REGISTRY) - echo "Inspecting all elements" - for e in `$(GST_INSPECT) | head -n -2 | cut -d: -f2`; do $(GST_INSPECT) $$e > /dev/null 2>&1; done - make check - make coverage-report -else -coverage: - echo "You need to configure with --enable-gcov to get coverage data" - exit 1 -endif - -coverage-report: - rm -r coverage - for dir in $(COVERAGE_DIRS); do \ - mkdir -p coverage/$$dir; \ - make -C $(top_builddir)/$$dir gcov; \ - done - for dir in $(COVERAGE_DIRS); do \ - files="`ls $(top_builddir)/$$dir/*.gcov.out 2> /dev/null`"; \ - if test ! -z "$$files"; then \ - perl $(top_srcdir)/common/coverage/coverage-report.pl \ - $(top_builddir)/$$dir/*.gcov.out > \ - coverage/$$dir/index.xml; \ - xsltproc $(top_srcdir)/common/coverage/coverage-report.xsl \ - coverage/$$dir/index.xml > coverage/$$dir/index.html; \ - fi; \ - done - for file in $(COVERAGE_FILES_REL); do \ - echo Generating coverage/$$file.html; \ - perl $(top_srcdir)/common/coverage/coverage-report-entry.pl \ - $(top_builddir)/$$file > coverage/$$file.html; \ - done diff --git a/tests/examples/Makefile.am b/tests/examples/Makefile.am deleted file mode 100644 index 39af1482..00000000 --- a/tests/examples/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright (C) 2018 RidgeRun, LLC (http://www.ridgerun.com) -# All Rights Reserved. -# -# The contents of this software are proprietary and confidential to RidgeRun, -# LLC. No part of this program may be photocopied, reproduced or translated -# into another programming language without prior written consent of -# RidgeRun, LLC. The user is free to modify the source code after obtaining -# a software license from RidgeRun. All source code changes must be provided -# back to RidgeRun without any encumbrance. - -if BUILD_EXAMPLES -EXAMPLES_DIR=classification detection embedding -else -EXAMPLES_DIR= -endif - -SUBDIRS = $(EXAMPLES_DIR) diff --git a/tests/examples/classification/Makefile.am b/tests/examples/classification/Makefile.am deleted file mode 100644 index 013af7bf..00000000 --- a/tests/examples/classification/Makefile.am +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright (C) 2018 RidgeRun, LLC (http://www.ridgerun.com) -# All Rights Reserved. -# -# The contents of this software are proprietary and confidential to RidgeRun, -# LLC. No part of this program may be photocopied, reproduced or translated -# into another programming language without prior written consent of -# RidgeRun, LLC. The user is free to modify the source code after obtaining -# a software license from RidgeRun. All source code changes must be provided -# back to RidgeRun without any encumbrance. - -if BUILD_EXAMPLES - -noinst_PROGRAMS = \ - classification - -# sources used to compile this plug-in -classification_SOURCES = gstclassification.c customlogic.cc customlogic.h - -AM_CFLAGS = \ - -I\$(top_srcdir)/gst-libs \ - $(GST_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) - -AM_LDFLAGS = \ - $(GST_LIBS) \ - $(GST_BASE_LIBS) \ - $(GST_PLUGINS_BASE_LIBS) - -endif # BUILD_EXAMPLES diff --git a/tests/examples/detection/Makefile.am b/tests/examples/detection/Makefile.am deleted file mode 100644 index 50fdf6a7..00000000 --- a/tests/examples/detection/Makefile.am +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright (C) 2018 RidgeRun, LLC (http://www.ridgerun.com) -# All Rights Reserved. -# -# The contents of this software are proprietary and confidential to RidgeRun, -# LLC. No part of this program may be photocopied, reproduced or translated -# into another programming language without prior written consent of -# RidgeRun, LLC. The user is free to modify the source code after obtaining -# a software license from RidgeRun. All source code changes must be provided -# back to RidgeRun without any encumbrance. - -if BUILD_EXAMPLES - -noinst_PROGRAMS = \ - detection - -# sources used to compile this plug-in -detection_SOURCES = gstdetection.c customlogic.cc customlogic.h - -AM_CFLAGS = \ - -I\$(top_srcdir)/gst-libs \ - $(GST_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) - -AM_LDFLAGS = \ - $(GST_LIBS) \ - $(GST_BASE_LIBS) \ - $(GST_PLUGINS_BASE_LIBS) - -endif # BUILD_EXAMPLES diff --git a/tests/examples/embedding/Makefile.am b/tests/examples/embedding/Makefile.am deleted file mode 100644 index 223ff0fb..00000000 --- a/tests/examples/embedding/Makefile.am +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright (C) 2018 RidgeRun, LLC (http://www.ridgerun.com) -# All Rights Reserved. -# -# The contents of this software are proprietary and confidential to RidgeRun, -# LLC. No part of this program may be photocopied, reproduced or translated -# into another programming language without prior written consent of -# RidgeRun, LLC. The user is free to modify the source code after obtaining -# a software license from RidgeRun. All source code changes must be provided -# back to RidgeRun without any encumbrance. - -if BUILD_EXAMPLES - -noinst_PROGRAMS = \ - embedding - -# sources used to compile this plug-in -embedding_SOURCES = gstembedding.c customlogic.cc customlogic.h - -AM_CFLAGS = \ - -I\$(top_srcdir)/gst-libs \ - $(GST_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) - -AM_LDFLAGS = \ - $(GST_LIBS) \ - $(GST_BASE_LIBS) \ - $(GST_PLUGINS_BASE_LIBS) - -endif # BUILD_EXAMPLES diff --git a/tests/files/Makefile.am b/tests/files/Makefile.am deleted file mode 100644 index 1f04c07b..00000000 --- a/tests/files/Makefile.am +++ /dev/null @@ -1,4 +0,0 @@ - -EXTRA_DIST = - -