Logo
Explore Help
Sign In
kenmirrors/freeswitch
1
0
Fork 0
You've already forked freeswitch
mirror of https://github.com/signalwire/freeswitch.git synced 2025-05-11 01:45:40 +00:00
Code Issues Projects Releases Wiki Activity
freeswitch/build/modmake.sh

24 lines
312 B
Bash
Raw Normal View History

hi git-svn-id: http://svn.freeswitch.org/svn/local/src/freeswitch@11 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-12 21:27:19 +00:00
#!/bin/sh
pwd=$1
shift
mod=$1
shift
make=`which gmake`
if [ -z $make ] ; then
move gsm to automake and make it work in unix git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@262 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 21:58:16 +00:00
make=`which make`
fi
end=`echo $mod | sed "s/^.*\///g"`
if [ -z $end ] ; then
end=$mod
hi git-svn-id: http://svn.freeswitch.org/svn/local/src/freeswitch@11 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-12 21:27:19 +00:00
fi
if [ -f $mod/Makefile ] ; then
move gsm to automake and make it work in unix git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@262 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 21:58:16 +00:00
MODNAME=$end $make -C $mod $@
hi git-svn-id: http://svn.freeswitch.org/svn/local/src/freeswitch@11 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-12 21:27:19 +00:00
else
put mods in subdirs git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@269 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 22:36:56 +00:00
MODNAME=$end $make -f $pwd/generic_mod.mk -C $mod $@
hi git-svn-id: http://svn.freeswitch.org/svn/local/src/freeswitch@11 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-12 21:27:19 +00:00
fi
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 602ms Template repo/home: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API