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 \
25 SUBDIRS = po . src tools examples man test
26 # conditionally configured nested subdirectories are listed in $(subdirs)
29 pkgconfig_DATA = libbarry-0.pc libbarrydp-0.pc libbarryjdwp-0.pc
31 pkgconfig_DATA += libbarrysync-0.pc
34 pkgconfig_DATA += libbarrybackup-0.pc
37 pkgconfig_DATA += libbarryalx-0.pc
40 VERSIONED_INCLUDE = barry@BARRY_MAJOR@
43 rm -f $(top_builddir)/barry $(top_builddir)/$(VERSIONED_INCLUDE)
44 ln -s $(top_srcdir)/src $(top_builddir)/barry
45 ln -s $(top_builddir) $(top_builddir)/$(VERSIONED_INCLUDE)
48 rm -f $(top_builddir)/barry $(top_builddir)/$(VERSIONED_INCLUDE)
50 # these directories will be tested for during make dist to warn if they are
51 # missing - a new nested package should be added both here and in configure.ac
52 CONDITIONAL_SUBDIRS = gui opensync-plugin opensync-plugin-0.4x desktop
54 rm -rf `find $(distdir) -name CVS`
55 @for subdir in $(CONDITIONAL_SUBDIRS); do \
56 if test ! -d $(distdir)/$$subdir; then \
57 if test -z "$$MISSING_DIRS"; then \
58 echo "###############################################################################"; \
59 MISSING_DIRS="--enable-$$subdir"; \
61 MISSING_DIRS="$$MISSING_DIRS --enable-$$subdir"; \
63 echo "ERROR: The $$subdir subdirectory has been omitted!"; \
66 if test -n "$$MISSING_DIRS"; then \
68 echo "rerun configure with $$MISSING_DIRS before running make dist"; \
69 echo "###############################################################################"; \