X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fcore%2FMakefile;h=fd7d0dff91d3e13d6a3dfafe517083d902bf0521;hb=b49b8059af440b18c427842272f57808fc465c4f;hp=5b8ac04af52b6e94c92aad0a8a64bab45711bcd2;hpb=15934f863eff9ee542f8b65fb7335ad944508f2f;p=melted diff --git a/src/modules/core/Makefile b/src/modules/core/Makefile index 5b8ac04..fd7d0df 100644 --- a/src/modules/core/Makefile +++ b/src/modules/core/Makefile @@ -1,20 +1,36 @@ -TARGET=libmltcore.so +TARGET = ../libmltcore.so OBJS = factory.o \ producer_ppm.o \ - filter_deinterlace.o \ + filter_brightness.o \ filter_greyscale.o \ - transition_composite.o - -CFLAGS=-I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread + 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 \ + transition_region.o + +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 @@ -23,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