From 4f69b08833151fab744e64a16ae8016a123fa929 Mon Sep 17 00:00:00 2001 From: Bryan Jurish Date: Sat, 14 Feb 2009 20:33:11 +0000 Subject: + added centralized common autotools stuff: m4/ : m4 macros for autoconf (ax_pd_external.m4) pdexternal.am : automake include file autogen.sh : the usual hack svn path=/trunk/externals/moocow/; revision=10767 --- common/pdexternal.am | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 common/pdexternal.am (limited to 'common/pdexternal.am') diff --git a/common/pdexternal.am b/common/pdexternal.am new file mode 100644 index 0000000..af27060 --- /dev/null +++ b/common/pdexternal.am @@ -0,0 +1,96 @@ +## File: pdexternal.am +## Description: common automake stuff for pd externals +## Usage: +## + in source-level Makefile.am just do: +## include $(top_srcdir)/pdexternal.am +## ... or wherever you copied this file to ... +##----------------------------------------------------------------------- + +##----------------------------------------------------------------------- +## Options & Subdirectories + +##-- aclocal options (top level only) +#ACLOCAL_AMFLAGS = -I m4 + +## --- automake options (top level only) +#AUTOMAKE_OPTIONS = foreign dist-bzip2 dist-zip +#AUTOMAKE_OPTIONS = foreign + +##----------------------------------------------------------------------- +## Additional suffixes + +PDEXT = @PDEXT@ +EXEEXT = .@PDEXT@ + +## --- pseudo-deps for '.SUFFIXES' +SUFFIXES = .@PDEXT@ .pod .txt .html + +##----------------------------------------------------------------------- +## Distribution + +##--- extra distribution files +EXTRA_DIST = \ + $(PODS:.pod=.txt) \ + $(pddoc_DATA) \ + $(pdext_DATA) \ + $(pdexterns_DATA) \ + $(pdexec_DATA) \ + $(wildcard COPYING) \ + $(wildcard README.cvs) \ + $(wildcard depcomp) \ + $(wildcard install-sh) \ + $(wildcard ltmain.sh) \ + $(wildcard mising) \ + $(wildcard mkinstalldirs) + + +##----------------------------------------------------------------------- +## Rules: .pod + +.pod.txt: + pod2text $< $@ + +.pod.html: + pod2html $< --outfile=$@ + +#all-local: $(PODS:.pod=.txt) + + +##----------------------------------------------------------------------- +## Cleanup + +##--- clean: built by 'make' +CLEANFILES = *.$(PDEXT) + +##--- distclean: built by 'configure' +DISTCLEANFILES = \ + config.log \ + config.cache \ + config.status + +##-- maintainerclean: built by maintainer / by hand +MAINTAINERCLEANFILES = *~ \ + $(PODS:.pod=.txt) \ + Makefile \ + Makefile.in \ + aclocal.m4 \ + compile \ + configure \ + config.h.in \ + config.guess \ + config.sub \ + depcomp \ + install-sh \ + ltmain.sh \ + missing \ + mkinstalldirs \ + stamp-h.in \ + texinfo.tex \ + ylwrap + +maintainer-clean-local: + rm -rf autom4te.cache + +.PHONY: cvsclean cvsclean-hook + +cvsclean: maintainer-clean ; -- cgit v1.2.1