@ -196,7 +196,6 @@ ifeq ($(OSARCH),Linux)
endif
endif
endif
endif
endif
endif
MPG123TARG = linux
e n d i f
e n d i f
GREP = grep
GREP = grep
@ -239,12 +238,10 @@ ifeq ($(OSARCH),FreeBSD)
ifneq ( $( wildcard $( CROSS_COMPILE_TARGET) /usr/local/include/spandsp) ,)
ifneq ( $( wildcard $( CROSS_COMPILE_TARGET) /usr/local/include/spandsp) ,)
ASTCFLAGS += -I$( CROSS_COMPILE_TARGET) /usr/local/include/spandsp
ASTCFLAGS += -I$( CROSS_COMPILE_TARGET) /usr/local/include/spandsp
endif
endif
MPG123TARG = freebsd
e n d i f # FreeBSD
e n d i f # FreeBSD
i f e q ( $( OSARCH ) , N e t B S D )
i f e q ( $( OSARCH ) , N e t B S D )
AST_CFLAGS += -pthread -I$( CROSS_COMPILE_TARGET) /usr/pkg/include
AST_CFLAGS += -pthread -I$( CROSS_COMPILE_TARGET) /usr/pkg/include
MPG123TARG = netbsd
e n d i f
e n d i f
i f e q ( $( OSARCH ) , O p e n B S D )
i f e q ( $( OSARCH ) , O p e n B S D )
@ -512,7 +509,6 @@ clean: clean-depend
rm -f include/asterisk/version.h
rm -f include/asterisk/version.h
rm -f .tags-sources tags TAGS
rm -f .tags-sources tags TAGS
@if [ -f editline/Makefile ] ; then $( MAKE) -C editline distclean ; fi
@if [ -f editline/Makefile ] ; then $( MAKE) -C editline distclean ; fi
@if [ -d mpg123-0.59r ] ; then $( MAKE) -C mpg123-0.59r clean; fi
$( MAKE) -C db1-ast clean
$( MAKE) -C db1-ast clean
$( MAKE) -C stdtime clean
$( MAKE) -C stdtime clean
@ -615,7 +611,6 @@ bininstall: all
else \
else \
echo "You need to do cvs update -d not just cvs update" ; \
echo "You need to do cvs update -d not just cvs update" ; \
fi
fi
if [ -f mpg123-0.59r/mpg123 ] ; then $( MAKE) -C mpg123-0.59r install; fi
install-subdirs :
install-subdirs :
@for x in $( SUBDIRS) ; do $( MAKE) -C $$ x install || exit 1 ; done
@for x in $( SUBDIRS) ; do $( MAKE) -C $$ x install || exit 1 ; done
@ -773,12 +768,6 @@ progdocs:
( cat contrib/asterisk-ng-doxygen; echo " HAVE_DOT= $( HAVEDOT) " ; \
( cat contrib/asterisk-ng-doxygen; echo " HAVE_DOT= $( HAVEDOT) " ; \
echo " PROJECT_NUMBER= $( ASTERISKVERSION) " ) | doxygen -
echo " PROJECT_NUMBER= $( ASTERISKVERSION) " ) | doxygen -
mpg123 :
@wget -V >/dev/null || ( echo "You need wget" ; false )
[ -f mpg123-0.59r.tar.gz ] || wget http://www.mpg123.de/mpg123/mpg123-0.59r.tar.gz
[ -d mpg123-0.59r ] || tar xfz mpg123-0.59r.tar.gz
$( MAKE) -C mpg123-0.59r $( MPG123TARG)
config :
config :
@if [ " ${ OSARCH } " = "Linux" ] ; then \
@if [ " ${ OSARCH } " = "Linux" ] ; then \
if [ -f /etc/redhat-release -o -f /etc/fedora-release ] ; then \
if [ -f /etc/redhat-release -o -f /etc/fedora-release ] ; then \