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