14af0d531740e83d2405a7a0732bc684cd0b03e8
[platform/upstream/syncevolution.git] / Makefile.in
1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005  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 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 pkgdatadir = $(datadir)/@PACKAGE@
20 pkglibdir = $(libdir)/@PACKAGE@
21 pkgincludedir = $(includedir)/@PACKAGE@
22 top_builddir = .
23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24 INSTALL = @INSTALL@
25 install_sh_DATA = $(install_sh) -c -m 644
26 install_sh_PROGRAM = $(install_sh) -c
27 install_sh_SCRIPT = $(install_sh) -c
28 INSTALL_HEADER = $(INSTALL_DATA)
29 transform = $(program_transform_name)
30 NORMAL_INSTALL = :
31 PRE_INSTALL = :
32 POST_INSTALL = :
33 NORMAL_UNINSTALL = :
34 PRE_UNINSTALL = :
35 POST_UNINSTALL = :
36 build_triplet = @build@
37 host_triplet = @host@
38 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
39         $(srcdir)/Makefile.in $(srcdir)/config.h.in \
40         $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
41         compile config.guess config.sub depcomp install-sh ltmain.sh \
42         missing
43 subdir = .
44 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
45 am__aclocal_m4_deps = $(top_srcdir)/configure.in
46 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
47         $(ACLOCAL_M4)
48 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
49  configure.lineno configure.status.lineno
50 mkinstalldirs = $(install_sh) -d
51 CONFIG_HEADER = config.h
52 CONFIG_CLEAN_FILES =
53 SOURCES =
54 DIST_SOURCES =
55 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
56         html-recursive info-recursive install-data-recursive \
57         install-exec-recursive install-info-recursive \
58         install-recursive installcheck-recursive installdirs-recursive \
59         pdf-recursive ps-recursive uninstall-info-recursive \
60         uninstall-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 AMDEP_FALSE = @AMDEP_FALSE@
79 AMDEP_TRUE = @AMDEP_TRUE@
80 AMTAR = @AMTAR@
81 AR = @AR@
82 AUTOCONF = @AUTOCONF@
83 AUTOHEADER = @AUTOHEADER@
84 AUTOMAKE = @AUTOMAKE@
85 AWK = @AWK@
86 BACKEND_CPPFLAGS = @BACKEND_CPPFLAGS@
87 BACKEND_DEFINES = @BACKEND_DEFINES@
88 CC = @CC@
89 CCDEPMODE = @CCDEPMODE@
90 CFLAGS = @CFLAGS@
91 CLEAN_CLIENT_SRC = @CLEAN_CLIENT_SRC@
92 CORE_LDADD_DEP = @CORE_LDADD_DEP@
93 CPP = @CPP@
94 CPPFLAGS = @CPPFLAGS@
95 CPPUNIT_CXXFLAGS = @CPPUNIT_CXXFLAGS@
96 CPPUNIT_LDFLAGS = @CPPUNIT_LDFLAGS@
97 CPPUNIT_TESTS = @CPPUNIT_TESTS@
98 CURL_LDFLAGS = @CURL_LDFLAGS@
99 CXX = @CXX@
100 CXXCPP = @CXXCPP@
101 CXXDEPMODE = @CXXDEPMODE@
102 CXXFLAGS = @CXXFLAGS@
103 CYGPATH_W = @CYGPATH_W@
104 DEFS = @DEFS@
105 DEPDIR = @DEPDIR@
106 EBOOK_CFLAGS = @EBOOK_CFLAGS@
107 EBOOK_LIBS = @EBOOK_LIBS@
108 ECAL_CFLAGS = @ECAL_CFLAGS@
109 ECAL_LIBS = @ECAL_LIBS@
110 ECHO = @ECHO@
111 ECHO_C = @ECHO_C@
112 ECHO_N = @ECHO_N@
113 ECHO_T = @ECHO_T@
114 EGREP = @EGREP@
115 ENABLE_ECAL_FALSE = @ENABLE_ECAL_FALSE@
116 ENABLE_ECAL_TRUE = @ENABLE_ECAL_TRUE@
117 ENABLE_MODULES_FALSE = @ENABLE_MODULES_FALSE@
118 ENABLE_MODULES_TRUE = @ENABLE_MODULES_TRUE@
119 EPACKAGE_CFLAGS = @EPACKAGE_CFLAGS@
120 EPACKAGE_LIBS = @EPACKAGE_LIBS@
121 EXEEXT = @EXEEXT@
122 F77 = @F77@
123 FFLAGS = @FFLAGS@
124 FILE_CFLAGS = @FILE_CFLAGS@
125 FILE_LIBS = @FILE_LIBS@
126 FUNAMBOL = @FUNAMBOL@
127 FUNAMBOLSRC = @FUNAMBOLSRC@
128 FUNAMBOL_CFLAGS = @FUNAMBOL_CFLAGS@
129 FUNAMBOL_DEP = @FUNAMBOL_DEP@
130 FUNAMBOL_LIB = @FUNAMBOL_LIB@
131 FUNAMBOL_LIBS = @FUNAMBOL_LIBS@
132 FUNAMBOL_SUBDIR = @FUNAMBOL_SUBDIR@
133 GLIB_CFLAGS = @GLIB_CFLAGS@
134 GLIB_LIBS = @GLIB_LIBS@
135 INSTALL_DATA = @INSTALL_DATA@
136 INSTALL_PROGRAM = @INSTALL_PROGRAM@
137 INSTALL_SCRIPT = @INSTALL_SCRIPT@
138 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
139 LDFLAGS = @LDFLAGS@
140 LIBOBJS = @LIBOBJS@
141 LIBS = @LIBS@
142 LIBTOOL = @LIBTOOL@
143 LN_S = @LN_S@
144 LTLIBOBJS = @LTLIBOBJS@
145 MAKEINFO = @MAKEINFO@
146 MODIFY_SYNCCOMPARE = @MODIFY_SYNCCOMPARE@
147 OBJEXT = @OBJEXT@
148 PACKAGE = @PACKAGE@
149 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
150 PACKAGE_NAME = @PACKAGE_NAME@
151 PACKAGE_STRING = @PACKAGE_STRING@
152 PACKAGE_TARNAME = @PACKAGE_TARNAME@
153 PACKAGE_VERSION = @PACKAGE_VERSION@
154 PATH_SEPARATOR = @PATH_SEPARATOR@
155 PKG_CONFIG = @PKG_CONFIG@
156 RANLIB = @RANLIB@
157 SET_MAKE = @SET_MAKE@
158 SHELL = @SHELL@
159 SQLITE_CFLAGS = @SQLITE_CFLAGS@
160 SQLITE_LIBS = @SQLITE_LIBS@
161 STRIP = @STRIP@
162 SYNCEVOLUTION_CXXFLAGS = @SYNCEVOLUTION_CXXFLAGS@
163 SYNCEVOLUTION_LDADD = @SYNCEVOLUTION_LDADD@
164 SYNCSOURCES = @SYNCSOURCES@
165 TRANSPORT_CFLAGS = @TRANSPORT_CFLAGS@
166 TRANSPORT_LDFLAGS = @TRANSPORT_LDFLAGS@
167 VERSION = @VERSION@
168 ac_ct_AR = @ac_ct_AR@
169 ac_ct_CC = @ac_ct_CC@
170 ac_ct_CXX = @ac_ct_CXX@
171 ac_ct_F77 = @ac_ct_F77@
172 ac_ct_RANLIB = @ac_ct_RANLIB@
173 ac_ct_STRIP = @ac_ct_STRIP@
174 ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
175 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
176 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
177 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
178 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
179 am__include = @am__include@
180 am__leading_dot = @am__leading_dot@
181 am__quote = @am__quote@
182 am__tar = @am__tar@
183 am__untar = @am__untar@
184 bindir = @bindir@
185 build = @build@
186 build_alias = @build_alias@
187 build_cpu = @build_cpu@
188 build_os = @build_os@
189 build_vendor = @build_vendor@
190 datadir = @datadir@
191 exec_prefix = @exec_prefix@
192 host = @host@
193 host_alias = @host_alias@
194 host_cpu = @host_cpu@
195 host_os = @host_os@
196 host_vendor = @host_vendor@
197 includedir = @includedir@
198 infodir = @infodir@
199 install_sh = @install_sh@
200 libdir = @libdir@
201 libexecdir = @libexecdir@
202 localstatedir = @localstatedir@
203 mandir = @mandir@
204 mkdir_p = @mkdir_p@
205 oldincludedir = @oldincludedir@
206 prefix = @prefix@
207 program_transform_name = @program_transform_name@
208 sbindir = @sbindir@
209 sharedstatedir = @sharedstatedir@
210 sysconfdir = @sysconfdir@
211 target_alias = @target_alias@
212 SUBDIRS = src test
213 EXTRA_DIST = HACKING description configure-pre.in configure-post.in autogen.sh Makefile-gen.am Doxyfile
214 MAINTAINERCLEANFILES = Makefile.in config.h.in config.guess config.sub configure depcomp install-sh ltmain.sh missing mkinstalldirs
215 DISTCHECK_CONFIGURE_FLAGS = --with-sync4j=@FUNAMBOL@
216 IPHONE_FILENAME = syncevolution-$(VERSION)-iphone.zip
217 TYPE_deb = -D
218 TYPE_rpm = -R
219 REQUIRES_deb = --requires="`dpkg-shlibdeps -L$(srcdir)/src/shlibs.local -O src/syncevolution | sed -e 's/[^=]*=//'`"
220 VERSION_deb = `echo 1:$(VERSION) | perl -p -e 's/(\d+\.\d+)([-a-z0-9]+)/sprintf("%0.1f+$$1$$2", ($$1 - 0.1))/e'`
221 VERSION_rpm = `echo $(VERSION) | sed -e s/-/_/g`
222 RELEASE = 2
223
224 # The package name: BINSUFFIX is used to distinguish binaries
225 # for different Evolution releases.
226 PKGNAME = syncevolution$(patsubst %,-%,$(BINSUFFIX))
227
228 # This is a list of packages (potentially) provided on estamos.de.
229 # The current package conflicts with any of them, but not itself.
230 PKGS = $(addprefix syncevolution-evolution-, 2.0 2.2 2.4 2.6 2.8 2.10 2.12 2.14 2.16 2.20 2.22 2.24 2.26 2.28)
231
232 # Because backend-related variables need to be substituted in
233 # Makefile-gen.am and configure.in we need an explicit rule to redo that work
234 # so that "make" rebuilds derived files correctly.
235 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
236 all: config.h
237         $(MAKE) $(AM_MAKEFLAGS) all-recursive
238
239 .SUFFIXES:
240 am--refresh:
241         @:
242 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
243         @for dep in $?; do \
244           case '$(am__configure_deps)' in \
245             *$$dep*) \
246               echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
247               cd $(srcdir) && $(AUTOMAKE) --gnu  \
248                 && exit 0; \
249               exit 1;; \
250           esac; \
251         done; \
252         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  Makefile'; \
253         cd $(top_srcdir) && \
254           $(AUTOMAKE) --gnu  Makefile
255 .PRECIOUS: Makefile
256 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
257         @case '$?' in \
258           *config.status*) \
259             echo ' $(SHELL) ./config.status'; \
260             $(SHELL) ./config.status;; \
261           *) \
262             echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
263             cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
264         esac;
265
266 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
267         $(SHELL) ./config.status --recheck
268
269 $(top_srcdir)/configure:  $(am__configure_deps)
270         cd $(srcdir) && $(AUTOCONF)
271 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
272         cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
273
274 config.h: stamp-h1
275         @if test ! -f $@; then \
276           rm -f stamp-h1; \
277           $(MAKE) stamp-h1; \
278         else :; fi
279
280 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
281         @rm -f stamp-h1
282         cd $(top_builddir) && $(SHELL) ./config.status config.h
283 $(srcdir)/config.h.in:  $(am__configure_deps) 
284         cd $(top_srcdir) && $(AUTOHEADER)
285         rm -f stamp-h1
286         touch $@
287
288 distclean-hdr:
289         -rm -f config.h stamp-h1
290
291 mostlyclean-libtool:
292         -rm -f *.lo
293
294 clean-libtool:
295         -rm -rf .libs _libs
296
297 distclean-libtool:
298         -rm -f libtool
299 uninstall-info-am:
300
301 # This directory's subdirectories are mostly independent; you can cd
302 # into them and run `make' without going through this Makefile.
303 # To change the values of `make' variables: instead of editing Makefiles,
304 # (1) if the variable is set in `config.status', edit `config.status'
305 #     (which will cause the Makefiles to be regenerated when you run `make');
306 # (2) otherwise, pass the desired values on the `make' command line.
307 $(RECURSIVE_TARGETS):
308         @failcom='exit 1'; \
309         for f in x $$MAKEFLAGS; do \
310           case $$f in \
311             *=* | --[!k]*);; \
312             *k*) failcom='fail=yes';; \
313           esac; \
314         done; \
315         dot_seen=no; \
316         target=`echo $@ | sed s/-recursive//`; \
317         list='$(SUBDIRS)'; for subdir in $$list; do \
318           echo "Making $$target in $$subdir"; \
319           if test "$$subdir" = "."; then \
320             dot_seen=yes; \
321             local_target="$$target-am"; \
322           else \
323             local_target="$$target"; \
324           fi; \
325           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
326           || eval $$failcom; \
327         done; \
328         if test "$$dot_seen" = "no"; then \
329           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
330         fi; test -z "$$fail"
331
332 mostlyclean-recursive clean-recursive distclean-recursive \
333 maintainer-clean-recursive:
334         @failcom='exit 1'; \
335         for f in x $$MAKEFLAGS; do \
336           case $$f in \
337             *=* | --[!k]*);; \
338             *k*) failcom='fail=yes';; \
339           esac; \
340         done; \
341         dot_seen=no; \
342         case "$@" in \
343           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
344           *) list='$(SUBDIRS)' ;; \
345         esac; \
346         rev=''; for subdir in $$list; do \
347           if test "$$subdir" = "."; then :; else \
348             rev="$$subdir $$rev"; \
349           fi; \
350         done; \
351         rev="$$rev ."; \
352         target=`echo $@ | sed s/-recursive//`; \
353         for subdir in $$rev; do \
354           echo "Making $$target in $$subdir"; \
355           if test "$$subdir" = "."; then \
356             local_target="$$target-am"; \
357           else \
358             local_target="$$target"; \
359           fi; \
360           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
361           || eval $$failcom; \
362         done && test -z "$$fail"
363 tags-recursive:
364         list='$(SUBDIRS)'; for subdir in $$list; do \
365           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
366         done
367 ctags-recursive:
368         list='$(SUBDIRS)'; for subdir in $$list; do \
369           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
370         done
371
372 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
373         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
374         unique=`for i in $$list; do \
375             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
376           done | \
377           $(AWK) '    { files[$$0] = 1; } \
378                END { for (i in files) print i; }'`; \
379         mkid -fID $$unique
380 tags: TAGS
381
382 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
383                 $(TAGS_FILES) $(LISP)
384         tags=; \
385         here=`pwd`; \
386         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
387           include_option=--etags-include; \
388           empty_fix=.; \
389         else \
390           include_option=--include; \
391           empty_fix=; \
392         fi; \
393         list='$(SUBDIRS)'; for subdir in $$list; do \
394           if test "$$subdir" = .; then :; else \
395             test ! -f $$subdir/TAGS || \
396               tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
397           fi; \
398         done; \
399         list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
400         unique=`for i in $$list; do \
401             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
402           done | \
403           $(AWK) '    { files[$$0] = 1; } \
404                END { for (i in files) print i; }'`; \
405         if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
406           test -n "$$unique" || unique=$$empty_fix; \
407           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
408             $$tags $$unique; \
409         fi
410 ctags: CTAGS
411 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
412                 $(TAGS_FILES) $(LISP)
413         tags=; \
414         here=`pwd`; \
415         list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
416         unique=`for i in $$list; do \
417             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
418           done | \
419           $(AWK) '    { files[$$0] = 1; } \
420                END { for (i in files) print i; }'`; \
421         test -z "$(CTAGS_ARGS)$$tags$$unique" \
422           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
423              $$tags $$unique
424
425 GTAGS:
426         here=`$(am__cd) $(top_builddir) && pwd` \
427           && cd $(top_srcdir) \
428           && gtags -i $(GTAGS_ARGS) $$here
429
430 distclean-tags:
431         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
432
433 distdir: $(DISTFILES)
434         $(am__remove_distdir)
435         mkdir $(distdir)
436         @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
437         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
438         list='$(DISTFILES)'; for file in $$list; do \
439           case $$file in \
440             $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
441             $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
442           esac; \
443           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
444           dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
445           if test "$$dir" != "$$file" && test "$$dir" != "."; then \
446             dir="/$$dir"; \
447             $(mkdir_p) "$(distdir)$$dir"; \
448           else \
449             dir=''; \
450           fi; \
451           if test -d $$d/$$file; then \
452             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
453               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
454             fi; \
455             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
456           else \
457             test -f $(distdir)/$$file \
458             || cp -p $$d/$$file $(distdir)/$$file \
459             || exit 1; \
460           fi; \
461         done
462         list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
463           if test "$$subdir" = .; then :; else \
464             test -d "$(distdir)/$$subdir" \
465             || $(mkdir_p) "$(distdir)/$$subdir" \
466             || exit 1; \
467             distdir=`$(am__cd) $(distdir) && pwd`; \
468             top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
469             (cd $$subdir && \
470               $(MAKE) $(AM_MAKEFLAGS) \
471                 top_distdir="$$top_distdir" \
472                 distdir="$$distdir/$$subdir" \
473                 distdir) \
474               || exit 1; \
475           fi; \
476         done
477         -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
478           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
479           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
480           ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
481         || chmod -R a+r $(distdir)
482 dist-gzip: distdir
483         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
484         $(am__remove_distdir)
485
486 dist-bzip2: distdir
487         tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
488         $(am__remove_distdir)
489
490 dist-tarZ: distdir
491         tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
492         $(am__remove_distdir)
493
494 dist-shar: distdir
495         shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
496         $(am__remove_distdir)
497
498 dist-zip: distdir
499         -rm -f $(distdir).zip
500         zip -rq $(distdir).zip $(distdir)
501         $(am__remove_distdir)
502
503 dist dist-all: distdir
504         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
505         $(am__remove_distdir)
506
507 # This target untars the dist file and tries a VPATH configuration.  Then
508 # it guarantees that the distribution is self-contained by making another
509 # tarfile.
510 distcheck: dist
511         case '$(DIST_ARCHIVES)' in \
512         *.tar.gz*) \
513           GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
514         *.tar.bz2*) \
515           bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
516         *.tar.Z*) \
517           uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
518         *.shar.gz*) \
519           GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
520         *.zip*) \
521           unzip $(distdir).zip ;;\
522         esac
523         chmod -R a-w $(distdir); chmod a+w $(distdir)
524         mkdir $(distdir)/_build
525         mkdir $(distdir)/_inst
526         chmod a-w $(distdir)
527         dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
528           && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
529           && cd $(distdir)/_build \
530           && ../configure --srcdir=.. --prefix="$$dc_install_base" \
531             $(DISTCHECK_CONFIGURE_FLAGS) \
532           && $(MAKE) $(AM_MAKEFLAGS) \
533           && $(MAKE) $(AM_MAKEFLAGS) dvi \
534           && $(MAKE) $(AM_MAKEFLAGS) check \
535           && $(MAKE) $(AM_MAKEFLAGS) install \
536           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
537           && $(MAKE) $(AM_MAKEFLAGS) uninstall \
538           && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
539                 distuninstallcheck \
540           && chmod -R a-w "$$dc_install_base" \
541           && ({ \
542                (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
543                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
544                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
545                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
546                     distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
547               } || { rm -rf "$$dc_destdir"; exit 1; }) \
548           && rm -rf "$$dc_destdir" \
549           && $(MAKE) $(AM_MAKEFLAGS) dist \
550           && rm -rf $(DIST_ARCHIVES) \
551           && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
552         $(am__remove_distdir)
553         @(echo "$(distdir) archives ready for distribution: "; \
554           list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
555           sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
556 distuninstallcheck:
557         @cd $(distuninstallcheck_dir) \
558         && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
559            || { echo "ERROR: files left after uninstall:" ; \
560                 if test -n "$(DESTDIR)"; then \
561                   echo "  (check DESTDIR support)"; \
562                 fi ; \
563                 $(distuninstallcheck_listfiles) ; \
564                 exit 1; } >&2
565 distcleancheck: distclean
566         @if test '$(srcdir)' = . ; then \
567           echo "ERROR: distcleancheck can only run from a VPATH build" ; \
568           exit 1 ; \
569         fi
570         @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
571           || { echo "ERROR: files left in build directory after distclean:" ; \
572                $(distcleancheck_listfiles) ; \
573                exit 1; } >&2
574 check-am: all-am
575 check: check-recursive
576 all-am: Makefile config.h
577 installdirs: installdirs-recursive
578 installdirs-am:
579 install: install-recursive
580 install-exec: install-exec-recursive
581 install-data: install-data-recursive
582 uninstall: uninstall-recursive
583
584 install-am: all-am
585         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
586
587 installcheck: installcheck-recursive
588 install-strip:
589         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
590           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
591           `test -z '$(STRIP)' || \
592             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
593 mostlyclean-generic:
594
595 clean-generic:
596
597 distclean-generic:
598         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
599
600 maintainer-clean-generic:
601         @echo "This command is intended for maintainers to use"
602         @echo "it deletes files that may require special tools to rebuild."
603         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
604 clean: clean-recursive
605
606 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
607
608 distclean: distclean-recursive
609         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
610         -rm -f Makefile
611 distclean-am: clean-am distclean-generic distclean-hdr \
612         distclean-libtool distclean-tags
613
614 dvi: dvi-recursive
615
616 dvi-am:
617
618 html: html-recursive
619
620 info: info-recursive
621
622 info-am:
623
624 install-data-am:
625
626 install-exec-am:
627
628 install-info: install-info-recursive
629
630 install-man:
631
632 installcheck-am:
633
634 maintainer-clean: maintainer-clean-recursive
635         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
636         -rm -rf $(top_srcdir)/autom4te.cache
637         -rm -f Makefile
638 maintainer-clean-am: distclean-am maintainer-clean-generic
639
640 mostlyclean: mostlyclean-recursive
641
642 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
643
644 pdf: pdf-recursive
645
646 pdf-am:
647
648 ps: ps-recursive
649
650 ps-am:
651
652 uninstall-am: uninstall-info-am
653
654 uninstall-info: uninstall-info-recursive
655
656 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
657         check-am clean clean-generic clean-libtool clean-local \
658         clean-recursive ctags ctags-recursive dist dist-all dist-bzip2 \
659         dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \
660         distclean-generic distclean-hdr distclean-libtool \
661         distclean-recursive distclean-tags distcleancheck distdir \
662         distuninstallcheck dvi dvi-am html html-am info info-am \
663         install install-am install-data install-data-am install-exec \
664         install-exec-am install-info install-info-am install-man \
665         install-strip installcheck installcheck-am installdirs \
666         installdirs-am maintainer-clean maintainer-clean-generic \
667         maintainer-clean-recursive mostlyclean mostlyclean-generic \
668         mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
669         tags tags-recursive uninstall uninstall-am uninstall-info-am
670
671
672 # binary distribution
673 distbin : README all
674         @ [ "$(BINSUFFIX)" ] || (echo "please invoke with e.g. 'make distbin BINSUFFIX=debian-3.1'"; exit 1 ) 
675         rm -rf $(distdir)
676         $(MAKE) prefix=`pwd`/$(distdir) install
677         cp $(srcdir)/README $(srcdir)/NEWS $(srcdir)/COPYING $(distdir)
678         tar zcf $(distdir)-$(BINSUFFIX).tar.gz $(distdir)
679         rm -rf $(distdir)
680
681 iphone : SyncEvolution.plist
682
683 SyncEvolution.plist : SyncEvolution.plist.in $(IPHONE_FILENAME)
684         sed -e 's/__FILENAME__/$(IPHONE_FILENAME)/' \
685             -e 's/__VERSION__/$(VERSION)/' \
686             -e 's/__SIZE__/$(shell ls -l $(IPHONE_FILENAME) | sed -e 's/  */ /g' | cut -d ' ' -f 5)/' \
687             $< >$@
688
689 $(IPHONE_FILENAME) : all
690         rm -rf syncevolution-iphone $@
691         $(MAKE) DESTDIR=`pwd`/syncevolution-iphone install
692         rm -rf `ls -1 -d syncevolution-iphone/usr/share/doc/syncevolution/*/spds/sources/* | grep -v addressbook`
693         perl -pi -e 's;SyncEvolution test #1;;;' \
694                  -e 's;^type = text/(x-)?vcard;type = addressbook;m;' \
695                  syncevolution-iphone/usr/share/doc/syncevolution/*/spds/sources/addressbook/config.txt
696         cd syncevolution-iphone && zip -r ../$(IPHONE_FILENAME) .
697
698 # When calling checkinstall we cannot install into /tmp
699 # because any file created there will be excluded: that makes
700 # sense, because "make install" might create temporary files
701 # there. The current directory might be in /tmp, so use $HOME.
702 deb rpm : all doc-pak description-pak
703         tmpdir=`mktemp -d $$HOME/syncevolution.XXXXXXXXXX` && \
704         trap "rm -rf $$tmpdir" EXIT && \
705         docdir="$(docdir)" && \
706         if [ ! "$$docdir" ]; then docdir="$(datadir)/doc/$(PACKAGE)"; fi && \
707         fakeroot checkinstall </dev/null \
708                 $(TYPE_$@) \
709                 $(REQUIRES_$@) \
710                 --fstrans=yes \
711                 --pkgversion=$(VERSION_$@) \
712                 --pkgrelease=$(RELEASE) \
713                 --pkgname=$(PKGNAME) \
714                 --provides=syncevolution \
715                 --conflicts="`echo $(filter-out $(PKGNAME), $(PKGS)) | sed -e 's/  */, /g'`" \
716                 --maintainer='Patrick Ohly <patrick.ohly@gmx.de>' \
717                 --pkgsource='http://sourceforge.net/project/showfiles.php?group_id=146288' \
718                 --pkgaltsource='http://www.estamos.de/projects/SyncML/' \
719                 --pkggroup='gnome' \
720                 --docdir=":$$docdir" $(MAKE) install
721
722 doc-pak : README NEWS COPYING
723         mkdir $@
724         cp $+ $@
725
726 description-pak : description
727         cp $< $@
728
729 # Build "html" inside the build dir, using source files
730 # from the SyncEvolution source directory and (if built)
731 # the installed client-api.build directory.
732 .PHONY: doc clean-html
733 doc:
734         rm -rf html
735         export VERSION="SyncEvolution $(VERSION)"; \
736         export OUTPUT_DIRECTORY="`pwd`"; \
737         export PREDEFINED="@BACKEND_DEFINES@ ENABLE_UNIT_TESTS ENABLE_INTEGRATION_TESTS"; \
738         export CLIENT_LIBRARY="@FUNAMBOL_SUBDIR@/test @FUNAMBOL_SUBDIR@/include "; \
739         export STRIP_FROM_PATH="$(srcdir) `dirname @FUNAMBOL_SUBDIR@`"; \
740         cd $(srcdir); doxygen
741 clean-local: clean-html
742 clean-html:
743         rm -rf html
744 $(srcdir)/configure.in: configure-pre.in configure-post.in $(CONFIG_SUBS)
745         rm -f $@
746         cat $(srcdir)/configure-pre.in >>$@
747         for sub in $(srcdir)/src/backends/*/configure-sub.in; do \
748             echo "# vvvvvvvvvvvvvv $$sub vvvvvvvvvvvvvv" >>$@; \
749             cat $$sub >>$@; \
750             echo "AC_CONFIG_FILES(`echo $$sub | sed -e 's;^$(srcdir)/;;' -e s/configure-sub.in/Makefile/`)" >>$@; \
751             echo "# ^^^^^^^^^^^^^^ $$sub ^^^^^^^^^^^^^^" >>$@; \
752             echo >>$@; \
753         done
754         cat $(srcdir)/configure-post.in >>$@
755
756 $(srcdir)/Makefile.am: Makefile-gen.am
757         sed -e 's;[@]CONFIG_SUBS[@];$(CONFIG_SUBS);' \
758             $< >$@
759 # Tell versions [3.59,3.63) of GNU make to not export all variables.
760 # Otherwise a system limit (for SysV at least) may be exceeded.
761 .NOEXPORT: