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
6bd584ad70
cpp.mk, swig.mk: Re-add files necessary for building auth
...
Re-add all files missing for building the auth package.
Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-14 16:17:21 +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
391a735972
swig.mk: Follow changes swig 4.0 -> 4.2
...
- There's no -php8 option in swig, so stay with -php7, which
supports "8 and above" according to the documentation
- No <module>.php stub is generated anylonger, so don't try to
install it
Signed-off-by: Jan Lindemann <jan@janware.com>
2024-04-30 08:00:37 +00:00
e06ead38cc
swig.mk, defs-(dist|dev).mk: Fix Python 3 support
...
python38.pc doesn't exist on OpenSUSE Tumbleweed, python-38.pc does, so use that naming scheme. Also allow installation with DEVELOPMENT=true, failed with the attempt to install as root user before.
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-11-21 13:09:15 +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
50af65812d
$(TOPDIR)/make: Beautify makefile indendation
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-26 08:00:30 +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
837f8f97bb
swig.mk: Fix multiple file location issues
...
This commit fixes multiple issues with locating Perl and Python directories and files. It was driven by the need to have it work on Yocto, and isn't tested anywhere else. It also fixes __pycache__/%.pyc issues from the Python 2 -> 3 transition.
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-24 12:34:43 +00:00
3ddd952187
swig.mk: Swith to Python 3
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-22 09:32:31 +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
17a080138c
make: Prefix BUILD_ to a couple of makefile variables
...
Rename variables to avoid collision:
OBJ -> BUILD_OBJ INCLUDE -> BUILD_INCLUDE LIBFLAGS -> BUILD_LIBFLAGS LPPFLAGS -> BUILD_LPPFLAGS
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-04-08 18:26:45 +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
aa85417a17
Everywhere: Purge spaces in text files
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-03-06 12:38:20 +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
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
46e653a391
swig.mk: Add basic support for SWIG_TARGET java
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2018-12-27 17:31:30 +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
f5c33174fb
swig.mk: Try to fix CentOS 7 perl target
...
Detect PERL_CORE_DIR /usr/lib64/perl5/CORE, as in CentOS 7. Still doesn't work, as compilation fails on the generated C++ code.
Signed-off-by: Jan Lindemann <jan@janware.com>
2018-10-13 10:45:36 +00:00
b7fe4793ee
swig.mk: Add support for SWIG_LANG = perl
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2018-04-09 19:45:13 +00:00
59d3414550
swig.mk: Using PHP5 on ubuntu, since swig doesn't support the -php7 switch
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2018-01-04 15:08:42 +00:00
cd82a0d1fc
swig.mk: Add -DJW_PHP_MAJOR to swig to allow conditional compilation
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2018-01-03 16:44:34 +00:00
e68d4eb83b
make, scripts: Now excplicitly calling python2 executable instead of python
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2018-01-02 13:12:00 +00:00
ca3db118fe
swig.mk: Detect PHP major version with php-config
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-12-29 14:42:28 +00:00
7ffe0c4b81
rules.mk, swig.mk: Add dependencies for Debian Stretch / Unstable
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-12-28 20:07:25 +00:00
efd4867be9
swig.mk: Switch PHP support from PHP5 to PHP7
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-12-18 13:29:00 +00:00
ccfc979bd0
make: Make use of $(SYSTEM_LIBDIR) variable more concise
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-09-07 10:13:03 +00:00
f5c43f706a
make: Replace some executables by absolute paths to improve performance
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-09-02 19:26:52 +00:00
92040c66e7
make, scripts: Preserve modification time on installation
...
Implemented -p switch on pkg.sh log-install and used it on standard installation rules.
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-08-31 19:40:39 +00:00
48735e0c10
swig.mk: Add support for NON_C_BINDING preprocessor directive
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-01 14:03:57 +00:00
f510a995dc
swig.mk: Add swig.mk
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-05-25 10:30:19 +00:00