]> Pileus Git - ~andy/gtk/blobdiff - Makefile.am
stylecontext: Do invalidation on first resize container
[~andy/gtk] / Makefile.am
index 68002d77455ae3163e646f646dfafa5729caeca1..285785fee89f444c324cb38efbb4399c4e4d024d 100644 (file)
@@ -1,7 +1,7 @@
 ## Makefile.am for GTK+
 include $(top_srcdir)/Makefile.decl
 
-SRC_SUBDIRS = gdk gtk modules demos tests perf examples
+SRC_SUBDIRS = gdk gtk libgail-util modules demos tests perf examples
 SUBDIRS = po po-properties $(SRC_SUBDIRS) docs m4macros build
 
 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
@@ -47,15 +47,27 @@ MAINTAINERCLEANFILES = \
        $(srcdir)/install-sh \
        $(srcdir)/ltmain.sh \
        $(srcdir)/missing \
-       $(srcdir)/mkinstalldirs \
        $(srcdir)/omf.make \
        $(srcdir)/xmldocs.make \
        $(srcdir)/gtk-doc.make \
        $(srcdir)/ChangeLog \
        `find "$(srcdir)" -type f -name Makefile.in -print`
 
+
+## Copy .pc files to target-specific names
+gtk+-x11-3.0.pc gtk+-win32-3.0.pc gtk+-quartz-3.0.pc gtk+-broadway-3.0.pc gtk+-wayland-3.0.pc: gtk+-3.0.pc
+       rm -f $@ && \
+       cp gtk+-3.0.pc $@
+
+gdk-x11-3.0.pc gdk-win32-3.0.pc gdk-quartz-3.0.pc gdk-broadway-3.0.pc gdk-wayland-3.0.pc: gdk-3.0.pc
+       rm -f $@ && \
+       cp gdk-3.0.pc $@
+
 pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = gtk+-3.0.pc gail-3.0.pc
+pkgconfig_DATA = gdk-3.0.pc gtk+-3.0.pc gail-3.0.pc
+
+pkgconfig_DATA += ${GDK_BACKENDS:%=gtk+-%-3.0.pc}
+pkgconfig_DATA += ${GDK_BACKENDS:%=gdk-%-3.0.pc}
 
 if OS_UNIX
 pkgconfig_DATA += gtk+-unix-print-3.0.pc
@@ -64,9 +76,10 @@ endif
 DISTCLEANFILES = \
        gtk+-unix-print-3.0.pc          \
        gtk+-3.0.pc                     \
+       gtk+-x11-3.0.pc                 \
+       gdk-3.0.pc                      \
+       gdk-x11-3.0.pc                  \
        gail-3.0.pc                     \
-       gtk+-3.0-uninstalled.pc         \
-       gail-3.0-uninstalled.pc         \
        config.lt
 
 distclean-local:
@@ -75,8 +88,7 @@ distclean-local:
        fi
 
 ChangeLog:
-       @echo Creating $@
-       @if test -d "$(srcdir)/.git"; then \
+       $(AM_V_GEN) if test -d "$(srcdir)/.git"; then \
          (GIT_DIR=$(top_srcdir)/.git ./missing --run git log GTK_2_16_0^^.. --stat) | fmt --split-only > $@.tmp \
          && mv -f $@.tmp $@ \
          || ($(RM) $@.tmp; \
@@ -127,6 +139,7 @@ DISTCHECK_CONFIGURE_FLAGS =         \
                --enable-gtk-doc        \
                --enable-man            \
                --disable-rebuilds      \
+               --disable-maintainer-mode \
                --enable-introspection
 
 GITIGNOREFILES = \