]> git.sesse.net Git - mlt/blobdiff - src/modules/fezzik/Makefile
+ Final updates for 0.2.1 - distclean corrected, soname usage in linking, version...
[mlt] / src / modules / fezzik / Makefile
index 5576085d3da81e18e5e2a65b31d448cb6ca81c61..362e160691e0da376e37fe604b71f079a75caade 100644 (file)
@@ -1,6 +1,6 @@
 include ../../../config.mak
 
-TARGET = ../libmltfezzik.so
+TARGET = ../libmltfezzik$(LIBSUF)
 
 OBJS = factory.o \
           producer_fezzik.o \
@@ -15,21 +15,21 @@ SRCS := $(OBJS:.o=.c)
 all:   $(TARGET)
 
 $(TARGET): $(OBJS)
-               $(CC) -shared -o $@ $(OBJS) $(LDFLAGS)
+               $(CC) $(SHFLAGS) -o $@ $(OBJS) $(LDFLAGS)
 
 depend:        $(SRCS)
                $(CC) -MM $(CFLAGS) $^ 1>.depend
 
-dist-clean:    clean
+distclean:     clean
                rm -f .depend
 
 clean: 
                rm -f $(OBJS) $(TARGET) 
 
 install: all
-       install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
-       install -m 644 ../fezzik.dict "$(prefix)/share/mlt/modules"
-       install -m 644 ../fezzik.ini "$(prefix)/share/mlt/modules"
+       install -m 755 $(TARGET) "$(DESTDIR)$(prefix)/share/mlt/modules"
+       install -m 644 ../fezzik.dict "$(DESTDIR)$(prefix)/share/mlt/modules"
+       install -m 644 ../fezzik.ini "$(DESTDIR)$(prefix)/share/mlt/modules"
 
 ifneq ($(wildcard .depend),)
 include .depend