summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Make ELOOP an error again, except for -xtype.3.3.1Tavian Barnes2024-06-031-1/+1
| | | | | | | | | | POSIX requires an error if (for example) -L encounters a symlink loop. The GNU find change was restricted to -xtype, so add a manual ELOOP test to eval_xtype() for compatibility. This reverts commit 470589cbd9ca3e73d8c01ac3a96cbc065179dcc5. Link: https://savannah.gnu.org/bugs/?19605
* Release 3.33.3Tavian Barnes2024-05-281-1/+1
|
* build: Allow flags.mk to override command line variablesTavian Barnes2024-05-211-2/+2
| | | | | | | | Previously, during something like ./configure LDFLAGS=..., any additions to LDFLAGS from the generated makefiles were ignored. I had thought that sub-make invocations would allow those variables to be overridden, but that is not the behaviour of make. So instead, set _LDFLAGS etc. in the generated files so that they don't conflict.
* distcheck: Disable tsan on FreeBSDTavian Barnes2024-05-161-1/+1
| | | | | | | | | ThreadSanitizer has some FreeBSD-specific bugs that are too difficult to work around. In particular, deadlock is possible if any signal with a user-defined handler interrupts an atomic operation. Link: https://github.com/llvm/llvm-project/issues/92313 Link: https://github.com/llvm/llvm-project/issues/92437
* distcheck: Don't build with make -sTavian Barnes2024-05-071-6/+6
| | | | That way I can see the ./configure output on CI.
* Makefile: Recommend --enable-release over RELEASE=yTavian Barnes2024-05-021-2/+2
|
* Release 3.23.2Tavian Barnes2024-05-021-1/+1
|
* build: Add some nice aliases to ./configureTavian Barnes2024-05-011-5/+5
|
* build: Listen to make -sTavian Barnes2024-04-301-6/+2
|
* build: Replace `make config` with a `./configure` scriptTavian Barnes2024-04-291-72/+71
| | | | | | | | | | This lets us do more traditional out-of-tree builds like $ ../path/to/bfs/configure $ make The .mk files are moved from ./config to ./build, mostly so that ./configure will auto-complete easily.
* config: Delete gen/objs.mkTavian Barnes2024-04-171-0/+2
| | | | | Rather than explicitly listing all these dependencies, we can rely on DEPFLAGS to generate them for us.
* build: Directly generate version.cTavian Barnes2024-04-171-11/+10
|
* build: Dont include ${BUILDDIR} in short messagesTavian Barnes2024-04-171-1/+1
|
* build: Make the config scripts POSIX-compliantTavian Barnes2024-04-171-1/+1
|
* build: Refactor configurationTavian Barnes2024-04-161-336/+33
| | | | | | We now use a recursive make invocation to do the work of `make config`. The new implementation is also compatible with GNU make 3.81 found on macOS.
* build: Center [ CC ] / [ LD ]Tavian Barnes2024-04-161-2/+2
|
* distcheck: Run all the checksTavian Barnes2024-04-151-1/+1
| | | | Oops.
* build: Be quieter by defaultTavian Barnes2024-04-151-22/+74
|
* build: Make distclean also clean the distcheck dirsTavian Barnes2024-04-151-9/+11
|
* build: Show a nicer error if the user forgets to run make configTavian Barnes2024-04-151-2/+9
|
* build: Remove unneeded USE_* defaultsTavian Barnes2024-04-151-10/+1
|
* build: Factor out vars.mk generation into a scriptTavian Barnes2024-04-101-34/+2
|
* build: Run pkg-config with all packages at onceTavian Barnes2024-04-101-55/+52
|
* build: Add optional libselinux dependencyTavian Barnes2024-04-101-1/+5
|
* build: Add a separate configuration stepTavian Barnes2024-04-091-0/+517
|
* Rename Makefile to GNUmakefileRaf Czlonka2023-07-201-331/+0
|
* CFLAGS adjustment in MakefileJason Stewart2023-07-191-1/+1
| | | | | `-flto` to `-flto=auto` to eliminate `using serial compilation of 3 LTRANS jobs` gcc warning see https://stackoverflow.com/questions/72218980/gcc-v12-1-warning-about-serial-compilation
* Release 3.0.13.0.1Tavian Barnes2023-07-181-1/+1
|
* build: Move some flags aroundTavian Barnes2023-07-131-4/+4
|
* docs: Start preparing for the 3.0 releaseTavian Barnes2023-06-301-1/+1
|
* build/tsan: Fix target_clones overrideTavian Barnes2023-06-241-1/+1
|
* Unify macro naming conventionsTavian Barnes2023-06-241-10/+10
| | | | | In particular, macros that decide whether to use a particular API/ dependency should be spelled BFS_USE_*, and should be configurable.
* alloc: New header for memory allocation utilitiesTavian Barnes2023-06-201-1/+2
|
* build: Turn off ASLR for all sanitizers on FreeBSDTavian Barnes2023-06-201-1/+1
| | | | | | | | Newer LLVM versions will reject every sanitizer runtime if ASLR is enabled. Link: https://reviews.llvm.org/D66582 Link: https://reviews.freebsd.org/D33933
* ioq: Implement an async I/O queueTavian Barnes2023-06-121-0/+1
|
* lock: Add wrappers for POSIX synchronization primitivesTavian Barnes2023-06-121-1/+2
|
* build: Update to C17Tavian Barnes2023-06-121-1/+1
| | | | This lets us avoid ATOMIC_VAR_INIT().
* build: Add tsan to distcheckTavian Barnes2023-06-121-0/+4
|
* build: Error on implicit function declarationsTavian Barnes2023-05-181-0/+1
|
* bit: Rename int.h to bit.hTavian Barnes2023-05-181-1/+1
|
* build: Fix test utility compilationTavian Barnes2023-05-161-2/+4
|
* int: Backport C23's _WIDTH macrosTavian Barnes2023-05-161-1/+1
|
* build: Make the tests a little less repetitiveTavian Barnes2023-05-161-18/+16
|
* Let musl builds use getdents64()Tavian Barnes2023-05-031-1/+2
| | | | | | Glibc exposes a different struct dirent and dirent64, while on musl they are the same. But musl needs _LARGEFILE64_SOURCE to expose the *64() aliases.
* build: Fix tsanTavian Barnes2023-04-121-33/+39
|
* list: Use macros instead of type-erased listsTavian Barnes2023-03-311-1/+0
|
* list: New generic linked list APITavian Barnes2023-03-291-0/+1
|
* Release 2.6.32.6.3Tavian Barnes2023-01-311-1/+1
|
* Replace license boilerplate with SPDX tagsTavian Barnes2023-01-251-15/+2
| | | | | | | And while I'm at it, remove years from copyright declarations. Link: https://spdx.dev/about/ Link: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
* bfstd: New wrappers for dirname()/basename()Tavian Barnes2023-01-191-4/+9
|