X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fxine%2FMakefile;h=82494332bb2f3b99fae9371c91eecdf0913117a2;hb=f5166fd9533abe00f46dc8742cc23ecae9fb19fb;hp=67b441c8020e0379a12a1f959e955c8f709101fc;hpb=a4799884f16e60db669cdf7ce6e15f160e3c7613;p=melted diff --git a/src/modules/xine/Makefile b/src/modules/xine/Makefile index 67b441c..8249433 100644 --- a/src/modules/xine/Makefile +++ b/src/modules/xine/Makefile @@ -1,6 +1,6 @@ include ../../../config.mak -TARGET = ../libmltxine.so +TARGET = ../libmltxine$(LIBSUF) OBJS = factory.o \ deinterlace.o \ @@ -9,24 +9,26 @@ OBJS = factory.o \ CFLAGS += -I../../ -DARCH_X86 +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)$(prefix)/share/mlt/modules" ifneq ($(wildcard .depend),) include .depend