X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fdv%2FMakefile;h=1edab494cd05595961998f9e605d63c420c65e89;hb=52c1bb26fcbb895824cd9237c228ea4834ce1433;hp=22d999ee7b0de906be7b76d25ef8cd25a16190ac;hpb=661165812e3410fe2f6f49d7af882b36a0efcf82;p=melted diff --git a/src/modules/dv/Makefile b/src/modules/dv/Makefile index 22d999e..1edab49 100644 --- a/src/modules/dv/Makefile +++ b/src/modules/dv/Makefile @@ -1,12 +1,16 @@ +include ../../../config.mak -TARGET = factory.o \ - libmltdv.so +TARGET = ../libmltdv.so -OBJS = producer_libdv.o +OBJS = factory.o \ + producer_libdv.o \ + consumer_libdv.o -CFLAGS=-I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread +CFLAGS += -I../.. -LDFLAGS=-ldv -lpthread +LDFLAGS += -ldv + +LDFLAGS+=-L../../framework -lmlt SRCS := $(OBJS:.o=.c) @@ -24,6 +28,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