X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fdv%2FMakefile;h=1edab494cd05595961998f9e605d63c420c65e89;hb=4580365ba2f57f530aa4bdeb57788822fab09e2f;hp=f3aac3ce4402d5c296cfbebb0709204a2fe884e6;hpb=7c518e80321a87a22d2e48835442c9f5b70dcd17;p=melted diff --git a/src/modules/dv/Makefile b/src/modules/dv/Makefile index f3aac3c..1edab49 100644 --- a/src/modules/dv/Makefile +++ b/src/modules/dv/Makefile @@ -1,3 +1,4 @@ +include ../../../config.mak TARGET = ../libmltdv.so @@ -5,9 +6,11 @@ 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) @@ -25,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