This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
location of .h's in library
- From: David T Farning <dfarning at sbcglobal dot net>
- To: automake at gnu dot org
- Date: Fri, 18 Jun 2004 13:50:39 -0500
- Subject: location of .h's in library
I am working on my first attempt at building a library in c using
automake. I would like the verify the location and use of the header
files. Could someone verify or correct my assumptions.
1. headers internal to the library should located in /src
2. those headers should be dependencies under _SOURCES =
3. follow normal header rules of one .h per .c
4. public prototypes should be located in /includes
5. these header will be installed in prefix/includes via
_include_DATA =
6. use very few public headers to prevent the need for library users
to need many #includes.
thanks
-dtf