1 of many PRI/SIP gateway related updates

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@651 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-02-22 17:20:39 +00:00
parent e84fb76ac2
commit d370ddc96e
2 changed files with 89 additions and 63 deletions

View File

@ -12,7 +12,7 @@ AM_LDFLAGS = -L$(PREFIX)/lib
AM_LDFLAGS += $(shell $(APR_CONFIG) --link-ld --libs ) AM_LDFLAGS += $(shell $(APR_CONFIG) --link-ld --libs )
AM_CFLAGS += $(shell $(APU_CONFIG) --includes) AM_CFLAGS += $(shell $(APU_CONFIG) --includes)
AM_LDFLAGS += $(shell $(APU_CONFIG) --link-ld --libs ) -lsqlite3 AM_LDFLAGS += $(shell $(APU_CONFIG) --link-ld --libs ) -lsqlite3
AM_LDFLAGS += -lresample -lm -L/usr/local/lib/db42 -L/usr/local/lib AM_LDFLAGS += -lteletone -lresample -lm -L/usr/local/lib/db42 -L/usr/local/lib
OSARCH=$(shell uname -s) OSARCH=$(shell uname -s)
if ISLINUX if ISLINUX
AM_LDFLAGS += -Wl,-E AM_LDFLAGS += -Wl,-E
@ -42,21 +42,27 @@ AM_CFLAGS += -DSWITCH_DB_DIR=\"$(PREFIX)/db\"
libfreeswitch_la_SOURCES = \ libfreeswitch_la_SOURCES = \
src/include/switch.h \ src/include/config.h\
src/include/switch_channel.h \ src/include/switch.h\
src/include/switch_config.h \ src/include/switch_apr.h\
src/include/switch_console.h \ src/include/switch_buffer.h\
src/include/switch_core.h \ src/include/switch_caller.h\
src/include/switch_frame.h \ src/include/switch_channel.h\
src/include/switch_loadable_module.h \ src/include/switch_config.h\
src/include/switch_module_interfaces.h \ src/include/switch_console.h\
src/include/switch_mutex.h \ src/include/switch_core.h\
src/include/switch_types.h \ src/include/switch_event.h\
src/include/switch_utils.h \ src/include/switch_frame.h\
src/include/switch_caller.h \
src/include/switch_buffer.h \
src/include/switch_event.h \
src/include/switch_ivr.h\ src/include/switch_ivr.h\
src/include/switch_loadable_module.h\
src/include/switch_module_interfaces.h\
src/include/switch_mutex.h\
src/include/switch_platform.h\
src/include/switch_resample.h\
src/include/switch_sqlite.h\
src/include/switch_types.h\
src/include/switch_utils.h\
src/include/switch_version.h\
src/switch_buffer.c \ src/switch_buffer.c \
src/switch_caller.c \ src/switch_caller.c \
src/switch_channel.c \ src/switch_channel.c \
@ -75,22 +81,29 @@ src/switch_ivr.c
#bindir = $(PREFIX)/bin #bindir = $(PREFIX)/bin
#libdir = $(PREFIX)/lib #libdir = $(PREFIX)/lib
library_includedir = $(PREFIX)/include library_includedir = $(PREFIX)/include
library_include_HEADERS = src/include/switch.h \ library_include_HEADERS = \
src/include/switch_channel.h \ src/include/config.h\
src/include/switch_config.h \ src/include/switch.h\
src/include/switch_console.h \ src/include/switch_apr.h\
src/include/switch_core.h \ src/include/switch_buffer.h\
src/include/switch_frame.h \ src/include/switch_caller.h\
src/include/switch_loadable_module.h \ src/include/switch_channel.h\
src/include/switch_module_interfaces.h \ src/include/switch_config.h\
src/include/switch_mutex.h \ src/include/switch_console.h\
src/include/switch_types.h \ src/include/switch_core.h\
src/include/switch_utils.h \ src/include/switch_event.h\
src/include/switch_caller.h \ src/include/switch_frame.h\
src/include/switch_buffer.h \ src/include/switch_ivr.h\
src/include/switch_event.h \ src/include/switch_loadable_module.h\
src/include/switch_resample.h \ src/include/switch_module_interfaces.h\
src/include/switch_ivr.h src/include/switch_mutex.h\
src/include/switch_platform.h\
src/include/switch_resample.h\
src/include/switch_sqlite.h\
src/include/switch_types.h\
src/include/switch_utils.h\
src/include/switch_version.h
lib_LTLIBRARIES = libfreeswitch.la lib_LTLIBRARIES = libfreeswitch.la

View File

@ -245,27 +245,34 @@ AM_CFLAGS = -I$(PREFIX)/include $(shell $(APR_CONFIG) --cflags \
-DSWITCH_CONF_DIR=\"$(PREFIX)/conf\" \ -DSWITCH_CONF_DIR=\"$(PREFIX)/conf\" \
-DSWITCH_DB_DIR=\"$(PREFIX)/db\" -DSWITCH_DB_DIR=\"$(PREFIX)/db\"
AM_LDFLAGS = -L$(PREFIX)/lib $(shell $(APR_CONFIG) --link-ld --libs ) \ AM_LDFLAGS = -L$(PREFIX)/lib $(shell $(APR_CONFIG) --link-ld --libs ) \
$(shell $(APU_CONFIG) --link-ld --libs ) -lsqlite3 -lresample \ $(shell $(APU_CONFIG) --link-ld --libs ) -lsqlite3 -lteletone \
-lm -L/usr/local/lib/db42 -L/usr/local/lib $(am__append_1) -lresample -lm -L/usr/local/lib/db42 -L/usr/local/lib \
$(am__append_1)
OSARCH = $(shell uname -s) OSARCH = $(shell uname -s)
@ISMAC_FALSE@SOLINK = -shared -Xlinker -x @ISMAC_FALSE@SOLINK = -shared -Xlinker -x
@ISMAC_TRUE@SOLINK = -dynamic -bundle -undefined suppress -force_flat_namespace @ISMAC_TRUE@SOLINK = -dynamic -bundle -undefined suppress -force_flat_namespace
libfreeswitch_la_SOURCES = \ libfreeswitch_la_SOURCES = \
src/include/switch.h \ src/include/config.h\
src/include/switch_channel.h \ src/include/switch.h\
src/include/switch_config.h \ src/include/switch_apr.h\
src/include/switch_console.h \ src/include/switch_buffer.h\
src/include/switch_core.h \ src/include/switch_caller.h\
src/include/switch_frame.h \ src/include/switch_channel.h\
src/include/switch_loadable_module.h \ src/include/switch_config.h\
src/include/switch_module_interfaces.h \ src/include/switch_console.h\
src/include/switch_mutex.h \ src/include/switch_core.h\
src/include/switch_types.h \ src/include/switch_event.h\
src/include/switch_utils.h \ src/include/switch_frame.h\
src/include/switch_caller.h \
src/include/switch_buffer.h \
src/include/switch_event.h \
src/include/switch_ivr.h\ src/include/switch_ivr.h\
src/include/switch_loadable_module.h\
src/include/switch_module_interfaces.h\
src/include/switch_mutex.h\
src/include/switch_platform.h\
src/include/switch_resample.h\
src/include/switch_sqlite.h\
src/include/switch_types.h\
src/include/switch_utils.h\
src/include/switch_version.h\
src/switch_buffer.c \ src/switch_buffer.c \
src/switch_caller.c \ src/switch_caller.c \
src/switch_channel.c \ src/switch_channel.c \
@ -283,22 +290,28 @@ src/switch_ivr.c
#bindir = $(PREFIX)/bin #bindir = $(PREFIX)/bin
#libdir = $(PREFIX)/lib #libdir = $(PREFIX)/lib
library_includedir = $(PREFIX)/include library_includedir = $(PREFIX)/include
library_include_HEADERS = src/include/switch.h \ library_include_HEADERS = \
src/include/switch_channel.h \ src/include/config.h\
src/include/switch_config.h \ src/include/switch.h\
src/include/switch_console.h \ src/include/switch_apr.h\
src/include/switch_core.h \ src/include/switch_buffer.h\
src/include/switch_frame.h \ src/include/switch_caller.h\
src/include/switch_loadable_module.h \ src/include/switch_channel.h\
src/include/switch_module_interfaces.h \ src/include/switch_config.h\
src/include/switch_mutex.h \ src/include/switch_console.h\
src/include/switch_types.h \ src/include/switch_core.h\
src/include/switch_utils.h \ src/include/switch_event.h\
src/include/switch_caller.h \ src/include/switch_frame.h\
src/include/switch_buffer.h \ src/include/switch_ivr.h\
src/include/switch_event.h \ src/include/switch_loadable_module.h\
src/include/switch_resample.h \ src/include/switch_module_interfaces.h\
src/include/switch_ivr.h src/include/switch_mutex.h\
src/include/switch_platform.h\
src/include/switch_resample.h\
src/include/switch_sqlite.h\
src/include/switch_types.h\
src/include/switch_utils.h\
src/include/switch_version.h
lib_LTLIBRARIES = libfreeswitch.la lib_LTLIBRARIES = libfreeswitch.la
libfreeswitch_la_CFLAGS = $(AM_CFLAGS) -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g libfreeswitch_la_CFLAGS = $(AM_CFLAGS) -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g