mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
2f60c9c4fe
Use $(MAKE) instead of 'make' inside the Makefile, otherwise the make will run as if -j1 had been specified and complain about the job server not being available, and with $(MAKE) in inherits the parent make's settings it seems. Upgrade common submodule for parallel check-valgrind.
99 lines
2.1 KiB
Makefile
99 lines
2.1 KiB
Makefile
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
|
|
|
|
if BUILD_EXTERNAL
|
|
SUBDIRS_EXT = ext
|
|
else
|
|
SUBDIRS_EXT =
|
|
endif
|
|
|
|
SUBDIRS = \
|
|
pkgconfig \
|
|
gst-libs \
|
|
gst sys $(SUBDIRS_EXT) \
|
|
tools \
|
|
tests \
|
|
docs \
|
|
po \
|
|
common \
|
|
m4
|
|
|
|
DIST_SUBDIRS = \
|
|
pkgconfig \
|
|
docs \
|
|
gst-libs \
|
|
gst sys ext \
|
|
tools \
|
|
tests \
|
|
po \
|
|
common \
|
|
m4
|
|
|
|
# include before EXTRA_DIST for win32 assignment
|
|
include $(top_srcdir)/common/win32.mak
|
|
|
|
EXTRA_DIST = \
|
|
gst-plugins-base.spec depcomp \
|
|
AUTHORS COPYING COPYING.LIB NEWS README RELEASE REQUIREMENTS \
|
|
ChangeLog gst-plugins-base.doap autogen.sh $(win32)
|
|
|
|
DISTCLEANFILES = _stdint.h
|
|
|
|
ACLOCAL_AMFLAGS = -I m4 -I common/m4
|
|
|
|
include $(top_srcdir)/common/release.mak
|
|
include $(top_srcdir)/common/po.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
|
|
|
|
WIN32_COPY = \
|
|
$(top_builddir)/gst-libs/gst/*/*-enumtypes.[ch] \
|
|
$(top_builddir)/_stdint.h
|
|
|
|
win32-update:
|
|
for f in $(WIN32_COPY); do cp -v $$f win32/common; done; \
|
|
for f in win32/common/*-enumtypes.c; do \
|
|
echo "Indenting $$f"; \
|
|
gst-indent $$f; gst-indent $$f; \
|
|
done
|
|
cp -v $(top_builddir)/win32/common/config.h-new \
|
|
$(top_srcdir)/win32/common/config.h
|
|
|
|
include $(top_srcdir)/common/coverage/lcov.mak
|
|
|
|
check: check-exports
|
|
|
|
# cruft: plugins that have been merged or moved or renamed
|
|
|
|
CRUFT_FILES = \
|
|
$(top_builddir)/common/shave \
|
|
$(top_builddir)/common/shave-libtool \
|
|
$(top_builddir)/gst-libs/gst/audio/testchannels \
|
|
$(top_builddir)/tests/check/elements/gdppay \
|
|
$(top_builddir)/tests/check/elements/gdpdepay \
|
|
$(top_builddir)/tests/check/pipelines/streamheader \
|
|
$(top_builddir)/tests/examples/audio/testchannels \
|
|
$(top_builddir)/tests/examples/volume/volume \
|
|
$(top_builddir)/tools/gst-discoverer
|
|
|
|
CRUFT_DIRS = \
|
|
$(top_srcdir)/ext/gio \
|
|
$(top_srcdir)/gst/gdp \
|
|
$(top_srcdir)/sys/v4l \
|
|
$(top_srcdir)/tests/examples/v4l
|
|
|
|
include $(top_srcdir)/common/cruft.mak
|
|
|
|
all-local: check-cruft
|