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_LIBS = @GUI_LIBS@
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@
153 LIBEXECDIR = @LIBEXECDIR@
156 LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@
157 LIBSOUP_LIBS = @LIBSOUP_LIBS@
160 LTLIBOBJS = @LTLIBOBJS@
161 MAKEINFO = @MAKEINFO@
163 MKINSTALLDIRS = @MKINSTALLDIRS@
164 MODIFY_SYNCCOMPARE = @MODIFY_SYNCCOMPARE@
166 MSGFMT_OPTS = @MSGFMT_OPTS@
167 MSGMERGE = @MSGMERGE@
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@
180 PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
181 PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
184 SET_MAKE = @SET_MAKE@
186 SQLITE_CFLAGS = @SQLITE_CFLAGS@
187 SQLITE_LIBS = @SQLITE_LIBS@
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@
207 XGETTEXT = @XGETTEXT@
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@
220 am__untar = @am__untar@
223 build_alias = @build_alias@
224 build_cpu = @build_cpu@
225 build_os = @build_os@
226 build_vendor = @build_vendor@
227 builddir = @builddir@
229 datarootdir = @datarootdir@
232 exec_prefix = @exec_prefix@
234 host_alias = @host_alias@
235 host_cpu = @host_cpu@
237 host_vendor = @host_vendor@
239 includedir = @includedir@
241 install_sh = @install_sh@
243 libexecdir = @libexecdir@
244 localedir = @localedir@
245 localstatedir = @localstatedir@
248 oldincludedir = @oldincludedir@
251 program_transform_name = @program_transform_name@
254 sharedstatedir = @sharedstatedir@
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
273 MAINTAINERCLEANFILES = Makefile.in config.h.in config.guess config.sub configure depcomp install-sh ltmain.sh missing mkinstalldirs
275 TEST_README_FILES = $(wildcard $(srcdir)/test/README.*)
276 IPHONE_FILENAME = syncevolution-$(VERSION)-iphone.zip
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`
287 # The package name: BINSUFFIX is used to distinguish binaries
288 # for different Evolution releases.
289 PKGNAME = syncevolution$(patsubst %,-%,$(BINSUFFIX))
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)
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
300 $(MAKE) $(AM_MAKEFLAGS) all-recursive
305 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
307 case '$(am__configure_deps)' in \
309 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
310 cd $(srcdir) && $(AUTOMAKE) --gnu \
315 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
316 cd $(top_srcdir) && \
317 $(AUTOMAKE) --gnu Makefile
319 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
322 echo ' $(SHELL) ./config.status'; \
323 $(SHELL) ./config.status;; \
325 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
326 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
329 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
330 $(SHELL) ./config.status --recheck
332 $(top_srcdir)/configure: $(am__configure_deps)
333 cd $(srcdir) && $(AUTOCONF)
334 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
335 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
338 @if test ! -f $@; then \
340 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
343 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
345 cd $(top_builddir) && $(SHELL) ./config.status config.h
346 $(srcdir)/config.h.in: $(am__configure_deps)
347 cd $(top_srcdir) && $(AUTOHEADER)
352 -rm -f config.h stamp-h1
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):
371 for f in x $$MAKEFLAGS; do \
374 *k*) failcom='fail=yes';; \
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 \
383 local_target="$$target-am"; \
385 local_target="$$target"; \
387 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
390 if test "$$dot_seen" = "no"; then \
391 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
394 $(RECURSIVE_CLEAN_TARGETS):
396 for f in x $$MAKEFLAGS; do \
399 *k*) failcom='fail=yes';; \
404 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
405 *) list='$(SUBDIRS)' ;; \
407 rev=''; for subdir in $$list; do \
408 if test "$$subdir" = "."; then :; else \
409 rev="$$subdir $$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"; \
419 local_target="$$target"; \
421 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
423 done && test -z "$$fail"
425 list='$(SUBDIRS)'; for subdir in $$list; do \
426 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
429 list='$(SUBDIRS)'; for subdir in $$list; do \
430 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
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; \
438 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
439 END { if (nonempty) { for (i in files) print i; }; }'`; \
443 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
444 $(TAGS_FILES) $(LISP)
447 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
448 include_option=--etags-include; \
451 include_option=--include; \
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"; \
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; \
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) \
472 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
473 $(TAGS_FILES) $(LISP)
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; \
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) \
486 here=`$(am__cd) $(top_builddir) && pwd` \
487 && cd $(top_srcdir) \
488 && gtags -i $(GTAGS_ARGS) $$here
491 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
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,/[^/]*$$,,' | \
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; \
514 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
516 test -f $(distdir)/$$file \
517 || cp -p $$d/$$file $(distdir)/$$file \
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" \
526 distdir=`$(am__cd) $(distdir) && pwd`; \
527 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
529 $(MAKE) $(AM_MAKEFLAGS) \
530 top_distdir="$$top_distdir" \
531 distdir="$$distdir/$$subdir" \
532 am__remove_distdir=: \
533 am__skip_length_check=: \
538 $(MAKE) $(AM_MAKEFLAGS) \
539 top_distdir="$(top_distdir)" distdir="$(distdir)" \
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)
547 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
548 $(am__remove_distdir)
551 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
552 $(am__remove_distdir)
555 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
556 $(am__remove_distdir)
559 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
560 $(am__remove_distdir)
563 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
564 $(am__remove_distdir)
567 -rm -f $(distdir).zip
568 zip -rq $(distdir).zip $(distdir)
569 $(am__remove_distdir)
571 dist dist-all: distdir
572 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
573 $(am__remove_distdir)
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
579 case '$(DIST_ARCHIVES)' in \
581 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
583 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
585 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
587 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
589 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
591 unzip $(distdir).zip ;;\
593 chmod -R a-w $(distdir); chmod a+w $(distdir)
594 mkdir $(distdir)/_build
595 mkdir $(distdir)/_inst
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" \
610 && chmod -R a-w "$$dc_install_base" \
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'
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)"; \
633 $(distuninstallcheck_listfiles) ; \
635 distcleancheck: distclean
636 @if test '$(srcdir)' = . ; then \
637 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
640 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
641 || { echo "ERROR: files left in build directory after distclean:" ; \
642 $(distcleancheck_listfiles) ; \
645 check: check-recursive
646 all-am: Makefile config.h
647 installdirs: installdirs-recursive
649 install: install-recursive
650 install-exec: install-exec-recursive
651 install-data: install-data-recursive
652 uninstall: uninstall-recursive
655 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
657 installcheck: installcheck-recursive
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
666 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
669 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
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
677 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
679 distclean: distclean-recursive
680 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
682 distclean-am: clean-am distclean-generic distclean-hdr \
683 distclean-libtool distclean-tags
697 install-dvi: install-dvi-recursive
701 install-html: install-html-recursive
703 install-info: install-info-recursive
707 install-pdf: install-pdf-recursive
709 install-ps: install-ps-recursive
713 maintainer-clean: maintainer-clean-recursive
714 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
715 -rm -rf $(top_srcdir)/autom4te.cache
717 maintainer-clean-am: distclean-am maintainer-clean-generic
719 mostlyclean: mostlyclean-recursive
721 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
733 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
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
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)
777 iphone : SyncEvolution.plist
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)/' \
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) .
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.
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 \
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/' \
822 --docdir=":$$docdir" cp -r `pwd`/$</usr/* /usr
824 .PHONY: dist/$(distdir) clean_dist
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
832 rm -rf dist doc-pak description-pak
834 # required by dpkg-shlibdeps
839 doc-pak : README NEWS COPYING $(TEST_README_FILES)
844 description-pak : description
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
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
862 $(srcdir)/configure.in: configure-pre.in configure-post.in $(CONFIG_SUBS)
864 cat $(srcdir)/configure-pre.in >>$@
865 for sub in $(srcdir)/src/backends/*/configure-sub.in; do \
866 echo "# vvvvvvvvvvvvvv $$sub vvvvvvvvvvvvvv" >>$@; \
868 echo "AC_CONFIG_FILES(`echo $$sub | sed -e 's;^$(srcdir)/;;' -e s/configure-sub.in/Makefile/`)" >>$@; \
869 echo "# ^^^^^^^^^^^^^^ $$sub ^^^^^^^^^^^^^^" >>$@; \
872 cat $(srcdir)/configure-post.in >>$@
874 $(srcdir)/Makefile.am: Makefile-gen.am
875 sed -e 's;[@]CONFIG_SUBS[@];$(CONFIG_SUBS);' \
879 @if test -d "$(srcdir)/.git"; \
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 ); \
889 echo A git checkout is required to generate a ChangeLog >&2; \
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.