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 gtk+-*-3.0-uninstalled.pc: gtk+-3.0-uninstalled.pc
68 cp gtk+-3.0-uninstalled.pc $@
70 pkgconfigdir = $(libdir)/pkgconfig
71 pkgconfig_DATA = gdk-3.0.pc gtk+-3.0.pc gail-3.0.pc
73 pkgconfig_DATA += ${GDK_BACKENDS:%=gtk+-%-3.0.pc}
74 pkgconfig_DATA += ${GDK_BACKENDS:%=gdk-%-3.0.pc}
77 pkgconfig_DATA += gtk+-unix-print-3.0.pc
81 gtk+-unix-print-3.0.pc \
87 gtk+-3.0-uninstalled.pc \
88 gail-3.0-uninstalled.pc \
92 if test "$(srcdir)" = "."; then :; else \
97 $(AM_V_GEN) if test -d "$(srcdir)/.git"; then \
98 (GIT_DIR=$(top_srcdir)/.git ./missing --run git log GTK_2_16_0^^.. --stat) | fmt --split-only > $@.tmp \
101 echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
102 (test -f $@ || echo git-log is required to generate this file >> $@)); \
105 (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
106 echo A git checkout and git-log is required to generate this file >> $@); \
110 rm -f $(DESTDIR)$(pkgconfigdir)/gtk+-3.0.pc
113 if test -f $(srcdir)/INSTALL.in && test -f $(srcdir)/README.in ; then \
114 CONFIG_FILES="INSTALL:$(srcdir)/INSTALL.in README:$(srcdir)/README.in" \
116 $(SHELL) config.status \
117 && cp INSTALL README $(distdir) ; \
120 .PHONY: files release sanity snapshot ChangeLog
123 @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
126 @for subdir in $(SUBDIRS); do \
127 files=`cd $$subdir; $(MAKE) files | grep -v "make\[[1-9]\]"`; \
128 for file in $$files; do \
129 echo $$subdir/$$file; \
138 ./sanity_check $(VERSION)
142 $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
144 DISTCHECK_CONFIGURE_FLAGS = \
148 --disable-maintainer-mode \
149 --enable-introspection
152 po-properties/Makefile.in.in \
153 po-properties/Makefile.in \
154 po-properties/Makefile \
155 po-properties/*.gmo \
157 po-properties/POTFILES \
158 po-properties/stamp-it \
159 po-properties/.intltool-merge-cache
161 -include $(top_srcdir)/git.mk