19 Commits

Author SHA1 Message Date
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