Commit graph

24 commits

Author SHA1 Message Date
ed17aaa6c9 make: Align equal signs in *.mk to column 30

Chore: Format equal signs uniformly. They should all be at column 30 but aren't. Fix that.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-03-16 14:57:50 +01:00
bf16c6714b make, scripts: Re-add files necessary for building ytools

Re-add everthing needed for building and packaging ytools. This is a big commit, 2002 lines of code. It mostly consists of C/C++ machinery, plus some documentation-related stuff.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-14 15:59:49 +01:00
bc883deed4 Everywhere: Remove everything non-essential for "make clean all"

This commit removes everything not strictly necessary for running "make clean all" inside jw-build.

packaging jw-devtest. This cuts the repo down from 24077 to 4725 lines of code.

The idea is to

1) Further remove bloat from the remaining bits

2) Re-add what's necessary to build and package other essential repos.

The decision should be based on whether or not jw-build can also be useful in a non-janware context.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-14 15:02:56 +01:00
b2d6e6f554 Everywhere: Rename MODDIR -> JWBDIR

Rename the omnipresent MODDIR variable to JWBDIR, since that's more to the point.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-29 21:34:18 +00:00
3365aa3db6 make: Replace BUILD_XXX make flag variables by FINAL_XXX

The following BUILD_XXX variables are renamed to their respective FINAL_XXX counterparts, as that name is more expressive:

BUILD_CFLAGS, BUILD_CPPFLAGS, BUILD_CXXFLAGS, BUILD_EXTRA_DEBUG_FLAGS, BUILD_INCLUDE, BUILD_LDFLAGS, BUILD_LIBFLAGS, BUILD_LPPFLAGS

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-24 12:58:53 +00:00
49f269bdfe make: Modify only BUILD_*FLAGS in jw-build/make/*.mk

Assign only to BUILD_XXXFLAGS in jw-build/make/*.mk, and leave PROJECT_XXXFLAGS and LOCAL_XXXFLAGS alone.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-04-10 06:43:40 +00:00
58ab619f0b make: Rename CFLAGS, CXXFLAGS and CPPFLAGS variables

Rename CFLAGS and friends to follow the conventions of the implicit rules defined by GNU Make:

- $(CPPFLAGS) is passed to both C++ and C compiler - $(CXXFLAGS) is passed to C++ compiler only - $(CFLAGS) is passed to C compiler only - C++ compiler is in $(CXX)

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-03-19 07:07:00 +00:00
316435bb78 $(MODDIR)/make/defs.mk: Split off defs-cpp.mk with C++ definitions

C++ definitions are numerous, and they shouldn't pollute variable space and performance outside of directories containing C++ files. This commit pushes them into a defs-cpp.mk file.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-02-27 20:46:54 +00:00
d684f198b2 make: Add dev-utils.mk for convenience targets

dev-utils.mk is meant to provide targets like install-to-system, which will be invoked during development

Signed-off-by: Jan Lindemann <jan@janware.com>
2018-11-27 15:10:18 +00:00
51b88d618e make: Split up profiler.mk into profiler-defs.mk and profiler-rules-run.mk
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-12-11 14:07:06 +00:00
8632a6cc60 make: Add profiler.mk
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-12-10 14:00:12 +00:00
4a6a7b5664 tools.mk: Add target expand-macros

Add target expand-macros to tools.mk from within newly included cpp-extra-targets.mk

Signed-off-by: Jan Lindemann <jan@janware.com>
2017-11-23 08:42:50 +00:00
Jan Lindemann
16090f9371 targets-tools.mk, tools.mk: Preparted for SRC_ALL_CPP empty 2012-02-28 12:44:27 +00:00
Jan Lindemann
25cf93f4de tools.mk: Add -D_USRDLL -DALL_EXPORTS 2009-07-13 12:03:37 +00:00
Jan Lindemann
fa7830c0ff plugin.mk, tools.mk: Add include $(MODDIR)/make/backup.mk 2008-10-10 20:13:13 +00:00
Jan Lindemann
a410630227 tools.mk: Add dependency all: all.done 2007-09-10 14:49:28 +00:00
Jan Lindemann
5e163959d4 tools.mk: Include (generated) depend.mk by default 2006-02-11 16:08:46 +00:00
Jan Lindemann
667b14e70e targets-tools.mk, tools.mk: Split up tools.mk into tools.mk and targets-tools.mk 2005-07-31 12:10:46 +00:00
Jan Lindemann
68c15232ca rules.mk, tools.mk: Relink shared project library more often

Relink shared project library after target all in every tools.mk directory.

2005-07-11 22:27:48 +00:00
Jan Lindemann
5700573a46 bin, make, scripts: Copy scripts to $(MODDIR)/bin 2002-07-02 16:04:41 +00:00
Jan Lindemann
76b7596817 make: Add new values to ALL and MEMBER instead of setting them 2002-01-18 00:24:33 +00:00
Jan Lindemann
61e77a5686 make, scripts: Add lots of "all" targets 2002-01-17 21:58:12 +00:00
Jan Lindemann
61fe4a73d5 make: Introduced plasticd project compatibility 2001-07-27 22:02:40 +00:00
Jan Lindemann
46c67d77fc $(TOPDIR), make: Initial commit

After making most modules independent from the Hamlet tree, place Makefiles in a central location for more centralized control over the build process.

2001-07-06 13:12:14 +00:00