]> git.sesse.net Git - mlt/blobdiff - src/modules/vorbis/Makefile
qimage/configure: fix build on OS X
[mlt] / src / modules / vorbis / Makefile
index bf1607fb1c44d7c9085032656c8e8cdda77c9d0d..51557e5c6cde1c936e2110c10b00cd3b5b9b9a76 100644 (file)
@@ -1,6 +1,6 @@
 include ../../../config.mak
 
-TARGET = ../libmltvorbis.so
+TARGET = ../libmltvorbis$(LIBSUF)
 
 OBJS = factory.o \
           producer_vorbis.o
@@ -9,24 +9,26 @@ CFLAGS += -I../..
 
 LDFLAGS += -lvorbisfile -lvorbis
 
+LDFLAGS+=-L../../framework -lmlt
+
 SRCS := $(OBJS:.o=.c)
 
 all:   $(TARGET)
 
 $(TARGET): $(OBJS)
-               $(CC) -shared -o $@ $(OBJS) $(LDFLAGS)
+               $(CC) $(SHFLAGS) -o $@ $(OBJS) $(LDFLAGS)
 
 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