mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-05 03:11:23 +00:00
* Add correct mp3lame configure check since it does not use pkg-config * Update mod_shout Makefile to log failure message if mp3lame not available * Rewrite #include for lame.h to lame/lame.h in mod_shout.c
36 lines
828 B
Makefile
36 lines
828 B
Makefile
include $(top_srcdir)/build/modmake.rulesam
|
|
MODNAME=mod_shout
|
|
|
|
if HAVE_SHOUT
|
|
if HAVE_MPG123
|
|
if HAVE_MP3LAME
|
|
|
|
mod_LTLIBRARIES = mod_shout.la
|
|
mod_shout_la_SOURCES = mod_shout.c
|
|
mod_shout_la_CFLAGS = $(AM_CFLAGS)
|
|
mod_shout_la_CPPFLAGS = $(CURL_CFLAGS) $(AM_CPPFLAGS) $(SHOUT_CFLAGS) $(MP3LAME_CFLAGS) $(MPG123_CFLAGS)
|
|
mod_shout_la_LIBADD = $(switch_builddir)/libfreeswitch.la
|
|
mod_shout_la_LDFLAGS = $(CURL_LIBS) -avoid-version -module -no-undefined -shared $(SHOUT_LIBS) $(MP3LAME_LIBS) $(MPG123_LIBS)
|
|
|
|
else
|
|
install: error
|
|
all: error
|
|
error:
|
|
$(error You must install libmp3lame-dev to build mod_shout)
|
|
endif
|
|
|
|
else
|
|
install: error
|
|
all: error
|
|
error:
|
|
$(error You must install libmpg123-dev to build mod_shout)
|
|
endif
|
|
|
|
else
|
|
install: error
|
|
all: error
|
|
error:
|
|
$(error You must install libshout3-dev to build mod_shout)
|
|
endif
|
|
|