ACLOCAL_AMFLAGS = -I m4macros ${ACLOCAL_FLAGS}
-SUBDIRS = . m4macros glib gmodule gthread gobject gio tests po docs
+SUBDIRS = . m4macros glib gmodule gthread gobject gio po docs
DIST_SUBDIRS = $(SUBDIRS) build
+if BUILD_MODULAR_TESTS
+SUBDIRS += tests
+else
+DIST_SUBDIRS += tests
+endif
bin_SCRIPTS = glib-gettextize
+if OS_LINUX
+TESTS = check-abis.sh
+endif
+
AM_CPPFLAGS = \
-DG_LOG_DOMAIN=g_log_domain_glib \
@GLIB_DEBUG_FLAGS@ \
HACKING \
autogen.sh \
Makefile.decl \
- mkinstalldirs \
makefile.msc \
msvc_recommended_pragmas.h \
config.h.win32.in \
gthread-2.0.pc.in \
gio-2.0.pc.in \
gio-unix-2.0.pc.in \
- gio-windows-2.0.pc.in
+ gio-windows-2.0.pc.in \
+ check-abis.sh
# These may be in the builddir too
$(pkgconfig_DATA): config.status
-# install mkinstalldirs for glib-gettextize's benefit
-gettextdir = $(datadir)/glib-2.0/gettext
-gettext_SCRIPTS = mkinstalldirs
-
# build documentation when doing distcheck
DISTCHECK_CONFIGURE_FLAGS = --enable-debug --enable-gtk-doc --enable-man --disable-maintainer-mode