54 Commits

Author SHA1 Message Date
InspIRCd Robot
1bf7ca3894 Update copyright headers. 2021-02-26 06:58:13 +00:00
Sadie Powell
2fceea41e8 Always use for in Perl modules. 2021-01-29 13:46:37 +00:00
Sadie Powell
f6b861f12d Fix unnecessary begin blocks in Perl source files. 2021-01-25 12:39:56 +00:00
Sadie Powell
a0176191c9 Remove whitespace between the shebang and the copyright header. 2020-01-11 22:53:07 +00:00
InspIRCd Robot
aa692dc103 Update copyright headers. 2020-01-11 22:14:43 +00:00
Peter Powell
08393c0028 Use separate build dirs when rebuilding with a different compiler. 2019-10-16 12:34:24 +01:00
Peter Powell
961109ae4f Remove trailing whitespace from various source files. 2019-01-24 22:18:22 +00:00
Peter Powell
d9a52277df Remove support for static modules.
This has been frequently broken in the past and as far as I know is
used by literally nobody.

Also, even if all modules are compiled into the core any libraries
linked against are and have always been linked dynamically making
this unusable on platforms without dynamic libraries.
2018-07-31 03:20:18 +01:00
Peter Powell
98372c3cf2 Extract RFC modes from the core to core_channel and core_user. 2017-12-10 12:38:45 +00:00
Peter Powell
c83ce75368 Merge INSPIRCD_MODULE and INSPIRCD_TARGET. 2017-11-29 19:23:40 +00:00
Peter Powell
c0aba5b728 Merge v2.0.23 and v2.0.24 into master. 2017-07-09 22:45:00 +01:00
Peter Powell
348a746b98 Fix pure static builds. 2016-12-02 14:44:09 +00:00
Peter Powell
0d7d6a9d09 Pass INSPIRCD_VERBOSE through the environment to unit-cc. 2016-06-27 00:35:16 +01:00
Peter Powell
30bd7bb39f Rename PURE_STATIC to INSPIRCD_STATIC. 2016-04-04 13:20:21 +01:00
Attila Molnar
bbc6a0bbbe Refuse to link modules to the core binary in dynamic builds
Fixes issue #912
2015-11-16 10:26:27 +01:00
Peter Powell
cf94052d8f Fix modules with 2+ files not having their LinkerFlags parsed. 2015-06-03 14:59:08 +01:00
Peter Powell
70faab99c8 calcdep: Unify coremod and module building code. 2015-05-13 15:22:43 +01:00
Peter Powell
f02e766924 calcdep: Clean up some unused/duplicate variables. 2015-05-13 15:22:43 +01:00
Peter Powell
32b789eec1 calcdep: Use the same preamble as other Perl tools. 2015-05-13 15:22:43 +01:00
Peter Powell
45c048241d calcdep: Remove a workaround for a very old version of BSD Make. 2015-05-13 15:22:43 +01:00
Peter Powell
2803ae5d75 Remove various broken/useless features from the build system.
- Removed support for changing the build directory using configure.
  This can still be set using make BUILDPATH=foo.
- Removed support for SPLIT_CC builds. This is not documented
  anywhere and is quite useless as it doesn't work.
- Remove STARTSCRIPT from configure; always install the perl
  helper.
2014-04-11 15:38:17 +02:00
Attila Molnar
050c2cf253 Integrate coremods into the build system 2014-03-05 16:28:29 +01:00
Peter Powell
bac02a2800 Replace arguments for toggling socketengines with --socketengine. 2013-07-07 21:02:47 +01:00
Peter Powell
362f3009ac Merge inspircd_{config,version}.h into a single header file. 2013-04-05 16:39:40 +01:00
Peter Powell
a0eeadff23 Replace a GNUmake idiom with the portable equivalent. 2012-12-25 18:39:04 +01:00
Robby-
5e8f135c6a Headers: update remaining scripts too 2012-04-20 18:33:52 +02:00
Daniel De Graaf
b157bcdbbc Recreate the build/include symlink so that changing the build location works as expected 2010-09-08 20:21:17 -04:00
Daniel De Graaf
df347edbdb Use unit-cc for all compile and and link tasks
This allows splitting .o and .so generation for distcc builds, and also
removes some unneeded autodetection of build stage.
2010-05-07 14:04:53 -05:00
danieldg
bd64961912 Improve support for NetBSD
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12438 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-12 00:03:44 +00:00
danieldg
88b9ecb6b3 PURE_STATIC improvements: Allow modules to be reloaded, generate linker arguments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12276 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-17 03:17:25 +00:00
danieldg
988784816b GCC 4.5 warning fixups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12241 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-04 17:04:08 +00:00
danieldg
19487dbebc Allow static build of inspircd without module support
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12083 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-11 00:17:07 +00:00
danieldg
7746307ab6 Clarify comments in Makefiles
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11990 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-03 01:14:04 +00:00
danieldg
26cd5393c9 Update m_cloaking to use free-form keys instead of weakening the hash IV
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11820 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-10 17:06:52 +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
4a64082e31 Move destruction logic for User and Spanningtree into cull()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11783 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-30 17:12:08 +00:00
danieldg
6b27fae945 Sort the module list to give a useful indicator of compile progress
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11779 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-30 00:54:17 +00:00
danieldg
5e1d239f3d Work around BSD make chdir bug with symlinks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11775 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-28 15:39:46 +00:00
danieldg
d811ffeda2 Fix linking errors on BSD
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11774 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-28 02:21:43 +00:00
danieldg
d5e36aa2b2 Fix warnings from BSD build and work around the failures of BSD make
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11771 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-28 00:55:42 +00:00
danieldg
d7ee3683a4 Fix modules/extra symlinks when calculating dependencies
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11769 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-27 14:37:04 +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
4d1e32528f Force rebuild of symlinked modules when the source file changes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11709 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13 20:32:55 +00:00
danieldg
3e26f42a8f Include VERSION/REVISION information in module version tag, so that we do no longer rely on $Id$
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11666 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 18:33:16 +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