X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fwestley%2FMakefile;h=5d9234bf313aabeee53ea765e374293d8e2d47cb;hb=789602d13b803a0247634d15769c372b510307f8;hp=576a6ea84bbdd2375f43d9af5eb192a7cf70122a;hpb=520454d526bdcd58f1ac6ab7532dc2529b822808;p=melted diff --git a/src/modules/westley/Makefile b/src/modules/westley/Makefile index 576a6ea..5d9234b 100644 --- a/src/modules/westley/Makefile +++ b/src/modules/westley/Makefile @@ -1,3 +1,4 @@ +include ../../../config.mak TARGET = ../libmltwestley.so @@ -5,9 +6,11 @@ OBJS = factory.o \ consumer_westley.o \ producer_westley.o -CFLAGS = -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread `xml2-config --cflags` +CFLAGS += -I../../ `xml2-config --cflags` -LDFLAGS = `xml2-config --libs` +LDFLAGS += `xml2-config --libs` + +LDFLAGS+=-L../../framework -lmlt SRCS := $(OBJS:.o=.c) @@ -25,6 +28,10 @@ dist-clean: clean clean: rm -f $(OBJS) $(TARGET) +install: all + install -m 755 $(TARGET) "$(prefix)/share/mlt/modules" + install -m 644 westley.dtd "$(prefix)/share/mlt/modules" + ifneq ($(wildcard .depend),) include .depend endif