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