gstreamer/Makefile.am
Tim-Philipp Müller a5984e6b49 win32: change how win32/common/config.h is updated
Generate win32/common/config.h-new directly from config.h.in,
using shell variables in configure and some hard-coded information.
Change top-level makefile so that 'make win32-update' copies the
generated file to win32/common/config.h, which we keep in source
control. It's kept in source control so that the git tree is
buildable from VS.

This change is similar to the ones applied a while ago to GStreamer
core, gst-plugins-base and gst-plugins-good and prevents configure
from changing files in source control. The generated config.h
should be ok, but needs testing.
2010-02-01 09:27:58 +00:00

39 lines
800 B
Makefile

DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
SUBDIRS = \
gst-libs gst ext docs m4 tests common po
# include before EXTRA_DIST for win32 assignment
include $(top_srcdir)/common/win32.mak
EXTRA_DIST = \
gst-plugins-ugly.spec depcomp \
AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \
ChangeLog gst-plugins-ugly.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:
cd tests/check && make check-valgrind
if HAVE_GST_CHECK
check-torture:
cd tests/check && make torture
else
check-torture:
true
endif
win32-update:
cp $(top_builddir)/win32/common/config.h-new \
$(top_builddir)/win32/common/config.h
include $(top_srcdir)/common/coverage/lcov.mak