Update some modules to use CPPFLAGS

These modules use curl and we'll be adding in some bits to the
CPPFLAGS.
This commit is contained in:
Travis Cross 2014-03-20 19:41:13 +00:00
parent a489cd311e
commit c993962d0b
9 changed files with 9 additions and 1 deletions

View File

@ -4,5 +4,6 @@ MODNAME=mod_cidlookup
mod_LTLIBRARIES = mod_cidlookup.la
mod_cidlookup_la_SOURCES = mod_cidlookup.c
mod_cidlookup_la_CFLAGS = $(AM_CFLAGS)
mod_cidlookup_la_CPPFLAGS = $(AM_CPPFLAGS)
mod_cidlookup_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_cidlookup_la_LDFLAGS = -avoid-version -module -no-undefined -shared

View File

@ -11,6 +11,7 @@ JSONLA=$(JSON_BUILDDIR)/libjson.la
mod_LTLIBRARIES = mod_curl.la
mod_curl_la_SOURCES = mod_curl.c
mod_curl_la_CFLAGS = $(AM_CFLAGS) -I$(JSON_DIR)
mod_curl_la_CPPFLAGS = $(AM_CPPFLAGS)
mod_curl_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(JSONLA)
mod_curl_la_LDFLAGS = -avoid-version -module -no-undefined -shared

View File

@ -4,5 +4,6 @@ MODNAME=mod_httapi
mod_LTLIBRARIES = mod_httapi.la
mod_httapi_la_SOURCES = mod_httapi.c
mod_httapi_la_CFLAGS = $(AM_CFLAGS)
mod_httapi_la_CPPFLAGS = $(AM_CPPFLAGS)
mod_httapi_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_httapi_la_LDFLAGS = -avoid-version -module -no-undefined -shared

View File

@ -4,5 +4,6 @@ MODNAME=mod_http_cache
mod_LTLIBRARIES = mod_http_cache.la
mod_http_cache_la_SOURCES = mod_http_cache.c aws.c
mod_http_cache_la_CFLAGS = $(AM_CFLAGS)
mod_http_cache_la_CPPFLAGS = $(AM_CPPFLAGS)
mod_http_cache_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_http_cache_la_LDFLAGS = -avoid-version -module -no-undefined -shared

View File

@ -4,5 +4,6 @@ MODNAME=mod_snom
mod_LTLIBRARIES = mod_snom.la
mod_snom_la_SOURCES = mod_snom.c
mod_snom_la_CFLAGS = $(AM_CFLAGS)
mod_snom_la_CPPFLAGS = $(AM_CPPFLAGS)
mod_snom_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_snom_la_LDFLAGS = -avoid-version -module -no-undefined -shared

View File

@ -4,5 +4,6 @@ MODNAME=mod_format_cdr
mod_LTLIBRARIES = mod_format_cdr.la
mod_format_cdr_la_SOURCES = mod_format_cdr.c
mod_format_cdr_la_CFLAGS = $(AM_CFLAGS)
mod_format_cdr_la_CPPFLAGS = $(AM_CPPFLAGS)
mod_format_cdr_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_format_cdr_la_LDFLAGS = -avoid-version -module -no-undefined -shared

View File

@ -4,5 +4,6 @@ MODNAME=mod_json_cdr
mod_LTLIBRARIES = mod_json_cdr.la
mod_json_cdr_la_SOURCES = mod_json_cdr.c
mod_json_cdr_la_CFLAGS = $(AM_CFLAGS)
mod_json_cdr_la_CPPFLAGS = $(AM_CPPFLAGS)
mod_json_cdr_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_json_cdr_la_LDFLAGS = -avoid-version -module -no-undefined -shared

View File

@ -20,7 +20,7 @@ MPG123LA=$(MPG123_BUILDDIR)/src/libmpg123/libmpg123.la
mod_LTLIBRARIES = mod_shout.la
mod_shout_la_SOURCES = mod_shout.c
mod_shout_la_CFLAGS = $(AM_CFLAGS)
mod_shout_la_CFLAGS += -I$(SHOUT_DIR)/include -I$(LAME_DIR)/include -I$(MPG123_DIR)/src -I$(MPG123_BUILDDIR)/src -I$(SHOUT_BUILDDIR)/include
mod_shout_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(SHOUT_DIR)/include -I$(LAME_DIR)/include -I$(MPG123_DIR)/src -I$(MPG123_BUILDDIR)/src -I$(SHOUT_BUILDDIR)/include
mod_shout_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(LAMELA) $(SHOUTLA) $(MPG123LA)
mod_shout_la_LDFLAGS = -avoid-version -module -no-undefined -shared `cat $(SHOUT_BUILDDIR)/Makefile | grep SPEEX_LIBS | sed -e 's|^SPEEX_LIBS =||'` `cat $(SHOUTLA) | grep dependency_libs | sed -e 's|^dependency_libs=||' | sed -e "s|'||g"`

View File

@ -4,5 +4,6 @@ MODNAME=mod_xml_curl
mod_LTLIBRARIES = mod_xml_curl.la
mod_xml_curl_la_SOURCES = mod_xml_curl.c
mod_xml_curl_la_CFLAGS = $(AM_CFLAGS)
mod_xml_curl_la_CPPFLAGS = $(AM_CPPFLAGS)
mod_xml_curl_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_xml_curl_la_LDFLAGS = -avoid-version -module -no-undefined -shared