aboutsummaryrefslogtreecommitdiff
path: root/make/template/main.mk
Commit message (Expand)AuthorAgeFilesLines
* Move the init scripts out of the prefix into the new script dir.•••The previous directory was okay for home directory installs but was problematic for system wide installs. Gravatar Peter Powell2017-09-211-8/+10
* Remove support for building with BSD Make.•••BSD users should install GNU Make to build InspIRCd. Gravatar Peter Powell2017-07-241-61/+62
* Rework the example services aliases.•••- 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. Gravatar Peter Powell2016-11-161-3/+3
* Use the environment's CPPFLAGS as well as its CXXFLAGS.Gravatar Peter Powell2016-09-171-3/+3
* Merge insp20Gravatar Attila Molnar2016-08-171-10/+11
|\
| * GCC should never assume that this can not be null.Gravatar Peter Powell2016-06-271-0/+5
| * Fix extraneous quotes in makefile template.Gravatar Peter Powell2016-04-101-1/+1
| * Delete modules cautiously when doing a deinstall.Gravatar Peter Powell2016-03-251-1/+2
| * Partially revert "Quote paths in the makefile".•••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. Gravatar Peter Powell2016-03-251-19/+19
| * Quote paths in the makefile.•••This prevents problems caused by paths with spaces in them. Gravatar Peter Powell2016-02-261-28/+28
* | Pass INSPIRCD_VERBOSE through the environment to unit-cc.Gravatar Peter Powell2016-06-271-5/+2
* | Fix cleaning files generated by configure.•••This is an oversight from f79a55616b5ff05d4f2e6b031a17be5668d1d3ea. Gravatar Peter Powell2016-06-271-6/+2
* | Rename M to INSPIRCD_MODULE.Gravatar Peter Powell2016-04-041-4/+4
* | Rename T to INSPIRCD_TARGET.Gravatar Peter Powell2016-04-041-5/+5
* | Rename D to INSPIRCD_DEBUG.Gravatar Peter Powell2016-04-041-8/+8
* | Rename V to INSPIRCD_VERBOSE.Gravatar Peter Powell2016-04-041-4/+4
* | Rename PURE_STATIC to INSPIRCD_STATIC.Gravatar Peter Powell2016-04-041-5/+5
* | Write generated templates to the .configure directory.Gravatar Peter Powell2016-03-221-5/+5
* | Merge insp20Gravatar Attila Molnar2016-02-221-2/+5
|\|
| * Fix "make -jX debug install" causing linker errors.Gravatar Peter Powell2015-07-291-0/+2
| * Fix system-wide installation of the data and log directories.•••The existing method works fine when building with the default paths but breaks when you are doing a system-wide installation. Gravatar Peter Powell2015-06-141-2/+3
* | 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! Gravatar Peter Powell2015-05-131-5/+1
* | Merge insp20Gravatar Attila Molnar2015-04-201-0/+1
|\|
| * Fix building when VERBOSE is already set in the environment.•••This is a workaround for now. In 2.2 we should prefix all of the environment variables with INSPIRCD_ to avoid collisions. Gravatar Peter Powell2015-03-091-0/+1
| * Fix some small bugs in the makefile template.•••- GCC in C++ mode should be called g++ not gcc. - ICC in C++ mode should be called icpc not icc. Gravatar Peter Powell2014-10-241-2/+2
* | Remove a workaround for a compiler which is no longer supported.Gravatar Peter Powell2015-02-181-5/+1
* | Disable RTTI in release builds (compile with -fno-rtti)Gravatar Attila Molnar2015-01-221-3/+3
* | Fix some oversights from #895.•••- 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. Gravatar Peter Powell2014-12-181-6/+3
* | Fix builds on OpenBSD spamming the console with warnings.Gravatar Peter Powell2014-12-071-1/+4
* | Improve configure cache file handling.•••- 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. Gravatar Peter Powell2014-12-071-2/+5
* | Miscellaneous improvements to configure.•••- 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. Gravatar Peter Powell2014-12-071-2/+11
* | Add man pages.Gravatar Peter Powell2014-06-281-0/+2
* | Add systemd service file.Gravatar Peter Powell2014-06-281-0/+3
* | Replace the configure templating system with something better.•••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. Gravatar Peter Powell2014-05-231-14/+16
* | 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. Gravatar Peter Powell2014-04-111-3/+6
* | Don't force a rebuild after doing a Git commit.•••Thanks to w00t for pointing out the cause of this. Gravatar Peter Powell2014-02-061-3/+1
* | Hide all symbols that aren't exported explicitly•••In addition to reducing the sizes of all binaries this also helps the optimizer Gravatar attilamolnar2013-09-081-1/+5
* | Clean up and move various subroutines.•••- 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. Gravatar Peter Powell2013-08-181-3/+3
* | Expose compiler name to make.•••- Convert ICC detection to use new variable. Gravatar Peter Powell2013-07-051-2/+3
* | Rename configuration variable to CXX to match everything else.Gravatar Peter Powell2013-07-051-1/+1
* | Rename CXXFLAGS to CORECXXFLAGS to respect users enviroment.Gravatar Peter Powell2013-07-041-8/+12
* | Use CXX instead of CC.•••CXX is the correct variable to use as CC is the C compiler. Gravatar Peter Powell2013-07-041-7/+7
* | Add IFNEQ Makefile template macro.•••- Use template macro for ICC check. - Don't link against pthread on Darwin. Gravatar Peter Powell2013-07-041-2/+5
* | Remove 'make squeakyclean'.•••This was a non-standard alias for make distclean. Gravatar Peter Powell2013-07-041-3/+1
* | Tidy up CXXFLAGS and LDFLAGS.•••- 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. Gravatar Peter Powell2013-07-041-8/+2
* | Remove support for Interix and SunOS from the Makefile.•••- SunOS was replaced with Solaris in 1992(!). - We have a native Windows port so Interix is not needed. Gravatar Peter Powell2013-07-041-7/+0
* | Merge insp20Gravatar attilamolnar2013-06-061-4/+3
|\|
| * Fix a few minor issues with `make distclean`.•••- Only remove the base directory for in-source installs. - Use full paths to the source directory. - Update the help message to be more accurate. Gravatar Peter Powell2013-04-271-4/+3
* | Merge inspircd_{config,version}.h into a single header file.Gravatar Peter Powell2013-04-051-2/+1
* | Extract SSL generation to a tool which can be shipped by distros.Gravatar Peter Powell2013-04-021-0/+1
|/