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 KnownBugs \
27 SUBDIRS = po . src tools examples man test
28 # conditionally configured nested subdirectories are listed in $(subdirs)
31 pkgconfig_DATA = libbarry-19.pc libbarrydp-19.pc libbarryjdwp-19.pc
33 pkgconfig_DATA += libbarrysync-19.pc
36 pkgconfig_DATA += libbarrybackup-19.pc
39 pkgconfig_DATA += libbarryalx-19.pc
42 VERSIONED_INCLUDE = barry@BARRY_MAJOR@
45 rm -f $(top_builddir)/barry $(top_builddir)/$(VERSIONED_INCLUDE)
46 ln -fs $(top_srcdir)/src $(top_builddir)/barry
47 ln -fs $(top_builddir) $(top_builddir)/$(VERSIONED_INCLUDE)
50 rm -f $(top_builddir)/barry $(top_builddir)/$(VERSIONED_INCLUDE)
52 # these directories will be tested for during make dist to warn if they are
53 # missing - a new nested package should be added both here and in configure.ac
54 CONDITIONAL_SUBDIRS = gui opensync-plugin opensync-plugin-0.4x desktop
56 rm -rf `find $(distdir) -name CVS`
57 @for subdir in $(CONDITIONAL_SUBDIRS); do \
58 if test ! -d $(distdir)/$$subdir; then \
59 if test -z "$$MISSING_DIRS"; then \
60 echo "###############################################################################"; \
61 MISSING_DIRS="--enable-$$subdir"; \
63 MISSING_DIRS="$$MISSING_DIRS --enable-$$subdir"; \
65 echo "ERROR: The $$subdir subdirectory has been omitted!"; \
68 if test -n "$$MISSING_DIRS"; then \
70 echo "rerun configure with $$MISSING_DIRS before running make dist"; \
71 echo "###############################################################################"; \