]> git.sesse.net Git - mlt/blob - src/modules/xine/Makefile
Version modules and data directories, and melt
[mlt] / src / modules / xine / Makefile
1 CFLAGS += -I../../
2
3 LDFLAGS += -L../../framework -lmlt
4
5 include ../../../config.mak
6
7 TARGET = ../libmltxine$(LIBSUF)
8
9 OBJS = factory.o \
10            deinterlace.o \
11            yadif.o \
12            filter_deinterlace.o
13
14 ifdef MMX_FLAGS
15 CFLAGS += -DARCH_X86
16 OBJS += cpu_accel.o
17 endif
18
19 SRCS := $(OBJS:.o=.c)
20
21 all:    $(TARGET)
22
23 $(TARGET): $(OBJS)
24                 $(CC) $(SHFLAGS) -o $@ $(OBJS) $(LDFLAGS)
25
26 depend: $(SRCS)
27                 $(CC) -MM $(CFLAGS) $^ 1>.depend
28
29 distclean:      clean
30                 rm -f .depend
31
32 clean:  
33                 rm -f $(OBJS) $(TARGET) 
34
35 install: all
36         install -m 755 $(TARGET) "$(DESTDIR)$(moduledir)"
37
38 ifneq ($(wildcard .depend),)
39 include .depend
40 endif