From d03c2072474328412ea11047ee339a3e72616203 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 10 Feb 2010 05:16:14 +0000 Subject: updated all templates with the PDOBJECTS fixes from the 'mapping' build svn path=/trunk/externals/windowing/; revision=13167 --- Makefile | 30 ++++++++++++++---------------- README | 18 ------------------ README.txt | 18 ++++++++++++++++++ 3 files changed, 32 insertions(+), 34 deletions(-) delete mode 100644 README create mode 100644 README.txt diff --git a/Makefile b/Makefile index 97f59ce..eba5b2c 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ PDOBJECTS = # if you want to include any other files in the source and binary tarballs, # list them here. This can be anything from header files, READMEs, example # patches, documentation, etc. -EXTRA_DIST = mconf.h README +EXTRA_DIST = mconf.h README.txt #------------------------------------------------------------------------------# @@ -129,7 +129,7 @@ endif CFLAGS += $(OPT_CFLAGS) -.PHONY = install libdir_install single_install install-doc install-exec clean dist etags +.PHONY = install libdir_install single_install install-doc install-exec install-examples clean dist etags all: $(SOURCES:.c=.$(EXTENSION)) @@ -154,11 +154,11 @@ libdir_install: $(SOURCES:.c=.$(EXTENSION)) install-doc install-examples $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) $(INSTALL_FILE) $(LIBRARY_NAME)-meta.pd \ $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - test -z "$(SOURCES)" || (\ + test -z "$(strip $(SOURCES))" || (\ $(INSTALL_FILE) $(SOURCES:.c=.$(EXTENSION)) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) && \ $(STRIP) $(addprefix $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/,$(SOURCES:.c=.$(EXTENSION)))) - test -z "$(PDOBJECTS)" || \ - $(INSTALL_FILE) $(OBJECTS) \ + test -z "$(strip $(PDOBJECTS))" || \ + $(INSTALL_FILE) $(PDOBJECTS) \ $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) # install library linked as single binary @@ -169,15 +169,13 @@ single_install: $(LIBRARY_NAME) install-doc install-exec install-doc: $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - test -z "$(SOURCES)" || \ + test -z "$(strip $(SOURCES))" || \ $(INSTALL_FILE) $(SOURCES:.c=-help.pd) \ $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - test -z "$(PDOBJECTS)" || \ + test -z "$(strip $(PDOBJECTS))" || \ $(INSTALL_FILE) $(PDOBJECTS:.pd=-help.pd) \ $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - $(INSTALL_FILE) README $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/README.txt -# $(INSTALL_FILE) VERSION $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/VERSION.txt -# $(INSTALL_FILE) CHANGES $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/CHANGES.txt + $(INSTALL_FILE) README.txt $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/README.txt install-examples: test ! -d examples || (\ @@ -204,7 +202,7 @@ libdir: all $(DISTBINDIR) $(INSTALL_FILE) $(LIBRARY_NAME)-meta.pd $(DISTBINDIR) $(INSTALL_FILE) $(SOURCES) $(DISTBINDIR) $(INSTALL_FILE) $(SOURCES:.c=-help.pd) $(DISTBINDIR) - test -z "$(EXTRA_DIST)" || \ + test -z "$(strip $(EXTRA_DIST))" || \ $(INSTALL_FILE) $(EXTRA_DIST) $(DISTBINDIR) # tar --exclude-vcs -czpf $(DISTBINDIR).tar.gz $(DISTBINDIR) @@ -214,15 +212,15 @@ $(DISTDIR): dist: $(DISTDIR) $(INSTALL_FILE) Makefile $(DISTDIR) $(INSTALL_FILE) $(LIBRARY_NAME)-meta.pd $(DISTDIR) - test -z "$(ALLSOURCES)" || \ + test -z "$(strip $(ALLSOURCES))" || \ $(INSTALL_FILE) $(ALLSOURCES) $(DISTDIR) - test -z "$(ALLSOURCES)" || \ + test -z "$(strip $(ALLSOURCES))" || \ $(INSTALL_FILE) $(ALLSOURCES:.c=-help.pd) $(DISTDIR) - test -z "$(PDOBJECTS)" || \ + test -z "$(strip $(PDOBJECTS))" || \ $(INSTALL_FILE) $(PDOBJECTS) $(DISTDIR) - test -z "$(PDOBJECTS)" || \ + test -z "$(strip $(PDOBJECTS))" || \ $(INSTALL_FILE) $(PDOBJECTS:.pd=-help.pd) $(DISTDIR) - test -z "$(EXTRA_DIST)" || \ + test -z "$(strip $(EXTRA_DIST))" || \ $(INSTALL_FILE) $(EXTRA_DIST) $(DISTDIR) tar --exclude-vcs -czpf $(DISTDIR).tar.gz $(DISTDIR) diff --git a/README b/README deleted file mode 100644 index 835705c..0000000 --- a/README +++ /dev/null @@ -1,18 +0,0 @@ -Porvides: - hammimng~, hanning~, blackman~, cosine~, connes~, bartlett~, - welch~, lanczos~, gaussian~, and kaiser~ - -Usage: - Windows inlet signal on each DSP block and sends to outlet - - gaussian~ takes one optional argument (standard deviation) - May be set by float in left inlet - - kaiser~ takes one option argument (alpha) - May be set by float in left inlet - - See windowing.pd - -To build: - Linux: make windowing_linux - Windows: nmake windowing_nt diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..835705c --- /dev/null +++ b/README.txt @@ -0,0 +1,18 @@ +Porvides: + hammimng~, hanning~, blackman~, cosine~, connes~, bartlett~, + welch~, lanczos~, gaussian~, and kaiser~ + +Usage: + Windows inlet signal on each DSP block and sends to outlet + + gaussian~ takes one optional argument (standard deviation) + May be set by float in left inlet + + kaiser~ takes one option argument (alpha) + May be set by float in left inlet + + See windowing.pd + +To build: + Linux: make windowing_linux + Windows: nmake windowing_nt -- cgit v1.2.1