Makefile.am 961 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
include $(top_srcdir)/misc/Makefile.common

AUTOMAKE_OPTIONS = 1.3

SUBDIRS = src examples doc misc m4

EXTRA_DIST = autogen.sh \
	     AUTHORS \
	     ChangeLog \
	     configure \
	     config.guess \
	     config.sub \
	     COPYING \
	     INSTALL \
	     install-sh \
	     libtool \
	     ltmain.sh \
	     missing \
	     mkinstalldirs \
	     README \
	     TODO \
	     $(DEPCOMP)

MOSTLYCLEANFILES += $(PACKAGE)_$(VERSION).tar.gz \
	$(distdir).tar.gz $(PACKAGE).tgz package_descriptions

MAINTAINERCLEANFILES += configure $(ACLOCAL_M4) config.h.in \
	ltmain.sh config.guess config.sub install-sh missing \
	mkinstalldirs $(DEPCOMP)

world:
	@$(MAKE) clean all install 2> warnings.log
	test -s warnings.log || rm warnings.log

prune-cache:
	-rm -f config.cache

release-check:
	@./config.status misc/relchk.sh
	@./autogen.sh noconfig && $(SHELL) misc/relchk.sh

dist-hook:
	cp -r $(srcdir)/msvc $(distdir)/msvc
	rm -rf `find $(distdir)/msvc -name CVS`