]> git.sesse.net Git - mlt/blob - src/modules/core/Makefile
Data feed and show filters
[mlt] / src / modules / core / Makefile
1 include ../../../config.mak
2
3 TARGET = ../libmltcore.so
4
5 OBJS = factory.o \
6            producer_colour.o \
7            producer_noise.o \
8            producer_ppm.o \
9            filter_brightness.o \
10            filter_channelcopy.o \
11            filter_data_feed.o \
12            filter_data_show.o \
13            filter_gamma.o \
14            filter_greyscale.o \
15            filter_luma.o \
16            filter_mirror.o \
17            filter_obscure.o \
18            filter_region.o \
19            filter_rescale.o \
20            filter_resize.o \
21            filter_watermark.o \
22            transition_composite.o \
23            transition_luma.o \
24            transition_mix.o \
25            transition_region.o \
26            consumer_null.o
27
28 ASM_OBJS = composite_line_yuv_mmx.o
29
30 CFLAGS += -I../..
31
32 LDFLAGS+=-L../../framework -lmlt
33
34 SRCS := $(OBJS:.o=.c)
35
36 all:    $(TARGET)
37
38 $(TARGET): $(OBJS) $(ASM_OBJS)
39                 $(CC) -shared -o $@ $(OBJS) $(ASM_OBJS) $(LDFLAGS)
40
41 composite_line_yuv_mmx.o: composite_line_yuv_mmx.S
42         $(CC) -o $@ -c composite_line_yuv_mmx.S
43
44 depend: $(SRCS)
45                 $(CC) -MM $(CFLAGS) $^ 1>.depend
46
47 dist-clean:     clean
48                 rm -f .depend
49
50 clean:  
51                 rm -f $(OBJS) $(ASM_OBJS) $(TARGET) 
52
53 install: all
54         install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
55         install -m 644 ../data_fx.properties "$(prefix)/share/mlt/modules"
56
57 ifneq ($(wildcard .depend),)
58 include .depend
59 endif