summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2019-01-01build system: replace config_support() with ccenv_dso_verify().midipix2-22/+15
2019-01-01build system: ccenv: refined the os detection logic.midipix1-4/+9
2018-12-31build system: sofort: refactored, rearranged using distinct sub-folders.midipix11-14/+20
2018-12-31build system: configure: support a simple, project-specific cfgdefs.in.midipix1-0/+4
2018-12-31build system: configure: replaced readlink(1) with the portable [ -L foo ].midipix1-1/+1
2018-12-31build system: configure: properly record the inherited CFLAGS and LDFLAGS.midipix1-0/+4
2018-12-31build system: ccenv: also update configure's (mb_-prefixed) variables.midipix1-1/+22
2018-12-31build system: configure: re-generate Makefile.tmp after the ccenv step.midipix1-0/+2
2018-12-30build system: ccenv: fix detection of native os.midipix1-0/+3
2018-12-30build system: major overhaul: removed sysinfo, integrated ccenv.midipix37-645/+1493
2018-12-30build system: streamlined config.vars and variable initialization.midipix3-301/+162
2018-12-30build system: Makefile.in: re-order variable sections.midipix1-28/+28
2018-12-25build system: Makefile.in: flavor.mk depends on version.mk's definitions.midipix1-2/+2
2018-12-25build system: configure: handle fatal errors more gracefully.midipix1-1/+25
2018-12-25build system: version.sh: silence git errors with a non-git source tree.midipix1-2/+2
2018-12-25build system: sofort/cfgdefs.in: add a terminating empty line.midipix1-0/+1
2018-12-25build system: Makefile.in: clean: remove all generated files.midipix1-0/+2
2018-12-25build system: Makefile.in: always include cfgdefs.mk & usrdefs.mk.midipix3-9/+14
The purpose of this commit is twofold; from the user's perspective, this provides a consistent experience whenever building a sofort-based project; and from the developer's perspective, this provides an easy way to test cfgdefs.mk even before the writing and/or integration of cfgdefs.sh.
2018-12-25build system: version.sh: cvdate: fallback to $(date) as needed.midipix1-1/+1
2018-12-25build system: sofort: promoted and renamed custom.mk --> flavor.mk.midipix2-1/+1
2018-12-25build system: create the ``build'' directory via the dirs.tag make target.midipix3-5/+5
2018-12-24build system: version.sh: generate macro for date of last git commit.midipix1-3/+12
2018-12-24build system: target & native cchost logic: initial clean-up.midipix3-60/+13
2018-12-24build system: config_support(): initial clean-up.midipix1-4/+4
2018-12-24build system: version.sh: set -eu, remove no-longer-needed exit statements.midipix1-3/+5
2018-12-24bulid system: version.sh: sub-shell syntax: replace backquotes with $().midipix1-3/+3
2018-12-24build system: configure: remove no-longer-needed exit statements (set -eu).midipix1-9/+9
2018-12-24build system: configure: sub-shell syntax: replace backquotes with $().midipix1-9/+9
2018-12-21build system: configure: remove early development comments.midipix1-5/+0
2018-12-21build system: Makefile.in: distclean: remove cfgdefs.mk and usrdefs.mk.midipix1-0/+2
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.midipix2-0/+8
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.