#/usr/bin/make -f

include toc.make

SUBDIRS = src

ifneq (,$(strip $(filter dist testdist clean distclean uninstall install,$(MAKECMDGOALS))))
# only build these SUBDIRS when running certain targets
      SUBDIRS += include doc
endif

INSTALL_BINS = $(PACKAGE_NAME)-config
INSTALL_PKGCONFIG = $(PACKAGE_NAME).pc


DIST_FILES += ChangeLog INSTALL LICENSE.$(PACKAGE_NAME) \
	configure configure.$(PACKAGE_NAME) postconfig.$(PACKAGE_NAME) \
	toc.$(PACKAGE_NAME).make.at toc.$(PACKAGE_NAME).help \
	find_toc.sh


DISTCLEAN_FILES += $(PACKAGE_NAME)-config $(PACKAGE_NAME).pc

tip:
	@echo "To build demo applications:"; \
	echo "cd src/client/sample; make"

all: subdirs tip
