[apparmor] [PATCH] towards a common build infrastructure
Kees Cook
kees at ubuntu.com
Sun May 6 21:21:08 UTC 2012
Hi John,
On Sat, May 05, 2012 at 05:33:23PM -0700, John Johansen wrote:
> On 05/05/2012 02:38 PM, Kees Cook wrote:
> > I'd like to start trying to move to a common autoconf infrastructure where
> > the build elements are selected at configure time, etc. This will let us
> > get rid of the unusual common/Make.rules logic, provide cleaner common
> > build targets, potential for easier parallelization of the build, etc.
> >
> > This is the first step, which moves the configure.ac from
> > libraries/libapparmor down into the top level directory. Currently
> > only libraries/libapparmor is automake-ified, but with the autoconf
> > infrastructure moved, we can start adding directories one at a time
> > until all the by-hand Makefiles have been replaced.
> >
> > To help with with transition, I've added some by-hand Makefiles to
> > needed subdirectories so that the top-level "make", "make check", and
> > "make clean"s will get passed all the way down.
> >
>
> Funny I had considered getting rid of autoconf completely for the unification.
I'm strongly against dropping auto* when we're building so many libraries
and bindings. All the hassle is kept far away. :) Take, for example, all
the CPPFLAGS fixups I recently sent -- none of that would have been needed
with a unified auto* setup.
> At the moment lets just hold off on this, it isn't going to go into 2.8 so it
> doesn't hurt waiting a little bit and we can discuss this next week.
Sounds good.
-Kees
--
Kees Cook
More information about the AppArmor
mailing list