]> git.sesse.net Git - mlt/blob - src/modules/core/Makefile
ac79e0a89ddd5e163f1edbf902e27fba89079690
[mlt] / src / modules / core / Makefile
1
2 TARGET = ../libmltcore.so
3
4 OBJS = factory.o \
5            producer_ppm.o \
6            filter_brightness.o \
7            filter_channelcopy.o \
8            filter_greyscale.o \
9            filter_gamma.o \
10            filter_luma.o \
11            filter_obscure.o \
12            filter_region.o \
13            filter_resize.o \
14            filter_volume.o \
15            filter_watermark.o \
16            producer_colour.o \
17            transition_composite.o \
18            transition_luma.o \
19            transition_mix.o \
20            transition_region.o 
21
22 ASM_OBJS = composite_line_yuv_mmx.o
23
24 CFLAGS = -O3 -DUSE_MMX -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread
25
26 SRCS := $(OBJS:.o=.c)
27
28 all:    $(TARGET)
29
30 $(TARGET): $(OBJS) $(ASM_OBJS)
31                 $(CC) -shared -o $@ $(OBJS) $(ASM_OBJS) $(LDFLAGS)
32
33 composite_line_yuv_mmx.o: composite_line_yuv_mmx.S
34         $(CC) -o $@ -c composite_line_yuv_mmx.S
35
36 depend: $(SRCS)
37                 $(CC) -MM $(CFLAGS) $^ 1>.depend
38
39 dist-clean:     clean
40                 rm -f .depend
41
42 clean:  
43                 rm -f $(OBJS) $(ASM_OBJS) $(TARGET) 
44
45 ifneq ($(wildcard .depend),)
46 include .depend
47 endif