move mod_expr to use automake

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15813 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-12-07 07:14:34 +00:00
parent bad1d93169
commit aad61cadd4
3 changed files with 9 additions and 6 deletions

View File

@ -788,6 +788,7 @@ AC_CONFIG_FILES([Makefile
src/Makefile
src/mod/Makefile
src/mod/applications/mod_enum/Makefile
src/mod/applications/mod_expr/Makefile
src/mod/endpoints/mod_sofia/Makefile
src/mod/asr_tts/mod_unimrcp/Makefile
src/mod/languages/mod_java/Makefile

View File

@ -1,6 +0,0 @@
BASE=../../../..
LOCAL_SOURCES=$(MODDIR)/expreval.c $(MODDIR)/exprinit.c $(MODDIR)/exprobj.c $(MODDIR)/exprutil.c $(MODDIR)/exprfunc.c $(MODDIR)/exprmem.c $(MODDIR)/exprpars.c $(MODDIR)/exprval.c
LOCAL_OBJS=$(MODDIR)/expreval.o $(MODDIR)/exprinit.o $(MODDIR)/exprobj.o $(MODDIR)/exprutil.o $(MODDIR)/exprfunc.o $(MODDIR)/exprmem.o $(MODDIR)/exprpars.o $(MODDIR)/exprval.o
LOCAL_LDFLAGS=-lm
include $(BASE)/build/modmake.rules

View File

@ -0,0 +1,8 @@
include $(top_srcdir)/build/modmake.rulesam
MODNAME=mod_expr
mod_LTLIBRARIES = mod_expr.la
mod_expr_la_SOURCES = mod_expr.c expreval.c exprinit.c exprobj.c exprutil.c exprfunc.c exprmem.c exprpars.c exprval.c
mod_expr_la_CFLAGS = $(AM_CFLAGS)
mod_expr_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_expr_la_LDFLAGS = -avoid-version -module -no-undefined -lm