1 # Makefile.in generated by automake 1.10.1 from Makefile.am.
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.
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
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)
32 build_triplet = @build@
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 \
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) \
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
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
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
73 distuninstallcheck_listfiles = find . -type f -print
74 distcleancheck_listfiles = find . -type f -print
76 ADDRESSBOOK_CFLAGS = @ADDRESSBOOK_CFLAGS@
77 ADDRESSBOOK_LIBS = @ADDRESSBOOK_LIBS@
78 ALL_LINGUAS = @ALL_LINGUAS@
82 AUTOHEADER = @AUTOHEADER@
85 BACKEND_CPPFLAGS = @BACKEND_CPPFLAGS@
86 BACKEND_DEFINES = @BACKEND_DEFINES@
87 BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
88 BOOST_LDFLAGS = @BOOST_LDFLAGS@
90 CATOBJEXT = @CATOBJEXT@
92 CCDEPMODE = @CCDEPMODE@
94 CLEAN_CLIENT_SRC = @CLEAN_CLIENT_SRC@
95 CORE_LDADD_DEP = @CORE_LDADD_DEP@
98 CPPUNIT_CXXFLAGS = @CPPUNIT_CXXFLAGS@
99 CPPUNIT_LDFLAGS = @CPPUNIT_LDFLAGS@
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@
112 DSYMUTIL = @DSYMUTIL@
113 EBOOK_CFLAGS = @EBOOK_CFLAGS@
114 EBOOK_LIBS = @EBOOK_LIBS@
115 ECAL_CFLAGS = @ECAL_CFLAGS@
116 ECAL_LIBS = @ECAL_LIBS@
122 EPACKAGE_CFLAGS = @EPACKAGE_CFLAGS@
123 EPACKAGE_LIBS = @EPACKAGE_LIBS@
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@
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@
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@
157 LIBEXECDIR = @LIBEXECDIR@
160 LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@
161 LIBSOUP_LIBS = @LIBSOUP_LIBS@
164 LTLIBOBJS = @LTLIBOBJS@
165 MAKEINFO = @MAKEINFO@
167 MKINSTALLDIRS = @MKINSTALLDIRS@
168 MODIFY_SYNCCOMPARE = @MODIFY_SYNCCOMPARE@
170 MSGFMT_OPTS = @MSGFMT_OPTS@
171 MSGMERGE = @MSGMERGE@
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@
184 PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
185 PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
188 SET_MAKE = @SET_MAKE@
190 SQLITE_CFLAGS = @SQLITE_CFLAGS@
191 SQLITE_LIBS = @SQLITE_LIBS@
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@
211 XGETTEXT = @XGETTEXT@
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@
224 am__untar = @am__untar@
225 backenddir = @backenddir@
226 backendsearchdir = @backendsearchdir@
229 build_alias = @build_alias@
230 build_cpu = @build_cpu@
231 build_os = @build_os@
232 build_vendor = @build_vendor@
233 builddir = @builddir@
235 datarootdir = @datarootdir@
238 exec_prefix = @exec_prefix@
240 host_alias = @host_alias@
241 host_cpu = @host_cpu@
243 host_vendor = @host_vendor@
245 includedir = @includedir@
247 install_sh = @install_sh@
249 libexecdir = @libexecdir@
250 localedir = @localedir@
251 localstatedir = @localstatedir@
254 oldincludedir = @oldincludedir@
257 program_transform_name = @program_transform_name@
260 sharedstatedir = @sharedstatedir@
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
279 MAINTAINERCLEANFILES = Makefile.in config.h.in config.guess config.sub configure depcomp install-sh ltmain.sh missing mkinstalldirs
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
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`
294 # The package name: BINSUFFIX is used to distinguish binaries
295 # for different Evolution releases.
296 PKGNAME = syncevolution$(patsubst %,-%,$(BINSUFFIX))
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)
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
307 $(MAKE) $(AM_MAKEFLAGS) all-recursive
312 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
314 case '$(am__configure_deps)' in \
316 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
317 cd $(srcdir) && $(AUTOMAKE) --gnu \
322 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
323 cd $(top_srcdir) && \
324 $(AUTOMAKE) --gnu Makefile
326 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
329 echo ' $(SHELL) ./config.status'; \
330 $(SHELL) ./config.status;; \
332 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
333 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
336 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
337 $(SHELL) ./config.status --recheck
339 $(top_srcdir)/configure: $(am__configure_deps)
340 cd $(srcdir) && $(AUTOCONF)
341 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
342 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
345 @if test ! -f $@; then \
347 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
350 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
352 cd $(top_builddir) && $(SHELL) ./config.status config.h
353 $(srcdir)/config.h.in: $(am__configure_deps)
354 cd $(top_srcdir) && $(AUTOHEADER)
359 -rm -f config.h stamp-h1
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):
378 for f in x $$MAKEFLAGS; do \
381 *k*) failcom='fail=yes';; \
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 \
390 local_target="$$target-am"; \
392 local_target="$$target"; \
394 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
397 if test "$$dot_seen" = "no"; then \
398 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
401 $(RECURSIVE_CLEAN_TARGETS):
403 for f in x $$MAKEFLAGS; do \
406 *k*) failcom='fail=yes';; \
411 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
412 *) list='$(SUBDIRS)' ;; \
414 rev=''; for subdir in $$list; do \
415 if test "$$subdir" = "."; then :; else \
416 rev="$$subdir $$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"; \
426 local_target="$$target"; \
428 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
430 done && test -z "$$fail"
432 list='$(SUBDIRS)'; for subdir in $$list; do \
433 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
436 list='$(SUBDIRS)'; for subdir in $$list; do \
437 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
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; \
445 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
446 END { if (nonempty) { for (i in files) print i; }; }'`; \
450 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
451 $(TAGS_FILES) $(LISP)
454 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
455 include_option=--etags-include; \
458 include_option=--include; \
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"; \
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; \
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) \
479 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
480 $(TAGS_FILES) $(LISP)
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; \
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) \
493 here=`$(am__cd) $(top_builddir) && pwd` \
494 && cd $(top_srcdir) \
495 && gtags -i $(GTAGS_ARGS) $$here
498 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
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,/[^/]*$$,,' | \
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; \
521 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
523 test -f $(distdir)/$$file \
524 || cp -p $$d/$$file $(distdir)/$$file \
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" \
533 distdir=`$(am__cd) $(distdir) && pwd`; \
534 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
536 $(MAKE) $(AM_MAKEFLAGS) \
537 top_distdir="$$top_distdir" \
538 distdir="$$distdir/$$subdir" \
539 am__remove_distdir=: \
540 am__skip_length_check=: \
545 $(MAKE) $(AM_MAKEFLAGS) \
546 top_distdir="$(top_distdir)" distdir="$(distdir)" \
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)
554 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
555 $(am__remove_distdir)
558 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
559 $(am__remove_distdir)
562 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
563 $(am__remove_distdir)
566 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
567 $(am__remove_distdir)
570 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
571 $(am__remove_distdir)
574 -rm -f $(distdir).zip
575 zip -rq $(distdir).zip $(distdir)
576 $(am__remove_distdir)
578 dist dist-all: distdir
579 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
580 $(am__remove_distdir)
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
586 case '$(DIST_ARCHIVES)' in \
588 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
590 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
592 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
594 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
596 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
598 unzip $(distdir).zip ;;\
600 chmod -R a-w $(distdir); chmod a+w $(distdir)
601 mkdir $(distdir)/_build
602 mkdir $(distdir)/_inst
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" \
617 && chmod -R a-w "$$dc_install_base" \
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'
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)"; \
640 $(distuninstallcheck_listfiles) ; \
642 distcleancheck: distclean
643 @if test '$(srcdir)' = . ; then \
644 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
647 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
648 || { echo "ERROR: files left in build directory after distclean:" ; \
649 $(distcleancheck_listfiles) ; \
652 check: check-recursive
653 all-am: Makefile config.h
654 installdirs: installdirs-recursive
656 install: install-recursive
657 install-exec: install-exec-recursive
658 install-data: install-data-recursive
659 uninstall: uninstall-recursive
662 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
664 installcheck: installcheck-recursive
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
673 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
676 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
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
685 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
687 distclean: distclean-recursive
688 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
690 distclean-am: clean-am distclean-generic distclean-hdr \
691 distclean-libtool distclean-tags
705 install-dvi: install-dvi-recursive
709 install-html: install-html-recursive
711 install-info: install-info-recursive
715 install-pdf: install-pdf-recursive
717 install-ps: install-ps-recursive
719 installcheck-am: installcheck-local
721 maintainer-clean: maintainer-clean-recursive
722 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
723 -rm -rf $(top_srcdir)/autom4te.cache
725 maintainer-clean-am: distclean-am maintainer-clean-generic
727 mostlyclean: mostlyclean-recursive
729 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
741 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
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
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)
791 iphone : SyncEvolution.plist
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)/' \
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) .
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.
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 \
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/' \
836 --docdir=":$$docdir" cp -r `pwd`/$</usr/* /usr
837 if [ $@ == "rpm" ]; then cp /usr/src/rpm/RPMS/*/${PKGNAME}-${VERSION}-2.*.rpm .; fi
839 .PHONY: dist/$(distdir) clean_dist
842 $(MAKE) install DESTDIR=`pwd`/$@
843 $(MAKE) installcheck DESTDIR=`pwd`/$@
844 rm -rf $(call DEV_FILE_PATTERN, $@)
845 clean-local: clean_dist
847 rm -rf dist doc-pak description-pak
849 # required by dpkg-shlibdeps
854 doc-pak : README NEWS COPYING $(TEST_README_FILES)
859 description-pak : description
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
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
877 $(srcdir)/configure.in: configure-pre.in configure-post.in $(CONFIG_SUBS)
879 cat $(srcdir)/configure-pre.in >>$@
880 for sub in $(srcdir)/src/backends/*/configure-sub.in; do \
881 echo "# vvvvvvvvvvvvvv $$sub vvvvvvvvvvvvvv" >>$@; \
883 echo "AC_CONFIG_FILES(`echo $$sub | sed -e 's;^$(srcdir)/;;' -e s/configure-sub.in/Makefile/`)" >>$@; \
884 echo "# ^^^^^^^^^^^^^^ $$sub ^^^^^^^^^^^^^^" >>$@; \
887 cat $(srcdir)/configure-post.in >>$@
889 $(srcdir)/Makefile.am: Makefile-gen.am
890 sed -e 's;[@]CONFIG_SUBS[@];$(CONFIG_SUBS);' \
894 @if test -d "$(srcdir)/.git"; \
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 ); \
904 echo A git checkout is required to generate a ChangeLog >&2; \
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.