2026-06-03 11:35:56 +02:00
2025-01-20 18:40:47 +00:00
2025-01-20 16:43:48 +00:00
2025-01-20 18:40:47 +00:00
2025-01-20 16:43:48 +00:00
2026-06-03 10:56:42 +02:00
2025-01-20 16:43:48 +00:00
2016-03-17 11:13:23 +00:00
2025-04-25 21:40:45 +00:00
2024-11-12 13:38:49 +00:00
2025-01-22 17:32:17 +00:00
2025-01-20 16:39:51 +00:00
2025-01-22 17:32:17 +00:00
2025-01-22 17:32:17 +00:00
2025-01-20 18:07:12 +00:00
2025-01-20 16:39:51 +00:00
2025-01-20 16:39:51 +00:00
2025-04-29 20:32:08 +00:00
2025-03-17 13:21:55 +00:00
2025-01-20 18:07:12 +00:00
2025-01-20 18:07:12 +00:00
2025-03-20 13:14:58 +00:00
2025-03-20 13:04:15 +00:00
2024-11-22 19:22:42 +00:00
2017-04-28 13:55:00 +00:00
2024-11-22 19:40:24 +00:00
2024-11-22 19:52:25 +00:00
2025-03-17 12:59:03 +00:00
2025-01-15 12:37:58 +00:00
2026-06-03 11:35:56 +02:00
2001-02-02 17:54:47 +00:00
2025-01-22 17:32:17 +00:00
2022-11-16 16:33:50 +00:00
2005-10-14 15:33:33 +00:00
2012-02-07 17:02:40 +00:00
2025-03-17 12:59:03 +00:00
2025-05-14 10:59:45 +00:00
2025-01-20 18:40:47 +00:00
2025-01-20 18:40:47 +00:00
2025-01-20 18:40:47 +00:00
2025-01-20 18:40:47 +00:00
2025-01-20 18:40:47 +00:00
2017-04-28 13:55:00 +00:00
2024-02-19 13:01:40 +00:00
2025-01-20 18:40:47 +00:00
2025-03-20 13:17:22 +00:00
2025-03-20 13:14:58 +00:00
2025-01-21 17:09:21 +00:00
2025-03-20 13:04:15 +00:00
2012-02-07 17:02:40 +00:00
2024-11-22 19:24:07 +00:00
2024-11-22 19:24:07 +00:00
2025-01-20 18:40:47 +00:00
2002-10-21 22:35:17 +00:00
2026-06-03 11:35:56 +02:00
2024-11-26 15:32:45 +00:00
2024-04-04 15:38:18 +00:00
2024-04-04 15:38:18 +00:00
2024-11-22 19:22:42 +00:00
2025-03-17 13:21:55 +00:00
2021-04-22 11:31:22 +00:00
2021-04-22 11:02:44 +00:00
2025-01-22 17:32:17 +00:00
2016-06-23 19:43:00 +00:00
2024-04-04 16:11:07 +00:00
2025-01-20 16:49:14 +00:00
2025-05-14 10:59:45 +00:00
2024-11-22 19:06:56 +00:00
2014-05-07 23:51:24 +00:00

libowfat

This tree keeps the original GNUmakefile build unchanged and adds a standalone CMake build for projects that want to consume libowfat directly or as a CMake subdirectory.

CMake build

Out-of-tree builds are supported and recommended:

cmake -S . -B build
cmake --build build

The CMake build reads the library version from the first line of CHANGES. For example, with the current CHANGES this produces version 0.35.

By default CMake builds the shared library. Static and shared builds can be selected independently:

cmake -S . -B build \
  -DLIBOWFAT_BUILD_SHARED=ON \
  -DLIBOWFAT_BUILD_STATIC=ON

The installed library basename can be prefixed without changing the headers or CMake package name. The default prefix is empty, so the output is libowfat. For a NetWare-flavoured name, pass nw and the output becomes libnwowfat:

cmake -S . -B build -DLIBOWFAT_LIBRARY_PREFIX=nw

Install

Installation uses CMake GNUInstallDirs, so the library directory follows the target platform and install prefix (lib, lib64, etc.). Headers are installed below include/libowfat.

cmake --install build --prefix /usr

Useful install options:

cmake -S . -B build \
  -DCMAKE_INSTALL_PREFIX=/usr \
  -DCMAKE_INSTALL_LIBDIR=lib64

Generated compatibility headers

The CMake build generates the same style of compatibility headers as the GNUmakefile build, but places them in the build tree instead of the source tree. Both the build-tree target and the installed package export include paths for:

  • <build>/generated
  • <build>/generated/libowfat
  • <prefix>/include
  • <prefix>/include/libowfat

This lets normal includes such as <libowfat/buffer.h> work, and also keeps internal or compatibility includes such as "haveip6.h", "havesendfile.h", "iopause.h", "select.h", and "entities.h" available when the project is used through add_subdirectory() or find_package(libowfat CONFIG REQUIRED).

Tests

The GNUmakefile all target builds the root t smoke-test program; CMake does the same when BUILD_TESTING is enabled, and registers it with CTest:

ctest --test-dir build --output-on-failure

The UNITTEST sources used by the GNUmakefile check target can also be built and registered with CTest:

cmake -S . -B build -DLIBOWFAT_BUILD_UNIT_TESTS=ON
cmake --build build
ctest --test-dir build --output-on-failure -L libowfat-unit

glibc compatibility

The CMake build uses the system C compiler and glibc-compatible feature checks instead of dietlibc-specific assumptions. On Linux the configure checks use _GNU_SOURCE so glibc extension declarations are visible; the library itself still relies on the existing source-level feature defines where individual files need them.

Description
libowfat fork for mars-nwe, providing libnwowfat with CMake build support and nw-prefixed library naming to avoid system libowfat conflicts.
Readme 1.5 MiB
Languages
C 59.9%
Roff 25.3%
Makefile 13.2%
CMake 1.6%