Credit Andrew added returns + vulkan patch
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / Makefile
index e177049beb68ef7ccd2ab38c7af30c7365312d18..5c35856920de9634381ede4bc0f95413cec345ca 100644 (file)
@@ -437,7 +437,10 @@ ifeq ($(WANT_CIN_3RDPARTY),no)
 LIBS += -lavfilter -lavformat -lavcodec -lavutil
 LIBS += -lswresample -lswscale
 PLATFORM = $(shell uname -s)
-ifneq (, $(filter $(PLATFORM), FreeBSD NetBSD))
+ifneq (, $(filter $(PLATFORM), NetBSD))
+LIBS += -lintl
+endif
+ifneq (, $(filter $(PLATFORM), FreeBSD))
 LIBS += -lintl -liconv
 LIBS += -lexecinfo
 endif
@@ -448,6 +451,12 @@ LIBS += `pkg-config --libs uuid 2>/dev/null`
 LIBS += `pkg-config --libs theora 2>/dev/null`
 LIBS += `pkg-config --libs vorbis 2>/dev/null`
 LIBS += `pkg-config --libs sndfile 2>/dev/null`
+LIBS += `pkg-config --libs x11 2>/dev/null`
+ifeq ($(WANT_DV),yes)
+LIBS += `pkg-config --libs libiec61883 2>/dev/null`
+LIBS += `pkg-config --libs libdv 2>/dev/null`
+LIBS += `pkg-config --libs libavc1394  2>/dev/null`
+endif
 ifeq ($(WANT_LIBZMPEG),yes)
 LIBS += -la52 -ltwolame -lmp3lame
 endif