include ../../../config.mak
-TARGET = ../libmltcore.so
+TARGET = ../libmltcore$(LIBSUF)
OBJS = factory.o \
producer_colour.o \
filter_greyscale.o \
filter_luma.o \
filter_mirror.o \
+ filter_mono.o \
filter_obscure.o \
filter_region.o \
filter_rescale.o \
filter_resize.o \
+ filter_transition.o \
filter_watermark.o \
transition_composite.o \
transition_luma.o \
all: $(TARGET)
$(TARGET): $(OBJS) $(ASM_OBJS)
- $(CC) -shared -o $@ $(OBJS) $(ASM_OBJS) $(LDFLAGS)
+ $(CC) $(SHFLAGS) -o $@ $(OBJS) $(ASM_OBJS) $(LDFLAGS)
composite_line_yuv_mmx.o: composite_line_yuv_mmx.S
$(CC) -o $@ -c composite_line_yuv_mmx.S
depend: $(SRCS)
$(CC) -MM $(CFLAGS) $^ 1>.depend
-dist-clean: clean
+distclean: clean
rm -f .depend
clean:
rm -f $(OBJS) $(ASM_OBJS) $(TARGET)
install: all
- install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
- install -m 644 ../data_fx.properties "$(prefix)/share/mlt/modules"
+ install -m 755 $(TARGET) "$(DESTDIR)$(prefix)/share/mlt/modules"
+ install -m 644 ../data_fx.properties "$(DESTDIR)$(prefix)/share/mlt/modules"
ifneq ($(wildcard .depend),)
include .depend