137 Commits

Author SHA1 Message Date
danieldg
de25d94673 Get rid of a bunch of memory-wasting C-style strings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11796 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-03 01:52:59 +00:00
danieldg
7aa5e059a8 Remove include/inspircd_se_config.h and socketengine-specific headers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11784 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-30 18:31:05 +00:00
danieldg
3900997a09 Buildsystem updates
Add required compilation flags for interix
Fix build when perl is not in /usr/bin
Clean up unused file masks from .gitignore

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11770 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-27 22:14:25 +00:00
danieldg
58895f9b1d Run configure -update on all svn/git changes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11758 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-22 01:06:00 +00:00
danieldg
792d6d6725 Fix unit-cc when build is not a direct subdirectory of source; create make rule for GNUmakefile
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11746 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-18 14:05:49 +00:00
danieldg
05b111d6a2 Update make help, configure, and fix build of empty m_* directories
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11739 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-17 14:13:17 +00:00
danieldg
3a186342c9 Remove .*.d dependency garbage, and use a dedicated build directory
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11738 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-17 03:04:27 +00:00
danieldg
3841c4b04a Attempt to revert r11734
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11735 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-16 22:42:36 +00:00
danieldg
558a44bf47 Merge commands and modules in source, since they are already merged in install
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11734 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-16 20:16:26 +00:00
danieldg
c90f2b28d2 Allow make on a read-only source tree using make O=objdir
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11733 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-16 20:00:15 +00:00
danieldg
94d7827e8b Fix null ExtensionItem when unregistering hooks; fix CORE_FLAGS on darwin
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11729 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-15 21:25:21 +00:00
danieldg
f4472dd6dc Change cmd_*.so to use the Module object API
Create Module* objects for each command, and load them like modules.
This unifies the external API for modules.

Library directory is now deprecated: all modules are located in a
single module directory.

Header files for each command are no longer needed; remove.

This also fixes two potential segfaults in m_spanningtree.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11668 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-03 02:30:12 +00:00
danieldg
c29175d806 Remove COMPILE_ROOT and MAKESTYLE variables
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11667 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-03 02:30:03 +00:00
danieldg
eb910456e2 Move file inclusion logic into calcdep, and complain about ambiguous #include directives there
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11587 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 22:44:44 +00:00
danieldg
5c93325b53 Use CXXFLAGS rather than nonstandard NICEFLAGS/FLAGS/etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11571 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:06:39 +00:00
danieldg
7dc0bccadd Consolidate root-level Makefile targets to clarify common specifications
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11570 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:06:32 +00:00
danieldg
e9c9012636 Move bsd-dep.mk/gnu-dep.mk to top-level Makefile
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11569 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:06:25 +00:00
danieldg
9de77615d6 Add "make single" target and fix slow depfile generation on "make module"
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11568 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:06:18 +00:00
danieldg
facb1eb98f Replace special treatment of spanningtree module directory with a generic directory build
This allows "make M=m_spanningtree" to work on a clean build tree
It also allows for other complex modules to be created (i.e. m_services)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11567 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:06:11 +00:00
danieldg
572cdf85ea Move compiler flag selection from configure to Makefile; add support for Intel C++ Compiler.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11564 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:05:50 +00:00
danieldg
8db3608194 Clean up unneeded messages, fix BSD make
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11563 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:05:43 +00:00
danieldg
77f2c57c60 Fix "make module" to include dependency generation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11562 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:05:33 +00:00
danieldg
94d5c29f63 ./configure fixes: -modupdate is no longer needed, -update no longer forces a full rebuild
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11560 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:05:18 +00:00
danieldg
944d154bef Re-implement dependency generation in perl to increase speed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11559 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:05:11 +00:00
danieldg
ee0d8addce Fix install of module .so files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11558 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:05:03 +00:00
danieldg
192fa7d313 Fix build of m_spanningtree and display of dependency regeneration
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11557 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:04:48 +00:00
danieldg
990e04bab5 Move dependency tracking from ./configure to Makefile
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11556 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:04:40 +00:00
danieldg
6b13769673 Makefile updates: clean up some installation assumptions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11405 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-07 02:58:07 +00:00
danieldg
79283c8393 Makefile updates: Add "make help" and "make M=m_modname" to build an individual module
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11402 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-06 00:29:19 +00:00
danieldg
23b2fe9510 Ignore and remove {BSD,GNU}makefile
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11398 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-01 17:08:53 +00:00
danieldg
828011aeaf Makefile updates: Fix BSD make conditionals
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11397 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-01 14:25:23 +00:00
danieldg
ad13d2293a Makefile updates: Allow run-cc wrapper to be disabled by "make V=1"
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11396 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-01 01:26:23 +00:00
danieldg
3954761f11 Makefile updates: clean up command lines
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11395 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-01 01:26:15 +00:00
danieldg
bc56f3dc97 Makefile updates: remove MAKEPROG/MAKEORDER
Also update the output on "make debug" to look better and avoid
interleaving header output on a parallel make.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11391 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-30 15:31:53 +00:00
w00t
39d63cdd10 Remove commands makefile also on make distclean.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11351 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02 19:02:25 +00:00
psychon
b6dbd6caab Update all wiki links to point to the new wiki. This was done automatically with the following command, only .Makefile.inc got some indent fixups by hand.
for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-15 12:42:35 +00:00
peavey
c5f32b22fb Allow install path with spaces (dont escape the spaces). Fixes bug #717 reported by Obi_Wan.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11096 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-12 20:07:55 +00:00
w00t
43847ec9c7 Update copyrights for 2009.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02 18:16:05 +00:00
w00t
fb07f6293e Forward-port: Created commit fcadb0b: Change rm to force removal for configureclean target, obsoletes debian patch.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10829 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-27 14:17:41 +00:00
special
8d10212b91 Removed the verbosity in 'make clean' to fix issues with OpenBSD and possibly others
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9655 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-06 21:07:42 +00:00
w00t
c68d199972 Here too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9499 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-13 22:17:32 +00:00
brain
c3c463eb4a Remove the 'making modules' line
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9033 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24 21:12:51 +00:00
aquanight
82af95f143 Make run-cc show ARCHIVE step(s), also get rid of 'entering/leaving directory' nonsense from gnumake.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9031 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24 20:30:17 +00:00
brain
df167bf4ac Now very tidy make output, with pretty colours :p
(Unless it errors, then you get the full commandline and error output etc)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8878 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10 17:22:36 +00:00
aquanight
d555db40f4 Make m_password_hash able to pick up hasher modules after it's loaded, meaning m_md5 and m_sha256 no longer have to be loaded before it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8793 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-02 22:14:24 +00:00
aquanight
37283ce7b3 Modules using NoPedantic now properly respect 'make debug'.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8737 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-19 16:58:18 +00:00
brain
a9d2342f6a Make install list list automatically generated from build targets and provide facility for installing extra files.
Using this, cert.pem and key.pem are only copied to the conf dir if you enabled an ssl module.
Also, this provides facility for a 'make deinstall' which should be safe for use in all situations as it always specifies a file by name and never uses wildcards to rm.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8362 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25 20:51:58 +00:00
brain
532bf47678 Make clean should clean the socketengine objects
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8335 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-23 22:41:14 +00:00
brain
e281922d55 Auto generate the install list, no more need to insert it into the .makefile.inc for it to be part of make install
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8312 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-23 16:42:03 +00:00
w00t
5d5285f24b Move cmd_*.cpp to src/commands/. Not done in the nicest of ways yet, but ah well :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8299 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-22 14:13:48 +00:00