summaryrefslogtreecommitdiff
path: root/make/template
AgeCommit message (Collapse)Author
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
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-28Made the launch script aware of --runasroot, so it does not drop privs if ↵Daniel Vassdal
this is specified.
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-21Fix property list arguments.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-06Fix c2f7fc047c2e5bbb899c820590ce07fee593b28fAdam
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-03-18Fix for bug 116, in addition an improvement of the regex is madeDjSlash
2011-02-27Fix "-bundle not allowed with -dynamiclib" issue on OS XPeter Powell
2010-10-20Fix taint mode executionDaniel De Graaf
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-05Fix typo in argument to valdebug spotted by daemonic.Dennis 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
2010-03-24Improve the output of "make install"danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12660 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-13Remove checkconf, it is no longer neededdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12628 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-11Clean up the Makefile a bit, add DESTDIRdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12620 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-19Disable -O2 when compiling with full debug, allow make D=2 to enable ↵danieldg
debug+optimize git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12498 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-14Remove unused exports; counting is not for programmersdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12457 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-13Copy example configs and such to run/confdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12448 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-12Improve support for NetBSDdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12438 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-11Allow "make QUICK=1" to speed up the compile (disables -O2)danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12431 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-06Move configuration examples to docs, remove automatic overwrite on make installdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12383 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-18Linux apparently needs another library for linking now...danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12294 e03df62e-2008-0410-955e-edbf42e46eb7