You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.3 KiB
62 lines
1.3 KiB
15 years ago
|
include ../config.mak
|
||
|
INSTALL = install
|
||
|
|
||
|
ifneq ($(targetos), Darwin)
|
||
|
NAME = libmlt++$(LIBSUF)
|
||
|
TARGET = $(NAME).$(version)
|
||
|
LIBFLAGS += -Wl,-soname,$(TARGET)
|
||
|
else
|
||
|
NAME = libmlt++$(LIBSUF)
|
||
|
TARGET = libmlt++.$(version)$(LIBSUF)
|
||
|
LIBFLAGS += -install_name $(libdir)/$(TARGET)
|
||
|
endif
|
||
|
|
||
|
OBJS = MltConsumer.o \
|
||
|
MltDeque.o \
|
||
|
MltEvent.o \
|
||
|
MltFactory.o \
|
||
|
MltField.o \
|
||
|
MltFilter.o \
|
||
|
MltFilteredConsumer.o \
|
||
|
MltFrame.o \
|
||
|
MltGeometry.o \
|
||
|
MltMiracle.o \
|
||
|
MltMultitrack.o \
|
||
|
MltParser.o \
|
||
|
MltPlaylist.o \
|
||
|
MltProducer.o \
|
||
|
MltProperties.o \
|
||
|
MltPushConsumer.o \
|
||
|
MltResponse.o \
|
||
|
MltService.o \
|
||
|
MltTokeniser.o \
|
||
|
MltTractor.o \
|
||
|
MltTransition.o
|
||
|
|
||
|
SRCS = $(OBJS:.o=.cpp)
|
||
|
HEADERS = config.h Mlt.h $(OBJS:.o=.h)
|
||
|
|
||
|
all: $(TARGET)
|
||
|
|
||
|
$(TARGET): $(OBJS)
|
||
|
$(CXX) $(LIBFLAGS) -o $@ $(OBJS) $(LDFLAGS) -L/usr/kde3/lib
|
||
|
ln -sf $(TARGET) $(NAME)
|
||
|
|
||
|
clean:
|
||
|
$(RM) $(OBJS) $(TARGET) $(NAME)
|
||
|
|
||
|
distclean: clean
|
||
|
|
||
|
install:
|
||
|
$(INSTALL) -d "$(DESTDIR)$(libdir)"
|
||
|
$(INSTALL) -m 755 $(TARGET) $(DESTDIR)$(libdir)
|
||
|
ln -sf $(TARGET) $(DESTDIR)$(libdir)/$(NAME)
|
||
|
$(INSTALL) -d "$(DESTDIR)$(prefix)/include/mlt++"
|
||
|
$(INSTALL) -m 644 $(HEADERS) "$(DESTDIR)$(prefix)/include/mlt++"
|
||
|
/sbin/ldconfig || true
|
||
|
|
||
|
uninstall:
|
||
|
rm -f "$(DESTDIR)$(libdir)/$(TARGET)"
|
||
|
rm -f "$(DESTDIR)$(libdir)/$(NAME)"
|
||
|
rm -rf "$(DESTDIR)$(prefix)/include/mlt++"
|