]> git.sesse.net Git - mlt/blob - src/modules/core/Makefile
added mono audio filter
[mlt] / src / modules / core / Makefile
1 include ../../../config.mak
2
3 TARGET = ../libmltcore$(LIBSUF)
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_mono.o \
18            filter_obscure.o \
19            filter_region.o \
20            filter_rescale.o \
21            filter_resize.o \
22            filter_transition.o \
23            filter_watermark.o \
24            transition_composite.o \
25            transition_luma.o \
26            transition_mix.o \
27            transition_region.o \
28            consumer_null.o
29
30 ASM_OBJS = 
31
32 CFLAGS += -I../..
33
34 LDFLAGS+=-L../../framework -lmlt
35
36 SRCS := $(OBJS:.o=.c)
37
38 all:    $(TARGET)
39
40 $(TARGET): $(OBJS) $(ASM_OBJS)
41                 $(CC) $(SHFLAGS) -o $@ $(OBJS) $(ASM_OBJS) $(LDFLAGS)
42
43 composite_line_yuv_mmx.o: composite_line_yuv_mmx.S
44         $(CC) -o $@ -c composite_line_yuv_mmx.S
45
46 depend: $(SRCS)
47                 $(CC) -MM $(CFLAGS) $^ 1>.depend
48
49 distclean:      clean
50                 rm -f .depend
51
52 clean:  
53                 rm -f $(OBJS) $(ASM_OBJS) $(TARGET) 
54
55 install: all
56         install -m 755 $(TARGET) "$(DESTDIR)$(prefix)/share/mlt/modules"
57         install -m 644 ../data_fx.properties "$(DESTDIR)$(prefix)/share/mlt/modules"
58
59 ifneq ($(wildcard .depend),)
60 include .depend
61 endif