From 2d7bb0979b2e34403925a8e2903773f9c8ad8b8f Mon Sep 17 00:00:00 2001 From: waker Date: Sun, 23 Oct 2011 17:32:01 +0200 Subject: readded DUMB, AOPSF and SHN plugins to tarball --- plugins/shn/Makefile | 23 ----------------------- plugins/shn/Makefile.am | 10 ++++++++++ 2 files changed, 10 insertions(+), 23 deletions(-) delete mode 100644 plugins/shn/Makefile create mode 100644 plugins/shn/Makefile.am (limited to 'plugins/shn') diff --git a/plugins/shn/Makefile b/plugins/shn/Makefile deleted file mode 100644 index d76c8427..00000000 --- a/plugins/shn/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -OUT=ddb_shn.so - -CC?=gcc - -CFLAGS?=-I../.. -CFLAGS+=-Wall -fPIC -std=c99 -D_GNU_SOURCE -DHAVE_CONFIG_H -I. - -LDFLAGS+=-module -shared -lm - -SOURCES=array.c convert.c misc.c output.c seek.c shn.c shorten.c sulawalaw.c vario.c wave.c - -OBJECTS=$(SOURCES:.c=.o) - -all: $(SOURCES) $(OUT) - -$(OUT): $(OBJECTS) - $(CC) $(LDFLAGS) $(OBJECTS) -o $@ - -.c.o: - $(CC) $(CFLAGS) $< -c -o $@ - -clean: - rm $(OBJECTS) $(OUT) diff --git a/plugins/shn/Makefile.am b/plugins/shn/Makefile.am new file mode 100644 index 00000000..acc597ef --- /dev/null +++ b/plugins/shn/Makefile.am @@ -0,0 +1,10 @@ +if HAVE_SHN +shndir = $(libdir)/$(PACKAGE) +pkglib_LTLIBRARIES = ddb_shn.la +ddb_shn_la_SOURCES = array.c convert.c misc.c output.c seek.c shn.c shn.h shorten.c shorten.h sulawalaw.c vario.c wave.c bitshift.h + +ddb_shn_la_LDFLAGS = -module + +ddb_shn_la_LIBADD = $(LDADD) -lm +AM_CFLAGS = $(CFLAGS) -std=c99 +endif -- cgit v1.2.3