aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/makefile
Commit message (Collapse)AuthorAgeFilesLines
* Merge the gnumake and nmake makefilesJack Lloyd2017-12-013-166/+0
|
* Avoid naming Windows library botand if in debug modeJack Lloyd2017-12-011-2/+2
| | | | | Apparently introduced in #584 but unnecessary afaict as the CLI was renamed at the same time.
* Add ability to disable static library buildJack Lloyd2017-11-306-96/+57
|
* Fix dependenciesJack Lloyd2017-11-294-31/+34
|
* Add the build commands back to the main makefilesJack Lloyd2017-11-293-14/+28
| | | | | | | | The header is processed early, but when doing an amalgamation we need to regenerate the makefile template. But we only do that for the main makefile not the include inputs. Should fix this but for now just just get it to work.
* Add a script to handle `make clean` targetJack Lloyd2017-11-294-111/+44
| | | | | | | This removes a lot of logic that cannot be shared between the nmake (Windows environment) and gnumake (Unix env) makefiles. Also it cleans up inconsistencies, eg nmake's make distclean did not remove amalgamation files, but gnumake version did.
* Remove unused command variables in makefilesJack Lloyd2017-11-293-17/+6
|
* Allow overriding ar commandJack Lloyd2017-11-293-4/+2
| | | | | | | | Splits up the ar command and ar options to make this possible. Removes support for calling `ranlib` after `ar`: testing in #1317 confirms that all platforms we support no longer need it. See #1237. Also fixes #455
* Split the language flags out of CXXFLAGSJack Lloyd2017-11-292-4/+5
| | | | | Allows distributor to override CFLAGS without having to worry about what -std=c++xx options we are using. See GH #1237
* Prefix execution of install.py with Python binaryJack Lloyd2017-11-163-2/+4
| | | | | | | Fixes GH #1297 This is done even on GNU make builds, since the same issue affects MinGW
* Script the Windows CI buildJack Lloyd2017-09-081-3/+5
|
* Add support for fuzzing with KLEEJack Lloyd2017-08-301-2/+2
| | | | | | For the fuzzers, builds an object and then links in a second step, because we need that to link the fuzzer binaries for LLVM. (Clang will emit bitcode for us, but doesn't want to link it.)
* Add support for LLVM bitcode targetJack Lloyd2017-08-302-4/+4
|
* Further fixes to ci build scriptJack Lloyd2017-08-291-1/+3
|
* Create new fuzzer build modeJack Lloyd2017-08-252-0/+20
|
* Turn --destdir option into an environment variable, fixes #1101, fixes #996, ↵Zoltan Gyarmati2017-08-043-3/+3
| | | | | | | | | | | | | supersedes #997 This commit removes the (broken) --destdir command line option and introduces the DESTDIR environment variable for the 'make install' target. When it's set, the installation will take place in the DESTDIR directory, under the prefix set by --prefix, with all of the internal references (pkgconfig file, etc) containing only the prefix. This behavior is more standard (as in autotools and co.), so makes packaging easier. Based on work of danimo and zgyarmati
* Add libs target to makefilesJack Lloyd2016-12-182-0/+4
| | | | [ci skip]
* change botan CLI filename to botan-cli.exeDaniel Neus2016-08-171-1/+1
| | | | instead of no PDB output for CLI and tests
* Clean symlinks to shared libraries properlyLauri Nurmi2016-06-071-1/+1
| | | | The 'clean' target left dangling symlinks because undefined variables were used in Makefile.
* Fixed shared library behaviour on Darwin/OS X.Alastair Houghton2016-04-072-0/+4
|
* Rename cmd/app -> cliSimon Warta2015-12-093-25/+25
|
* Remove --build-mode and add individual toggles for optimization, debug,Jack Lloyd2015-10-261-1/+1
| | | | | | sanitizers and coverage as all 4 are usefully set independently. Use GCC 4.9 on CircleCI as it seems to be supported. Add ASan + UBSan test.
* Remove the strange conjoining of debug and optimization flags.Jack Lloyd2015-10-261-7/+6
| | | | | | | | | | | | | | | | | | | Previously a build had optimizations disabled completely when debug info was emitted. But there are many reasons to use optimized builds with debug symbols (running under valgrind, against afl, with Asan/Ubsan, in prod, etc). And personally I find even debugging at -O2 or -O3 is fine most of the time and worth it for the speed. Use the (now documented!) --no-optimizations flag if no optimization is desired while debugging. This also removes the distinction between library and application compile flags; there is a single optimization level that is probably good enough for everything. On Win32 it removes definding _CONSOLE for the application. This seems to be some mythical value that may have been required at some point, but is not documented anywhere I can find. Who knows what VC thinks, hoping I don't have to add this back. It also drops defining `EBUG` which is what happens when you tell cl.exe to '/DEBUG'. LOL.
* .PHONY must be a rule, not a variableSimon Warta2015-09-091-1/+1
| | | | Found by JOM on MinGW.
* Add soname_patternSimon Warta2015-08-241-6/+6
| | | | Fixes #241
* Update Windows linkingSimon Warta2015-07-211-6/+13
|
* msvc fixesSimon Warta2015-07-211-5/+13
|
* Have a $(LINKER) variableSimon Warta2015-07-211-0/+1
|
* Rename template variable cc -> cxxSimon Warta2015-07-211-1/+1
|
* Remove dead code (Boost.Python makefile, unused configure.py functions)Jack Lloyd2015-07-111-26/+0
|
* Simplify the website and documentation layout.Jack Lloyd2015-07-031-18/+1
| | | | | | | | | | | | | | Merge the website index, download page, algo page into the readme file so all the important information is in one place. The readme.rst is now also used as the website landing page. Remove the website target on the makefile, replaced by website.sh, since I'm the only one who ever needs to run this. Fix various ReST formatting bugs in news.rst and the manual Remove the old build_log which hasn't been touched in years and refers entirely to compilers which we don't support anymore.
* Use install_name_tool to change location of botan lib on OSXSimon Warta2015-06-223-0/+7
|
* Set RPATH to $ORIGIN for ./botan and ./botan-testSimon Warta2015-06-223-5/+7
| | | | | | | | This makes setting LD_LIBRARY_PATH obsolete when Botan lib and botan /botan-test binary are in the same directory. This behavior is default on Windows. LD_LIBRARY_PATH can still be used to override the RPATH.
* Fix coverage make targetSimon Warta2015-06-212-5/+9
|
* Prefix gmake includesSimon Warta2015-06-204-4/+3
|
* Update build system:simon2015-06-184-34/+37
| | | | | | | | | | | | | - Remove unused make variables VERSION, BRANCH - Move first make all target below all variable definitions - Move "Executable targets" as well as "LIBNAME" from header.in into gmake.in and nmake.in. Those variables differ more than they share and are getting too abstract. - Use new variable names: LIB_BASENAME, LIB_FILENAME. Drop LIBNAME and BOTAN_LIB - Write libs to out_dir now, which enables out-of-tree builds GH #110, replaces #70 #106 #107 fixes #85
* Revert LIBNAME change. GH #107lloyd2015-06-161-0/+2
|
* Remove LIBNAME setting from nmake template, should be using versionedgit2015-06-111-2/+0
| | | | value set in header template. GH #107
* Fix nmake clean target. GH #104simon2015-06-022-5/+12
|
* Fix spaces vs tabs in makefile template. GH#78lloyd2015-04-181-1/+1
|
* Add coverage checking with gcov/lcovlloyd2015-04-122-2/+7
|
* Add valgrind target in makefilelloyd2015-03-051-1/+4
|
* Hide all uses of boost filesystem in fs.cpp. Use readdir as anlloyd2015-02-211-2/+2
| | | | | alternate implementation for Unix and add some feature checks so a boost-free build of the tests and command line are possible again.
* Add new module `ffi` which provides a plain C interface, plus a newlloyd2015-02-162-4/+0
| | | | | | | | | | | | ctypes Python wrapper that uses it. The API is intentionally designed to have a very simple ABI (extern "C", all structs are opaque, no memory ownership passing the FFI boundary, limited set of simple types as args) so the ctypes wrapper is quite simple. Currently ffi provides ciphers, hashes, MACs, RNGs, PBKDF, KDF, bcrypt, and most public key operations. Remove the old boost.python wrapper and all the build code for it.
* Fixes for Windows paths. Based on Github pull 41 from cdesjardinsgit2015-01-113-4/+4
| | | | with some modifications by randombit.
* Create a combined news page for the websitelloyd2015-01-101-0/+1
|
* Move license text to a plain text file without ReST marketlloyd2015-01-101-3/+3
|
* The pkgconfig file should be installed relative to the library dirlloyd2015-01-071-8/+0
| | | | | | rather than the base destdir. Pointed out by hexchain in github pull 38. Version the docdir with the full version incl patch.
* Fix System_RNG for Windows, fix nmake clean targetlloyd2014-12-221-1/+1
|
* Always need boost_system in cmdline due to asiolloyd2014-12-201-1/+1
|