Michael Jerris
7ca8c7b7c6
build: fix jobserver unavailable bug in make -j (FSBUILD-6)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13623 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-04 22:01:46 +00:00
Michael Jerris
31c42876e4
we need DYNAMIC_LIB_EXTEN for mod_perl and others
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13023 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-15 03:05:37 +00:00
Michael Jerris
8b6905d188
fix error loading mod_spidermonkey due to missing PR_* symbols
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12939 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-07 19:48:50 +00:00
Michael Jerris
f2d777f17b
libtool blah take 2 (FSBUILD-82)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12932 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-06 22:29:10 +00:00
Michael Jerris
9437577350
revert r12899
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12912 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-03 20:38:47 +00:00
Michael Jerris
6bc16f5f77
libtool blah (FSBUILD-82)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12899 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-03 00:59:15 +00:00
Michal Bielicki
872c349fec
tweak for gcc build on solaris
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8847 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-26 02:27:32 +00:00
Stefan Knoblich
443c97919e
fix -D_GNU_SOURC typo in build/modmake.rules.in ALL_CXXFLAGS
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8650 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 22:07:31 +00:00
Stefan Knoblich
0e6bb5f606
ok, sleep helps...
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8351 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-10 16:01:27 +00:00
Stefan Knoblich
9c7657f933
Fix modmake.rules include path for real (yes this way s*cks, but escaping the $ does not work...)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8347 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-10 02:32:04 +00:00
Stefan Knoblich
5e9c36e859
Do not expand BASE variable while creating Makefiles for modules (so you can actually move the freeswitch source around after a build)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8346 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-10 01:35:30 +00:00
Michal Bielicki
abbf7fec69
let configure do the libdir insert and not the environment
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7683 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-18 22:21:43 +00:00
Michal Bielicki
b552cb3a6c
Make libdir and bindir being accepted by libs and modules
...
add a setting called --modinstdir to be able to define where modules get installed
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7663 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-18 14:58:41 +00:00
Michael Jerris
71ffefae4e
change around build order a little
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6978 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-25 16:55:33 +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
7a2098ef78
fix
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4738 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-22 21:40:11 +00:00
Michael Jerris
9070ba0e14
remove gmakeisms from the mod_cdr makefile
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4652 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-19 12:16:46 +00:00
Michael Jerris
1b1655db3b
add custom build output on modules install
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4649 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-18 23:20:30 +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
d59122379c
remove gmakeisms from sofia, portaudio and cepstral makefiles. simplify the module template makefiles
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4635 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-18 01:52:23 +00:00
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
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
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