X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fcore%2FMakefile;h=fd7d0dff91d3e13d6a3dfafe517083d902bf0521;hb=72b3bc4629d011be72a82a7c5351d49271af200b;hp=4c458d17548beb78c6d35e9dead06a97b7f4083f;hpb=8691b6464c35a77ae001b9843891a90dd9fd3d50;p=melted diff --git a/src/modules/core/Makefile b/src/modules/core/Makefile index 4c458d1..fd7d0df 100644 --- a/src/modules/core/Makefile +++ b/src/modules/core/Makefile @@ -3,23 +3,34 @@ TARGET = ../libmltcore.so OBJS = factory.o \ producer_ppm.o \ - filter_deinterlace.o \ + filter_brightness.o \ filter_greyscale.o \ filter_gamma.o \ + filter_luma.o \ + filter_obscure.o \ + filter_region.o \ filter_resize.o \ + filter_volume.o \ + filter_watermark.o \ + producer_colour.o \ transition_composite.o \ transition_luma.o \ transition_mix.o \ - filter_volume.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 @@ -28,7 +39,7 @@ dist-clean: clean rm -f .depend clean: - rm -f $(OBJS) $(TARGET) + rm -f $(OBJS) $(ASM_OBJS) $(TARGET) ifneq ($(wildcard .depend),) include .depend