]> git.sesse.net Git - mlt/blobdiff - src/modules/sox/Makefile
sox/configure, Makefile: try to make sox build smarter about library dependencies...
[mlt] / src / modules / sox / Makefile
index 9e6974167344b9c968482203e7a6364e7c046303..a02e0ec5f59be75194f65b6e730b0adfd224210c 100644 (file)
@@ -1,15 +1,14 @@
 include ../../../config.mak
+include config.mak
 
 TARGET = ../libmltsox$(LIBSUF)
 
 OBJS = factory.o \
           filter_sox.o 
 
-CFLAGS += -I../../ -I/usr/include/sox
+CFLAGS += -I../../
 
-LDFLAGS += -lst -lpopt -lvorbis -logg -lvorbisfile -lvorbisenc
-
-LDFLAGS+=-L../../framework -lmlt -lmp3lame
+LDFLAGS += -L../../framework -lmlt
 
 SRCS := $(OBJS:.o=.c)
 
@@ -21,14 +20,14 @@ $(TARGET): $(OBJS)
 depend:        $(SRCS)
                $(CC) -MM $(CFLAGS) $^ 1>.depend
 
-dist-clean:    clean
+distclean:     clean
                rm -f .depend
 
 clean: 
                rm -f $(OBJS) $(TARGET)
 
 install: all
-       install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
+       install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt"
 
 ifneq ($(wildcard .depend),)
 include .depend