summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2018-12-21build system: configure: be strict (set -eu).midipix1-0/+2
2018-12-21build system: configure: explicitly initialize all variables.midipix2-0/+198
2018-12-21build system: configure: unify the syntax for yes/no tests.midipix1-26/+26
2018-12-21build system: config.usage: added absent variables.midipix1-0/+2
2018-12-21build system: pkgconf.sh: remove accidental leading spaces.midipix1-1/+1
2018-12-21build system: re-implemented sofort/pkgconf.sh.midipix1-60/+75
- replace all echo(1) and printf(1) constructs with a single cat(1). - do not eliminate -I${prefix}/lib and -L${exec_prefix}/lib; - eliminate trailing spaces from the end of a line.
2018-12-16build system: Makefile.in: include custom config defs before project files.midipix1-9/+8
2018-12-13build system: configure: cfgdefs.mk must always be written from scratch.midipix1-8/+10
2018-12-13built system: added the NATIVE_CC_{CFGHOST|CFLAGS|LDFLAGS} variables.midipix3-1/+17
2018-12-10build system: configure: robustly support special characters in custom args.midipix1-27/+9
Special thanks to Jonas 'Sortie' Termansen, author of the Sortix operating sys (https://sortix.org), for brainstorming about the best way to forward arguments containing special symbols or characters to a sourced (aka dot) shell script, as well as sharing single-quote tips and tricks.
2018-12-10build system: configure: set $mb_native_cc independently of $CC.midipix1-8/+0
2018-12-10build system: support custom configuration via cfgdefs.sh (and usrdefs.mk).midipix3-3/+99
2018-12-10build system: added NATIVE_CC_HOST support.midipix3-1/+18
2018-11-25build system: --all-shared: ensure linking against the newly built library.midipix1-1/+1
This patch guards against the case where -lfoo would result in the linking in of either an external import library libfoo.lib.a, or a static libfoo.a, be it internal or external to the build system.
2018-11-25build system: only apply LDFLAGS_IMPLIB to the package's primary shared lib.midipix2-1/+1
2018-11-25build system: --all-shared: properly express primary shared library dependency.midipix1-1/+1
2018-11-25build system: PE, ELF: defined DSO_REF_VER, DSO_REF_SONAME, DSO_REF_SOLINK.midipix1-0/+4
These definitions come in handy when a project generates alongside its ``primary shared library'' one or more ``extension libraries'' that depend on it. When the rules for generating extension libraries use the $^ directive, the above dependency must be declared in a target-aware manner. In most cases, one would want to express this dependency by way of $(DSO_REF_SONAME), thereby pulling in lib/libfoo.so.$(MAJOR) on ELF targets, lib/libfoo.$(MAJOR).lib.a on midipix targets, and lib/libfoo.$(MAJOR).dll.a on win32 targets.
2018-11-23build system: all-shared: use LDFLAGS_APP as before, now with correct ordering.midipix1-1/+1
2018-11-22build system: added --cfghost support.midipix4-2/+17
2018-11-10build system: host flavors: support suffixed library extensions.midipix7-3/+23
'cause you cannot eat your Apfel and eat it two.
2018-10-12ntux_cmd_chmod(): initial implementation.midipix1-3/+128
2018-10-12driver: added 'chmod' command support.midipix9-1/+138
2018-10-12ntux_get_driver_ctx(): properly identify the tool's pre- --cmd argument vector.midipix1-10/+34
2018-08-18driver: ntux_get_driver_ctx(): support stack-based argv.midipix1-1/+1
2018-08-18ntux_get_driver_ctx()(): always free the intermediate argv meta context.midipix1-0/+2
2018-08-18ntux_get_driver_ctx(): guard against a misplaced --cmd argument.midipix1-1/+14
2018-08-09front-end utility: ntux_main(): remove the redundant argc parameter.midipix4-4/+5
2018-08-05build system: configure: replace non-simple backtick with $(...) construct.midipix1-1/+1
2018-08-05project: added initial pkgconfig.support.midipix1-0/+9
2018-08-05build system: fix shared/static install target dependencies on install-pkgconf.midipix1-2/+2
2018-08-05build system: all-shared binary: added missing build-dep on $(SHARED_SOLINK).midipix1-1/+1
2018-08-05build system: all-shared front-end variant: fix ordering of -l$(PACKAGE).midipix1-1/+1
2018-08-05build system: install-shared, install-static: added initial pkgconfig support.midipix3-0/+133
2018-08-05build system: configure, Makefile.in: added initial pkgconfig support.midipix3-3/+84
2018-08-05ntux_cmd_strace(): integrated the driver's fdctx.midipix1-2/+4
2018-08-05ntux_cmd_stat(): integrated the driver's fdctx.midipix1-3/+9
2018-08-05ntux_output_error_record_plain(): integrated the driver's fdctx.midipix1-6/+8
2018-08-05driver, library interfaces: support alternate fd's for input/output/error/log.midipix5-20/+152
2018-08-05whitespace meditation.midipix1-9/+13
2018-08-04library: removed ntux_create_driver_ctx() [too much of a good thing].midipix2-27/+0
2018-07-15internals: removed the surrogate streams layer, as it is no longer needed.midipix2-78/+0
2018-07-15output interfaces: restrict to pure fdio via use of ntux_dprintf().midipix1-8/+12
2018-07-15ntux_version(): restrict to pure fdio via use of ntux_dprintf().midipix1-1/+2
2018-07-15ntux_cmd_stat(): restrict to pure fdio via use of ntux_dprintf().midipix1-2/+2
2018-07-14argv.h: output usage and errors using [argv_]dprintf rather than fprint.midipix2-41/+54
2018-07-14driver: argv usage and error output: use the signal-resilient ntux_dprintf().midipix2-0/+5
2018-07-14internals: added ntux_dprintf(), a signal-resilient dprintf implementation.midipix4-0/+71
2018-07-14argv.h: argv_get(): be consistent between forward decl. and impl.midipix1-1/+1
2018-07-14argv.h: move definition of struct argv_meta_impl to the implementation block.midipix1-6/+6
2018-06-13ntux_cmd_strace(): open the log file with O_TRUNC.midipix1-1/+3