1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
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.
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 top_srcdir = @top_srcdir@
19 pkgdatadir = $(datadir)/@PACKAGE@
20 pkglibdir = $(libdir)/@PACKAGE@
21 pkgincludedir = $(includedir)/@PACKAGE@
23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
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)
36 build_triplet = @build@
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 \
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) \
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
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 \
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 AMDEP_FALSE = @AMDEP_FALSE@
79 AMDEP_TRUE = @AMDEP_TRUE@
83 AUTOHEADER = @AUTOHEADER@
86 BACKEND_CPPFLAGS = @BACKEND_CPPFLAGS@
87 BACKEND_DEFINES = @BACKEND_DEFINES@
89 CCDEPMODE = @CCDEPMODE@
91 CLEAN_CLIENT_SRC = @CLEAN_CLIENT_SRC@
92 CORE_LDADD_DEP = @CORE_LDADD_DEP@
95 CPPUNIT_CXXFLAGS = @CPPUNIT_CXXFLAGS@
96 CPPUNIT_LDFLAGS = @CPPUNIT_LDFLAGS@
97 CPPUNIT_TESTS = @CPPUNIT_TESTS@
98 CURL_LDFLAGS = @CURL_LDFLAGS@
101 CXXDEPMODE = @CXXDEPMODE@
102 CXXFLAGS = @CXXFLAGS@
103 CYGPATH_W = @CYGPATH_W@
106 EBOOK_CFLAGS = @EBOOK_CFLAGS@
107 EBOOK_LIBS = @EBOOK_LIBS@
108 ECAL_CFLAGS = @ECAL_CFLAGS@
109 ECAL_LIBS = @ECAL_LIBS@
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@
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@
144 LTLIBOBJS = @LTLIBOBJS@
145 MAKEINFO = @MAKEINFO@
146 MODIFY_SYNCCOMPARE = @MODIFY_SYNCCOMPARE@
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@
157 SET_MAKE = @SET_MAKE@
159 SQLITE_CFLAGS = @SQLITE_CFLAGS@
160 SQLITE_LIBS = @SQLITE_LIBS@
162 SYNCEVOLUTION_CXXFLAGS = @SYNCEVOLUTION_CXXFLAGS@
163 SYNCEVOLUTION_LDADD = @SYNCEVOLUTION_LDADD@
164 SYNCSOURCES = @SYNCSOURCES@
165 TRANSPORT_CFLAGS = @TRANSPORT_CFLAGS@
166 TRANSPORT_LDFLAGS = @TRANSPORT_LDFLAGS@
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@
183 am__untar = @am__untar@
186 build_alias = @build_alias@
187 build_cpu = @build_cpu@
188 build_os = @build_os@
189 build_vendor = @build_vendor@
191 exec_prefix = @exec_prefix@
193 host_alias = @host_alias@
194 host_cpu = @host_cpu@
196 host_vendor = @host_vendor@
197 includedir = @includedir@
199 install_sh = @install_sh@
201 libexecdir = @libexecdir@
202 localstatedir = @localstatedir@
205 oldincludedir = @oldincludedir@
207 program_transform_name = @program_transform_name@
209 sharedstatedir = @sharedstatedir@
210 sysconfdir = @sysconfdir@
211 target_alias = @target_alias@
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
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`
224 # The package name: BINSUFFIX is used to distinguish binaries
225 # for different Evolution releases.
226 PKGNAME = syncevolution$(patsubst %,-%,$(BINSUFFIX))
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)
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
237 $(MAKE) $(AM_MAKEFLAGS) all-recursive
242 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
244 case '$(am__configure_deps)' in \
246 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
247 cd $(srcdir) && $(AUTOMAKE) --gnu \
252 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
253 cd $(top_srcdir) && \
254 $(AUTOMAKE) --gnu Makefile
256 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
259 echo ' $(SHELL) ./config.status'; \
260 $(SHELL) ./config.status;; \
262 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
263 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
266 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
267 $(SHELL) ./config.status --recheck
269 $(top_srcdir)/configure: $(am__configure_deps)
270 cd $(srcdir) && $(AUTOCONF)
271 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
272 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
275 @if test ! -f $@; then \
280 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
282 cd $(top_builddir) && $(SHELL) ./config.status config.h
283 $(srcdir)/config.h.in: $(am__configure_deps)
284 cd $(top_srcdir) && $(AUTOHEADER)
289 -rm -f config.h stamp-h1
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):
309 for f in x $$MAKEFLAGS; do \
312 *k*) failcom='fail=yes';; \
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 \
321 local_target="$$target-am"; \
323 local_target="$$target"; \
325 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
328 if test "$$dot_seen" = "no"; then \
329 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
332 mostlyclean-recursive clean-recursive distclean-recursive \
333 maintainer-clean-recursive:
335 for f in x $$MAKEFLAGS; do \
338 *k*) failcom='fail=yes';; \
343 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
344 *) list='$(SUBDIRS)' ;; \
346 rev=''; for subdir in $$list; do \
347 if test "$$subdir" = "."; then :; else \
348 rev="$$subdir $$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"; \
358 local_target="$$target"; \
360 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
362 done && test -z "$$fail"
364 list='$(SUBDIRS)'; for subdir in $$list; do \
365 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
368 list='$(SUBDIRS)'; for subdir in $$list; do \
369 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
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; \
377 $(AWK) ' { files[$$0] = 1; } \
378 END { for (i in files) print i; }'`; \
382 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
383 $(TAGS_FILES) $(LISP)
386 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
387 include_option=--etags-include; \
390 include_option=--include; \
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"; \
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; \
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) \
411 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
412 $(TAGS_FILES) $(LISP)
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; \
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) \
426 here=`$(am__cd) $(top_builddir) && pwd` \
427 && cd $(top_srcdir) \
428 && gtags -i $(GTAGS_ARGS) $$here
431 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
433 distdir: $(DISTFILES)
434 $(am__remove_distdir)
436 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
437 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
438 list='$(DISTFILES)'; for file in $$list; do \
440 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
441 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
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 \
447 $(mkdir_p) "$(distdir)$$dir"; \
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; \
455 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
457 test -f $(distdir)/$$file \
458 || cp -p $$d/$$file $(distdir)/$$file \
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" \
467 distdir=`$(am__cd) $(distdir) && pwd`; \
468 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
470 $(MAKE) $(AM_MAKEFLAGS) \
471 top_distdir="$$top_distdir" \
472 distdir="$$distdir/$$subdir" \
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)
483 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
484 $(am__remove_distdir)
487 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
488 $(am__remove_distdir)
491 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
492 $(am__remove_distdir)
495 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
496 $(am__remove_distdir)
499 -rm -f $(distdir).zip
500 zip -rq $(distdir).zip $(distdir)
501 $(am__remove_distdir)
503 dist dist-all: distdir
504 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
505 $(am__remove_distdir)
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
511 case '$(DIST_ARCHIVES)' in \
513 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
515 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
517 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
519 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
521 unzip $(distdir).zip ;;\
523 chmod -R a-w $(distdir); chmod a+w $(distdir)
524 mkdir $(distdir)/_build
525 mkdir $(distdir)/_inst
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" \
540 && chmod -R a-w "$$dc_install_base" \
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;}'
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)"; \
563 $(distuninstallcheck_listfiles) ; \
565 distcleancheck: distclean
566 @if test '$(srcdir)' = . ; then \
567 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
570 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
571 || { echo "ERROR: files left in build directory after distclean:" ; \
572 $(distcleancheck_listfiles) ; \
575 check: check-recursive
576 all-am: Makefile config.h
577 installdirs: installdirs-recursive
579 install: install-recursive
580 install-exec: install-exec-recursive
581 install-data: install-data-recursive
582 uninstall: uninstall-recursive
585 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
587 installcheck: installcheck-recursive
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
598 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
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
606 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
608 distclean: distclean-recursive
609 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
611 distclean-am: clean-am distclean-generic distclean-hdr \
612 distclean-libtool distclean-tags
628 install-info: install-info-recursive
634 maintainer-clean: maintainer-clean-recursive
635 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
636 -rm -rf $(top_srcdir)/autom4te.cache
638 maintainer-clean-am: distclean-am maintainer-clean-generic
640 mostlyclean: mostlyclean-recursive
642 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
652 uninstall-am: uninstall-info-am
654 uninstall-info: uninstall-info-recursive
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
672 # binary distribution
674 @ [ "$(BINSUFFIX)" ] || (echo "please invoke with e.g. 'make distbin BINSUFFIX=debian-3.1'"; exit 1 )
676 $(MAKE) prefix=`pwd`/$(distdir) install
677 cp $(srcdir)/README $(srcdir)/NEWS $(srcdir)/COPYING $(distdir)
678 tar zcf $(distdir)-$(BINSUFFIX).tar.gz $(distdir)
681 iphone : SyncEvolution.plist
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)/' \
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) .
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 \
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/' \
720 --docdir=":$$docdir" $(MAKE) install
722 doc-pak : README NEWS COPYING
726 description-pak : description
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
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
744 $(srcdir)/configure.in: configure-pre.in configure-post.in $(CONFIG_SUBS)
746 cat $(srcdir)/configure-pre.in >>$@
747 for sub in $(srcdir)/src/backends/*/configure-sub.in; do \
748 echo "# vvvvvvvvvvvvvv $$sub vvvvvvvvvvvvvv" >>$@; \
750 echo "AC_CONFIG_FILES(`echo $$sub | sed -e 's;^$(srcdir)/;;' -e s/configure-sub.in/Makefile/`)" >>$@; \
751 echo "# ^^^^^^^^^^^^^^ $$sub ^^^^^^^^^^^^^^" >>$@; \
754 cat $(srcdir)/configure-post.in >>$@
756 $(srcdir)/Makefile.am: Makefile-gen.am
757 sed -e 's;[@]CONFIG_SUBS[@];$(CONFIG_SUBS);' \
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.