1 include ../../config.mak
3 ifneq ($(targetos), Darwin)
4 NAME = libvalerie$(LIBSUF)
5 TARGET = $(NAME).$(version)
6 SHFLAGS += -Wl,-soname,$(TARGET)
8 NAME = libvalerie$(LIBSUF)
9 TARGET = libvalerie.$(version)$(LIBSUF)
10 SHFLAGS += -install_name $(libdir)/$(TARGET)
35 CFLAGS += -I.. $(RDYNAMIC)
36 LDFLAGS += -L../framework -lmlt -lpthread
41 $(CC) $(SHFLAGS) -o $@ $(OBJS) $(LDFLAGS)
42 ln -sf $(TARGET) $(NAME)
45 $(CC) -MM $(CFLAGS) $^ 1>.depend
51 rm -f $(OBJS) $(TARGET) $(NAME)
54 install -m 755 $(TARGET) $(DESTDIR)$(libdir)
55 ln -sf $(TARGET) $(DESTDIR)$(libdir)/$(NAME)
56 mkdir -p "$(DESTDIR)$(prefix)/include/mlt/valerie"
57 install -m 644 $(INCS) "$(DESTDIR)$(prefix)/include/mlt/valerie"
60 rm -f "$(DESTDIR)$(libdir)/$(TARGET)"
61 rm -f "$(DESTDIR)$(libdir)/$(NAME)"
62 rm -rf "$(DESTDIR)$(prefix)/include/mlt/valerie"
64 ifneq ($(wildcard .depend),)