Commit Graph

160 Commits

Author SHA1 Message Date
Anthony Minessale 232dc94edd fix make core dependencies and output
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5012 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-24 18:00:08 +00:00
Michael Jerris a1c4a22e90 stray bits from the last commit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4898 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-09 15:58: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
Anthony Minessale 4d62a1adb2 add core ODBC
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4846 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-04 03:08:17 +00:00
Michael Jerris ef4187a44d fix whoops from previous commit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4841 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-03 11:57:57 +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 3939523cae fix make -j build (currently only is useful for the core and core libs.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4838 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-03 04:42:48 +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 9a1945130b no more .noversion because it breaks things
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4811 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 17:31:21 +00:00
Anthony Minessale 3a54126261 spring cleaning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 22:31:56 +00:00
Michael Jerris 4341b8e6e4 add --disable-resample configure option to build without resampler support
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4783 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-28 18:46:07 +00:00
Michael Jerris 0958553f39 add special make targets (from requests via irc)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4779 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-28 17:33:05 +00:00
Michael Jerris 010c2f4ee6 switch_config isn't used anymore. leaving the .c and .h file there for now, we may remove them in the future.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4758 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-24 03:29:24 +00:00
Michael Jerris bf0c023107 start building teletone as part of the core
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4754 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-23 20:41:16 +00:00
Michael Jerris 8607209400 still trying
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4746 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-23 00:39:55 +00:00
Michael Jerris bbd69f3180 still trying
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4745 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-23 00:31:08 +00:00
Michael Jerris f0d94e76f5 tweak deps
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4744 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-22 23:20:23 +00:00
Michael Jerris ff40dd4ee3 tweak deps
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4743 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-22 23:04:12 +00:00
Michael Jerris 57e7a626f4 fix debian build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4695 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-20 21:23:39 +00:00
Michael Jerris d4f395362d little cleanups
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4675 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-20 01:00:22 +00:00
Michael Jerris f773e2b12d make the core honor VERBOSE setting for the core c files compile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4648 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-18 19:23:09 +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 ba10919f4b a little more cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4639 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-18 16:04:41 +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 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