1 DISTCHECK_CONFIGURE_FLAGS = --enable-gui --enable-opensync-plugin --enable-opensync-plugin-4x --enable-desktop
4 ACLOCAL_AMFLAGS = -I m4
6 EXTRA_DIST = COPYING ChangeLog README Doxyfile AUTHORS DEPUTY \
26 SUBDIRS = po . src tools examples man test
27 # conditionally configured nested subdirectories are listed in $(subdirs)
30 pkgconfig_DATA = libbarry-0.pc libbarrydp-0.pc libbarryjdwp-0.pc
32 pkgconfig_DATA += libbarrysync-0.pc
35 pkgconfig_DATA += libbarrybackup-0.pc
38 pkgconfig_DATA += libbarryalx-0.pc
41 VERSIONED_INCLUDE = barry@BARRY_MAJOR@
44 rm -f $(top_builddir)/barry $(top_builddir)/$(VERSIONED_INCLUDE)
45 ln -fs $(top_srcdir)/src $(top_builddir)/barry
46 ln -fs $(top_builddir) $(top_builddir)/$(VERSIONED_INCLUDE)
49 rm -f $(top_builddir)/barry $(top_builddir)/$(VERSIONED_INCLUDE)
51 # these directories will be tested for during make dist to warn if they are
52 # missing - a new nested package should be added both here and in configure.ac
53 CONDITIONAL_SUBDIRS = gui opensync-plugin opensync-plugin-0.4x desktop
55 rm -rf `find $(distdir) -name CVS`
56 @for subdir in $(CONDITIONAL_SUBDIRS); do \
57 if test ! -d $(distdir)/$$subdir; then \
58 if test -z "$$MISSING_DIRS"; then \
59 echo "###############################################################################"; \
60 MISSING_DIRS="--enable-$$subdir"; \
62 MISSING_DIRS="$$MISSING_DIRS --enable-$$subdir"; \
64 echo "ERROR: The $$subdir subdirectory has been omitted!"; \
67 if test -n "$$MISSING_DIRS"; then \
69 echo "rerun configure with $$MISSING_DIRS before running make dist"; \
70 echo "###############################################################################"; \