18 lines
441 B
Makefile
Raw Normal View History

2014-02-27 14:16:54 -05:00
include $(top_srcdir)/build/modmake.rulesam
MODNAME=mod_opus
if HAVE_OPUS
2011-02-04 15:33:28 -06:00
2014-02-27 14:16:54 -05:00
mod_LTLIBRARIES = mod_opus.la
mod_opus_la_SOURCES = mod_opus.c
mod_opus_la_CFLAGS = $(AM_CFLAGS) $(OPUS_CFLAGS)
mod_opus_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(OPUS_LIBS)
2014-02-27 14:16:54 -05:00
mod_opus_la_LDFLAGS = -avoid-version -module -no-undefined -shared -lm -lz
2011-02-04 15:33:28 -06:00
else
install: error
all: error
error:
$(error You must install libopus-dev to build mod_opus)
endif