## Process this file with automake to produce Makefile.in
-include $(top_srcdir)/Makefile.decl
+include $(top_srcdir)/glib.mk
# http://people.gnome.org/~walters/docs/build-api.txt
.buildapi-allow-builddir:
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 tests
DIST_SUBDIRS = $(SUBDIRS) build
bin_SCRIPTS = glib-gettextize
+if OS_LINUX
+TESTS += check-abis.sh
+endif
+
AM_CPPFLAGS = \
-DG_LOG_DOMAIN=g_log_domain_glib \
@GLIB_DEBUG_FLAGS@ \
INSTALL.in \
README.win32 \
HACKING \
- MAINTAINERS \
autogen.sh \
- Makefile.decl \
- mkinstalldirs \
+ glib.mk \
makefile.msc \
msvc_recommended_pragmas.h \
config.h.win32.in \
gio-2.0.pc.in \
gio-unix-2.0.pc.in \
gio-windows-2.0.pc.in \
- glib-2.0-uninstalled.pc.in \
- gobject-2.0-uninstalled.pc.in \
- gmodule-2.0-uninstalled.pc.in \
- gthread-2.0-uninstalled.pc.in \
- gmodule-no-export-2.0-uninstalled.pc.in \
- gio-2.0-uninstalled.pc.in \
- gio-unix-2.0-uninstalled.pc.in
+ check-abis.sh \
+ gtk-doc.make \
+ $(NULL)
# These may be in the builddir too
-BUILT_EXTRA_DIST = \
+BUILT_EXTRA_DIST += \
README \
INSTALL \
ChangeLog \
config.h.win32 \
- gtk-doc.make
+ $(NULL)
CONFIGURE_DEPENDENCIES = acglib.m4
$(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
-DISTCLEANFILES = config.lt
+DISTCLEANFILES += config.lt
distclean-local: lcov-clean
if test $(srcdir) = .; then :; else \