Imported Upstream version 0.9.1
[platform/upstream/syncevolution.git] / Makefile.in
1 # Makefile.in generated by automake 1.10.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16 VPATH = @srcdir@
17 pkgdatadir = $(datadir)/@PACKAGE@
18 pkglibdir = $(libdir)/@PACKAGE@
19 pkgincludedir = $(includedir)/@PACKAGE@
20 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
21 install_sh_DATA = $(install_sh) -c -m 644
22 install_sh_PROGRAM = $(install_sh) -c
23 install_sh_SCRIPT = $(install_sh) -c
24 INSTALL_HEADER = $(INSTALL_DATA)
25 transform = $(program_transform_name)
26 NORMAL_INSTALL = :
27 PRE_INSTALL = :
28 POST_INSTALL = :
29 NORMAL_UNINSTALL = :
30 PRE_UNINSTALL = :
31 POST_UNINSTALL = :
32 build_triplet = @build@
33 host_triplet = @host@
34 subdir = .
35 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
36         $(srcdir)/Makefile.in $(srcdir)/config.h.in \
37         $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
38         config.guess config.sub depcomp install-sh ltmain.sh missing \
39         mkinstalldirs
40 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41 am__aclocal_m4_deps = $(top_srcdir)/m4-repo/ax_boost_base.m4 \
42         $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/configure.in
43 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
44         $(ACLOCAL_M4)
45 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
46  configure.lineno config.status.lineno
47 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
48 CONFIG_HEADER = config.h
49 CONFIG_CLEAN_FILES =
50 SOURCES =
51 DIST_SOURCES =
52 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
53         html-recursive info-recursive install-data-recursive \
54         install-dvi-recursive install-exec-recursive \
55         install-html-recursive install-info-recursive \
56         install-pdf-recursive install-ps-recursive install-recursive \
57         installcheck-recursive installdirs-recursive pdf-recursive \
58         ps-recursive uninstall-recursive
59 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
60   distclean-recursive maintainer-clean-recursive
61 ETAGS = etags
62 CTAGS = ctags
63 DIST_SUBDIRS = $(SUBDIRS)
64 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
65 distdir = $(PACKAGE)-$(VERSION)
66 top_distdir = $(distdir)
67 am__remove_distdir = \
68   { test ! -d $(distdir) \
69     || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
70          && rm -fr $(distdir); }; }
71 DIST_ARCHIVES = $(distdir).tar.gz
72 GZIP_ENV = --best
73 distuninstallcheck_listfiles = find . -type f -print
74 distcleancheck_listfiles = find . -type f -print
75 ACLOCAL = @ACLOCAL@
76 ADDRESSBOOK_CFLAGS = @ADDRESSBOOK_CFLAGS@
77 ADDRESSBOOK_LIBS = @ADDRESSBOOK_LIBS@
78 ALL_LINGUAS = @ALL_LINGUAS@
79 AMTAR = @AMTAR@
80 AR = @AR@
81 AUTOCONF = @AUTOCONF@
82 AUTOHEADER = @AUTOHEADER@
83 AUTOMAKE = @AUTOMAKE@
84 AWK = @AWK@
85 BACKEND_CPPFLAGS = @BACKEND_CPPFLAGS@
86 BACKEND_DEFINES = @BACKEND_DEFINES@
87 BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
88 BOOST_LDFLAGS = @BOOST_LDFLAGS@
89 CATALOGS = @CATALOGS@
90 CATOBJEXT = @CATOBJEXT@
91 CC = @CC@
92 CCDEPMODE = @CCDEPMODE@
93 CFLAGS = @CFLAGS@
94 CLEAN_CLIENT_SRC = @CLEAN_CLIENT_SRC@
95 CORE_LDADD_DEP = @CORE_LDADD_DEP@
96 CPP = @CPP@
97 CPPFLAGS = @CPPFLAGS@
98 CPPUNIT_CXXFLAGS = @CPPUNIT_CXXFLAGS@
99 CPPUNIT_LDFLAGS = @CPPUNIT_LDFLAGS@
100 CXX = @CXX@
101 CXXCPP = @CXXCPP@
102 CXXDEPMODE = @CXXDEPMODE@
103 CXXFLAGS = @CXXFLAGS@
104 CYGPATH_W = @CYGPATH_W@
105 DATADIRNAME = @DATADIRNAME@
106 DBUS_BINDING_TOOL = @DBUS_BINDING_TOOL@
107 DBUS_GLIB_CFLAGS = @DBUS_GLIB_CFLAGS@
108 DBUS_GLIB_LIBS = @DBUS_GLIB_LIBS@
109 DBUS_SERVICES_DIR = @DBUS_SERVICES_DIR@
110 DEFS = @DEFS@
111 DEPDIR = @DEPDIR@
112 DSYMUTIL = @DSYMUTIL@
113 EBOOK_CFLAGS = @EBOOK_CFLAGS@
114 EBOOK_LIBS = @EBOOK_LIBS@
115 ECAL_CFLAGS = @ECAL_CFLAGS@
116 ECAL_LIBS = @ECAL_LIBS@
117 ECHO = @ECHO@
118 ECHO_C = @ECHO_C@
119 ECHO_N = @ECHO_N@
120 ECHO_T = @ECHO_T@
121 EGREP = @EGREP@
122 EPACKAGE_CFLAGS = @EPACKAGE_CFLAGS@
123 EPACKAGE_LIBS = @EPACKAGE_LIBS@
124 EXEEXT = @EXEEXT@
125 F77 = @F77@
126 FFLAGS = @FFLAGS@
127 FILE_CFLAGS = @FILE_CFLAGS@
128 FILE_LIBS = @FILE_LIBS@
129 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
130 GLIB_CFLAGS = @GLIB_CFLAGS@
131 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
132 GLIB_LIBS = @GLIB_LIBS@
133 GMOFILES = @GMOFILES@
134 GMSGFMT = @GMSGFMT@
135 GREP = @GREP@
136 GTK_BUILDER_CONV = @GTK_BUILDER_CONV@
137 GUI_CFLAGS = @GUI_CFLAGS@
138 GUI_DESKTOP_FILES = @GUI_DESKTOP_FILES@
139 GUI_LIBS = @GUI_LIBS@
140 GUI_PROGRAMS = @GUI_PROGRAMS@
141 INSTALL = @INSTALL@
142 INSTALL_DATA = @INSTALL_DATA@
143 INSTALL_PROGRAM = @INSTALL_PROGRAM@
144 INSTALL_SCRIPT = @INSTALL_SCRIPT@
145 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
146 INSTOBJEXT = @INSTOBJEXT@
147 INTLLIBS = @INTLLIBS@
148 INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
149 INTLTOOL_MERGE = @INTLTOOL_MERGE@
150 INTLTOOL_PERL = @INTLTOOL_PERL@
151 INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
152 KEYRING_2_20_CFLAGS = @KEYRING_2_20_CFLAGS@
153 KEYRING_2_20_LIBS = @KEYRING_2_20_LIBS@
154 KEYRING_CFLAGS = @KEYRING_CFLAGS@
155 KEYRING_LIBS = @KEYRING_LIBS@
156 LDFLAGS = @LDFLAGS@
157 LIBEXECDIR = @LIBEXECDIR@
158 LIBOBJS = @LIBOBJS@
159 LIBS = @LIBS@
160 LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@
161 LIBSOUP_LIBS = @LIBSOUP_LIBS@
162 LIBTOOL = @LIBTOOL@
163 LN_S = @LN_S@
164 LTLIBOBJS = @LTLIBOBJS@
165 MAKEINFO = @MAKEINFO@
166 MKDIR_P = @MKDIR_P@
167 MKINSTALLDIRS = @MKINSTALLDIRS@
168 MODIFY_SYNCCOMPARE = @MODIFY_SYNCCOMPARE@
169 MSGFMT = @MSGFMT@
170 MSGFMT_OPTS = @MSGFMT_OPTS@
171 MSGMERGE = @MSGMERGE@
172 NMEDIT = @NMEDIT@
173 OBJEXT = @OBJEXT@
174 PACKAGE = @PACKAGE@
175 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
176 PACKAGE_NAME = @PACKAGE_NAME@
177 PACKAGE_STRING = @PACKAGE_STRING@
178 PACKAGE_TARNAME = @PACKAGE_TARNAME@
179 PACKAGE_VERSION = @PACKAGE_VERSION@
180 PATH_SEPARATOR = @PATH_SEPARATOR@
181 PKG_CONFIG = @PKG_CONFIG@
182 POFILES = @POFILES@
183 POSUB = @POSUB@
184 PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
185 PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
186 RANLIB = @RANLIB@
187 SED = @SED@
188 SET_MAKE = @SET_MAKE@
189 SHELL = @SHELL@
190 SQLITE_CFLAGS = @SQLITE_CFLAGS@
191 SQLITE_LIBS = @SQLITE_LIBS@
192 STRIP = @STRIP@
193 SYNCEVOLUTION_CXXFLAGS = @SYNCEVOLUTION_CXXFLAGS@
194 SYNCEVOLUTION_LDADD = @SYNCEVOLUTION_LDADD@
195 SYNCEVOLUTION_LOCALEDIR = @SYNCEVOLUTION_LOCALEDIR@
196 SYNCSOURCES = @SYNCSOURCES@
197 SYNTHESIS = @SYNTHESIS@
198 SYNTHESISSRC = @SYNTHESISSRC@
199 SYNTHESIS_CFLAGS = @SYNTHESIS_CFLAGS@
200 SYNTHESIS_DEP = @SYNTHESIS_DEP@
201 SYNTHESIS_LIB = @SYNTHESIS_LIB@
202 SYNTHESIS_LIBS = @SYNTHESIS_LIBS@
203 SYNTHESIS_SRC = @SYNTHESIS_SRC@
204 SYNTHESIS_SUBDIR = @SYNTHESIS_SUBDIR@
205 TRANSPORT_CFLAGS = @TRANSPORT_CFLAGS@
206 TRANSPORT_LIBS = @TRANSPORT_LIBS@
207 UNIQUE_CFLAGS = @UNIQUE_CFLAGS@
208 UNIQUE_LIBS = @UNIQUE_LIBS@
209 USE_NLS = @USE_NLS@
210 VERSION = @VERSION@
211 XGETTEXT = @XGETTEXT@
212 XSLT = @XSLT@
213 abs_builddir = @abs_builddir@
214 abs_srcdir = @abs_srcdir@
215 abs_top_builddir = @abs_top_builddir@
216 abs_top_srcdir = @abs_top_srcdir@
217 ac_ct_CC = @ac_ct_CC@
218 ac_ct_CXX = @ac_ct_CXX@
219 ac_ct_F77 = @ac_ct_F77@
220 am__include = @am__include@
221 am__leading_dot = @am__leading_dot@
222 am__quote = @am__quote@
223 am__tar = @am__tar@
224 am__untar = @am__untar@
225 backenddir = @backenddir@
226 backendsearchdir = @backendsearchdir@
227 bindir = @bindir@
228 build = @build@
229 build_alias = @build_alias@
230 build_cpu = @build_cpu@
231 build_os = @build_os@
232 build_vendor = @build_vendor@
233 builddir = @builddir@
234 datadir = @datadir@
235 datarootdir = @datarootdir@
236 docdir = @docdir@
237 dvidir = @dvidir@
238 exec_prefix = @exec_prefix@
239 host = @host@
240 host_alias = @host_alias@
241 host_cpu = @host_cpu@
242 host_os = @host_os@
243 host_vendor = @host_vendor@
244 htmldir = @htmldir@
245 includedir = @includedir@
246 infodir = @infodir@
247 install_sh = @install_sh@
248 libdir = @libdir@
249 libexecdir = @libexecdir@
250 localedir = @localedir@
251 localstatedir = @localstatedir@
252 mandir = @mandir@
253 mkdir_p = @mkdir_p@
254 oldincludedir = @oldincludedir@
255 pdfdir = @pdfdir@
256 prefix = @prefix@
257 program_transform_name = @program_transform_name@
258 psdir = @psdir@
259 sbindir = @sbindir@
260 sharedstatedir = @sharedstatedir@
261 srcdir = @srcdir@
262 sysconfdir = @sysconfdir@
263 target_alias = @target_alias@
264 top_builddir = @top_builddir@
265 top_srcdir = @top_srcdir@
266 ACLOCAL_AMFLAGS = -I m4 -I m4-repo
267 SUBDIRS = src po test
268 EXTRA_DIST = \
269         HACKING \
270         LICENSE.txt \
271         LICENSE.LGPL-21 \
272         description \
273         configure-pre.in \
274         configure-post.in \
275         autogen.sh \
276         Makefile-gen.am \
277         Doxyfile
278
279 MAINTAINERCLEANFILES = Makefile.in config.h.in config.guess config.sub configure depcomp install-sh ltmain.sh missing mkinstalldirs 
280 CLEANFILES = 
281 TEST_README_FILES = $(wildcard $(srcdir)/test/README.*)
282 DEV_FILE_PATTERN = $(1)$(2)/etc $(1)$(2)/include $(1)$(2)/lib/*.so $(1)$(2)/lib/*.a $(1)$(2)/lib/*.la $(1)$(2)/lib/*/*.la $(1)$(2)/lib/pkgconfig
283 IPHONE_FILENAME = syncevolution-$(VERSION)-iphone.zip
284 TYPE_deb = -D
285 TYPE_rpm = -R
286 # Dependency calculation is intentionally incomplete:
287 # - don't force dependency on specific EDS libs via backends, their versions change too much (handled via --enable-evolution-compatibility and dynamic loading of the backends)
288 # - ignore client-test dependencies (because users typically don't run it)
289 REQUIRES_deb = --requires="'$(shell set -x; cd dist; LD_LIBRARY_PATH=$(distdir)/usr/lib:$(distdir)/usr/lib/syncevolution dpkg-shlibdeps -L$(srcdir)/src/shlibs.local --ignore-missing-info -O $$(for i in $$(find $(distdir) -type f -perm /u+x | grep -v -e client-test -e lib/syncevolution/sync); do if file $$i | grep ELF >/dev/null; then echo $$i; fi; done) | sed -e 's/[^=]*=//')'"
290 VERSION_deb = `echo 1:$(VERSION) | perl -p -e 's/(\d+\.\d+)([-a-z0-9]+)/sprintf("%0.1f+$$1$$2", ($$1 - 0.1))/e'`
291 VERSION_rpm = `echo $(VERSION) | sed -e s/-/_/g`
292 RELEASE = 2
293
294 # The package name: BINSUFFIX is used to distinguish binaries
295 # for different Evolution releases.
296 PKGNAME = syncevolution$(patsubst %,-%,$(BINSUFFIX))
297
298 # This is a list of packages (potentially) provided on estamos.de.
299 # The current package conflicts with any of them, but not itself.
300 PKGS = $(addprefix syncevolution-evolution-, 2.6 2.8 2.12)
301
302 # Because backend-related variables need to be substituted in
303 # Makefile-gen.am and configure.in we need an explicit rule to redo that work
304 # so that "make" rebuilds derived files correctly.
305 CONFIG_SUBS = src/backends/addressbook/configure-sub.in src/backends/evolution/configure-sub.in src/backends/file/configure-sub.in src/backends/sqlite/configure-sub.in
306 all: config.h
307         $(MAKE) $(AM_MAKEFLAGS) all-recursive
308
309 .SUFFIXES:
310 am--refresh:
311         @:
312 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
313         @for dep in $?; do \
314           case '$(am__configure_deps)' in \
315             *$$dep*) \
316               echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
317               cd $(srcdir) && $(AUTOMAKE) --gnu  \
318                 && exit 0; \
319               exit 1;; \
320           esac; \
321         done; \
322         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  Makefile'; \
323         cd $(top_srcdir) && \
324           $(AUTOMAKE) --gnu  Makefile
325 .PRECIOUS: Makefile
326 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
327         @case '$?' in \
328           *config.status*) \
329             echo ' $(SHELL) ./config.status'; \
330             $(SHELL) ./config.status;; \
331           *) \
332             echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
333             cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
334         esac;
335
336 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
337         $(SHELL) ./config.status --recheck
338
339 $(top_srcdir)/configure:  $(am__configure_deps)
340         cd $(srcdir) && $(AUTOCONF)
341 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
342         cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
343
344 config.h: stamp-h1
345         @if test ! -f $@; then \
346           rm -f stamp-h1; \
347           $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
348         else :; fi
349
350 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
351         @rm -f stamp-h1
352         cd $(top_builddir) && $(SHELL) ./config.status config.h
353 $(srcdir)/config.h.in:  $(am__configure_deps) 
354         cd $(top_srcdir) && $(AUTOHEADER)
355         rm -f stamp-h1
356         touch $@
357
358 distclean-hdr:
359         -rm -f config.h stamp-h1
360
361 mostlyclean-libtool:
362         -rm -f *.lo
363
364 clean-libtool:
365         -rm -rf .libs _libs
366
367 distclean-libtool:
368         -rm -f libtool
369
370 # This directory's subdirectories are mostly independent; you can cd
371 # into them and run `make' without going through this Makefile.
372 # To change the values of `make' variables: instead of editing Makefiles,
373 # (1) if the variable is set in `config.status', edit `config.status'
374 #     (which will cause the Makefiles to be regenerated when you run `make');
375 # (2) otherwise, pass the desired values on the `make' command line.
376 $(RECURSIVE_TARGETS):
377         @failcom='exit 1'; \
378         for f in x $$MAKEFLAGS; do \
379           case $$f in \
380             *=* | --[!k]*);; \
381             *k*) failcom='fail=yes';; \
382           esac; \
383         done; \
384         dot_seen=no; \
385         target=`echo $@ | sed s/-recursive//`; \
386         list='$(SUBDIRS)'; for subdir in $$list; do \
387           echo "Making $$target in $$subdir"; \
388           if test "$$subdir" = "."; then \
389             dot_seen=yes; \
390             local_target="$$target-am"; \
391           else \
392             local_target="$$target"; \
393           fi; \
394           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
395           || eval $$failcom; \
396         done; \
397         if test "$$dot_seen" = "no"; then \
398           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
399         fi; test -z "$$fail"
400
401 $(RECURSIVE_CLEAN_TARGETS):
402         @failcom='exit 1'; \
403         for f in x $$MAKEFLAGS; do \
404           case $$f in \
405             *=* | --[!k]*);; \
406             *k*) failcom='fail=yes';; \
407           esac; \
408         done; \
409         dot_seen=no; \
410         case "$@" in \
411           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
412           *) list='$(SUBDIRS)' ;; \
413         esac; \
414         rev=''; for subdir in $$list; do \
415           if test "$$subdir" = "."; then :; else \
416             rev="$$subdir $$rev"; \
417           fi; \
418         done; \
419         rev="$$rev ."; \
420         target=`echo $@ | sed s/-recursive//`; \
421         for subdir in $$rev; do \
422           echo "Making $$target in $$subdir"; \
423           if test "$$subdir" = "."; then \
424             local_target="$$target-am"; \
425           else \
426             local_target="$$target"; \
427           fi; \
428           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
429           || eval $$failcom; \
430         done && test -z "$$fail"
431 tags-recursive:
432         list='$(SUBDIRS)'; for subdir in $$list; do \
433           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
434         done
435 ctags-recursive:
436         list='$(SUBDIRS)'; for subdir in $$list; do \
437           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
438         done
439
440 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
441         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
442         unique=`for i in $$list; do \
443             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
444           done | \
445           $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
446               END { if (nonempty) { for (i in files) print i; }; }'`; \
447         mkid -fID $$unique
448 tags: TAGS
449
450 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
451                 $(TAGS_FILES) $(LISP)
452         tags=; \
453         here=`pwd`; \
454         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
455           include_option=--etags-include; \
456           empty_fix=.; \
457         else \
458           include_option=--include; \
459           empty_fix=; \
460         fi; \
461         list='$(SUBDIRS)'; for subdir in $$list; do \
462           if test "$$subdir" = .; then :; else \
463             test ! -f $$subdir/TAGS || \
464               tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
465           fi; \
466         done; \
467         list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
468         unique=`for i in $$list; do \
469             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
470           done | \
471           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
472               END { if (nonempty) { for (i in files) print i; }; }'`; \
473         if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
474           test -n "$$unique" || unique=$$empty_fix; \
475           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
476             $$tags $$unique; \
477         fi
478 ctags: CTAGS
479 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
480                 $(TAGS_FILES) $(LISP)
481         tags=; \
482         list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
483         unique=`for i in $$list; do \
484             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
485           done | \
486           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
487               END { if (nonempty) { for (i in files) print i; }; }'`; \
488         test -z "$(CTAGS_ARGS)$$tags$$unique" \
489           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
490              $$tags $$unique
491
492 GTAGS:
493         here=`$(am__cd) $(top_builddir) && pwd` \
494           && cd $(top_srcdir) \
495           && gtags -i $(GTAGS_ARGS) $$here
496
497 distclean-tags:
498         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
499
500 distdir: $(DISTFILES)
501         $(am__remove_distdir)
502         test -d $(distdir) || mkdir $(distdir)
503         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
504         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
505         list='$(DISTFILES)'; \
506           dist_files=`for file in $$list; do echo $$file; done | \
507           sed -e "s|^$$srcdirstrip/||;t" \
508               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
509         case $$dist_files in \
510           */*) $(MKDIR_P) `echo "$$dist_files" | \
511                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
512                            sort -u` ;; \
513         esac; \
514         for file in $$dist_files; do \
515           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
516           if test -d $$d/$$file; then \
517             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
518             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
519               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
520             fi; \
521             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
522           else \
523             test -f $(distdir)/$$file \
524             || cp -p $$d/$$file $(distdir)/$$file \
525             || exit 1; \
526           fi; \
527         done
528         list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
529           if test "$$subdir" = .; then :; else \
530             test -d "$(distdir)/$$subdir" \
531             || $(MKDIR_P) "$(distdir)/$$subdir" \
532             || exit 1; \
533             distdir=`$(am__cd) $(distdir) && pwd`; \
534             top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
535             (cd $$subdir && \
536               $(MAKE) $(AM_MAKEFLAGS) \
537                 top_distdir="$$top_distdir" \
538                 distdir="$$distdir/$$subdir" \
539                 am__remove_distdir=: \
540                 am__skip_length_check=: \
541                 distdir) \
542               || exit 1; \
543           fi; \
544         done
545         $(MAKE) $(AM_MAKEFLAGS) \
546           top_distdir="$(top_distdir)" distdir="$(distdir)" \
547           dist-hook
548         -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
549           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
550           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
551           ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
552         || chmod -R a+r $(distdir)
553 dist-gzip: distdir
554         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
555         $(am__remove_distdir)
556
557 dist-bzip2: distdir
558         tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
559         $(am__remove_distdir)
560
561 dist-lzma: distdir
562         tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
563         $(am__remove_distdir)
564
565 dist-tarZ: distdir
566         tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
567         $(am__remove_distdir)
568
569 dist-shar: distdir
570         shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
571         $(am__remove_distdir)
572
573 dist-zip: distdir
574         -rm -f $(distdir).zip
575         zip -rq $(distdir).zip $(distdir)
576         $(am__remove_distdir)
577
578 dist dist-all: distdir
579         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
580         $(am__remove_distdir)
581
582 # This target untars the dist file and tries a VPATH configuration.  Then
583 # it guarantees that the distribution is self-contained by making another
584 # tarfile.
585 distcheck: dist
586         case '$(DIST_ARCHIVES)' in \
587         *.tar.gz*) \
588           GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
589         *.tar.bz2*) \
590           bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
591         *.tar.lzma*) \
592           unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
593         *.tar.Z*) \
594           uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
595         *.shar.gz*) \
596           GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
597         *.zip*) \
598           unzip $(distdir).zip ;;\
599         esac
600         chmod -R a-w $(distdir); chmod a+w $(distdir)
601         mkdir $(distdir)/_build
602         mkdir $(distdir)/_inst
603         chmod a-w $(distdir)
604         dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
605           && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
606           && cd $(distdir)/_build \
607           && ../configure --srcdir=.. --prefix="$$dc_install_base" \
608             $(DISTCHECK_CONFIGURE_FLAGS) \
609           && $(MAKE) $(AM_MAKEFLAGS) \
610           && $(MAKE) $(AM_MAKEFLAGS) dvi \
611           && $(MAKE) $(AM_MAKEFLAGS) check \
612           && $(MAKE) $(AM_MAKEFLAGS) install \
613           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
614           && $(MAKE) $(AM_MAKEFLAGS) uninstall \
615           && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
616                 distuninstallcheck \
617           && chmod -R a-w "$$dc_install_base" \
618           && ({ \
619                (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
620                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
621                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
622                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
623                     distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
624               } || { rm -rf "$$dc_destdir"; exit 1; }) \
625           && rm -rf "$$dc_destdir" \
626           && $(MAKE) $(AM_MAKEFLAGS) dist \
627           && rm -rf $(DIST_ARCHIVES) \
628           && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
629         $(am__remove_distdir)
630         @(echo "$(distdir) archives ready for distribution: "; \
631           list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
632           sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
633 distuninstallcheck:
634         @cd $(distuninstallcheck_dir) \
635         && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
636            || { echo "ERROR: files left after uninstall:" ; \
637                 if test -n "$(DESTDIR)"; then \
638                   echo "  (check DESTDIR support)"; \
639                 fi ; \
640                 $(distuninstallcheck_listfiles) ; \
641                 exit 1; } >&2
642 distcleancheck: distclean
643         @if test '$(srcdir)' = . ; then \
644           echo "ERROR: distcleancheck can only run from a VPATH build" ; \
645           exit 1 ; \
646         fi
647         @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
648           || { echo "ERROR: files left in build directory after distclean:" ; \
649                $(distcleancheck_listfiles) ; \
650                exit 1; } >&2
651 check-am: all-am
652 check: check-recursive
653 all-am: Makefile config.h
654 installdirs: installdirs-recursive
655 installdirs-am:
656 install: install-recursive
657 install-exec: install-exec-recursive
658 install-data: install-data-recursive
659 uninstall: uninstall-recursive
660
661 install-am: all-am
662         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
663
664 installcheck: installcheck-recursive
665 install-strip:
666         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
667           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
668           `test -z '$(STRIP)' || \
669             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
670 mostlyclean-generic:
671
672 clean-generic:
673         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
674
675 distclean-generic:
676         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
677
678 maintainer-clean-generic:
679         @echo "This command is intended for maintainers to use"
680         @echo "it deletes files that may require special tools to rebuild."
681         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
682 @ENABLE_EVOLUTION_COMPATIBILITY_FALSE@installcheck-local:
683 clean: clean-recursive
684
685 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
686
687 distclean: distclean-recursive
688         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
689         -rm -f Makefile
690 distclean-am: clean-am distclean-generic distclean-hdr \
691         distclean-libtool distclean-tags
692
693 dvi: dvi-recursive
694
695 dvi-am:
696
697 html: html-recursive
698
699 info: info-recursive
700
701 info-am:
702
703 install-data-am:
704
705 install-dvi: install-dvi-recursive
706
707 install-exec-am:
708
709 install-html: install-html-recursive
710
711 install-info: install-info-recursive
712
713 install-man:
714
715 install-pdf: install-pdf-recursive
716
717 install-ps: install-ps-recursive
718
719 installcheck-am: installcheck-local
720
721 maintainer-clean: maintainer-clean-recursive
722         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
723         -rm -rf $(top_srcdir)/autom4te.cache
724         -rm -f Makefile
725 maintainer-clean-am: distclean-am maintainer-clean-generic
726
727 mostlyclean: mostlyclean-recursive
728
729 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
730
731 pdf: pdf-recursive
732
733 pdf-am:
734
735 ps: ps-recursive
736
737 ps-am:
738
739 uninstall-am:
740
741 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
742         install-strip
743
744 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
745         all all-am am--refresh check check-am clean clean-generic \
746         clean-libtool clean-local ctags ctags-recursive dist dist-all \
747         dist-bzip2 dist-gzip dist-hook dist-lzma dist-shar dist-tarZ \
748         dist-zip distcheck distclean distclean-generic distclean-hdr \
749         distclean-libtool distclean-tags distcleancheck distdir \
750         distuninstallcheck dvi dvi-am html html-am info info-am \
751         install install-am install-data install-data-am install-dvi \
752         install-dvi-am install-exec install-exec-am install-html \
753         install-html-am install-info install-info-am install-man \
754         install-pdf install-pdf-am install-ps install-ps-am \
755         install-strip installcheck installcheck-am installcheck-local \
756         installdirs installdirs-am maintainer-clean \
757         maintainer-clean-generic mostlyclean mostlyclean-generic \
758         mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
759         uninstall uninstall-am
760
761
762 # binary distribution as .tar.gz
763 # when building with D-Bus, we have no choice: the service has to go into /usr
764 # in order to be found
765 @COND_DBUS_TRUE@distbin : README NEWS COPYING $(TEST_README_FILES) INSTALL-tar-gz all
766 @COND_DBUS_TRUE@        @ [ "$(BINSUFFIX)" ] || (echo "please invoke with e.g. 'make distbin BINSUFFIX=debian-3.1'"; exit 1 )
767 @COND_DBUS_TRUE@        @ [ "$(prefix)" == "/usr" ] || (echo "please reconfigure with --prefix=/usr"; exit 1 )
768 @COND_DBUS_TRUE@        rm -rf $(distdir)
769 @COND_DBUS_TRUE@        $(MAKE) DESTDIR=`pwd`/$(distdir) install
770 @COND_DBUS_TRUE@        $(MAKE) DESTDIR=`pwd`/$(distdir) installcheck
771 @COND_DBUS_TRUE@        rm -rf $(call DEV_FILE_PATTERN,$(distdir),/usr)
772 @COND_DBUS_TRUE@        for i in `find $(distdir) -type d | sort -r`; do rmdir $$i 2>/dev/null || true; done
773 @COND_DBUS_TRUE@        mkdir -p $(distdir)/usr/share/doc/syncevolution
774 @COND_DBUS_TRUE@        cp $(srcdir)/INSTALL-tar-gz $(distdir)/INSTALL
775 @COND_DBUS_TRUE@        cp $(srcdir)/README $(srcdir)/NEWS $(srcdir)/COPYING $(TEST_README_FILES) $(distdir)/usr/share/doc/syncevolution
776 @COND_DBUS_TRUE@        tar zcf $(distdir)-$(BINSUFFIX).tar.gz $(distdir)
777 @COND_DBUS_TRUE@        rm -rf $(distdir)
778 # without D-Bus, we can simply create an archive with a bin directory
779 # and everything works
780 @COND_DBUS_FALSE@distbin : README NEWS COPYING all
781 @COND_DBUS_FALSE@       @ [ "$(BINSUFFIX)" ] || (echo "please invoke with e.g. 'make distbin BINSUFFIX=debian-3.1'"; exit 1 ) 
782 @COND_DBUS_FALSE@       rm -rf $(distdir)
783 @COND_DBUS_FALSE@       $(MAKE) prefix=`pwd`/$(distdir) install
784 @COND_DBUS_FALSE@       echo removing developer files and empty directories
785 @COND_DBUS_FALSE@       rm -rf $(call DEV_FILE_PATTERN,$(distdir),/)
786 @COND_DBUS_FALSE@       for i in `find $(distdir) -type d | sort -r`; do rmdir $$i 2>/dev/null || true; done
787 @COND_DBUS_FALSE@       cp $(srcdir)/README $(srcdir)/NEWS $(srcdir)/COPYING $(TEST_README_FILES) $(distdir)
788 @COND_DBUS_FALSE@       tar zcf $(distdir)-$(BINSUFFIX).tar.gz $(distdir)
789 @COND_DBUS_FALSE@       rm -rf $(distdir)
790
791 iphone : SyncEvolution.plist
792
793 SyncEvolution.plist : SyncEvolution.plist.in $(IPHONE_FILENAME)
794         sed -e 's/__FILENAME__/$(IPHONE_FILENAME)/' \
795             -e 's/__VERSION__/$(VERSION)/' \
796             -e 's/__SIZE__/$(shell ls -l $(IPHONE_FILENAME) | sed -e 's/  */ /g' | cut -d ' ' -f 5)/' \
797             $< >$@
798
799 $(IPHONE_FILENAME) : all
800         rm -rf syncevolution-iphone $@
801         $(MAKE) DESTDIR=`pwd`/syncevolution-iphone install
802         rm -rf `ls -1 -d syncevolution-iphone/usr/share/doc/syncevolution/*/spds/sources/* | grep -v addressbook`
803         perl -pi -e 's;SyncEvolution test #1;;;' \
804                  -e 's;^type = text/(x-)?vcard;type = addressbook;m;' \
805                  syncevolution-iphone/usr/share/doc/syncevolution/*/spds/sources/addressbook/config.txt
806         cd syncevolution-iphone && zip -r ../$(IPHONE_FILENAME) .
807
808 # When calling checkinstall we cannot install into /tmp
809 # because any file created there will be excluded: that makes
810 # sense, because "make install" might create temporary files
811 # there. The current directory might be in /tmp, so use $HOME.
812 #
813 # --replaces is necessary for migrating from syncevolution-evolution-<evover>
814 # to syncevolution-evolution (as per http://wiki.debian.org/Renaming_a_Package)
815 deb rpm : dist/$(distdir) dist/debian/control doc-pak description-pak
816         tmpdir=`mktemp -d $$HOME/syncevolution.XXXXXXXXXX` && \
817         trap "rm -rf $$tmpdir" EXIT && \
818         docdir="$(docdir)" && \
819         if [ ! "$$docdir" ]; then docdir="$(datadir)/doc/$(PACKAGE)"; fi && \
820         fakeroot checkinstall </dev/null \
821                 $(TYPE_$@) \
822                 $(REQUIRES_$@) \
823                 --fstrans=yes \
824                 --strip=no \
825                 --pkgversion=$(VERSION_$@) \
826                 --pkgrelease=$(RELEASE) \
827                 --pkgname=$(PKGNAME) \
828                 --pkgarch=$(PKGARCH) \
829                 --provides=syncevolution \
830                 --replaces="'syncevolution, `echo $(filter-out $(PKGNAME), $(PKGS)) | sed -e 's/  */ (<< 1:0.8.1-2), /g'` (<< 1:0.8.1-2)'" \
831                 --conflicts="'syncevolution, `echo $(filter-out $(PKGNAME), $(PKGS)) | sed -e 's/  */ (<< 1:0.8.1-2), /g'` (<< 1:0.8.1-2)'" \
832                 --maintainer="'Patrick Ohly <patrick.ohly@gmx.de>'" \
833                 --pkgsource='http://sourceforge.net/project/showfiles.php?group_id=146288' \
834                 --pkgaltsource='http://www.estamos.de/projects/SyncML/' \
835                 --pkggroup='gnome' \
836                 --docdir=":$$docdir" cp -r `pwd`/$</usr/* /usr
837         if [ $@ == "rpm" ]; then cp /usr/src/rpm/RPMS/*/${PKGNAME}-${VERSION}-2.*.rpm .; fi
838
839 .PHONY: dist/$(distdir) clean_dist
840 dist/$(distdir): all
841         rm -rf $@
842         $(MAKE) install DESTDIR=`pwd`/$@
843         $(MAKE) installcheck DESTDIR=`pwd`/$@
844         rm -rf $(call DEV_FILE_PATTERN, $@)
845 clean-local: clean_dist
846 clean_dist:
847         rm -rf dist doc-pak description-pak
848
849 # required by dpkg-shlibdeps
850 dist/debian/control:
851         mkdir -p ${@D}
852         touch $@
853
854 doc-pak : README NEWS COPYING $(TEST_README_FILES)
855         rm -rf $@
856         mkdir $@
857         cp $+ $@
858
859 description-pak : description
860         cp $< $@
861
862 # Build "html" inside the build dir, using source files
863 # from the SyncEvolution source directory and (if built)
864 # the installed client-api.build directory.
865 .PHONY: doc clean-html
866 doc:
867         rm -rf html
868         export VERSION="SyncEvolution $(VERSION)"; \
869         export OUTPUT_DIRECTORY="`pwd`"; \
870         export PREDEFINED="@BACKEND_DEFINES@ ENABLE_UNIT_TESTS ENABLE_INTEGRATION_TESTS"; \
871         export CLIENT_LIBRARY="@FUNAMBOL_SUBDIR@/test @FUNAMBOL_SUBDIR@/include "; \
872         export STRIP_FROM_PATH="$(srcdir) `dirname @FUNAMBOL_SUBDIR@`"; \
873         cd $(srcdir); doxygen
874 clean-local: clean-html
875 clean-html:
876         rm -rf html
877 $(srcdir)/configure.in: configure-pre.in configure-post.in $(CONFIG_SUBS)
878         rm -f $@
879         cat $(srcdir)/configure-pre.in >>$@
880         for sub in $(srcdir)/src/backends/*/configure-sub.in; do \
881             echo "# vvvvvvvvvvvvvv $$sub vvvvvvvvvvvvvv" >>$@; \
882             cat $$sub >>$@; \
883             echo "AC_CONFIG_FILES(`echo $$sub | sed -e 's;^$(srcdir)/;;' -e s/configure-sub.in/Makefile/`)" >>$@; \
884             echo "# ^^^^^^^^^^^^^^ $$sub ^^^^^^^^^^^^^^" >>$@; \
885             echo >>$@; \
886         done
887         cat $(srcdir)/configure-post.in >>$@
888
889 $(srcdir)/Makefile.am: Makefile-gen.am
890         sed -e 's;[@]CONFIG_SUBS[@];$(CONFIG_SUBS);' \
891             $< >$@
892
893 dist-hook:
894         @if test -d "$(srcdir)/.git"; \
895         then \
896                 echo Creating ChangeLog && \
897                 ( cd "$(top_srcdir)" && \
898                   echo '# Generated by configure.  Do no edit.'; echo; \
899                   $(top_srcdir)/missing --run perl $(top_srcdir)/build/gen-changelog.pl ) > ChangeLog.tmp \
900                 && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
901                 || ( rm -f ChangeLog.tmp ; \
902                      echo Failed to generate ChangeLog >&2 ); \
903         else \
904                 echo A git checkout is required to generate a ChangeLog >&2; \
905         fi
906
907 @ENABLE_EVOLUTION_COMPATIBILITY_TRUE@installcheck-local:
908 @ENABLE_EVOLUTION_COMPATIBILITY_TRUE@   for i in `find . -name *.so`; do \
909 @ENABLE_EVOLUTION_COMPATIBILITY_TRUE@           if ldd $$i | grep -e libecal -e libebook -e libedata -e libical; then \
910 @ENABLE_EVOLUTION_COMPATIBILITY_TRUE@                   echo "$$i should not depend on EDS or libical"; \
911 @ENABLE_EVOLUTION_COMPATIBILITY_TRUE@                   objdump -T -C $$i | grep -v :: | grep -e ical -e " e_"; \
912 @ENABLE_EVOLUTION_COMPATIBILITY_TRUE@                   exit 1; \
913 @ENABLE_EVOLUTION_COMPATIBILITY_TRUE@           fi \
914 @ENABLE_EVOLUTION_COMPATIBILITY_TRUE@   done
915 # Tell versions [3.59,3.63) of GNU make to not export all variables.
916 # Otherwise a system limit (for SysV at least) may be exceeded.
917 .NOEXPORT: