summaryrefslogtreecommitdiff
path: root/make/template
AgeCommit message (Collapse)Author
2016-11-16Rework the example services aliases.Peter Powell
- Split common stuff into a generic configuration file. - Reserve all nicknames used by services by default. - Exempt all services clients from filtering. - Add missing aliases for services pseudoclients.
2016-09-17Use the environment's CPPFLAGS as well as its CXXFLAGS.Peter Powell
2016-09-02Update stuff for the new versioning system.Peter Powell
2016-08-17Merge insp20Attila Molnar
2016-06-27GCC should never assume that this can not be null.Peter Powell
2016-06-27Pass INSPIRCD_VERBOSE through the environment to unit-cc.Peter Powell
2016-06-27Fix cleaning files generated by configure.Peter Powell
This is an oversight from f79a55616b5ff05d4f2e6b031a17be5668d1d3ea.
2016-04-10Fix extraneous quotes in makefile template.Peter Powell
2016-04-04Rename M to INSPIRCD_MODULE.Peter Powell
2016-04-04Rename T to INSPIRCD_TARGET.Peter Powell
2016-04-04Rename D to INSPIRCD_DEBUG.Peter Powell
2016-04-04Rename V to INSPIRCD_VERBOSE.Peter Powell
2016-04-04Rename PURE_STATIC to INSPIRCD_STATIC.Peter Powell
2016-03-25Delete modules cautiously when doing a deinstall.Peter Powell
2016-03-25Partially revert "Quote paths in the makefile".Peter Powell
There is no need to quote BASE and {BIN,CON,DAT,MOD,LOG}PATH because they are alreaady quoted. {BUILD,SOURCE}PATH however are unquoted so their usages still need to be quoted. This reverts commit dbcbf9647d0abb421f8a84b41e674f403c91ce8f.
2016-03-22Write generated templates to the .configure directory.Peter Powell
2016-03-21Fix 'cron' and 'restart' in the helper not forwarding arguments.Peter Powell
2016-02-26Quote paths in the makefile.Peter Powell
This prevents problems caused by paths with spaces in them.
2016-02-22Merge insp20Attila Molnar
2015-07-29Fix "make -jX debug install" causing linker errors.Peter Powell
2015-06-24Log STDOUT and STDERR in the launchd script.Peter Powell
2015-06-14Fix system-wide installation of the data and log directories.Peter Powell
The existing method works fine when building with the default paths but breaks when you are doing a system-wide installation.
2015-05-19Increase entries in valgrind stack traces to 30 (--num-callers)Attila Molnar
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-20Change all occurrences of Inspire to InspIRCdAttila Molnar
2015-02-18Remove a workaround for a compiler which is no longer supported.Peter Powell
2015-02-05Making init-script exit codes compliant with LSB 4.1Steven Van Acker
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-11-12Updated inspircd init script template to make it chkconfig compatible.Dan Parsons
Backported from master, PR #901
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-08-31Updated inspircd init script template to make it chkconfig compatible.Dan Parsons
2014-07-25Merge insp20Attila Molnar
2014-06-28Add man pages.Peter Powell
2014-06-28Add systemd service file.Peter Powell
2014-05-23Prefix all definitions in config.h to avoid potential collisions.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-05-18Replace deprecated entry in launchd config with the modern equivalent.Peter Powell
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-29Remove a ton of duplicate and obsolete code from configure.Peter Powell
- Add the data and log paths to dumphash. - Always exit with EXIT_FAILURE on error. - Always replace the old config.h with our new one. - Clean up the ./configure --help message slightly. - Install dhparams.pem into the conf directory on GnuTLS as well as OpenSSL. - Only show the users InspIRCd Git revision when building from Git. - Remove a check for MinGW (we have proper Windows builds). - Remove a check for FreeBSD 4 (released in 2000). - Remove a ton of pointless tab-indented comments. - Remove a ton of duplicate or unused variables. - Remove the check for stdint.h (always available on TR1 compilers). - Remove the $writeheader argument from writefiles (always 1). - Remove the following %config options: - DESTINATION (not used, always set to BASE). - EXECUTABLE (always set to inspircd). - OSNAME (duplicate of SYSTEM). - Remove support for checking whether -extra modules are up to date (if the user is installing they won't have any -extra modules installed). - Remove SSL generation messages (genssl provides these). - Replace inappropriate uses of printf with print. - Replace is_dir with -d from the Perl stdlib. - Replace resolve_directory with rel2abs from the Perl stdlib. - Rewrite getrevision to be more compact, cache the revision and return 'release' on non-Git builds. - Use consistent messages for all tests. - Use tput to clear the screen in a portable way.
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