Commit Graph

393 Commits

Author SHA1 Message Date
Michael Jerris 940bf73b72 Do a better job at tracking dependencies into the libs, so libs are re-built when they need to.
Eliminate some more gmakeisms in the modules makefiles




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4629 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-17 08:40:10 +00:00
Michael Jerris 70a70aa922 Remove the requirement to define MODNAME in the module makefiles.
Remove gmakeisms from the modmake.rules module makefile include
Remove the MODNAME def from all the in tree Makefiles



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4628 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-17 05:49:57 +00:00
Michael Jerris e91db628bc make the main mod sourcfile recompile on core header file changes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4619 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-16 20:21:33 +00:00
Anthony Minessale 0e03316567 make modules re-link after core change
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4618 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-16 20:03:12 +00:00
Michael Jerris d35dda719e 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@4599 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-15 01:32:18 +00:00
Michael Jerris f85be6ffa1 add detection of system libcurl, and if it is available use that instead of in tree curl build. Implemented just in mod_shout so far
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4592 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-14 18:59:25 +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 bc34fb766c add new generated shell script for portable download/untar
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4588 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-14 03:02:46 +00:00
Michael Jerris 8fc04deed6 get the include directory right in generated makefiles for both in tree and out of tree modules
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4584 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-13 17:46:44 +00:00
Michael Jerris d66d95fb29 allow you to export var MODULES that will override what is in modules.conf for that build. work a little harder to try to make it so you can do make in a module directory. More on that later
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4583 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-13 16:49:15 +00:00
Michael Jerris b813ee240d fix module builds to not have to rebuild every time you run make
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4580 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-13 14:43:40 +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 4720bef8e0 cleanup a bit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4572 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-12 18:40:18 +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 ba73b7bc8c first revision of a configure generated makefile for use with all the modules.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4560 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-11 16:58:22 +00:00
Michael Jerris e24008643e feed prefix dir from configure instead of makefile to clean up the compile line. Make the code more consistant between windows and *nix builds. You will likely need to re configure after getting this update.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4509 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-11 01:17:14 +00:00
Anthony Minessale 15002fda35 revise the autotools from the previous commits
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4497 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-09 22:04:29 +00:00
Anthony Minessale 2f95ffa027 update autotools files from the committ in revision 4494. again, you MUST make megaclean and reconfigure after this update.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4495 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-09 21:01:08 +00:00
Justin Cassidy 21083c8cd4 Removing deprecated feature.. Also to test new SVN setup.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3817 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-23 23:58:13 +00:00
Anthony Minessale 95e811f87a sigh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3708 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 00:43:27 +00:00
Anthony Minessale 44cc7d5cfe build progress break everything
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3682 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-17 01:01:09 +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
Michael Jerris 34be89ec13 fix qwirk in script not newer fails if it's exactly the same time..
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3621 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-12 17:38:03 +00:00
Michael Jerris f13b33b0bf make buildlib.sh more portable. This now uses find, instead of bash extensions found in many versions of /bin/sh for comparing file dates. Please report if this causes any issues.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3619 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-12 16:38:46 +00:00
Anthony Minessale 78697e7dfe fix build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3086 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 00:20:40 +00:00
Anthony Minessale 70bfba5b63 Christmas Presence
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3083 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-18 22:57:35 +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
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
Brian West 97bf98495a Small tweak from tholo to make it work on BSD and OS X without wget
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2792 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-23 03:44:32 +00:00
Anthony Minessale c5b8547676 WIP
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2422 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-29 02:42:27 +00:00
Anthony Minessale f258e3ea5c build bs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2365 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-22 21:18:36 +00:00
Anthony Minessale 780edcd09d optimizations
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2354 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-22 00:56:27 +00:00
Michael Jerris d9e8100737 make script work on solaris
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1395 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-08 04:10:21 +00:00
Michael Jerris 4bd5fbc3a4 add new autoconf macros for compiler testing, thanks cypromis.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1392 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-08 03:57:16 +00:00
Anthony Minessale e8b9a4f781 autotools cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@977 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-30 14:43:39 +00:00
Michael Jerris 4d8d6e61a3 build fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@796 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-08 02:58:36 +00:00
Anthony Minessale 642b7647f1 alter build system and add in howl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@602 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-13 19:51:17 +00:00
Anthony Minessale 1bd8aaa8f1 Add mod_ldap as directory example
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@580 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-09 22:37:44 +00:00
Michael Jerris dbd2d43a0e fix autobuild script
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@572 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-09 02:14:20 +00:00
Michael Jerris e6023786e5 modify for new build.sh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@570 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-08 21:40:53 +00:00
Michael Jerris 9f1862d1aa fix path
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@568 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-08 21:08:45 +00:00
Michael Jerris 01f0481db1 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
2006-02-08 00:57:35 +00:00