Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Oct 2015 18:21:47 -0700
From:      NGie Cooper <yaneurabeya@gmail.com>
To:        Rui Paulo <rpaulo@me.com>
Cc:        hackers@freebsd.org
Subject:   Re: boostrap target
Message-ID:  <4E5E6A74-F722-4F34-8B76-6A9DA653F0C5@gmail.com>
In-Reply-To: <1444093706.6210.26.camel@me.com>
References:  <1444087075.6210.17.camel@me.com> <33379C03-977C-47B5-93AB-447715A9C215@gmail.com> <1444093706.6210.26.camel@me.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Oct 5, 2015, at 18:08, Rui Paulo <rpaulo@me.com> wrote:
>=20
> On Mon, 2015-10-05 at 17:40 -0700, NGie Cooper wrote:
>>> On Oct 5, 2015, at 16:17, Rui Paulo <rpaulo@me.com> wrote:
>>>=20
>>> Ian and I were trying to figure out how the boostrap target gets
>>> called
>>> in usr.bin/lex/Makefile. It seems to be part of afterdepend, but I
>>> couldn't figure out how it gets added.  Any ideas?
>>=20
>> Looking at ^/head/Makefile@r35703, `make bootstrap` for=20
>> usr.bin/lex/Makefile@r35703 was broken when bootstrap-tools, etc, was
>> written.
>=20
> That doesn't answer my question because I still don't know how it gets
> added to afterdepend.

`make afterdepend` doesn't do anything right now in that directory when =
with and without meta mode with my copy of FreeBSD:

$ uname -a
FreeBSD fbsd11 11.0-CURRENT FreeBSD 11.0-CURRENT #2 =
r287529+e3e7b86(isilon-atf): Mon Sep  7 00:12:58 PDT 2015     =
ngie@fbsd11:/usr/obj/usr/src/git/sys/GENERIC-NODEBUG  amd64
$ grep Bootstrapping ~/bw.log || echo not found
not found
$ __MAKE_CONF=3D/dev/null SRCCONF=3D/dev/null make obj
=3D=3D=3D> lib (obj)
/usr/obj/usr/src/svn/usr.bin/lex/lib created for =
/usr/src/svn/usr.bin/lex/lib
[ngie@fbsd11 /usr/src/svn/usr.bin/lex]$ make depend
yacc -d -o parse.c /usr/src/svn/usr.bin/lex/../../contrib/flex/parse.y
lex -t  -is /usr/src/svn/usr.bin/lex/../../contrib/flex/scan.l > scan.c
sed 's/m4_/m4postproc_/g; s/m4preproc_/m4_/g'  =
/usr/src/svn/usr.bin/lex/../../contrib/flex/flex.skl |  m4 =
-I/usr/src/svn/usr.bin/lex/../../contrib/flex -P `awk -f =
/usr/src/svn/usr.bin/lex/version.awk /usr/src/svn/usr.bin/lex/config.h` =
|  sed 's/m4postproc_/m4_/g' |  sh =
/usr/src/svn/usr.bin/lex/../../contrib/flex/mkskel.sh > skel.c
rm -f .depend
mkdep -f .depend -a    -I. -I/usr/src/svn/usr.bin/lex =
-I/usr/src/svn/usr.bin/lex/../../contrib/flex -DHAVE_CONFIG_H -std=3Dgnu99=
   /usr/src/svn/usr.bin/lex/../../contrib/flex/buf.c =
/usr/src/svn/usr.bin/lex/../../contrib/flex/ccl.c =
/usr/src/svn/usr.bin/lex/../../contrib/flex/dfa.c =
/usr/src/svn/usr.bin/lex/../../contrib/flex/ecs.c =
/usr/src/svn/usr.bin/lex/../../contrib/flex/filter.c =
/usr/src/svn/usr.bin/lex/../../contrib/flex/gen.c =
/usr/src/svn/usr.bin/lex/../../contrib/flex/main.c =
/usr/src/svn/usr.bin/lex/../../contrib/flex/misc.c =
/usr/src/svn/usr.bin/lex/../../contrib/flex/nfa.c =
/usr/src/svn/usr.bin/lex/../../contrib/flex/options.c parse.c =
/usr/src/svn/usr.bin/lex/../../contrib/flex/regex.c scan.c =
/usr/src/svn/usr.bin/lex/../../contrib/flex/scanflags.c =
/usr/src/svn/usr.bin/lex/../../contrib/flex/scanopt.c skel.c =
/usr/src/svn/usr.bin/lex/../../contrib/flex/sym.c =
/usr/src/svn/usr.bin/lex/../../contrib/flex/tables.c =
/usr/src/svn/usr.bin/lex/../../contrib/flex/tables_shared.c =
/usr/src/svn/usr.bin/lex/../../contrib/flex/tblcmp.c =
/usr/src/svn/usr.bin/lex/../../contrib/flex/yylex.c
echo lex: /usr/lib/libc.a  >> .depend
=3D=3D=3D> lib (depend)
rm -f .depend
mkdep -f .depend -a     -std=3Dgnu99   =
/usr/src/svn/usr.bin/lex/lib/../../../contrib/flex/libmain.c =
/usr/src/svn/usr.bin/lex/lib/../../../contrib/flex/libyywrap.c
$ __MAKE_CONF=3D/dev/null SRCCONF=3D/dev/null make afterdepend
$=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E5E6A74-F722-4F34-8B76-6A9DA653F0C5>