Bug 681321 - Support both old and new-buf libxml2 APIs
[platform/upstream/evolution-data-server.git] / Makefile.am
1 ACLOCAL_AMFLAGS=-I m4
2
3 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --with-private-docs --with-krb5=/usr --enable-introspection
4
5 SUBDIRS = camel data private libedataserver libebackend addressbook calendar libedataserverui modules services tests docs art po
6
7 if HAVE_INTROSPECTION
8 if HAVE_VALA
9 SUBDIRS += vala
10 endif
11 endif
12
13 %-$(API_VERSION).pc: %.pc
14          cp $< $@
15
16 pkgconfigdir = $(libdir)/pkgconfig
17 pkgconfig_DATA = evolution-data-server-$(API_VERSION).pc
18
19 EXTRA_DIST =                                            \
20         AUTHORS                                         \
21         $(changelogs)                                   \
22         README                                          \
23         HACKING                                         \
24         MAINTAINERS                                     \
25         TODO                                            \
26         NEWS                                            \
27         marshal.mk                                      \
28         iconv-detect.c                                  \
29         intltool-merge.in                               \
30         intltool-update.in                              \
31         intltool-extract.in                             \
32         evolution-data-server-zip.in                    \
33         $(pkgconfig_DATA:-$(API_VERSION).pc=.pc.in)
34
35 DISTCLEANFILES =                                        \
36         iconv-detect.h                                  \
37         $(pkgconfig_DATA)
38
39 MAINTAINERCLEANFILES =                                  \
40         $(srcdir)/ABOUT-NLS                             \
41         $(srcdir)/INSTALL                               \
42         $(srcdir)/aclocal.m4                            \
43         $(srcdir)/autoscan.log                          \
44         $(srcdir)/compile                               \
45         $(srcdir)/config.guess                          \
46         $(srcdir)/config.h.in                           \
47         $(srcdir)/config.rpath                          \
48         $(srcdir)/config.sub                            \
49         $(srcdir)/configure.scan                        \
50         $(srcdir)/depcomp                               \
51         $(srcdir)/gtk-doc.make                          \
52         $(srcdir)/install-sh                            \
53         $(srcdir)/ltmain.sh                             \
54         $(srcdir)/m4/codeset.m4                         \
55         $(srcdir)/m4/gettext.m4                         \
56         $(srcdir)/m4/glibc2.m4                          \
57         $(srcdir)/m4/glibc21.m4                         \
58         $(srcdir)/m4/gtk-doc.m4                         \
59         $(srcdir)/m4/iconv.m4                           \
60         $(srcdir)/m4/intdiv0.m4                         \
61         $(srcdir)/m4/intl.m4                            \
62         $(srcdir)/m4/intldir.m4                         \
63         $(srcdir)/m4/intlmacosx.m4                      \
64         $(srcdir)/m4/intltool.m4                        \
65         $(srcdir)/m4/intmax.m4                          \
66         $(srcdir)/m4/introspection.m4                   \
67         $(srcdir)/m4/inttypes-pri.m4                    \
68         $(srcdir)/m4/inttypes_h.m4                      \
69         $(srcdir)/m4/lcmessage.m4                       \
70         $(srcdir)/m4/lib-ld.m4                          \
71         $(srcdir)/m4/lib-link.m4                        \
72         $(srcdir)/m4/lib-prefix.m4                      \
73         $(srcdir)/m4/libtool.m4                         \
74         $(srcdir)/m4/lock.m4                            \
75         $(srcdir)/m4/longlong.m4                        \
76         $(srcdir)/m4/ltoptions.m4                       \
77         $(srcdir)/m4/ltsugar.m4                         \
78         $(srcdir)/m4/ltversion.m4                       \
79         $(srcdir)/m4/lt~obsolete.m4                     \
80         $(srcdir)/m4/nls.m4                             \
81         $(srcdir)/m4/po.m4                              \
82         $(srcdir)/m4/printf-posix.m4                    \
83         $(srcdir)/m4/progtest.m4                        \
84         $(srcdir)/m4/size_max.m4                        \
85         $(srcdir)/m4/stdint_h.m4                        \
86         $(srcdir)/m4/uintmax_t.m4                       \
87         $(srcdir)/m4/visibility.m4                      \
88         $(srcdir)/m4/wchar_t.m4                         \
89         $(srcdir)/m4/wint_t.m4                          \
90         $(srcdir)/m4/xsize.m4                           \
91         $(srcdir)/missing                               \
92         $(srcdir)/mkinstalldirs                         \
93         $(srcdir)/po/Makefile.in.in~                    \
94         $(srcdir)/po/Makevars.template                  \
95         $(srcdir)/po/Rules-quot                         \
96         $(srcdir)/po/boldquot.sed                       \
97         $(srcdir)/po/en@boldquot.header                 \
98         $(srcdir)/po/en@quot.header                     \
99         $(srcdir)/po/insert-header.sin                  \
100         $(srcdir)/po/quot.sed                           \
101         $(srcdir)/po/remove-potcdate.sin
102
103 # Generate a ChangeLog file from 'git log'
104 dist-hook:
105         @if test -d "$(srcdir)/.git"; \
106         then \
107                 echo Creating ChangeLog && \
108                 ( cd "$(top_srcdir)" && \
109                   echo '# Generated by Makefile. Do not edit.'; echo; \
110                   $(top_srcdir)/missing --run git log --stat \
111                   EVOLUTION_DATA_SERVER_2_30_0..) > ChangeLog.tmp \
112                 && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
113                 || ( rm -f ChangeLog.tmp ; \
114                      echo Failed to generate ChangeLog >&2 ); \
115         else \
116                 echo A git clone is required to generate a ChangeLog >&2; \
117         fi
118
119 -include $(top_srcdir)/git.mk