X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fvalerie%2FMakefile;h=8d96f0c8299059b721f0c88c9b23cacd8d4646d2;hb=2a2669b620e293e8963205c86606618789951eed;hp=6afae18766a263acfcbc238f8bdf11571cb44a69;hpb=9390e8b584f3f717f0a326893c0e37cf187a0a51;p=melted diff --git a/src/valerie/Makefile b/src/valerie/Makefile index 6afae18..8d96f0c 100644 --- a/src/valerie/Makefile +++ b/src/valerie/Makefile @@ -1,3 +1,4 @@ +include ../../config.mak TARGET = libvalerie.so @@ -11,11 +12,20 @@ OBJS = valerie.o \ valerie_remote.o \ valerie_socket.o -SRCS := $(OBJS:.o=.c) +INCS = valerie.h \ + valerie_notifier.h \ + valerie_parser.h \ + valerie_remote.h \ + valerie_response.h \ + valerie_socket.h \ + valerie_status.h \ + valerie_tokeniser.h \ + valerie_util.h -CFLAGS=-Wall -g -D_FILE_OFFSET_BITS=64 -pthread +SRCS := $(OBJS:.o=.c) -LDFLAGS=-ldv -lpthread +CFLAGS += -I.. -rdynamic +LDFLAGS += -L ../framework -lmlt -lpthread all: $(TARGET) @@ -31,6 +41,11 @@ dist-clean: clean clean: rm -f $(OBJS) $(TARGET) +install: all + install -m 755 $(TARGET) $(prefix)/lib/libvalerie.so + mkdir -p "$(prefix)/include/mlt/valerie" + install -m 644 $(INCS) "$(prefix)/include/mlt/valerie" + ifneq ($(wildcard .depend),) include .depend endif