Visual Studio Builds: "Install" gdbus-codegen
[platform/upstream/glib.git] / Makefile.am
index c04c144..b2555ad 100644 (file)
@@ -1,13 +1,25 @@
 ## Process this file with automake to produce Makefile.in
 include $(top_srcdir)/Makefile.decl
 
+# 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
 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@                      \
@@ -36,10 +48,8 @@ EXTRA_DIST +=                        \
        INSTALL.in              \
        README.win32            \
        HACKING                 \
-       MAINTAINERS             \
        autogen.sh              \
        Makefile.decl           \
-       mkinstalldirs           \
        makefile.msc            \
        msvc_recommended_pragmas.h \
        config.h.win32.in       \
@@ -53,13 +63,7 @@ EXTRA_DIST +=                        \
        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
 
 
 # These may be in the builddir too
@@ -98,12 +102,8 @@ endif
 
 $(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
+DISTCHECK_CONFIGURE_FLAGS = --enable-debug --enable-gtk-doc --enable-man --disable-maintainer-mode
 
 DISTCLEANFILES = config.lt