X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fsox%2FMakefile;h=472c5915a70f92ea445233be7b13d4a31ffe14f9;hb=d04a620d461e2fee930e50f056e53d23d56d6458;hp=55be3596456cf99606f86057b52303311d4300d8;hpb=de09bd0b00071c23666dc21bb15c619c0c9095d6;p=melted diff --git a/src/modules/sox/Makefile b/src/modules/sox/Makefile index 55be359..472c591 100644 --- a/src/modules/sox/Makefile +++ b/src/modules/sox/Makefile @@ -1,34 +1,34 @@ include ../../../config.mak -TARGET = ../libmltsox.so +CFLAGS += -I../.. -OBJS = factory.o \ - filter_sox.o +LDFLAGS += -L../../framework -lmlt -CFLAGS += -I../../ -I/usr/include/sox +include config.mak -LDFLAGS += -lst -lpopt -lvorbis -logg -lvorbisfile -lvorbisenc +TARGET = ../libmltsox$(LIBSUF) -LDFLAGS+=-L../../framework -lmlt +OBJS = factory.o \ + filter_sox.o 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