InspIRCd Robot
1bf7ca3894
Update copyright headers.
2021-02-26 06:58:13 +00:00
Sadie Powell
859a79923a
Migrate some stuff away from print_format.
2021-01-27 16:47:08 +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
iwalkalone
56c9477428
Link flags must be after compiled objects.
2019-04-22 02:01:36 +01: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
806e57433a
Rewrite the build system directive parser.
2016-09-16 04:23:56 +01:00
Peter Powell
2a419c7525
Fix linker flags being in the wrong place on static builds.
2016-08-19 16:10:00 +01:00
Peter Powell
0d7d6a9d09
Pass INSPIRCD_VERBOSE through the environment to unit-cc.
2016-06-27 00:35:16 +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
01dee272ca
Remove run-cc.pl and all associated code.
...
As far as I can tell this only worked with older versions of GCC
and there is no value in fixing it as diagnostics have improved
since then and it makes errors hard to search for anyway.
This also shaves off an average of five seconds on each build on
my hardware. Neat!
2015-05-13 15:22:44 +01:00
Peter Powell
4b3e466c80
unit-cc: Remove workaround which existed for 2.0.x only.
2015-05-13 15:22:44 +01:00
Peter Powell
953ca72cfe
unit-cc: Use the same preamble as other Perl tools.
2015-05-13 15:22:44 +01:00
Attila Molnar
3a3ff94967
Merge insp20
2014-10-27 15:26:20 +01:00
Peter Powell
8258232b7b
Fix unit-cc not loading configure cache when building files.
2014-08-27 22:01:54 +01:00
Attila Molnar
050c2cf253
Integrate coremods into the build system
2014-03-05 16:28:29 +01:00
Peter Powell
b86fe63a3a
Clean up the build system properties and related code.
...
- Deduplicate getcompilerflags, getdependancies, getlinkerflags.
- Remove $NoPedantic (add -Wno-pedantic to $CompileFlags instead).
- Remove --enable-freebsd-ports-openssl and all related code (this
will be replaced with --no-pkg-config=[name] in the future).
- Remove some unused build system properties.
- Remove support for caching third party include and library paths
(can cause unexpected problems when they change).
2013-08-16 00:35:34 +01:00
Peter Powell
abc57eddfb
Change modules to use the MODNAME constant when logging.
...
The majority of modules were logging with their module name as the
log type. There was a few places which were logging to a non-name
type but, with the exception of CONFIG, those messages are so
uncommon that it doesn't make sense to use a seperate type for
them.
2013-08-04 13:32:51 +01:00
Peter Powell
240f34086a
Rename CXXFLAGS to CORECXXFLAGS to respect users enviroment.
2013-07-04 17:55:23 +01:00
Robby-
5e8f135c6a
Headers: update remaining scripts too
2012-04-20 18:33:52 +02:00
Daniel De Graaf
03166a7d11
Change argument order of LDLIBS to work properly with -Wl,--as-needed
2010-07-02 11:27:24 -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
7cb909b0f3
PURE_STATIC fixes to use normal <module> tags
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12641 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-18 15:14:31 +00: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
c7e9032358
Add directory change to unit-cc, to fix the immensely stupid BSD make behavior of changing directories
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11772 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-28 01:43:47 +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
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
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
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