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.
mlt/src/modules/qimage/Makefile

34 lines
698 B

include ../../../config.mak
include config.mak
TARGET=../libmltqimage$(LIBSUF)
OBJS=factory.o producer_qimage.o
CPPOBJS=qimage_wrapper.o
CFLAGS+=-I../../
LDFLAGS=-L../../framework $(QTLIBS) -lmlt -lstdc++
CXXFLAGS+=$(CFLAGS) $(QTCXXFLAGS) -Wno-deprecated
SRCS := $(OBJS:.o=.c) $(CPPOBJS:.o=.cpp)
all: $(TARGET)
$(TARGET): $(OBJS) $(CPPOBJS)
$(CC) $(SHFLAGS) -o $@ $(OBJS) $(CPPOBJS) $(LDFLAGS)
depend: $(SRCS)
$(CC) -MM $(CFLAGS) $(QTCXXFLAGS) $^ 1>.depend
distclean: clean
rm -f .depend config.h config.mak
clean:
rm -f $(OBJS) $(TARGET) $(CPPOBJS)
install: all
install -m 755 $(TARGET) "$(DESTDIR)$(prefix)/lib/mlt/modules"
ifneq ($(wildcard .depend),)
include .depend
endif