- renamed all vformat_ and VFormat symbols in opensync plugin's
[barry.git] / Makefile.am
blob29d24ddd1cc135171ced4d69932002aed8050e3c
2 EXTRA_DIST = COPYING ChangeLog README \
3         buildgen.sh \
4         data \
5         doc \
6         hotplug \
7         maintainer \
8         rpm \
9         udev \
10         modprobe
12 SUBDIRS = . src tools examples man
13 # conditionally configured nested subdirectories are listed in $(subdirs)
14 SUBDIRS += $(subdirs)
16 pkgconfig_DATA = libbarry-0.pc
18 all-local:
19         rm -f $(top_builddir)/barry
20         ln -s $(top_srcdir)/src $(top_builddir)/barry
22 clean-local:
23         rm -f $(top_builddir)/barry
25 # these directories will be tested for during make dist to warn if they are
26 # missing - a new nested package should be added both here and in configure.ac
27 CONDITIONAL_SUBDIRS = gui opensync-plugin
28 dist-hook:
29         rm -rf `find $(distdir) -name CVS`
30         @for subdir in $(CONDITIONAL_SUBDIRS); do \
31                 if test ! -d $(distdir)/$$subdir; then \
32                         if test -z "$$MISSING_DIRS"; then \
33                                 echo "###############################################################################"; \
34                                 MISSING_DIRS="--enable-$$subdir"; \
35                         else \
36                                 MISSING_DIRS="$$MISSING_DIRS --enable-$$subdir"; \
37                          fi; \
38                         echo "ERROR: The $$subdir subdirectory has been omitted!"; \
39                 else :; fi; \
40         done; \
41         if test -n "$$MISSING_DIRS"; then \
42                 echo ; \
43                 echo "rerun configure with $$MISSING_DIRS before running make dist"; \
44                 echo "###############################################################################"; \
45                 exit 1; \
46         else :; fi;