mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 15:14:17 +00:00
move applications to use automake
This commit is contained in:
1 parent
07272e864e
commit
bcd9f49fbe
234 files changed
+1729
-2421
No files matched your search
@@ -1,2 +0,0 @@
|
||||
MODNAME=mod_local_stream
|
||||
include ../../../../build/modmake.rules
|
||||
@@ -0,0 +1,8 @@
|
||||
include $(top_srcdir)/build/modmake.rulesam
|
||||
MODNAME=mod_local_stream
|
||||
|
||||
mod_LTLIBRARIES = mod_local_stream.la
|
||||
mod_local_stream_la_SOURCES = mod_local_stream.c
|
||||
mod_local_stream_la_CFLAGS = $(AM_CFLAGS)
|
||||
mod_local_stream_la_LIBADD = $(switch_builddir)/libfreeswitch.la
|
||||
mod_local_stream_la_LDFLAGS = -avoid-version -module -no-undefined -shared
|
||||
@@ -0,0 +1,8 @@
|
||||
include $(top_srcdir)/build/modmake.rulesam
|
||||
MODNAME=mod_native_file
|
||||
|
||||
mod_LTLIBRARIES = mod_native_file.la
|
||||
mod_native_file_la_SOURCES = mod_native_file.c
|
||||
mod_native_file_la_CFLAGS = $(AM_CFLAGS)
|
||||
mod_native_file_la_LIBADD = $(switch_builddir)/libfreeswitch.la
|
||||
mod_native_file_la_LDFLAGS = -avoid-version -module -no-undefined -shared
|
||||
@@ -0,0 +1,8 @@
|
||||
include $(top_srcdir)/build/modmake.rulesam
|
||||
MODNAME=mod_shell_stream
|
||||
|
||||
mod_LTLIBRARIES = mod_shell_stream.la
|
||||
mod_shell_stream_la_SOURCES = mod_shell_stream.c
|
||||
mod_shell_stream_la_CFLAGS = $(AM_CFLAGS)
|
||||
mod_shell_stream_la_LIBADD = $(switch_builddir)/libfreeswitch.la
|
||||
mod_shell_stream_la_LDFLAGS = -avoid-version -module -no-undefined -shared
|
||||
@@ -1,7 +1,9 @@
|
||||
include $(top_srcdir)/build/modmake.rulesam
|
||||
MODNAME=mod_shout
|
||||
|
||||
LAME=lame-3.98.4
|
||||
SHOUT=libshout-2.2.2
|
||||
MPG123=mpg123-1.13.2
|
||||
BASE=../../../..
|
||||
|
||||
LAME_DIR=$(switch_srcdir)/libs/$(LAME)
|
||||
SHOUT_DIR=$(switch_srcdir)/libs/$(SHOUT)
|
||||
@@ -15,13 +17,14 @@ LAMELA=$(LAME_BUILDDIR)/libmp3lame/libmp3lame.la
|
||||
SHOUTLA=$(SHOUT_BUILDDIR)/src/libshout.la
|
||||
MPG123LA=$(MPG123_BUILDDIR)/src/libmpg123/libmpg123.la
|
||||
|
||||
LOCAL_CFLAGS=-I$(SHOUT_DIR)/include -I$(LAME_DIR)/include -I$(MPG123_DIR)/src -I$(MPG123_BUILDDIR)/src -I$(SHOUT_BUILDDIR)/include
|
||||
LOCAL_LIBADD=$(LAMELA) $(SHOUTLA) $(MPG123LA)
|
||||
LOCAL_LDFLAGS=`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"`
|
||||
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_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"`
|
||||
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
$(MODNAME).lo: $(LOCAL_LIBADD)
|
||||
BUILT_SOURCES=$(LAMELA) $(SHOUTLA) $(MPG123LA)
|
||||
|
||||
$(MPG123_DIR):
|
||||
$(GETLIB) $(MPG123).tar.gz
|
||||
@@ -60,5 +63,3 @@ $(SHOUTLA): $(SHOUT_BUILDDIR)/Makefile
|
||||
cd $(SHOUT_BUILDDIR) && $(MAKE)
|
||||
$(TOUCH_TARGET)
|
||||
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
* example filename: shout://user:pass@host.com/mount.mp3
|
||||
*
|
||||
*/
|
||||
#include "libmpg123/mpg123.h"
|
||||
#include <switch.h>
|
||||
#include "libmpg123/mpg123.h"
|
||||
#include <shout/shout.h>
|
||||
#include <lame.h>
|
||||
#include <switch_curl.h>
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
BASE=../../../..
|
||||
|
||||
SNDFILE_DIR=$(switch_srcdir)/libs/libsndfile
|
||||
SNDFILE_BUILDDIR=$(switch_builddir)/libs/libsndfile
|
||||
SNDFILELA=$(SNDFILE_BUILDDIR)/src/libsndfile.la
|
||||
|
||||
LOCAL_CFLAGS=-I$(SNDFILE_DIR)/src -I$(SNDFILE_BUILDDIR)/src
|
||||
LOCAL_LIBADD=$(SNDFILELA)
|
||||
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
$(SNDFILELA): $(SNDFILE_DIR) $(SNDFILE_DIR)/.update
|
||||
cd $(SNDFILE_BUILDDIR) && $(MAKE)
|
||||
$(TOUCH_TARGET)
|
||||
@@ -0,0 +1,18 @@
|
||||
include $(top_srcdir)/build/modmake.rulesam
|
||||
MODNAME=mod_sndfile
|
||||
|
||||
SNDFILE_DIR=$(switch_srcdir)/libs/libsndfile
|
||||
SNDFILE_BUILDDIR=$(switch_builddir)/libs/libsndfile
|
||||
SNDFILELA=$(SNDFILE_BUILDDIR)/src/libsndfile.la
|
||||
|
||||
mod_LTLIBRARIES = mod_sndfile.la
|
||||
mod_sndfile_la_SOURCES = mod_sndfile.c
|
||||
mod_sndfile_la_CFLAGS = $(AM_CFLAGS) -I$(SNDFILE_DIR)/src -I$(SNDFILE_BUILDDIR)/src
|
||||
mod_sndfile_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(SNDFILELA)
|
||||
mod_sndfile_la_LDFLAGS = -avoid-version -module -no-undefined -shared
|
||||
|
||||
BUILT_SOURCES=$(SNDFILELA)
|
||||
|
||||
$(SNDFILELA): $(SNDFILE_DIR) $(SNDFILE_DIR)/.update
|
||||
cd $(SNDFILE_BUILDDIR) && $(MAKE)
|
||||
$(TOUCH_TARGET)
|
||||
@@ -1,11 +0,0 @@
|
||||
BASE=../../../..
|
||||
|
||||
IKS_DIR=$(BASE)/libs/iksemel
|
||||
IKS_LA=$(IKS_DIR)/src/libiksemel.la
|
||||
LOCAL_CFLAGS += -I$(BASE)/libs/iksemel/include
|
||||
LOCAL_OBJS= $(IKS_LA)
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
$(IKS_LA): $(IKS_DIR) $(IKS_DIR)/.update
|
||||
@cd $(IKS_DIR) && $(MAKE)
|
||||
@$(TOUCH_TARGET)
|
||||
@@ -0,0 +1,18 @@
|
||||
include $(top_srcdir)/build/modmake.rulesam
|
||||
MODNAME=mod_ssml
|
||||
|
||||
IKS_DIR=$(switch_srcdir)/libs/iksemel
|
||||
IKS_BUILDDIR=$(switch_builddir)/libs/iksemel
|
||||
IKS_LA=$(IKS_BUILDDIR)/src/libiksemel.la
|
||||
|
||||
mod_LTLIBRARIES = mod_ssml.la
|
||||
mod_ssml_la_SOURCES = mod_ssml.c
|
||||
mod_ssml_la_CFLAGS = $(AM_CFLAGS) -I$(IKS_DIR)/include
|
||||
mod_ssml_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(IKS_LA)
|
||||
mod_ssml_la_LDFLAGS = -avoid-version -module -no-undefined -shared
|
||||
|
||||
BUILT_SOURCES=$(IKS_LA)
|
||||
|
||||
$(IKS_LA): $(IKS_DIR) $(IKS_DIR)/.update
|
||||
@cd $(IKS_DIR) && $(MAKE)
|
||||
@$(TOUCH_TARGET)
|
||||
@@ -0,0 +1,8 @@
|
||||
include $(top_srcdir)/build/modmake.rulesam
|
||||
MODNAME=mod_tone_stream
|
||||
|
||||
mod_LTLIBRARIES = mod_tone_stream.la
|
||||
mod_tone_stream_la_SOURCES = mod_tone_stream.c
|
||||
mod_tone_stream_la_CFLAGS = $(AM_CFLAGS)
|
||||
mod_tone_stream_la_LIBADD = $(switch_builddir)/libfreeswitch.la
|
||||
mod_tone_stream_la_LDFLAGS = -avoid-version -module -no-undefined -shared
|
||||
@@ -1,4 +0,0 @@
|
||||
BASE=../../../..
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
LOCAL_LDFLAGS= -lvlc
|
||||
@@ -0,0 +1,8 @@
|
||||
include $(top_srcdir)/build/modmake.rulesam
|
||||
MODNAME=mod_vlc
|
||||
|
||||
mod_LTLIBRARIES = mod_vlc.la
|
||||
mod_vlc_la_SOURCES = mod_vlc.c
|
||||
mod_vlc_la_CFLAGS = $(AM_CFLAGS)
|
||||
mod_vlc_la_LIBADD = $(switch_builddir)/libfreeswitch.la
|
||||
mod_vlc_la_LDFLAGS = -avoid-version -module -no-undefined -shared -lvlc
|
||||
Reference in new issue
Block a user