Re: Makefile.am subdirs and object files - anyone please help
- From: Federico Mena Quintero <federico helixcode com>
- To: Havoc Pennington <hp redhat com>
- Cc: hyper^T <jcook2 bigpond net au>, gnome-devel-list gnome org
- Subject: Re: Makefile.am subdirs and object files - anyone please help
- Date: Wed, 20 Dec 2000 13:23:40 -0600
Havoc Pennington <hp redhat com> writes:
> The way around it is what the automake docs call a "convenience
> library." You build a static library in the subdirectory with a
> Makefile.am in that subdirectory, then add the static library to the
> link line in the parent directory.
>
> I can't think of a package with a simple example offhand, but someone
> else probably can. And it's in the automake docs.
The Evolution calendar GUI uses this technique.
evolution/calendar/gui: main stuff
evolution/calendar/gui/dialogs: little library with dialog boxes
You can look at the Makefile.am files there to see how it is done.
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]