[Mono-list] mono/jit makefile quirks

Daniel Stodden stodden@cs.tum.edu
13 Aug 2002 01:54:16 +0200


hi.

to anyone deeply familiar with the mono build tree:

can we leave the monoburg output out of CLEANFILES in
mono/jit/Makefile.am?

the problem is that a regular 'make clean' in jit dies since ../monoburg
is cleaned before jit/ and jit/ always tries to remake the codegen*
stuff via monoburg, even on clean. (see the description of BUILT_SOURCES
in the automake info pages for an explanation why this happens).

BUILT_SOURCES is by default cleaned on maintainer-clean, and i think
that should suffice under normal conditions.

last time i checked this kind of stuff in without asking i broke the
windows builds, so this time it's just a patch :)

Index: Makefile.am
===================================================================
RCS file: /cvs/public/mono/mono/jit/Makefile.am,v
retrieving revision 1.35
diff -u -r1.35 Makefile.am
--- Makefile.am 12 Aug 2002 10:05:51 -0000      1.35
+++ Makefile.am 12 Aug 2002 23:49:54 -0000
@@ -55,7 +55,5 @@
 
 BUILT_SOURCES = codegen-x86.c codegen.h
 
-CLEANFILES = $(BUILT_SOURCES)
-
 EXTRA_DIST = x86.brg
 

kind regards,
dns

-- 
___________________________________________________________________________
 mailto:stodden@in.tum.de