aboutsummaryrefslogtreecommitdiff
path: root/make/template/main.mk
Commit message (Expand)AuthorAgeFilesLines
* Improve setting the gid/uid which will own files.•••- Consistently set the gid/uid for all directories and files. - Replace the obnoxious warning about root on `make install` with a friendlier warning whilst running configure. - Always install the inspircd executable and modules. Gravatar Peter Powell2019-01-291-33/+22
* Fix a bunch of harmless compiler warnings on recent GCC releases.Gravatar Peter Powell2018-10-261-1/+1
* Move the SQL tables to docs/sql and install them on `make install`.Gravatar Peter Powell2018-09-261-0/+2
* 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. Gravatar Peter Powell2018-07-311-11/+0
* Always show Make commands for the user to execute in quotes.•••Fixes #1189. Gravatar Peter Powell2018-06-261-2/+2
* Use the `pwd` tool that is in the path rather than `/bin/pwd`.Gravatar Peter Powell2018-05-011-1/+1
* Add Haiku supportGravatar Puck Meerburg2018-03-101-0/+5
* Append LDFLAGS at the same time as CPPFLAGS and CXXFLAGS.•••This deduplicates the addition of these flags. Gravatar Peter Powell2018-02-241-6/+8
* Merge INSPIRCD_MODULE and INSPIRCD_TARGET.Gravatar Peter Powell2017-11-291-12/+4
* Remove the preconfigured Charybdis and UnrealIRCd module files.•••These are extremely outdated. If we want to ship these then they should be redone from scratch. Gravatar Peter Powell2017-11-221-2/+0
* 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