mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 06:16:36 +00:00
80510aeee7
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 one recently applied to GStreamer and gst-plugins-good. The previous config.h file in -good was in pretty bad shape, so unlike core and base, I didn't attempt to leave it strictly the same, but fixed it as necessary. Needs testing I cannot do myself.
63 lines
1.1 KiB
Makefile
63 lines
1.1 KiB
Makefile
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
|
|
|
|
if USE_GCONFTOOL
|
|
GCONF_DIR = gconf
|
|
else
|
|
GCONF_DIR =
|
|
endif
|
|
|
|
ALWAYS_SUBDIRS = \
|
|
gst sys ext \
|
|
tests \
|
|
docs \
|
|
po \
|
|
common \
|
|
m4 \
|
|
pkgconfig
|
|
|
|
SUBDIRS = \
|
|
$(ALWAYS_SUBDIRS) \
|
|
$(GCONF_DIR)
|
|
|
|
DIST_SUBDIRS = \
|
|
$(ALWAYS_SUBDIRS) \
|
|
gconf
|
|
|
|
|
|
# include before EXTRA_DIST for win32 assignment
|
|
include $(top_srcdir)/common/win32.mak
|
|
|
|
EXTRA_DIST = \
|
|
gst-plugins-good.spec depcomp \
|
|
AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \
|
|
ChangeLog gst-plugins-good.doap autogen.sh \
|
|
$(win32)
|
|
|
|
DISTCLEANFILES = _stdint.h
|
|
|
|
noinst_HEADERS = \
|
|
gst-libs/gst/gettext.h \
|
|
gst-libs/gst/gst-i18n-plugin.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_srcdir)/win32/common/config.h
|
|
|
|
include $(top_srcdir)/common/coverage/lcov.mak
|
|
|