LDFLAGS += -L../../framework -lmlt -lpthread
include ../../../config.mak
+include config.mak
TARGET = ../libmltlinsys$(LIBSUF)
OBJS = factory.o \
consumer_SDIstream.o
+ifdef WITH_JPEG
+CFLAGS += -DWITH_JPEG
+LDFLAGS += -ljpeg
+endif
+
SRCS := $(OBJS:.o=.c)
all: $(TARGET)
Linsys options:
--enable-linsys - Enable the Linsys SDI module (disabled by default)
+ --linsys-with-jpeg - Enable the option to export JPEGs (disabled by default)
EOF
else
export enable=
+ touch config.mak
for i in "$@"
do
case $i in
- --enable-linsys ) enable=1
+ --enable-linsys ) enable=1 ;;
+ --linsys-with-jpeg ) echo "WITH_JPEG=1" > config.mak ;;
esac
done