aboutsummaryrefslogtreecommitdiff
path: root/common/pdexternal.am
diff options
context:
space:
mode:
authorBryan Jurish <mukau@users.sourceforge.net>2009-02-14 20:33:11 +0000
committerBryan Jurish <mukau@users.sourceforge.net>2009-02-14 20:33:11 +0000
commit4f69b08833151fab744e64a16ae8016a123fa929 (patch)
tree4e09f076dd8d1ea13ac8d791e2dfffb8fec88e7f /common/pdexternal.am
parentbef9c971689eacf66aac7a5856ef3d0758710ca8 (diff)
+ 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
Diffstat (limited to 'common/pdexternal.am')
-rw-r--r--common/pdexternal.am96
1 files changed, 96 insertions, 0 deletions
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 ;