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
3dd55cf067
Further improve build time: Try to avoid calling projects.py
...
This commit tries to remove the necessity to call projects.py from $(TOPDIR) to
speed up recursive builds over all projects yet again. This is a major
undertaking. There are two variables which are filled py projects.py in
$(TOPDIR): PREREQ and PREREQ_DIRS. Sadly, the latter is a path relative to
$(TOPDIR)/make, so this is kind of pointless. Unless the cache is maintained in
$(TOPDIR), a thing I tried to avoid. So this commit is only able to cache
$(PREREQ), not $(PREREQ_DIRS), which still is a hassle. Introduced defs-dirs.mk
for that, to make it accessible to make.mk, and modified all the other parts of
the machinery, too.
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-02-28 14:48:57 +00:00
22b6236e6d
dirs.mk: Fix empty PREREQ variable
...
The contents of this variable got lost somewhere along the way, don't
know when. This led to prerequisites not being checked, most notably
from topdir.mk, where the build should bail out if attempting a build
modules out of order. It's now filled in every directory by running
projects.py, which might be somehwat overkill.
Signed-off-by: Jan Lindemann <jan@janware.com>
2018-03-16 14:02:06 +00:00
5b737e50f8
defs.mk, dirs.mk, topdir.mk: Beautify cat-makefiles target output
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2018-03-04 10:01:10 +00:00
6f75d72296
dirs.mk: Fix dirs-started-.done was deleted by build_XXX target
...
There is a rm -f dirs-*.done in build_XXX, so I've renamed dirs-started-all.done
to started-dirs-all.done
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-12-17 16:29:44 +00:00
7c6e888932
dirs.mk: Attempt to clear up SUBDIRS_TO_ITERATE / SUBDIRS confusion
...
SUBDIRS_TO_ITERATE and SUBDIRS are not used consistently. This commit aims at
making that clearer without breaking anything
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-12-10 13:58:53 +00:00
7e18e754db
dirs.mk: Make dirs-all.done depend on headers, not BUILD_HDRDIR
...
BUILD_HDRDIR changes its timestamp also on accessing it, so the headers are a
better choice to prevent misfires.
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-09-19 13:10:01 +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
7a2f317c38
dirs.mk: Re-add dirs-all.done dependency on BUILD_HDRDIR
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-08-31 18:56:20 +00:00
44cdc0d109
dirs.mk: Don't make dirs-all.done depend on BUILD_HDRDIR, as this breaks make clean all
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-08-20 09:00:00 +00:00
f1ff08368c
dirs.mk: Improve directory ordering
...
- Add ORDERED_SUBDIRS variable
- Reverse clean target order
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-08-16 11:40:20 +00:00
a2ca8aec76
dirs.mk: Add target local-%, implying DONT_CHECK_PREREQ_DONE
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-14 18:48:46 +00:00
5e2aef1f65
dirs.mk, cleandirs.mk: Remove more files in clean target
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-05-30 17:09:25 +00:00
9c739039cd
dirs.mk: Add link-in to ALLOWED_SUBDIR_TARGETS
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-05-10 17:58:27 +00:00
a8c9ce9014
dirs.mk: Add support for dirs-started-xxx.done
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-05-09 10:19:34 +00:00
906f216830
dirs.mk: Remove target .DEFAULT
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2016-12-03 12:49:37 +00:00
452f1e4ff7
dirs.mk: Add target subdirs-%:
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2016-09-21 14:30:07 +00:00
c81d2ffdd4
dirs.mk: Remove dist from rm -f patterns in clean target
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2016-08-01 21:06:37 +00:00
8c2499bcbb
dirs.mk: Add support for variable DONT_CHECK_PREREQ_PROJECTS
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2016-03-30 21:40:47 +00:00
86afe4fc10
dirs.mk, projects.py: Take prerequisites dir check from project.conf
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2016-02-03 17:41:30 +00:00
a0798e4edf
dirs.mk: Introduced ALLOWED_SUBDIR_TARGETS
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2013-08-01 13:26:05 +00:00
Jan Lindemann
78bd6215b4
$(TOPDIR), make, scripts: Merged changes from V_1_2_3_33_YAPPLICATION_INIFILE_CTOR
...
Signed-off-by: Jan Lindemann <jan@jannet.de>
2012-09-02 16:06:47 +00:00
Jan Lindemann
80095a0f93
make, scripts, tmpl/tex: Merge changes from V_1_2_1_7_NEUHAUS
2012-01-30 14:59:21 +00:00
Jan Lindemann
ad41cd0557
dirs.mk: Filtering out paths matching /opt from PREREQ_DIRS_DONE
2011-08-21 15:34:16 +00:00
Jan Lindemann
f7f4010e52
make, scripts, tmpl/tex/de_presentation: Merged changes from V_1_2_0_35_NEUHAUS
2011-08-09 19:34:12 +00:00
Jan Lindemann
560b235e72
dirs.mk: Fix clean target
2011-06-20 07:47:23 +00:00
Jan Lindemann
69c19f6e81
dirs.mk: Disable build shortcut for non-development builds
2011-06-15 14:55:50 +00:00
Jan Lindemann
cb0288fafa
dirs.mk: Error out if an out-of-date prerequisite is detected
2011-06-15 12:39:53 +00:00
Jan Lindemann
a9351d3e44
dirs.mk: Fix install target
2011-06-15 10:12:37 +00:00
Jan Lindemann
c7ad273556
dirs.mk: Now shortcutting already built directories (dirs.done)
2011-06-15 08:36:58 +00:00
Jan Lindemann
2939f8e3a8
Everywhere: Merge V_1_1_29_40_POST_ACCEPTANCE
2011-02-20 14:15:22 +00:00
Jan Lindemann
83cbe486b9
dirs.mk: Disable explicit targets all and subdirs
...
Uncomment explicit targets all and subdirs, because they generate
warnings.
2010-12-13 17:26:50 +00:00
Jan Lindemann
e7127ecbe4
dirs.mk, subdirs.mk: Use SUBDIRS_TO_ITERATE over SUBDIRS
2010-12-04 13:59:24 +00:00
Jan Lindemann
a655d03624
dirs.mk: Targets with same name as subdirs are not remade
...
Hopefully fix unwillingness to remake targets with the same name as
subdirs.
2010-12-02 21:43:03 +00:00
Jan Lindemann
711c42ea0a
dirs.mk: Add default for SUBDIRS: $(FIND_SUBDIRS)
...
- Conditionally default SUBDIRS to $(FIND_SUBDIRS)
- Change condition for dummy targets from ifndef SUBDIRS to
ifeq ($(SUBDIRS),) to be able to do that
2009-06-02 12:46:17 +00:00
Jan Lindemann
95c0112176
defs.mk, dirs.mk: Follow FEEDFS_DIR change
...
Change FEEDFS_DIR from proj/dspc/src/feedfs to proj/feedfs
2009-05-27 11:56:26 +00:00
Jan Lindemann
4bfcc32f72
dirs.mk: Remove clean from install target
2007-09-04 21:51:47 +00:00
Jan Lindemann
3069862a79
dirs.mk: Change order of subdirs
2005-07-30 12:52:36 +00:00
Jan Lindemann
2ee8db855a
dirs.mk: Remove futile comments
2005-05-16 15:51:52 +00:00
Jan Lindemann
efeb7e28aa
dirs.mk: Add target rmdistclean to silence 'make'
2005-05-11 12:17:38 +00:00
Jan Lindemann
d5da27eb91
$(TOPDIR), make: Make make_scm.sh work
2002-07-25 10:39:55 +00:00
Jan Lindemann
edbf2a6289
VERSION, dirs.mk: First version with autoconf everywhere
2002-07-20 17:52:50 +00:00
Jan Lindemann
1223681535
make: Move defs.mk -> ytools.mk
2002-07-20 10:26:53 +00:00
Jan Lindemann
4d5f0167a6
dirs.mk, lib.mk: Some more clean rules
2002-07-19 20:28:58 +00:00
Jan Lindemann
024bd57875
$(TOPDIR), make: Minor fixes
2002-07-03 20:33:20 +00:00
Jan Lindemann
17fe1dc6d3
Add target all: For non-existing subdirs
2002-02-20 17:21:59 +00:00
Jan Lindemann
b1511ae7b9
dirs.mk: Did it again
2001-11-06 07:50:14 +00:00
Jan Lindemann
6d22f3075d
dirs.mk: Add target distclean
2001-11-04 22:08:52 +00:00
Jan Lindemann
1b365f0ebd
dirs.mk: Add (half understood but working) support for empty SUBDIRS variable
2001-10-29 17:10:45 +00:00
Jan Lindemann
45bed6fb5a
dirs.mk, tex.mk: Kick out "all" targets
2001-09-18 14:10:01 +00:00