29e4df0045cd7dab4ebd5336667a2130baa9537e
1 include ..
/..
/config.mak
3 ifneq ($(targetos
), Darwin
)
4 NAME
= libvalerie
$(LIBSUF
)
5 TARGET
= $(NAME
).
$(version
)
6 SONAME
= $(NAME
).
$(soversion
)
7 SHFLAGS
+= -Wl
,-soname
,$(SONAME
)
9 NAME
= libvalerie
$(LIBSUF
)
10 TARGET
= libvalerie.
$(version
)$(LIBSUF
)
11 SONAME
= libmlt.
$(soversion
)$(LIBSUF
)
12 SHFLAGS
+= -install_name
$(libdir)/$(SONAME
) -current_version
$(version
) -compatibility_version
$(soversion
)
37 CFLAGS
+= -I..
$(RDYNAMIC
)
38 LDFLAGS
+= -L..
/framework
-lmlt
-lpthread
43 $(CC
) $(SHFLAGS
) -o
$@
$(OBJS
) $(LDFLAGS
)
44 ln
-sf
$(TARGET
) $(NAME
)
45 ln
-sf
$(TARGET
) $(SONAME
)
48 $(CC
) -MM
$(CFLAGS
) $^
1>.depend
54 rm -f
$(OBJS
) $(TARGET
) $(NAME
)
57 install -m
755 $(TARGET
) $(DESTDIR
)$(libdir)
58 ln
-sf
$(TARGET
) $(DESTDIR
)$(libdir)/$(SONAME
)
59 ln
-sf
$(TARGET
) $(DESTDIR
)$(libdir)/$(NAME
)
60 mkdir
-p
"$(DESTDIR)$(prefix)/include/mlt/valerie"
61 install -m
644 $(INCS
) "$(DESTDIR)$(prefix)/include/mlt/valerie"
64 rm -f
"$(DESTDIR)$(libdir)/$(TARGET)"
65 rm -f
"$(DESTDIR)$(libdir)/$(SONAME)"
66 rm -f
"$(DESTDIR)$(libdir)/$(NAME)"
67 rm -rf
"$(DESTDIR)$(prefix)/include/mlt/valerie"
69 ifneq ($(wildcard .depend
),)