]> git.sesse.net Git - mlt/blob - src/modules/core/Makefile
Apply cosmetic cleanup part of ldflags_order patch from Alberto Villa.
[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_consumer.o \
8            producer_noise.o \
9            producer_ppm.o \
10            filter_brightness.o \
11            filter_channelcopy.o \
12            filter_crop.o \
13            filter_data_feed.o \
14            filter_data_show.o \
15            filter_gamma.o \
16            filter_greyscale.o \
17            filter_luma.o \
18            filter_mirror.o \
19            filter_mono.o \
20            filter_obscure.o \
21            filter_region.o \
22            filter_rescale.o \
23            filter_resize.o \
24            filter_transition.o \
25            filter_watermark.o \
26            transition_composite.o \
27            transition_luma.o \
28            transition_mix.o \
29            transition_region.o \
30            consumer_null.o
31
32 ASM_OBJS = 
33
34 CFLAGS += -I../..
35
36 LDFLAGS += -L../../framework -lmlt
37
38 SRCS := $(OBJS:.o=.c)
39
40 all:    $(TARGET)
41
42 $(TARGET): $(OBJS) $(ASM_OBJS)
43                 $(CC) $(SHFLAGS) -o $@ $(OBJS) $(ASM_OBJS) $(LDFLAGS)
44
45 composite_line_yuv_mmx.o: composite_line_yuv_mmx.S
46         $(CC) -o $@ -c composite_line_yuv_mmx.S
47
48 depend: $(SRCS)
49                 $(CC) -MM $(CFLAGS) $^ 1>.depend
50
51 distclean:      clean
52                 rm -f .depend
53
54 clean:  
55                 rm -f $(OBJS) $(ASM_OBJS) $(TARGET) 
56
57 install: all
58         install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt"
59         install -m 644 ../data_fx.properties "$(DESTDIR)$(prefix)/share/mlt"
60
61 ifneq ($(wildcard .depend),)
62 include .depend
63 endif