[Mono-list] codegen.h?
Dietmar Maurer
dietmar@ximian.com
12 Nov 2002 09:34:08 +0100
On Tue, 2002-11-12 at 08:12, Piyush, Garyali (IE10) wrote:
> Hi,
>
> I was browsing through the code and after doing a grep
> for 'codegen.h' I found that it was being used by:-
>
> ./jit/mono.c
> ./jit/debug-dwarf2.c
> ./jit/debug-stabs.c
> ./jit/debug.c
> ./jit/emit-x86.c
> ./jit/exception.c
> ./jit/helpers.c
> ./jit/jit.c
> ./jit/trampoline.c
>
> Now, 'codegen.h' and 'codegen-x86.c' are there in the code
> to be built but once 'make' is done and 'make clean' is executed, it
> just removes both of these files.
>
> I fail to understand why these files ought to be *removed* after the
> clean if they are not creating any potential threat to the code-base.
>
Both files are generated by monoburg (using x86.brg)
codegen-x86.c codegen.h: x86.brg
../monoburg/monoburg $(srcdir)/x86.brg -d codegen.h -s codegen-x86.c
So I consider both files as intermediate result which needs to be
cleaned by make clean. But that should be no problem, because they are
automatically built when needed.
- Dietmar