producer_avformat.c: add backwards compatibility macro for PIX_FMT_YUYV422
[melted] / src / modules / xine / Makefile
index 08978c8..fdbe0c6 100644 (file)
@@ -4,9 +4,12 @@ TARGET = ../libmltxine$(LIBSUF)
 
 OBJS = factory.o \
           deinterlace.o \
-          cpu_accel.o \
           filter_deinterlace.o
 
+ifdef MMX_FLAGS
+OBJS += cpu_accel.o
+endif
+
 CFLAGS += -I../../ -DARCH_X86
 
 LDFLAGS+=-L../../framework -lmlt
@@ -21,14 +24,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) "$(DESTDIR)$(prefix)/share/mlt/modules"
+       install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt"
 
 ifneq ($(wildcard .depend),)
 include .depend