gtk2/Makefile, gtk2/configure, gtk2/pixops.c: disable MMX parts on OS X - does not...
[melted] / src / modules / gtk2 / Makefile
index 87465de..070e3dd 100644 (file)
@@ -18,7 +18,11 @@ LDFLAGS += `pkg-config gdk-pixbuf-2.0 --libs`
 endif
 
 ifdef MMX_FLAGS
+ifneq ($(targetos),Darwin)
 ASM_OBJS = have_mmx.o scale_line_22_yuv_mmx.o
+else
+CFLAGS += -DDARWIN 
+endif
 endif
 
 ifdef USE_PANGO
@@ -46,14 +50,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) "$(DESTDIR)$(prefix)/share/mlt/modules"
+       install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt"
 
 ifneq ($(wildcard .depend),)
 include .depend