aboutsummaryrefslogtreecommitdiff
path: root/common/pdexternal.am
diff options
context:
space:
mode:
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 ;