From d370ddc96efec49bb52f5ed0b2dc35f41b806db9 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 22 Feb 2006 17:20:39 +0000 Subject: [PATCH] 1 of many PRI/SIP gateway related updates git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@651 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- Makefile.am | 75 ++++++++++++++++++++++++++++++--------------------- Makefile.in | 77 +++++++++++++++++++++++++++++++---------------------- 2 files changed, 89 insertions(+), 63 deletions(-) diff --git a/Makefile.am b/Makefile.am index cb1e272d2a..88d5c514e2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,7 +12,7 @@ AM_LDFLAGS = -L$(PREFIX)/lib AM_LDFLAGS += $(shell $(APR_CONFIG) --link-ld --libs ) AM_CFLAGS += $(shell $(APU_CONFIG) --includes) 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) if ISLINUX AM_LDFLAGS += -Wl,-E @@ -42,21 +42,27 @@ AM_CFLAGS += -DSWITCH_DB_DIR=\"$(PREFIX)/db\" libfreeswitch_la_SOURCES = \ -src/include/switch.h \ -src/include/switch_channel.h \ -src/include/switch_config.h \ -src/include/switch_console.h \ -src/include/switch_core.h \ -src/include/switch_frame.h \ -src/include/switch_loadable_module.h \ -src/include/switch_module_interfaces.h \ -src/include/switch_mutex.h \ -src/include/switch_types.h \ -src/include/switch_utils.h \ -src/include/switch_caller.h \ -src/include/switch_buffer.h \ -src/include/switch_event.h \ +src/include/config.h\ +src/include/switch.h\ +src/include/switch_apr.h\ +src/include/switch_buffer.h\ +src/include/switch_caller.h\ +src/include/switch_channel.h\ +src/include/switch_config.h\ +src/include/switch_console.h\ +src/include/switch_core.h\ +src/include/switch_event.h\ +src/include/switch_frame.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_caller.c \ src/switch_channel.c \ @@ -75,22 +81,29 @@ src/switch_ivr.c #bindir = $(PREFIX)/bin #libdir = $(PREFIX)/lib library_includedir = $(PREFIX)/include -library_include_HEADERS = src/include/switch.h \ - src/include/switch_channel.h \ - src/include/switch_config.h \ - src/include/switch_console.h \ - src/include/switch_core.h \ - src/include/switch_frame.h \ - src/include/switch_loadable_module.h \ - src/include/switch_module_interfaces.h \ - src/include/switch_mutex.h \ - src/include/switch_types.h \ - src/include/switch_utils.h \ - src/include/switch_caller.h \ - src/include/switch_buffer.h \ - src/include/switch_event.h \ - src/include/switch_resample.h \ - src/include/switch_ivr.h +library_include_HEADERS = \ +src/include/config.h\ +src/include/switch.h\ +src/include/switch_apr.h\ +src/include/switch_buffer.h\ +src/include/switch_caller.h\ +src/include/switch_channel.h\ +src/include/switch_config.h\ +src/include/switch_console.h\ +src/include/switch_core.h\ +src/include/switch_event.h\ +src/include/switch_frame.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 + lib_LTLIBRARIES = libfreeswitch.la diff --git a/Makefile.in b/Makefile.in index e9121f6ae2..0a7a237a5e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -245,27 +245,34 @@ AM_CFLAGS = -I$(PREFIX)/include $(shell $(APR_CONFIG) --cflags \ -DSWITCH_CONF_DIR=\"$(PREFIX)/conf\" \ -DSWITCH_DB_DIR=\"$(PREFIX)/db\" AM_LDFLAGS = -L$(PREFIX)/lib $(shell $(APR_CONFIG) --link-ld --libs ) \ - $(shell $(APU_CONFIG) --link-ld --libs ) -lsqlite3 -lresample \ - -lm -L/usr/local/lib/db42 -L/usr/local/lib $(am__append_1) + $(shell $(APU_CONFIG) --link-ld --libs ) -lsqlite3 -lteletone \ + -lresample -lm -L/usr/local/lib/db42 -L/usr/local/lib \ + $(am__append_1) OSARCH = $(shell uname -s) @ISMAC_FALSE@SOLINK = -shared -Xlinker -x @ISMAC_TRUE@SOLINK = -dynamic -bundle -undefined suppress -force_flat_namespace libfreeswitch_la_SOURCES = \ -src/include/switch.h \ -src/include/switch_channel.h \ -src/include/switch_config.h \ -src/include/switch_console.h \ -src/include/switch_core.h \ -src/include/switch_frame.h \ -src/include/switch_loadable_module.h \ -src/include/switch_module_interfaces.h \ -src/include/switch_mutex.h \ -src/include/switch_types.h \ -src/include/switch_utils.h \ -src/include/switch_caller.h \ -src/include/switch_buffer.h \ -src/include/switch_event.h \ +src/include/config.h\ +src/include/switch.h\ +src/include/switch_apr.h\ +src/include/switch_buffer.h\ +src/include/switch_caller.h\ +src/include/switch_channel.h\ +src/include/switch_config.h\ +src/include/switch_console.h\ +src/include/switch_core.h\ +src/include/switch_event.h\ +src/include/switch_frame.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_caller.c \ src/switch_channel.c \ @@ -283,22 +290,28 @@ src/switch_ivr.c #bindir = $(PREFIX)/bin #libdir = $(PREFIX)/lib library_includedir = $(PREFIX)/include -library_include_HEADERS = src/include/switch.h \ - src/include/switch_channel.h \ - src/include/switch_config.h \ - src/include/switch_console.h \ - src/include/switch_core.h \ - src/include/switch_frame.h \ - src/include/switch_loadable_module.h \ - src/include/switch_module_interfaces.h \ - src/include/switch_mutex.h \ - src/include/switch_types.h \ - src/include/switch_utils.h \ - src/include/switch_caller.h \ - src/include/switch_buffer.h \ - src/include/switch_event.h \ - src/include/switch_resample.h \ - src/include/switch_ivr.h +library_include_HEADERS = \ +src/include/config.h\ +src/include/switch.h\ +src/include/switch_apr.h\ +src/include/switch_buffer.h\ +src/include/switch_caller.h\ +src/include/switch_channel.h\ +src/include/switch_config.h\ +src/include/switch_console.h\ +src/include/switch_core.h\ +src/include/switch_event.h\ +src/include/switch_frame.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 lib_LTLIBRARIES = libfreeswitch.la libfreeswitch_la_CFLAGS = $(AM_CFLAGS) -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g