X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fvorbis%2FMakefile;h=74a84d86f85c30e95607c6fb345f0d2d46ed42b2;hb=dcec48366f9349da4bab349a2945bdd8cca18b81;hp=ac457c018ff0ba9155a01a04659a360741522a5c;hpb=e119b618924284bb2bcc7c2199ab06066ed76c8e;p=melted diff --git a/src/modules/vorbis/Makefile b/src/modules/vorbis/Makefile index ac457c0..74a84d8 100644 --- a/src/modules/vorbis/Makefile +++ b/src/modules/vorbis/Makefile @@ -1,12 +1,15 @@ +include ../../../config.mak TARGET = ../libmltvorbis.so OBJS = factory.o \ producer_vorbis.o -CFLAGS = -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 +CFLAGS += -I../.. -LDFLAGS = -lvorbisfile +LDFLAGS += -lvorbisfile -lvorbis + +LDFLAGS+=-L../../framework -lmlt SRCS := $(OBJS:.o=.c) @@ -24,6 +27,9 @@ dist-clean: clean clean: rm -f $(OBJS) $(TARGET) +install: all + install -m 755 $(TARGET) "$(prefix)/share/mlt/modules" + ifneq ($(wildcard .depend),) include .depend endif