summaryrefslogtreecommitdiff
path: root/make/template/main.mk
AgeCommit message (Collapse)Author
2015-05-13Remove run-cc.pl and all associated code.Peter Powell
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-04-20Merge insp20Attila Molnar
2015-03-09Fix building when VERBOSE is already set in the environment.Peter Powell
This is a workaround for now. In 2.2 we should prefix all of the environment variables with INSPIRCD_ to avoid collisions.
2015-02-18Remove a workaround for a compiler which is no longer supported.Peter Powell
2015-01-22Disable RTTI in release builds (compile with -fno-rtti)Attila Molnar
2014-12-18Fix some oversights from #895.Peter Powell
- Always write the configure cache file as it is needed for updating the makefile when --update is called. - List the modules which have been enabled in the "configuration complete" message. - Silence some harmless warnings about installing PEM files which don't exist.
2014-12-07Fix builds on OpenBSD spamming the console with warnings.Peter Powell
2014-12-07Improve configure cache file handling.Peter Powell
- Add a version number to the configure cache file. - Disable configure cache file in non-interactive mode. - Rename configure cache file to .configure.cache to avoid 2.0 files. - Use run_test to produce the "reading .configure.cache" message.
2014-12-07Miscellaneous improvements to configure.Peter Powell
- Clean up various minor sections of the code. - Remove OpenSSL and GnuTLS detection plumbing. - This will soon be the job of modulemanager. - This did not work in non-interactive mode unlike --enable-extras. - Rework runas user handling. - Add the --gid configure option. - Accept either an id or a name in --gid and --uid. - Rework the question flow in interactive mode. - User is no longer asked detailed questions unless they want them. - Socket engine questions have been removed. - Automatically enable non-interactive mode if STDIN or STDOUT are not a tty.
2014-10-24Fix some small bugs in the makefile template.Peter Powell
- GCC in C++ mode should be called g++ not gcc. - ICC in C++ mode should be called icpc not icc.
2014-06-28Add man pages.Peter Powell
2014-06-28Add systemd service file.Peter Powell
2014-05-23Replace the configure templating system with something better.Peter Powell
A large amount of this code can be removed when buildtool is done as we will not need to worry about the differences between BSD and GNU Make.
2014-04-11Remove various broken/useless features from the build system.Peter Powell
- 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-02-06Don't force a rebuild after doing a Git commit.Peter Powell
Thanks to w00t for pointing out the cause of this.
2013-09-08Hide all symbols that aren't exported explicitlyattilamolnar
In addition to reducing the sizes of all binaries this also helps the optimizer
2013-08-18Clean up and move various subroutines.Peter Powell
- Fix indentation of get_compiler_info and clean up slightly. - Move module_installed to make::utilities. - Remove promptnumeric (unused). - Rename clean to cmd_clean and rewrite. - Rename dir_check to prompt_bool and rewrite. - Rename dumphash to dump_hash. - Rename getcache to read_configure_cache and rewrite. - Rename getrevision to get_revision. - Rename makecache to write_configure_cache and rewrite. - Rename promptstring_s to prompt_string and rewrite. - Rename showhelp to cmd_help and rewrite. - Rename update to cmd_update and rewrite. - Rename yesno to prompt_bool and rewrite. - Replace getmodules with a <src/modules/m_*.cpp> glob.
2013-07-05Expose compiler name to make.Peter Powell
- Convert ICC detection to use new variable.
2013-07-05Rename configuration variable to CXX to match everything else.Peter Powell
2013-07-04Rename CXXFLAGS to CORECXXFLAGS to respect users enviroment.Peter Powell
2013-07-04Use CXX instead of CC.Peter Powell
CXX is the correct variable to use as CC is the C compiler.
2013-07-04Add IFNEQ Makefile template macro.Peter Powell
- Use template macro for ICC check. - Don't link against pthread on Darwin.
2013-07-04Remove 'make squeakyclean'.Peter Powell
This was a non-standard alias for make distclean.
2013-07-04Tidy up CXXFLAGS and LDFLAGS.Peter Powell
- Add -Iinclude at declaration instead of doing it later on. - Add -Wextra -Wfatal-errors and -Wno-unused-parameter. - Enable -Wall and -Wshadow on ICC. - Remove -DPIC (useless). - Remove empty declaration of LDFLAGS. - Remove unneeded CXXFLAGS on Darwin.
2013-07-04Remove support for Interix and SunOS from the Makefile.Peter Powell
- SunOS was replaced with Solaris in 1992(!). - We have a native Windows port so Interix is not needed.
2013-06-06Merge insp20attilamolnar
2013-04-27Fix a few minor issues with `make distclean`.Peter Powell
- Only remove the base directory for in-source installs. - Use full paths to the source directory. - Update the help message to be more accurate.
2013-04-05Merge inspircd_{config,version}.h into a single header file.Peter Powell
2013-04-02Extract SSL generation to a tool which can be shipped by distros.Peter Powell
2013-03-02Reorganise configuration files:Peter Powell
- Example config files now end with .conf.example. - Example text files now end with .txt.example. - Removed 'inspircd' from the name of multiple example files. - Added missing oper motd example file.
2013-01-27Use GNU install on Solaris.Peter Powell
2012-12-07Fix #380 on BSD make.Peter Powell
2012-12-07Fix invalid argument warnings on clang.Peter Powell
2012-12-02Fix the list of files to be removed by make.Peter Powell
2012-10-04Replace hardcoded paths with configurable onesChrisTX
This patchset aims to ease the packaging of InspIRCd for a system-wide installation scenario. Changes in detail: configure: Add the options --log-path and --data-path m_ssl_gnutls, openssl: Change the hardcoded "conf/" to the existent CONFIG_PATH macro m_xline_db: Make the location of xline.db configurable. It will use --data-path as default value, but this can be changed using the configuration files.
2012-06-12Install example alias and module configuration files as well.Peter Powell
2012-06-12Fix build on Debian GNU/Hurd platforms, thanks to Jonathan Wiltshire ↵attilamolnar
<jmw@debian.org> for the patch Fixes issue #98 reported by @guikcd
2012-05-04Update 'make install' to inform the user about the example config files.Peter Powell
2012-05-01Install example configuration files into their own directory.Peter Powell
2012-04-20Headers: update remaining scripts tooRobby-
2012-04-16fix build on kfreebsdChristoph Egger
fixes #64
2011-02-27Fix "-bundle not allowed with -dynamiclib" issue on OS XPeter Powell
2010-09-28Work around old GNU make's inability to use "else if"Daniel De Graaf
2010-09-10Build fixes for darwinDaniel De Graaf
2010-05-12Be consistent in testing PURE_STATIC for defined vs == 1Daniel De Graaf
2010-05-07Use unit-cc for all compile and and link tasksDaniel De Graaf
This allows splitting .o and .so generation for distcc builds, and also removes some unneeded autodetection of build stage.
2010-04-21typoDennis Friis
2010-04-01Split up API_VERSION numberDaniel De Graaf
Since we can make API changes in multiple branches at the same time, a single sequence number is insufficient. Use two numbers to indicate the major version and API increment.
2010-03-29Improve INSTUID error messageDaniel De Graaf
2010-03-25Remove references to SVN from the MakefileDaniel De Graaf