Commit Graph

35 Commits

Author SHA1 Message Date
Mike Jerris 90ea0b7a1f FS-11624: [Build] Fix paralell build of rayo, ssml, digaling can cause iksemel lib build error. 2019-06-06 11:45:21 -04:00
Corey Smith 28c23ab147 FS-8776 #resolve Support GNU make parallel builds
* Explicitly define dependency tree for several modules
* Enable parallel builds for libtiff and libspandsp
* Verify module is enabled before attempting build.  Allows
  the virtual targets to be used for ordering without forcing
  a build dependency.
2016-01-28 22:23:47 -05:00
Michael Jerris 31069f33a2 generate the modules list vars from modules.conf into a file instead of on the fly every time 2014-05-08 15:59:49 -04:00
Travis Cross c96b2fd918 Fix overzealous grep in build system
This prevented 'make mod_callcenter' from working because the 'all' in
'callcenter' was matching.
2011-08-19 01:55:27 +00:00
Mike Jerris 17d5211280 add make targets for mod_com_g729 mod_com_g729-activate mod_com_g729-install mod_com_g729-clean mod_com_g729-uninstall 2011-02-14 13:52:55 -06:00
Brian West 187c3b90f2 picky picky 2010-06-01 16:14:42 -05:00
Michael Jerris 0c1ae13da1 move mod_spidermoney build to automake, fix spidermoneky dependencies (I think this really fixes -j builds), move mod_spidermonkey sub modules all under the same source directory and bundle their build together as one
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16333 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-17 05:48:36 +00:00
Michael Jerris 143050451d attempt at fixing make -j build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16304 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-14 05:44:20 +00:00
Michael Jerris f5ee8eea00 fix setting of BASE passed to module makefiles when doing --srcdir builds (FSBUILD-211)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15814 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-07 07:22:00 +00:00
Michael Jerris 7bfdd463b6 more --srcdir fixes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15708 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-29 05:50:59 +00:00
Michael Jerris d9a103bd5b an attempt at working --srcdir builds for the modules. (FSBUILD-211)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15704 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-29 04:58:51 +00:00
Michael Jerris 890b4f4e02 build: clean/uninstall disabled modules as well (FSBUILD-85)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13716 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-09 03:25:48 +00:00
Anthony Minessale ed96039297 make it so you can build commented out modules using make <modname>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8251 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-02 18:36:01 +00:00
Michael Jerris 9b1ef84d46 use more correct head arguments
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8025 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-04 20:09:22 +00:00
Michael Jerris f0e47bb13e tweak build to fix debuild weirdness
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7692 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-19 01:00:44 +00:00
Anthony Minessale 1e577d8a58 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7673 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-18 19:58:29 +00:00
Anthony Minessale bdeecad176 up
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7669 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-18 19:41:08 +00:00
Michael Jerris f13b77c820 make modules building handle whitespace after modname in modules.conf 2/2 this time don't break spidermonkey (reported by trixter)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6051 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-25 14:20:16 +00:00
Michael Jerris b29b9802d4 make modules building handle whitespace after modname in modules.conf (reported by trixter)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6050 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-25 14:13:42 +00:00
Michael Jerris 351af9da97 fix mod_spidermonkey builds in new module build makefiles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4908 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-10 16:59:20 +00:00
Michael Jerris 5f053e183a proper -j support for the module builds
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4897 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-09 14:40:03 +00:00
Michael Jerris a7d2f5d8be add auto generated mod_* targets (generated from modules.conf. A step towards make -j support for the module builds.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4840 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-03 10:53:47 +00:00
Michael Jerris c7753b06d4 some cleanup in the Makefiles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4814 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 20:22:38 +00:00
Anthony Minessale 323a4fe087 fix exporting MODULES variable with more than 1 module in the list
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4717 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-21 19:39:31 +00:00
Michael Jerris cc384fb515 removing most of the generated files from tree. You will need to run bootstrap.sh and configure again after you do this update and have autoconf, automake, and libtool installed on the box.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4662 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-19 19:26:25 +00:00
Michael Jerris d1436a4b33 use -s for make without chekc on if it's supported. If we run into ones that do not support -s, we can adress it at that point.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4642 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-18 16:45:57 +00:00
Michael Jerris d0410103ff be quieter in our checks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4640 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-18 16:13:34 +00:00
Michael Jerris 61d3e4ddfb make build even quieter (at least on gmake)... export VERBOSE=yes if you think it's TOO quiet.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4637 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-18 06:48:26 +00:00
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 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 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 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 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 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