cleanup some names since we are changing the interface
[melted] / src / framework / Makefile
index 2a9ac35..5ee621f 100644 (file)
@@ -32,7 +32,8 @@ OBJS = mlt_frame.o \
           mlt_factory.o \
           mlt_repository.o \
           mlt_pool.o \
-          mlt_tokeniser.o
+          mlt_tokeniser.o \
+          mlt_profile.o
 
 INCS = mlt_consumer.h \
           mlt_factory.h \
@@ -55,11 +56,12 @@ INCS = mlt_consumer.h \
           mlt_property.h \
           mlt_service.h  \
           mlt_transition.h \
-          mlt_tokeniser.h
+          mlt_tokeniser.h \
+          mlt_profile.h
 
 SRCS := $(OBJS:.o=.c)
 
-CFLAGS += $(RDYNAMIC) -DPREFIX="\"$(prefix)\""
+CFLAGS += $(RDYNAMIC) -DPREFIX="\"$(prefix)\"" -DLIBDIR="\"$(libdir)\""
 
 LDFLAGS += -lm $(LIBDL) -lpthread
 
@@ -85,6 +87,11 @@ install:
        install -d "$(DESTDIR)$(prefix)/include/mlt/framework"
        install -m 644 $(INCS) "$(DESTDIR)$(prefix)/include/mlt/framework"
 
+uninstall:
+       rm -f "$(DESTDIR)$(libdir)/$(TARGET)"
+       rm -f "$(DESTDIR)$(libdir)/$(NAME)"
+       rm -rf "$(DESTDIR)$(prefix)/include/mlt/framework"
+
 ifneq ($(wildcard .depend),)
 include .depend
 endif