Commit Graph

39 Commits

Author SHA1 Message Date
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 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
Anthony Minessale 6ae16d1523 better Mac detection
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4569 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-12 17:46:24 +00:00
Michael Jerris 2067549f74 remove unneeded -L from our LDFLAGS
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4568 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-12 17:05:56 +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 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 94206d80c7 push correct prefix dir to flags if no --prefix is specified to configure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4514 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-11 05:15:34 +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 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 775d63211b automistake
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3709 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 00:47:37 +00:00
Anthony Minessale 81452c2679 autodroolz
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3707 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 00:41:20 +00:00
Anthony Minessale d7400bf319 build changed
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3690 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 00:48:34 +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
Anthony Minessale 1386d84694 use usleep when possible, ./configure && make sure when you update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2722 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 18:44:53 +00:00
Anthony Minessale 7a5bc3b711 autoconf crap
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2043 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-22 01:02:36 +00:00
Anthony Minessale 2a3650f4cf try to make freeswitch build with a little older autoconf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2030 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-20 19:29:16 +00:00
Anthony Minessale d607494ac0 add mlockall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1584 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-09 15:39:12 +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 828e03715f try out new builtin RTP using srtp lib
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1012 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-03 21:00:13 +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 bac1e3fd1d add checks for solaris and sun studio and other solaris fixes, thanks cypromis
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@970 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-30 02:12:50 +00:00
Anthony Minessale 172b62785c 1 of many PRI/SIP gateway related updates
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@654 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-22 21:14:22 +00:00
Anthony Minessale bca6d6e649 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@521 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-30 22:52:53 +00:00
Anthony Minessale a092a55ad9 build updates
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@441 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-25 23:59:02 +00:00
Anthony Minessale 883efd4e76 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@296 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-06 02:01:11 +00:00
Anthony Minessale f276ac9e68 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@295 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-06 01:44:52 +00:00
Michael Jerris 49a0eb2955 generate switch_version.h in autotools builds.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@290 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-05 23:13:00 +00:00
Anthony Minessale a642381f25 unix retool
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@255 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-02 18:31:50 +00:00
Anthony Minessale 146b99e1d6 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@184 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-21 16:24:37 +00:00
Anthony Minessale 03533ad0f3 make events queue in the bg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@152 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 21:29:46 +00:00
Anthony Minessale db3992767e arrgh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@137 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 21:26:03 +00:00
Michael Jerris fbf4da07ca Update configure for jrtp4c to not have it's own configure stuff.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@61 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-20 02:57:06 +00:00
Anthony Minessale a6e9f279b2 update
git-svn-id: http://svn.freeswitch.org/svn/local/src/freeswitch@41 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-19 00:10:16 +00:00
Anthony Minessale 4da77ea5c5 hi
git-svn-id: http://svn.freeswitch.org/svn/local/src/freeswitch@11 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-12 21:27:19 +00:00