gio: Annotate GDBusObjectManagerClient signal appropriately
[glib.git] / Makefile.am
blob4ea651519285c674ceb5fe7ea1bb346680c4ef86
1 ## Process this file with automake to produce Makefile.in
2 include $(top_srcdir)/glib.mk
4 # http://people.gnome.org/~walters/docs/build-api.txt
5 .buildapi-allow-builddir:
7 ACLOCAL_AMFLAGS = -I m4macros ${ACLOCAL_FLAGS}
9 SUBDIRS = . m4macros glib gmodule gthread gobject gio po docs tests
10 DIST_SUBDIRS = $(SUBDIRS) build win32
12 bin_SCRIPTS = glib-gettextize
14 if OS_LINUX
15 TESTS += check-abis.sh
16 endif
18 AM_CPPFLAGS =                                   \
19         -DG_LOG_DOMAIN=g_log_domain_glib        \
20         @GLIB_DEBUG_FLAGS@                      \
21         -DG_DISABLE_DEPRECATED                  \
22         -DGLIB_COMPILATION
24 EXTRA_DIST +=                   \
25         ChangeLog.pre-2-20      \
26         ChangeLog.pre-2-18      \
27         ChangeLog.pre-2-16      \
28         ChangeLog.pre-2-14      \
29         ChangeLog.pre-2-12      \
30         ChangeLog.pre-2-10      \
31         ChangeLog.pre-2-8       \
32         ChangeLog.pre-2-6       \
33         ChangeLog.pre-2-4       \
34         ChangeLog.pre-2-2       \
35         ChangeLog.pre-2-0       \
36         ChangeLog.pre-1-2       \
37         glib-zip.in             \
38         NEWS.pre-1-3            \
39         acglib.m4               \
40         sanity_check            \
41         README.commits          \
42         README.in               \
43         README.rationale        \
44         INSTALL.in              \
45         README.win32            \
46         HACKING                 \
47         autogen.sh              \
48         glib.mk                 \
49         glib-tap.mk             \
50         tap-driver.sh           \
51         tap-test                \
52         msvc_recommended_pragmas.h \
53         config.h.win32.in       \
54         po/po2tbl.sed.in        \
55         glib-2.0.pc.in          \
56         gobject-2.0.pc.in       \
57         gmodule-2.0.pc.in       \
58         gmodule-export-2.0.pc.in        \
59         gmodule-no-export-2.0.pc.in     \
60         gthread-2.0.pc.in       \
61         gio-2.0.pc.in           \
62         gio-unix-2.0.pc.in      \
63         gio-windows-2.0.pc.in   \
64         check-abis.sh           \
65         gtk-doc.make            \
66         $(NULL)
68 meson_build_files = \
69         config.h.meson \
70         meson_options.txt \
71         meson.build \
72         docs/reference/gio/meson.build \
73         docs/reference/gio/xml/gtkdocentities.ent.in \
74         docs/reference/gio/xml/meson.build \
75         docs/reference/glib/meson.build \
76         docs/reference/glib/xml/gtkdocentities.ent.in \
77         docs/reference/glib/xml/meson.build \
78         docs/reference/gobject/meson.build \
79         docs/reference/gobject/xml/gtkdocentities.ent.in \
80         docs/reference/gobject/xml/meson.build \
81         gio/data-to-c.py \
82         gio/gdbus-2.0/codegen/meson.build \
83         gio/inotify/meson.build \
84         gio/kqueue/meson.build \
85         gio/meson.build \
86         gio/tests/meson.build \
87         gio/tests/modules/meson.build \
88         gio/tests/gdbus-object-manager-example/meson.build \
89         gio/tests/de/LC_MESSAGES/meson.build \
90         gio/win32/meson.build \
91         gio/xdgmime/meson.build \
92         glib/libcharset/meson.build \
93         glib/meson.build \
94         glib/pcre/meson.build \
95         glib/tests/meson.build \
96         gmodule/meson.build \
97         gobject/meson.build \
98         gobject/tests/meson.build \
99         gthread/meson.build \
100         po/meson.build
101         tests/refcount/meson.build \
102         tests/meson.build \
103         tests/gobject/meson.build \
104         $()
106 EXTRA_DIST += $(meson_build_files)
108 # These may be in the builddir too
109 BUILT_EXTRA_DIST +=             \
110         README                  \
111         INSTALL                 \
112         ChangeLog               \
113         config.h.win32          \
114         $(NULL)
116 CONFIGURE_DEPENDENCIES = acglib.m4
118 ChangeLog:
119         $(AM_V_GEN) if test -d "$(srcdir)/.git"; then \
120           (GIT_DIR=$(top_srcdir)/.git ./missing --run git log GLIB_2_20_0^^.. --stat) | fmt --split-only > $@.tmp \
121           && mv -f $@.tmp $@ \
122           || ($(RM) $@.tmp; \
123               echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
124               (test -f $@ || echo git-log is required to generate this file >> $@)); \
125         else \
126           test -f $@ || \
127           (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
128           echo A git checkout and git-log is required to generate this file >> $@); \
129         fi
131 pkgconfigdir = $(libdir)/pkgconfig
132 pkgconfig_DATA = glib-2.0.pc gobject-2.0.pc gmodule-2.0.pc gmodule-export-2.0.pc gmodule-no-export-2.0.pc gthread-2.0.pc gio-2.0.pc
134 if OS_UNIX
135 pkgconfig_DATA += gio-unix-2.0.pc
136 endif
138 if OS_WIN32
139 pkgconfig_DATA += gio-windows-2.0.pc
140 endif
142 $(pkgconfig_DATA): config.status
144 # Install Valgrind suppression file
145 valgrinddir = $(datadir)/glib-2.0/valgrind
146 dist_valgrind_DATA = glib.supp
148 # build documentation when doing distcheck
149 DISTCHECK_CONFIGURE_FLAGS = --enable-debug --enable-gtk-doc --enable-man --disable-maintainer-mode
151 DISTCLEANFILES += config.lt
153 distclean-local: lcov-clean
154         if test $(srcdir) = .; then :; else \
155             rm -f $(BUILT_EXTRA_DIST); \
156         fi
158 .PHONY: files release sanity snapshot ChangeLog
160 files:
161         @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
162           echo $$p; \
163         done
165 release:
166         rm -rf .deps */.deps
167         cd docs && make glib.html
168         $(MAKE) distcheck
170 sanity:
171         ./sanity_check $(VERSION)
173 snapshot:
174         $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
176 snapcheck:
177         $(MAKE) distcheck distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
179 dist-hook: $(BUILT_EXTRA_DIST)
180         files='$(BUILT_EXTRA_DIST)'; \
181         for f in $$files; do \
182           if test -f $$f; then d=.; else d=$(srcdir); fi; \
183           rm -f $(distdir)/$$f && cp $$d/$$f $(distdir) || exit 1; done