Files
freeswitch/src/mod/codecs/mod_openh264/Makefile.am
T

30 lines
652 B
Makefile

include $(top_srcdir)/build/modmake.rulesam
MODNAME=mod_openh264
if HAVE_YUV
if HAVE_VPX
OPENH264_DIR=/usr/local/
mod_LTLIBRARIES = mod_openh264.la
mod_openh264_la_SOURCES = mod_openh264.cpp
mod_openh264_la_CXXFLAGS = $(AM_CXXFLAGS) -I$(OPENH264_DIR)/include/wels
mod_openh264_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_openh264_la_LDFLAGS = -L$(OPENH264_DIR)/lib/ -lopenh264 -avoid-version -module -no-undefined -shared
else
install: error
all: error
error:
$(error You must install libvpx2-dev to build mod_openh264)
endif
else
install: error
all: error
error:
$(error You must install libyuv-dev to build mod_openh264)
endif