Build system cleanup, initial piece of automatic build test system (thanks xachen)

minor mod- I kept build.sh in the root dir for now.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@560 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2006-02-08 00:57:35 +00:00
1 parent bbf57195a3
commit 01f0481db1
17 files changed
+42 -30

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
#!/bin/sh
pwd=$1
shift
mod=$1
shift
make=`which gmake`
if [ -z $make ] ; then
make=`which make`
fi
end=`echo $mod | sed "s/^.*\///g"`
if [ -z $end ] ; then
end=$mod
fi
if [ -f $mod/Makefile ] ; then
MODNAME=$end $make -C $mod $@
else
MODNAME=$end $make -f $pwd/generic_mod.mk -C $mod $@
fi