Commit graph

31 commits

Author SHA1 Message Date
c893584e5e make: Replace RPM -> PKG

jw-pkg supports more than RPM-based package managers, but for historic reasons, lots of its Makefile variables still have "RPM" in their names. This is misleading. Replace "RPM" in variable names by the more generic "PKG" where appropriate.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-03-16 14:57:50 +01:00
34c5d3ec21 proj.mk: Set JANWARE_URL_DOC_PROJECT to jw-build cheat sheet
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-02-24 12:19:05 +00: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
0ad800315d proj.mk: Remove references to cfg_dist.mk and cfg_dev.mk
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-21 11:52:45 +00:00
ab51bdd20d proj.mk: Remove legacy variables
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-15 15:10:32 +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
0c11e65d9c proj.mk: Rename classes in ytools / jw-cpp

Rename namespace:

CppUtils -> jw

Rename classes:

YError -> jw::Error YLogger -> jw::Logger YMutex -> jw::Mutex YDebugMutex -> jw::DebugMutex YSlogMetaData -> jw::LogMetaData YTimeB -> jw::Time
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-03-16 14:48:16 +00:00
0eaef0c326 conf/jcs, make, tmpl/doxygen: Align equal signs in makefiles to column 30
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-03-03 18:12:28 +00:00
f9d398d219 make: Fix MinGW build machinery machinery

This commit makes it possible to successfully run "make all" against ytools' again, with TARGET_TUPLE set to i686-ms-w64-mingw. Lots of minor and major tweaks here and there.

The biggest diff is a move of the architecture-related definitions into platform.mk. The are needed pretty early on, so that seems reasonable.

Making this work again is part of the larger effort to support cross buildchains in a more concise way, i.e. without so many if ($(TARGET),mingw)) all over the place. TARGET's relevance should dwindle, until it's finally taken over by the TARGET_XXX variables extracted from TARGET_TUPLE or TARGET_TRIPLET.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-03-02 17:21:48 +00:00
19e4095c94 proj.mk: Define MODDIR with ?=, to allow external jw-build

jw-build can handle its own builds and releases, but fixing that can be nicer if the development and the test directory are seperate

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-01-08 11:12:32 +00:00
266c97949d proj.mk, project.conf: Move dependencies from proj.mk into project.conf
Signed-off-by: Jan Lindemann <jan@janware.com>
2018-12-14 12:13:59 +00:00
55fa0eaec5 $(TOPDIR), make, scripts: Search-and-replace ytools -> jw-build

This project was copied from ytools, with anything not related to providing build-functionality left out. This commit replaces the occurences of ytools with jw-build, and removes some but most certainly not all legacy ytools references.

Signed-off-by: Jan Lindemann <jan@janware.com>
2017-04-07 12:15:48 +00:00
708b4deab0 proj.mk: Set JANWARE_WIKI = priv
Signed-off-by: Jan Lindemann <jan@janware.com>
2016-12-04 13:16:48 +00:00
56442a0555 proj.mk, create-mkdebian.sh: Ytools-run and ytools-devel are installable now
Signed-off-by: Jan Lindemann <jan@janware.com>
2015-05-27 16:17:03 +00:00
c8d4bccddb defs.mk: Define CVSTOPDIR and CVS_PROJ_DIR

Push CVSTOPDIR from tex.mk and CVS_PROJ_DIR from proj.mk to defs.mk.in.

Signed-off-by: Jan Lindemann <jan@janware.com>
2014-06-25 12:46:11 +00:00
6f037b9382 defs.mk, proj.mk, upload-defs-rpm.mk: Simplified upload variable definitions
Signed-off-by: Jan Lindemann <jan@janware.com>
2014-06-13 13:38:14 +00:00
Jan Lindemann
9c1d4e1cfa proj.mk: Disable DEBUG_FORMAT_FLAG ?= -gstabs+
Signed-off-by: Jan Lindemann <jan@jannet.de>
2012-11-01 11:11:25 +00:00
Jan Lindemann
b9ead82e2a defs.mk, proj.mk: Replace USE_XY_Z by PREREQ_BUILD = xy-z 2012-04-29 13:35:47 +00:00
Jan Lindemann
760f503ca1 proj.mk: Add DEBUG_FORMAT_FLAG to support non-gstabs+-format 2011-02-23 17:59:19 +00:00
Jan Lindemann
7241f2c96f proj.mk: Re-add PROJECT_CFLAGS += -gstabs+ 2010-10-26 18:01:44 +00:00
Jan Lindemann
68d98c5eb1 proj.mk: Remove -gstabs+ from CFLAGS, see where it takes us 2010-08-01 20:50:11 +00:00
Jan Lindemann
e193f1960d proj.mk: Including platform.mk before platform condition 2009-07-09 11:56:08 +00:00
Jan Lindemann
19b02bc231 Add more libraries to CONTRIB_LIBS: Iconv, libglib-2.0-0, intl 2009-06-11 16:25:05 +00:00
Jan Lindemann
fa9eeb567a proj.mk: Add libgnurx-0.dll to CONTRIB_LIBS 2009-06-11 16:12:42 +00:00
Jan Lindemann
069fab76a1 proj.mk: Add dependency on gnurx (libregex) 2009-06-11 15:26:55 +00:00
Jan Lindemann
f3b36a4eaf proj.mk: Add sudo to RPM_REQUIRES_RUN 2007-09-04 21:51:56 +00:00
Jan Lindemann
b02a3ac16f proj.mk: Add smart to requirements 2007-09-03 20:13:29 +00:00
Jan Lindemann
3603e8aaaa proj.mk: Fix CVS_PROJ_DIR 2007-08-31 11:12:56 +00:00
Jan Lindemann
cbb526e508 proj.mk: Streamlined 2007-08-18 20:32:53 +00:00
Jan Lindemann
0eb47e9605 proj.mk, proj.mk.in: Replace proj.mk.in by proj.mk 2007-08-17 10:26:39 +00:00
Renamed from make/proj.mk.in (Browse further)