| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Apparently introduced in #584 but unnecessary afaict as the CLI
was renamed at the same time.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Allows distributor to override CFLAGS without having to worry
about what -std=c++xx options we are using. See GH #1237
|
|
|
|
|
|
|
| |
Fixes GH #1297
This is done even on GNU make builds, since the same issue
affects MinGW
|
| |
|
|
|
|
|
|
| |
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.)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
[ci skip]
|
|
|
|
| |
instead of no PDB output for CLI and tests
|
|
|
|
| |
The 'clean' target left dangling symlinks because undefined variables were used in Makefile.
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Found by JOM on MinGW.
|
|
|
|
| |
Fixes #241
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
| |
value set in header template. GH #107
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
alternate implementation for Unix and add some feature checks so a
boost-free build of the tests and command line are possible again.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
with some modifications by randombit.
|
| |
|
| |
|
|
|
|
|
|
| |
rather than the base destdir. Pointed out by hexchain in github pull 38.
Version the docdir with the full version incl patch.
|
| |
|
| |
|