X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fdv%2FMakefile;h=7d2868d8d531c1a4c23e4a07497a5de7f6601a79;hb=1971a6aa9301e7c841b7dda42eab6fff7d69763c;hp=7d92c1e947073a27cf5159e2f6450d22c8a10515;hpb=eae86b6ff2d11421e4839ffbe79c4c547d15751a;p=melted diff --git a/src/modules/dv/Makefile b/src/modules/dv/Makefile index 7d92c1e..7d2868d 100644 --- a/src/modules/dv/Makefile +++ b/src/modules/dv/Makefile @@ -6,9 +6,9 @@ OBJS = factory.o \ producer_libdv.o \ consumer_libdv.o -CFLAGS += -I../.. +CFLAGS += `pkg-config --cflags libdv` -I../.. -LDFLAGS += -ldv +LDFLAGS += `pkg-config --libs libdv` LDFLAGS+=-L../../framework -lmlt @@ -22,14 +22,14 @@ $(TARGET): $(OBJS) 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