mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-07 04:41:53 +00:00
19 lines
478 B
Makefile
19 lines
478 B
Makefile
include $(top_srcdir)/build/modmake.rulesam
|
|
MODNAME=mod_avcodec
|
|
|
|
if HAVE_AVCODEC
|
|
|
|
mod_LTLIBRARIES = mod_avcodec.la
|
|
mod_avcodec_la_SOURCES = mod_avcodec.c
|
|
mod_avcodec_la_CFLAGS = $(AM_CFLAGS) $(AVCODEC_CFLAGS)
|
|
mod_avcodec_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(AVCODEC_LIBS)
|
|
mod_avcodec_la_LDFLAGS = -avoid-version -module -no-undefined -shared -lm -lz
|
|
|
|
else
|
|
install: error
|
|
all: error
|
|
error:
|
|
$(error You must install libavcodec-dev to build mod_avcodec)
|
|
endif
|
|
|