X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fplus%2FMakefile;h=29eac4d037453542924698831281a09d8c0ebefc;hb=f4bdbe56053cc8debfdb74583977d74323a8ad0d;hp=fc90e24552b62fcd3bd670957c2e1653dfc1534e;hpb=ec2805bbb985b387c4346bd86f05596cb1da18ea;p=melted diff --git a/src/modules/plus/Makefile b/src/modules/plus/Makefile index fc90e24..29eac4d 100644 --- a/src/modules/plus/Makefile +++ b/src/modules/plus/Makefile @@ -1,8 +1,9 @@ include ../../../config.mak -TARGET = ../libmltplus.so +TARGET = ../libmltplus$(LIBSUF) OBJS = factory.o \ + filter_affine.o \ filter_charcoal.o \ filter_invert.o \ filter_sepia.o \ @@ -10,24 +11,26 @@ OBJS = factory.o \ CFLAGS += -I../.. +LDFLAGS+=-L../../framework -lmlt + 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 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt" ifneq ($(wildcard .depend),) include .depend