avformat/Makefile: suppress error on uninstall target
[melted] / src / modules / gtk2 / Makefile
index 9019333..1a632d7 100644 (file)
@@ -18,8 +18,10 @@ LDFLAGS += `pkg-config gdk-pixbuf-2.0 --libs`
 endif
 
 ifdef MMX_FLAGS
+ifndef ARCH_X86_64
 ASM_OBJS = have_mmx.o scale_line_22_yuv_mmx.o
 endif
+endif
 
 ifdef USE_PANGO
 OBJS += producer_pango.o
@@ -46,14 +48,14 @@ scale_line_22_yuv_mmx.o: scale_line_22_yuv_mmx.S
 depend:        $(SRCS)
                $(CC) -MM $(CFLAGS) $^ 1>.depend
 
-dist-clean:    clean
+distclean:     clean
                rm -f .depend
 
 clean: 
                rm -f $(OBJS) $(ASM_OBJS) $(TARGET)
 
 install: all
-       install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
+       install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt"
 
 ifneq ($(wildcard .depend),)
 include .depend