]> git.sesse.net Git - mlt/blobdiff - src/modules/core/Makefile
Configure and build tuning
[mlt] / src / modules / core / Makefile
index fd7d0dff91d3e13d6a3dfafe517083d902bf0521..5ea5606ac763428dad76dfd96cf71170aefe96fa 100644 (file)
@@ -1,18 +1,22 @@
+include ../../../config.mak
 
 TARGET = ../libmltcore.so
 
 OBJS = factory.o \
+          producer_colour.o \
+          producer_noise.o \
           producer_ppm.o \
           filter_brightness.o \
-          filter_greyscale.o \
+          filter_channelcopy.o \
           filter_gamma.o \
+          filter_greyscale.o \
           filter_luma.o \
+          filter_mirror.o \
           filter_obscure.o \
           filter_region.o \
           filter_resize.o \
           filter_volume.o \
           filter_watermark.o \
-          producer_colour.o \
           transition_composite.o \
           transition_luma.o \
           transition_mix.o \
@@ -20,7 +24,7 @@ OBJS = factory.o \
 
 ASM_OBJS = composite_line_yuv_mmx.o
 
-CFLAGS = -O3 -DUSE_MMX -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread
+CFLAGS += -I../..
 
 SRCS := $(OBJS:.o=.c)
 
@@ -41,6 +45,9 @@ dist-clean:   clean
 clean: 
                rm -f $(OBJS) $(ASM_OBJS) $(TARGET) 
 
+install: all
+       install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
+
 ifneq ($(wildcard .depend),)
 include .depend
 endif