LGPL deinterlace and resampler
[melted] / src / modules / avformat / Makefile
1 include ../../../config.mak
2
3 TARGET = ../libmltavformat.so
4
5 OBJS = factory.o \
6 producer_avformat.o \
7 consumer_avformat.o \
8 filter_avdeinterlace.o \
9 filter_avresample.o
10
11 CFLAGS += -I../..
12
13 LDFLAGS += -lavformat -lavcodec
14
15 SRCS := $(OBJS:.o=.c)
16
17 all: $(TARGET)
18
19 $(TARGET): $(OBJS)
20 $(CC) -shared -o $@ $(OBJS) $(LDFLAGS)
21
22 depend: $(SRCS)
23 $(CC) -MM $(CFLAGS) $^ 1>.depend
24
25 dist-clean: clean
26 rm -f .depend
27
28 clean:
29 rm -f $(OBJS) $(TARGET)
30
31 install: all
32 install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
33
34 ifneq ($(wildcard .depend),)
35 include .depend
36 endif