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