lightning
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lightning] Re: multiple states and multiple functions


From: Paolo Bonzini
Subject: Re: [Lightning] Re: multiple states and multiple functions
Date: Wed, 22 Aug 2007 06:02:46 -0000
User-agent: Thunderbird 2.0.0.5 (Macintosh/20070716)

Thanks Ludovic for the detailed answer.

* I do not use Automake, and after lightiningize in
  "lightning.m4" there are still:

     AM_CONDITIONAL(LIGHTNING_MAIN, (exit 1))
     AM_CONDITIONAL(HAVE_INSTALLED_LIGHTNING, ...)

  I had to comment them out by hand (undocumented, is it
  safe to do it?).

Hmm.  Maybe you should use Automake?  :-)

lightningize is crafted for projects using Automake, which is why all the contents of this mail are not in the documentation. :-)

It is safe to remove the conditionals, but if you don't use Automake you will have to replace the code installed in lightning/Makefile.am with your own code. So, remove the "then" branch of "if LIGHTNING_MAIN", ass rules code to handle these:

DISTCLEANFILES = asm.h core.h funcs.h fp.h

EXTRA_DIST = i386/Makefile.frag \
        i386/asm-32.h i386/asm-64.h i386/asm-i386.h \
        i386/core-32.h i386/core-64.h i386/core-i386.h \
        i386/fp-32.h i386/fp-64.h \
        i386/funcs.h \
        sparc/asm.h sparc/core.h sparc/funcs.h sparc/fp.h \
        ppc/asm.h ppc/core.h ppc/funcs.h ppc/fp.h

... and rename all-am to all, clean-local to clean, dist-hook to dist.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]