]> git.sesse.net Git - mlt/blobdiff - src/modules/core/Makefile
Noise and mirrors
[mlt] / src / modules / core / Makefile
index fe4a0bbb965103799eea42bb9dbb3420a0e0e830..f37b98132ea9d0e922e0190f8c9cb6c2edd62968 100644 (file)
@@ -2,20 +2,38 @@
 TARGET = ../libmltcore.so
 
 OBJS = factory.o \
+          producer_colour.o \
+          producer_noise.o \
           producer_ppm.o \
-          filter_deinterlace.o \
+          filter_brightness.o \
+          filter_channelcopy.o \
+          filter_gamma.o \
           filter_greyscale.o \
+          filter_luma.o \
+          filter_mirror.o \
+          filter_obscure.o \
+          filter_region.o \
           filter_resize.o \
-          transition_composite.o
+          filter_volume.o \
+          filter_watermark.o \
+          transition_composite.o \
+          transition_luma.o \
+          transition_mix.o \
+          transition_region.o 
 
-CFLAGS = -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread
+ASM_OBJS = composite_line_yuv_mmx.o
+
+CFLAGS = -O3 -DUSE_MMX -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread
 
 SRCS := $(OBJS:.o=.c)
 
 all:   $(TARGET)
 
-$(TARGET): $(OBJS)
-               $(CC) -shared -o $@ $(OBJS) $(LDFLAGS)
+$(TARGET): $(OBJS) $(ASM_OBJS)
+               $(CC) -shared -o $@ $(OBJS) $(ASM_OBJS) $(LDFLAGS)
+
+composite_line_yuv_mmx.o: composite_line_yuv_mmx.S
+       $(CC) -o $@ -c composite_line_yuv_mmx.S
 
 depend:        $(SRCS)
                $(CC) -MM $(CFLAGS) $^ 1>.depend
@@ -24,7 +42,7 @@ dist-clean:   clean
                rm -f .depend
 
 clean: 
-               rm -f $(OBJS) $(TARGET) 
+               rm -f $(OBJS) $(ASM_OBJS) $(TARGET) 
 
 ifneq ($(wildcard .depend),)
 include .depend