[asterisk-commits] branch group/new_loader_completion r35855 - in /team/group/new_loader_complet...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Jun 24 16:27:11 MST 2006


Author: kpfleming
Date: Sat Jun 24 18:27:11 2006
New Revision: 35855

URL: http://svn.digium.com/view/asterisk?rev=35855&view=rev
Log:
more update

Modified:
    team/group/new_loader_completion/   (props changed)
    team/group/new_loader_completion/codecs/Makefile
    team/group/new_loader_completion/configure
    team/group/new_loader_completion/configure.ac
    team/group/new_loader_completion/makeopts.in

Propchange: team/group/new_loader_completion/
------------------------------------------------------------------------------
    automerge = *

Propchange: team/group/new_loader_completion/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Sat Jun 24 18:27:11 2006
@@ -1,1 +1,1 @@
-/trunk:1-35851
+/trunk:1-35853

Modified: team/group/new_loader_completion/codecs/Makefile
URL: http://svn.digium.com/view/asterisk/team/group/new_loader_completion/codecs/Makefile?rev=35855&r1=35854&r2=35855&view=diff
==============================================================================
--- team/group/new_loader_completion/codecs/Makefile (original)
+++ team/group/new_loader_completion/codecs/Makefile Sat Jun 24 18:27:11 2006
@@ -22,94 +22,38 @@
 ifeq ($(wildcard ilbc/iLBC_decode.h),)
   MODS:=$(filter-out codec_ilbc,$(MODS))
 else
-  LIBILBC=ilbc/libilbc.a
+  LIBILBC:=ilbc/libilbc.a
 endif
 
-LIBLPC10=lpc10/liblpc10.a
+LIBLPC10:=lpc10/liblpc10.a
 
-MODS:=$(patsubst %,%.so,$(SELECTED_MODS))
+all: _all
 
-all: $(MODS)
+ifeq ($(LIBGSM_LIB),internal)
+LIBGSM_INCLUDE:=-Igsm/inc
+LIBGSM_LIB:=
 
-$(foreach mod,$(patsubst %.so,%,$(MODS)),$(mod).o): CFLAGS+=-DAST_MODULE=\"$(patsubst %.o,%,$@)\"
+codec_gsm.so: gsm/lib/libgsm.a
+endif
 
-clean-depend:
-	rm -f .depend
+$(foreach mod,$(SELECTED_MODS),$(mod).o): CFLAGS+=-DAST_MODULE=\"$(@:%.o=%)\"
 
-clean: clean-depend
-	rm -f *.so *.o
-	[ ! -d g723.1 ] || $(MAKE) -C g723.1 clean
-	[ ! -d g723.1b ] || $(MAKE) -C g723.1b clean
+include ../Makefile.rules
+
+clean::
 	$(MAKE) -C gsm clean
 	$(MAKE) -C lpc10 clean
 	$(MAKE) -C ilbc clean
 
-$(LIBG723):
-	CFLAGS="$(ASTCFLAGS)" $(MAKE) -C g723.1 all
-
 gsm/lib/libgsm.a:
 	CFLAGS="$(ASTCFLAGS) -I." $(MAKE) -C gsm lib/libgsm.a
-
-$(LIBG723B):
-	CFLAGS="$(ASTCFLAGS)" $(MAKE) -C g723.1b all
 
 $(LIBLPC10):
 	CFLAGS="$(ASTCFLAGS)" $(MAKE) -C lpc10 all
 
+codec_lpc10.so: $(LIBLPC10)
+
 $(LIBILBC):
 	CFLAGS="$(ASTCFLAGS)" $(MAKE) -C ilbc all
 
-codec_ilbc.so: codec_ilbc.o $(LIBILBC)
-	$(CC) $(SOLINK) -o $@ $^
-
-codec_g723_1.so : codec_g723_1.o $(LIBG723)
-	$(CC) $(SOLINK) -o $@ $^
-
-codec_g723_1b.o : codec_g723_1.c
-	$(CC) -c -o $@ $(CFLAGS) -DANNEX_B -Dsingle $^
-
-codec_g723_1b.so : codec_g723_1b.o $(LIBG723B)
-	$(CC) $(SOLINK) -o $@ $^ -lm
-
-ifeq ($(GSM_LIB),internal)
-codec_gsm.o: codec_gsm.c
-	$(CC) -c -o $@ $(CFLAGS) -Igsm/inc $<
-
-codec_gsm.so: codec_gsm.o gsm/lib/libgsm.a
-	$(CC) $(SOLINK) -o $@ $^
-else
-codec_gsm.o: codec_gsm.c
-	$(CC) -c -o $@ $(CFLAGS) $(GSM_INCLUDE) $<
-
-codec_gsm.so: codec_gsm.o
-	$(CC) $(SOLINK) -o $@ $^ $(GSM_LIB)
-endif
-
-codec_speex.o: codec_speex.c
-	$(CC) -c -o $@ $(CFLAGS) $(SPEEX_INCLUDE) $<
-
-codec_speex.so: codec_speex.o
-	$(CC) $(SOLINK) -o $@ $^ $(SPEEX_LIB)
-
-codec_lpc10.so: codec_lpc10.o $(LIBLPC10)
-	$(CC) $(SOLINK) -o $@ $^ -lm
-
-codec_zap.o: codec_zap.c
-	$(CC) -c -o $@ $(CFLAGS) $(ZAPTEL_INCLUDE) $<
-
-%.so : %.o
-	$(CC) $(SOLINK) -o $@ $^
-
-ifneq ($(wildcard .depend),)
-  include .depend
-endif
-
-install: all
-	for x in $(MODS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done
-
-uninstall:
-
-depend: .depend
-
-.depend:
-	../build_tools/mkdep $(CFLAGS) `ls *.c`
+codec_ilbc.so: $(LIBILBC)

Modified: team/group/new_loader_completion/configure
URL: http://svn.digium.com/view/asterisk/team/group/new_loader_completion/configure?rev=35855&r1=35854&r2=35855&view=diff
==============================================================================
--- team/group/new_loader_completion/configure (original)
+++ team/group/new_loader_completion/configure Sat Jun 24 18:27:11 2006
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.ac Revision: 35812 .
+# From configure.ac Revision: 35832 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.59e.
 #
@@ -701,7 +701,7 @@
 gsm_INCLUDE
 PBX_LIBgsm
 KDE_INCLUDE
-KDE_LIBS
+KDE_LIB
 PBX_KDE
 KDEINIT
 KDEDIR
@@ -784,16 +784,16 @@
 PBX_LIBZLIB
 ZAPTEL_INCLUDE
 PBX_ZAPTEL
-EDITLINE_LIBS
+EDITLINE_LIB
 PBX_H323
 PBX_IXJUSER
 GTKCONFIG
 PBX_GTK
 GTK_INCLUDE
-GTK_LIBS
+GTK_LIB
 CURL
 PBX_CURL
-CURLLIBS
+CURLLIB
 ALLOCA
 LIBOBJS
 POW_LIB
@@ -7185,9 +7185,9 @@
 	fi
 
 	if test "${ac_cv_lib_kde_crash}" = "yes"; then
-		KDE_LIBS="-lkdecore -lkdeui"
+		KDE_LIB="-lkdecore -lkdeui"
 		if test "${KDE_DIR}" != ""; then
-			KDE_LIBS="-L${KDE_DIR}/lib ${KDE_LIBS}"
+			KDE_LIB="-L${KDE_DIR}/lib ${KDE_LIB}"
 			KDE_INCLUDE="-I${KDE_DIR}/include"
 
 		fi
@@ -18979,15 +18979,15 @@
 
 
 
-EDITLINE_LIBS=""
+EDITLINE_LIB=""
 if test "x$TERMCAP_LIB" != "x" ; then
-  EDITLINE_LIBS="$TERMCAP_LIB"
+  EDITLINE_LIB="$TERMCAP_LIB"
 elif test "x$TINFO_LIB" != "x" ; then
-  EDITLINE_LIBS="$TINFO_LIB"
+  EDITLINE_LIB="$TINFO_LIB"
 elif test "x$CURSES_LIB" != "x" ; then
-  EDITLINE_LIBS="$CURSES_LIB"
+  EDITLINE_LIB="$CURSES_LIB"
 elif test "x$NCURSES_LIB" != "x" ; then
-  EDITLINE_LIBS="$NCURSES_LIB"
+  EDITLINE_LIB="$NCURSES_LIB"
 else
   echo "*** termcap support not found"
   exit 1
@@ -19326,7 +19326,7 @@
 
 if test ! "x${GTKCONFIG}" = xNo; then
    GTK_INCLUDE=$(${GTKCONFIG} --cflags gthread)
-   GTK_LIBS=$(${GTKCONFIG} --libs gthread)
+   GTK_LIB=$(${GTKCONFIG} --libs gthread)
    PBX_GTK=1
 
 cat >>confdefs.h <<\_ACEOF
@@ -19443,7 +19443,7 @@
 
 if test ! x"${CURL}" = xNo; then
 # check for version
-   CURLLIBS=$(${CURL} --libs)
+   CURLLIB=$(${CURL} --libs)
    PBX_CURL=1
 
 cat >>confdefs.h <<\_ACEOF
@@ -27649,7 +27649,7 @@
   cat >conf$$subs.sed <<_ACEOF
 PBX_LIBgsm!$PBX_LIBgsm$ac_delim
 KDE_INCLUDE!$KDE_INCLUDE$ac_delim
-KDE_LIBS!$KDE_LIBS$ac_delim
+KDE_LIB!$KDE_LIB$ac_delim
 PBX_KDE!$PBX_KDE$ac_delim
 KDEINIT!$KDEINIT$ac_delim
 KDEDIR!$KDEDIR$ac_delim
@@ -27732,16 +27732,16 @@
 PBX_LIBZLIB!$PBX_LIBZLIB$ac_delim
 ZAPTEL_INCLUDE!$ZAPTEL_INCLUDE$ac_delim
 PBX_ZAPTEL!$PBX_ZAPTEL$ac_delim
-EDITLINE_LIBS!$EDITLINE_LIBS$ac_delim
+EDITLINE_LIB!$EDITLINE_LIB$ac_delim
 PBX_H323!$PBX_H323$ac_delim
 PBX_IXJUSER!$PBX_IXJUSER$ac_delim
 GTKCONFIG!$GTKCONFIG$ac_delim
 PBX_GTK!$PBX_GTK$ac_delim
 GTK_INCLUDE!$GTK_INCLUDE$ac_delim
-GTK_LIBS!$GTK_LIBS$ac_delim
+GTK_LIB!$GTK_LIB$ac_delim
 CURL!$CURL$ac_delim
 PBX_CURL!$PBX_CURL$ac_delim
-CURLLIBS!$CURLLIBS$ac_delim
+CURLLIB!$CURLLIB$ac_delim
 ALLOCA!$ALLOCA$ac_delim
 LIBOBJS!$LIBOBJS$ac_delim
 _ACEOF

Modified: team/group/new_loader_completion/configure.ac
URL: http://svn.digium.com/view/asterisk/team/group/new_loader_completion/configure.ac?rev=35855&r1=35854&r2=35855&view=diff
==============================================================================
--- team/group/new_loader_completion/configure.ac (original)
+++ team/group/new_loader_completion/configure.ac Sat Jun 24 18:27:11 2006
@@ -295,13 +295,13 @@
 	fi
 	
 	if test "${ac_cv_lib_kde_crash}" = "yes"; then
-		KDE_LIBS="-lkdecore -lkdeui"
+		KDE_LIB="-lkdecore -lkdeui"
 		if test "${KDE_DIR}" != ""; then
-			KDE_LIBS="-L${KDE_DIR}/lib ${KDE_LIBS}"
+			KDE_LIB="-L${KDE_DIR}/lib ${KDE_LIB}"
 			KDE_INCLUDE="-I${KDE_DIR}/include"
 			AC_SUBST([KDE_INCLUDE])
 		fi
-		AC_SUBST([KDE_LIBS])
+		AC_SUBST([KDE_LIB])
 		PBX_KDE=1
 		AC_DEFINE([HAVE_LIBKDE], 1, [Define if your system has the KDE library])
    elif test ! -z "${KDE_MANDATORY}"; 
@@ -767,20 +767,20 @@
 
 AC_SUBST([PBX_ZAPTEL])
 
-EDITLINE_LIBS=""
+EDITLINE_LIB=""
 if test "x$TERMCAP_LIB" != "x" ; then
-  EDITLINE_LIBS="$TERMCAP_LIB"
+  EDITLINE_LIB="$TERMCAP_LIB"
 elif test "x$TINFO_LIB" != "x" ; then
-  EDITLINE_LIBS="$TINFO_LIB"
+  EDITLINE_LIB="$TINFO_LIB"
 elif test "x$CURSES_LIB" != "x" ; then
-  EDITLINE_LIBS="$CURSES_LIB"
+  EDITLINE_LIB="$CURSES_LIB"
 elif test "x$NCURSES_LIB" != "x" ; then
-  EDITLINE_LIBS="$NCURSES_LIB"
+  EDITLINE_LIB="$NCURSES_LIB"
 else
   echo "*** termcap support not found"
   exit 1
 fi
-AC_SUBST(EDITLINE_LIBS)
+AC_SUBST(EDITLINE_LIB)
 
 AC_CHECK_HEADER([h323.h], [PBX_H323=1], [PBX_H323=0])
 AC_SUBST(PBX_H323)
@@ -797,24 +797,24 @@
 AC_CHECK_TOOL(GTKCONFIG, gtk-config, No)
 if test ! "x${GTKCONFIG}" = xNo; then
    GTK_INCLUDE=$(${GTKCONFIG} --cflags gthread)
-   GTK_LIBS=$(${GTKCONFIG} --libs gthread)
+   GTK_LIB=$(${GTKCONFIG} --libs gthread)
    PBX_GTK=1
    AC_DEFINE([HAVE_GTK], 1, [Define if your system has the GTK libraries.])
 fi
 AC_SUBST(PBX_GTK)
 AC_SUBST(GTK_INCLUDE)
-AC_SUBST(GTK_LIBS)
+AC_SUBST(GTK_LIB)
 
 PBX_CURL=0
 AC_PATH_TOOL([CURL], [curl-config], No)
 if test ! x"${CURL}" = xNo; then
 # check for version
-   CURLLIBS=$(${CURL} --libs)
+   CURLLIB=$(${CURL} --libs)
    PBX_CURL=1
    AC_DEFINE([HAVE_CURL], 1, [Define if your system has the curl libraries.])
 fi
 AC_SUBST(PBX_CURL)
-AC_SUBST(CURLLIBS)
+AC_SUBST(CURLLIB)
 
 AC_FUNC_ALLOCA
 AC_HEADER_DIRENT

Modified: team/group/new_loader_completion/makeopts.in
URL: http://svn.digium.com/view/asterisk/team/group/new_loader_completion/makeopts.in?rev=35855&r1=35854&r2=35855&view=diff
==============================================================================
--- team/group/new_loader_completion/makeopts.in (original)
+++ team/group/new_loader_completion/makeopts.in Sat Jun 24 18:27:11 2006
@@ -109,12 +109,12 @@
 
 KDEDIR=@KDEDIR@
 KDE_INCLUDE=@KDE_INCLUDE@
-KDE_LIB=@KDE_LIBS@
+KDE_LIB=@KDE_LIB@
 
 GTK_INCLUDE=@GTK_INCLUDE@
-GTK_LIB=@GTK_LIBS@
+GTK_LIB=@GTK_LIB@
 
-CURL_LIB=@CURLLIBS@
+CURL_LIB=@CURLLIB@
 
 LIBGSM_LIB=@gsm_LIB@
 LIBGSM_INCLUDE=@gsm_INCLUDE@
@@ -125,9 +125,9 @@
 NCURSES_LIB=@NCURSES_LIB@
 NCURSES_INCLUDE=@NCURSES_INCLUDE@
 
-EDITLINE_LIB=@EDITLINE_LIBS@
+EDITLINE_LIB=@EDITLINE_LIB@
 
 RADIUSCLIENT_LIB=@RADIUSCLIENT_LIB@
 RADIUSCLIENT_INCLUDE=@RADIUSCLIENT_INCLUDE@
 
-NETSNMP_LIB=@NETSNMP_LIBS@
+NETSNMP_LIB=@NETSNMP_LIB@



More information about the asterisk-commits mailing list