1 ## Makefile.am for GTK+
2 include $(top_srcdir)/Makefile.decl
4 SRC_SUBDIRS = gdk gtk libgail-util modules demos tests perf examples
5 SUBDIRS = po po-properties $(SRC_SUBDIRS) docs m4macros build
7 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
25 ChangeLog.gtk-async-file-chooser \
26 ChangeLog.gtk-printing \
33 po/README.translators \
36 MAINTAINERCLEANFILES = \
39 $(srcdir)/aclocal.m4 \
40 $(srcdir)/autoscan.log \
42 $(srcdir)/config.guess \
43 $(srcdir)/config.h.in \
44 $(srcdir)/config.sub \
45 $(srcdir)/configure.scan \
47 $(srcdir)/install-sh \
51 $(srcdir)/xmldocs.make \
52 $(srcdir)/gtk-doc.make \
54 `find "$(srcdir)" -type f -name Makefile.in -print`
57 ## Copy .pc files to target-specific names
58 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
62 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
66 pkgconfigdir = $(libdir)/pkgconfig
67 pkgconfig_DATA = gdk-3.0.pc gtk+-3.0.pc gail-3.0.pc
69 pkgconfig_DATA += ${GDK_BACKENDS:%=gtk+-%-3.0.pc}
70 pkgconfig_DATA += ${GDK_BACKENDS:%=gdk-%-3.0.pc}
73 pkgconfig_DATA += gtk+-unix-print-3.0.pc
77 gtk+-unix-print-3.0.pc \
86 if test "$(srcdir)" = "."; then :; else \
91 $(AM_V_GEN) if test -d "$(srcdir)/.git"; then \
92 (GIT_DIR=$(top_srcdir)/.git ./missing --run git log GTK_2_16_0^^.. --stat) | fmt --split-only > $@.tmp \
95 echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
96 (test -f $@ || echo git-log is required to generate this file >> $@)); \
99 (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
100 echo A git checkout and git-log is required to generate this file >> $@); \
104 rm -f $(DESTDIR)$(pkgconfigdir)/gtk+-3.0.pc
107 if test -f $(srcdir)/INSTALL.in && test -f $(srcdir)/README.in ; then \
108 CONFIG_FILES="INSTALL:$(srcdir)/INSTALL.in README:$(srcdir)/README.in" \
110 $(SHELL) config.status \
111 && cp INSTALL README $(distdir) ; \
114 .PHONY: files release sanity snapshot ChangeLog
117 @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
120 @for subdir in $(SUBDIRS); do \
121 files=`cd $$subdir; $(MAKE) files | grep -v "make\[[1-9]\]"`; \
122 for file in $$files; do \
123 echo $$subdir/$$file; \
132 ./sanity_check $(VERSION)
136 $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
138 DISTCHECK_CONFIGURE_FLAGS = \
142 --disable-maintainer-mode \
143 --enable-introspection
146 po-properties/Makefile.in.in \
147 po-properties/Makefile.in \
148 po-properties/Makefile \
149 po-properties/*.gmo \
151 po-properties/POTFILES \
152 po-properties/stamp-it \
153 po-properties/.intltool-merge-cache
155 -include $(top_srcdir)/git.mk