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