[Top][All Lists]

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

Re: [PATCH] Operating system independence; Hurd Port.

From: Niels Möller
Subject: Re: [PATCH] Operating system independence; Hurd Port.
Date: 08 Mar 2001 15:11:50 +0100

Andrew Clausen <address@hidden> writes:

> Neal H Walfield wrote:

> > To compile (on GNU/Linux or GNU/Hurd), you need to do several things.
> > Patch parted-1.5.1-pre1.  Run:
> > 
> >   $ autconf && automake && automake libparted/device/gnu && automake
> >   libparted/device/linux
> Why do we need the extra automake stuff?  I think the method
> you used to select the directory to use is broken... but
> perhaps automake is broken.  For example: we want to be able
> to use "make dist", even if we configured to use Hurd.

I don't know parted, but in general, I believe it makes things easier
to have optional files than to have optional directories. So unless
there are a *lot* of files under device/SYSTEM, it may help to use one
or a few files for each system in the top dir. Let configure set
DEVICE_SOURCES to an appropriate list of files, and use something like

  libpart_SOURCES= ... $(DEVICE_SOURCES)

  EXTRA_DIST= list of all the optional files

I think it best to use subdirectories with their own makefiles (and
possibly also their own configure.in) only for things that can be
thought of as independent modules, and that it might make sense to
distribute separately or share with other projects.


reply via email to

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