Fixes threaded pixbuf usage and removes flash when swicthing between sdl preview...
[melted] / src / modules / vorbis / Makefile
index 6e28934..74a84d8 100644 (file)
@@ -1,12 +1,15 @@
+include ../../../config.mak
 
 TARGET = ../libmltvorbis.so
 
 OBJS = factory.o \
           producer_vorbis.o
 
-CFLAGS = -I../../ -Wall -g -D_FILE_OFFSET_BITS=64
+CFLAGS += -I../..
 
-LDFLAGS = -lvorbis -lvorbisfile
+LDFLAGS += -lvorbisfile -lvorbis
+
+LDFLAGS+=-L../../framework -lmlt
 
 SRCS := $(OBJS:.o=.c)
 
@@ -24,6 +27,9 @@ dist-clean:   clean
 clean: 
                rm -f $(OBJS) $(TARGET) 
 
+install: all
+       install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
+
 ifneq ($(wildcard .depend),)
 include .depend
 endif