moved filter_volume into a normalize module, added new sox module with filter_sox
[melted] / src / modules / sox / Makefile
diff --git a/src/modules/sox/Makefile b/src/modules/sox/Makefile
new file mode 100644 (file)
index 0000000..58f97f6
--- /dev/null
@@ -0,0 +1,34 @@
+include ../../../config.mak
+
+TARGET = ../libmltsox.so
+
+OBJS = factory.o \
+          filter_sox.o 
+
+CFLAGS = -O4 -pipe -ffast-math -fomit-frame-pointer -I../../ -Wall -g \
+       `libst-config --cflags`
+
+LDFLAGS = `libst-config --libs` -lst
+
+SRCS := $(OBJS:.o=.c)
+
+all:   $(TARGET)
+
+$(TARGET): $(OBJS)
+               $(CC) -shared -o $@ $(OBJS) $(LDFLAGS)
+
+depend:        $(SRCS)
+               $(CC) -MM $(CFLAGS) $^ 1>.depend
+
+dist-clean:    clean
+               rm -f .depend
+
+clean: 
+               rm -f $(OBJS) $(TARGET)
+
+install: all
+       install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
+
+ifneq ($(wildcard .depend),)
+include .depend
+endif