SHFLAGS += -Wl,-soname,$(SONAME)
endif
+ifeq ($(targetos), Linux)
+SHFLAGS += -Wl,--version-script=mlt.vers
+endif
+
OBJS = mlt_frame.o \
mlt_version.o \
mlt_geometry.o \
mlt_tokeniser.o \
mlt_profile.o \
mlt_log.o \
- mlt_cache.o
+ mlt_cache.o \
+ mlt_animation.o
INCS = mlt_consumer.h \
mlt_version.h \
mlt_tokeniser.h \
mlt_profile.h \
mlt_log.h \
- mlt_cache.h
+ mlt_cache.h \
+ mlt_animation.h
SRCS := $(OBJS:.o=.c)
CFLAGS += $(RDYNAMIC) -DPREFIX_DATA="\"$(mltdatadir)\"" -DPREFIX_LIB="\"$(moduledir)\""
-LDFLAGS += $(LIBDL) -lpthread
+LDFLAGS += $(LIBDL) -lpthread -lm
all: $(TARGET)