#
1.33 |
|
10-Jul-2023 |
rin |
host-mkdep(1): Add support for -iquote.
Not used yet, but may eventually replace deprecated -I-, both for GCC and clang.
|
Revision tags: netbsd-10-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 phil-wifi-20191119
|
#
1.32 |
|
29-Oct-2019 |
joerg |
Don't escape ", GNU awk 5 warns about it.
|
Revision tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.31 |
|
12-May-2015 |
christos |
branches: 1.31.16; Like the non-host mkdep don't print ./foo.h as a dependency, but simplify it to foo.h. This was causing problems with:
.y.h: ${.TARGET:.h=.c}
where .h was ./cgram.h and the source became ./cgram.c confusing for example /usr/src/tools/lint1 because make had both cgram.c and ./cgram.c in the list of sources, trying to build both of them in parallel thinking that they were different files. Since the regular mkdep does not produce such dependencies, the regular build does not suffer from this issue.
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.30 |
|
02-Sep-2013 |
joerg |
Preserve -std=* options as they may change the dependency list.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.29 |
|
27-Mar-2013 |
uwe |
Some shells have ((expr)) syntax for arithmetic. Add space between parens of nested (compound-list)s to unconfuse them.
Fixes PR toolchain/47695
|
Revision tags: agc-symver-base
|
#
1.28 |
|
16-Mar-2013 |
christos |
Put back error checking in a simpler form thanks to uwe
|
#
1.27 |
|
14-Mar-2013 |
joerg |
Revert 1.25 and 1.26: Breaks build on !NetBSD
|
#
1.26 |
|
12-Mar-2013 |
christos |
re-directing once is good enough.
|
#
1.25 |
|
12-Mar-2013 |
christos |
Perform shell fd gymnastics to capture the error in the pipeline and exit.
|
#
1.24 |
|
05-Mar-2013 |
christos |
account for -vi
|
Revision tags: yamt-pagecache-base8 yamt-pagecache-base7
|
#
1.23 |
|
09-Dec-2012 |
christos |
forgetting to shift turns this into a cpu burner.
|
#
1.22 |
|
09-Dec-2012 |
christos |
ignore --sysroot=/
|
Revision tags: yamt-pagecache-base6
|
#
1.21 |
|
26-Aug-2012 |
jmmv |
branches: 1.21.2; Add a new "-P prefix" option to mkdep(1).
This option prepends the string given in prefix to every target filename. This is useful for programs that have source files in multiple subdirectories and a single Makefile that references all of them explicitly (without using the VPATH functionality because there can be files with the same name in each subdirectory).
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.20 |
|
30-Jun-2011 |
wiz |
branches: 1.20.2; dependant -> dependent
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.19 |
|
14-Nov-2010 |
christos |
recognize isysroot
|
#
1.18 |
|
20-Feb-2010 |
joerg |
Rewrite argument processing to deal with spaces and other meta characters in options. This was exposed by the "NetBSD 5.99" argument of mandoc.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 mjf-devfs2-base wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
|
#
1.17 |
|
09-Jul-2007 |
jmmv |
Treat -cxx-isystem as -isystem-cxx. Not really required by our code, but I discovered this while trying to add a host tool written in C++.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
|
#
1.16 |
|
01-Sep-2005 |
jwise |
On second thought, we can't just pass through -isystem-cxx, we have to change it to -isystem. With this change, I can now make depend a simple c++ stl-using host program.
|
#
1.15 |
|
01-Sep-2005 |
jwise |
Recognize -isystem-cxx as well as -isystem, making this more usable for c++ host progs.
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-3-base netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.14 |
|
27-Mar-2004 |
dsl |
branches: 1.14.6; Fix the processing of '-s .lo\ .ln' (etc). This means that the tools now have correct dependencies (xxx.lo: ... instead of xxx.o: ...) and in particular causes the pax to be built with consistent headers. There could also be other lossage on update builds of tools.
|
#
1.13 |
|
07-Dec-2003 |
dsl |
Make command line parser getopt() compatible (allow host-mkdep -aq -s.o.lo ...) Don't use shell builtin because we need to know the values of OPTIND (etc) in what is usually an error path.
|
#
1.12 |
|
11-Nov-2003 |
dsl |
Let -- be used to separate mkdep options from cc options
|
#
1.11 |
|
10-Nov-2003 |
dsl |
Make this support the same new options as recently added to the mkdep program.
|
#
1.10 |
|
11-Jun-2003 |
christos |
No sources == error again.
|
#
1.9 |
|
10-Jun-2003 |
christos |
for now, make the fact that no sources were specified a warning.
|
#
1.8 |
|
10-Jun-2003 |
christos |
Do -isystem differently.
|
#
1.7 |
|
10-Jun-2003 |
christos |
understand -isystem too if compiler gcc/g++
|
#
1.6 |
|
06-Jun-2003 |
christos |
- shift; shift -> shift 2 - understand and do something reasonable with -nostdinc*
|
#
1.5 |
|
13-Mar-2003 |
thorpej |
Allow "-no-cpp-precomp", which disables use of pre-compiled headers on Mac OS X.
|
Revision tags: fvdl_fs64_base
|
#
1.4 |
|
15-Sep-2002 |
thorpej |
Patch host-mkdep with the working host shell.
|
#
1.3 |
|
13-Sep-2002 |
thorpej |
Delete a few things that appear in gcc 3.x's CPP output.
|
Revision tags: netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
#
1.2 |
|
28-Jan-2002 |
tv |
branches: 1.2.2; Ensure a space after # or #line so we don't pick up stray #pragmas and so forth in the .depend file.
|
#
1.1 |
|
10-Jan-2002 |
tv |
Move host-mkdep to its own directory. Create and install it before everything else. Now it's possible for the target mkdep to build and install like "normal" host-tools do; should remove the function decl warnings reported by greywolf@starwolf.com on current-users.
|
#
1.32 |
|
29-Oct-2019 |
joerg |
Don't escape ", GNU awk 5 warns about it.
|
Revision tags: netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.31 |
|
12-May-2015 |
christos |
Like the non-host mkdep don't print ./foo.h as a dependency, but simplify it to foo.h. This was causing problems with:
.y.h: ${.TARGET:.h=.c}
where .h was ./cgram.h and the source became ./cgram.c confusing for example /usr/src/tools/lint1 because make had both cgram.c and ./cgram.c in the list of sources, trying to build both of them in parallel thinking that they were different files. Since the regular mkdep does not produce such dependencies, the regular build does not suffer from this issue.
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.30 |
|
02-Sep-2013 |
joerg |
Preserve -std=* options as they may change the dependency list.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.29 |
|
27-Mar-2013 |
uwe |
Some shells have ((expr)) syntax for arithmetic. Add space between parens of nested (compound-list)s to unconfuse them.
Fixes PR toolchain/47695
|
Revision tags: agc-symver-base
|
#
1.28 |
|
16-Mar-2013 |
christos |
Put back error checking in a simpler form thanks to uwe
|
#
1.27 |
|
14-Mar-2013 |
joerg |
Revert 1.25 and 1.26: Breaks build on !NetBSD
|
#
1.26 |
|
12-Mar-2013 |
christos |
re-directing once is good enough.
|
#
1.25 |
|
12-Mar-2013 |
christos |
Perform shell fd gymnastics to capture the error in the pipeline and exit.
|
#
1.24 |
|
05-Mar-2013 |
christos |
account for -vi
|
Revision tags: yamt-pagecache-base8 yamt-pagecache-base7
|
#
1.23 |
|
09-Dec-2012 |
christos |
forgetting to shift turns this into a cpu burner.
|
#
1.22 |
|
09-Dec-2012 |
christos |
ignore --sysroot=/
|
Revision tags: yamt-pagecache-base6
|
#
1.21 |
|
26-Aug-2012 |
jmmv |
branches: 1.21.2; Add a new "-P prefix" option to mkdep(1).
This option prepends the string given in prefix to every target filename. This is useful for programs that have source files in multiple subdirectories and a single Makefile that references all of them explicitly (without using the VPATH functionality because there can be files with the same name in each subdirectory).
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.20 |
|
30-Jun-2011 |
wiz |
branches: 1.20.2; dependant -> dependent
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.19 |
|
14-Nov-2010 |
christos |
recognize isysroot
|
#
1.18 |
|
20-Feb-2010 |
joerg |
Rewrite argument processing to deal with spaces and other meta characters in options. This was exposed by the "NetBSD 5.99" argument of mandoc.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 mjf-devfs2-base wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
|
#
1.17 |
|
09-Jul-2007 |
jmmv |
Treat -cxx-isystem as -isystem-cxx. Not really required by our code, but I discovered this while trying to add a host tool written in C++.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
|
#
1.16 |
|
01-Sep-2005 |
jwise |
On second thought, we can't just pass through -isystem-cxx, we have to change it to -isystem. With this change, I can now make depend a simple c++ stl-using host program.
|
#
1.15 |
|
01-Sep-2005 |
jwise |
Recognize -isystem-cxx as well as -isystem, making this more usable for c++ host progs.
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-3-base netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.14 |
|
27-Mar-2004 |
dsl |
branches: 1.14.6; Fix the processing of '-s .lo\ .ln' (etc). This means that the tools now have correct dependencies (xxx.lo: ... instead of xxx.o: ...) and in particular causes the pax to be built with consistent headers. There could also be other lossage on update builds of tools.
|
#
1.13 |
|
07-Dec-2003 |
dsl |
Make command line parser getopt() compatible (allow host-mkdep -aq -s.o.lo ...) Don't use shell builtin because we need to know the values of OPTIND (etc) in what is usually an error path.
|
#
1.12 |
|
11-Nov-2003 |
dsl |
Let -- be used to separate mkdep options from cc options
|
#
1.11 |
|
10-Nov-2003 |
dsl |
Make this support the same new options as recently added to the mkdep program.
|
#
1.10 |
|
11-Jun-2003 |
christos |
No sources == error again.
|
#
1.9 |
|
10-Jun-2003 |
christos |
for now, make the fact that no sources were specified a warning.
|
#
1.8 |
|
10-Jun-2003 |
christos |
Do -isystem differently.
|
#
1.7 |
|
10-Jun-2003 |
christos |
understand -isystem too if compiler gcc/g++
|
#
1.6 |
|
06-Jun-2003 |
christos |
- shift; shift -> shift 2 - understand and do something reasonable with -nostdinc*
|
#
1.5 |
|
13-Mar-2003 |
thorpej |
Allow "-no-cpp-precomp", which disables use of pre-compiled headers on Mac OS X.
|
Revision tags: fvdl_fs64_base
|
#
1.4 |
|
15-Sep-2002 |
thorpej |
Patch host-mkdep with the working host shell.
|
#
1.3 |
|
13-Sep-2002 |
thorpej |
Delete a few things that appear in gcc 3.x's CPP output.
|
Revision tags: netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
#
1.2 |
|
28-Jan-2002 |
tv |
branches: 1.2.2; Ensure a space after # or #line so we don't pick up stray #pragmas and so forth in the .depend file.
|
#
1.1 |
|
10-Jan-2002 |
tv |
Move host-mkdep to its own directory. Create and install it before everything else. Now it's possible for the target mkdep to build and install like "normal" host-tools do; should remove the function decl warnings reported by greywolf@starwolf.com on current-users.
|