New AVFoundation video capture module for Mac OS X
[vlc.git] / modules / access / Modules.am
index 0770d94..8a571e7 100644 (file)
@@ -84,6 +84,16 @@ libvlc_LTLIBRARIES += \
         $(NULL)
 endif
 
         $(NULL)
 endif
 
+if HAVE_AVFOUNDATION
+libavcapture_plugin_la_SOURCES = avcapture.m
+libavcapture_plugin_la_LIBADD = $(AM_LIBADD)
+libavcapture_plugin_la_LDFLAGS = -Wl,-framework,Cocoa -Wl,-framework,AVFoundation -Wl,-framework,CoreMedia
+
+libvlc_LTLIBRARIES += \
+        libavcapture_plugin.la \
+        $(NULL)
+endif
+
 libvlc_LTLIBRARIES += \
        libfilesystem_plugin.la \
        libidummy_plugin.la \
 libvlc_LTLIBRARIES += \
        libfilesystem_plugin.la \
        libidummy_plugin.la \