Commit Graph

135 Commits

Author SHA1 Message Date
Michael Jerris d1d93a04db make the build a bit quieter. To make it loud again, export VERBOSE. It will still show you all the warnings and all that on errors.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4636 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-18 05:20:35 +00:00
Michael Jerris 0f9eecd3c9 build fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4631 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-17 19:02:26 +00:00
Michael Jerris d6547b8081 we don't need to be so noisy
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4627 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-17 03:06:50 +00:00
Michael Jerris 34eedb4813 rebuild core libraries if the directory or the .update file changes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4625 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-17 03:00:30 +00:00
Michael Jerris 70056cec54 fix make megaclean target
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4623 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-17 01:45:13 +00:00
Michael Jerris 4ffd0bc0bd Fix bootstrap with automake 1.7
fix generation of modules.conf from modules.conf.in on first build
some more steps towards removing gmake specific stuff from our makefiles.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4617 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-16 19:20:24 +00:00
Michael Jerris 18b47de4b2 do a better job with dependency tracking so the the mods don't keep trying to build or install when they don't need to. This should start to help with the speed of the build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4602 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-15 04:32:09 +00:00
Michael Jerris 504798a64a add install_core target
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4596 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-14 22:30:02 +00:00
Michael Jerris c99d8c9b08 add uninstall_mod target to the main makefile
implement uninstall in modmake.rules
add LIBADD_LOCAL var for use in the module makefiles, it both links to the module, and is a dependency like LOCAL_OBJS
fix bug in src/mod/Makefile(.am) that was causing make install to fail on first run for those modules that used the default mod makefile
implement the getlib.sh script in mod_shout Makefile (works.. but still wip)



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4589 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-14 14:35:11 +00:00
Michael Jerris 1cf902ea60 add 'make update' target
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-13 06:44:30 +00:00
Michael Jerris 6e81dda174 Fix re-generation of switch_version.h
remove some un-used and un-necessary shell scripts



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4578 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-13 06:17:58 +00:00
Michael Jerris 1481d37fef move module make to it's own makefile
remove need for modmake.sh (its use is now fully adressed within src/mod/Makefile.am)
remove need for generic_mod.mk (it uses the generated build/modmake.rules now instead)
add support for building out of tree modules as part of the freeswitch build simply by adding the full path to the module dir to your modules.conf
remove the need for special tragets to build.
make will now do a make through the core AND all the modules.
make install will now install the core and all the modules.
most or all of the old targets are still there, plus the new target "core" that will do more or less what make used to do.
make should now be able to be done without write permissions to the prefix directory (make install of course will still need them) whith the exception of modules that use buildlib.sh to download and install thier dependencies.  This will be fixed in a future revision.
checkversion.sh no longer will clean the modules on a change.  The need for this should be gone with the correct include paths to have the src directory included first.
Some steps in this commit to move us closer to being able to build with non gnu make (gmake).  Still some more work to do in this regard as well.
buildlib.sh no longer exports CFLAGS, just passes them to the confiure.
Move a little closer to supporting install directories in the "automake way" where all the dirs will be acutally determined in configure, and follow the standard install targets in Makefile.am
no longer build the modules twice on make install

Additional fixes still on the way for proper dependency tracking for the module builds, so they don't build every time.

any input on how to reach some of the goals stated above of supporting non gnu make, and more properly handling the install directories is appretiated.  Drop me an e-mail if you are intersted in helping.

Mike




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4577 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-13 02:26:00 +00:00
Michael Jerris 514bde18c7 an attempt to simplify the module make files. More changes to come on the modules building soon
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4562 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-12 04:21:54 +00:00
Michael Jerris ee3fc89f69 move all the in tree libs to use subst of the core configure, move all module builds to link with libtool to the .la, static when possible
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4548 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-11 14:03:58 +00:00
Michael Jerris 8f7f8a4531 fix pic flags and some typos. Core now builds all static
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4526 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-11 08:33:49 +00:00
Michael Jerris 46f6981dc4 core deps will now be configured along with the core configure, and will be static non-installed and linked only to the core.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4525 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-11 07:36:49 +00:00
Michael Jerris 45fbc8d224 merge a few more cleanups from my branch. More changes coming shortly.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4521 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-11 06:49:21 +00:00
Michael Jerris 18cf58db24 merge a few more cleanups from my branch. More changes coming shortly.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4520 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-11 06:36:04 +00:00
Michael Jerris 55b3e6cb62 simplify our configure and Makefile.am. Set our CFLAGS and LDFLAGS primarily from configure.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4512 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-11 04:02:10 +00:00
Michael Jerris 178a333539 push prefix dir from configure instead of from the makefile to clean up the compile line a bit. Follow-up commit of autotools, please hold.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4508 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-11 01:07:47 +00:00
Michael Jerris 42e78242a3 add wrapper code to fully encapsulate apr, apr-utils, pcre, and sqlite. fully use switch_ namespace in modules, create our own format and type defines. follow up commit for unix autotools coming soon after this. PLEASE NOTE: you will NEED to do a make megaclean and run configure again after this update (and the following commit) or it will not build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4494 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-09 20:44:13 +00:00
Anthony Minessale a080949e8f add small demo mod to dump xml call detail reports until we work it into mod_cdr ./configure or manually mkdir /usr/local/freeswitch/log/xml_cdr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4290 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 19:46:37 +00:00
Michael Jerris 88b2a8655c tweak var types in xml config, change makefile to install all the new broken out xml files.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4027 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 01:40:14 +00:00
Michael Jerris d7ad197e2c move unix build to use in tree core libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3739 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 22:04:16 +00:00
Michael Jerris 6bc48b7070 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3681 d0543943-73ff-0310-b7d9-9358b9ac24b2 2006-12-16 23:22:45 +00:00
Anthony Minessale 1167541063 build stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3287 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:31:29 +00:00
Anthony Minessale 882c00d615 fix checkversion on Freebsd, another hardcoded make
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2896 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-30 07:44:25 +00:00
Anthony Minessale 08330521ce use checked in libresample
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2888 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-30 05:32:50 +00:00
Anthony Minessale a30256ad94 update to pcre 6.7
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2878 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-30 00:14:03 +00:00
Michael Jerris 50571597c5 Do not force use of "gmake" -- but propagate whichever command was used to start the top-level make. This way users on e.g.
Mac OS X won't have to create a special symlink to build, but can instead just use the command "gnumake" (as opposed to "make" og "gmake")

Merged from tholo's branch http://svn.freeswitch.org/svn/freeswitch/branches/tholo rev 2796, thanks tholo.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2815 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-23 23:27:44 +00:00
Anthony Minessale 80722357a6 Mega Changes
adding mod_park for putting channels in limbo state for remote control.
adding stuff to mod_event_socket to let you do the bgapi <command> <args>
this will let you execute a job in the bg and the result will be sent as an event with an
indicated uuid to match the reply to the command

adding switch_core_port_allocator (to be used soon)
adding "make sure" to do a full rebild of the freeswitch object files

There will be more to this committed as the week progresses

make sure you do a rebuild after this update or you'll be sowwie
./configure && make sure




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2540 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 03:58:01 +00:00
Anthony Minessale bbfbaa2c39 fix for trac ticket #4, make failing on missing which utility, thanks urtho
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2344 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-20 08:36:54 +00:00
Anthony Minessale 3a5caeddae move pcre into core do a ./configure again
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-31 23:46:37 +00:00
Anthony Minessale da8484382c move unix builds to apr 1.2.7, sqlite 3.3.6 and libsndfile 1.0.16
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2112 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-25 15:11:15 +00:00
Anthony Minessale 3076ef7432 test for prefix write and don't fail if directory already exists
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2007 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-20 03:07:43 +00:00
Anthony Minessale 9c6b04435f test for prefix write
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-20 00:08:12 +00:00
Anthony Minessale 0153eb4cc4 move fsxs out of the root src dir
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1785 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-07 14:51:04 +00:00
Michael Jerris 204e6cf43d add fsxs script for building out of tree modules. Thanks stkn.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1755 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-05 14:40:28 +00:00
Anthony Minessale a4fc74c37e update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1497 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-24 14:42:21 +00:00
Anthony Minessale 93666f6dd7 XMLification (wave 1)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1401 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 03:23:05 +00:00
Anthony Minessale 3058335e80 add xml
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1376 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-05 21:05:11 +00:00
Anthony Minessale 28173df273 make crash protection a configure option --enable-crash-protection and make mini-rtp have 4 byte headers
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1368 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-05 13:35:33 +00:00
Anthony Minessale 0c27a246b3 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1356 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-04 20:21:54 +00:00
Anthony Minessale 51241ad37f update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1355 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-04 20:19:23 +00:00
Anthony Minessale d59cae60c7 add nitrous oxide tank to core event sql backend
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1260 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-26 17:18:33 +00:00
Anthony Minessale c096cd7137 add c99 setting to Makefile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1249 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-25 16:54:33 +00:00
Anthony Minessale c0891ce9db update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1186 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-18 16:20:47 +00:00
Anthony Minessale 021ea0e724 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1181 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-18 00:24:52 +00:00
Brian West 559b8ab26c Gut Logger and put it back modular style
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1117 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-11 21:13:44 +00:00
Anthony Minessale 809dfc8488 add in tree srtp to build system
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1089 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-07 16:39:49 +00:00