René Nyffenegger's collection of things on the web
René Nyffenegger on Oracle - Most wanted - Feedback is processed by automake.
The commands in a file mostly look like variable assignment.
Each directory in a package should contain an file. This in turn should specify its subdirectories like so:
SUBDIRS = dir_foo dir_bar dir_baz
Each file should have a corresponding AC_OUTPUT in the file.

Cygnus mode

To put automake into cygnus mode, add this line to


bin_PROGRAMS = foo_prg
foo_prg_SOURCES = foo.c bar.c 

lib_LIBRARIES = libfoo.a
lib_foo_a_SOURCES = foo.c bar.c

libfoo_la_SOURCES = foo.c bar.c
bin_ and bin_ refer to directories specified with the configure options --bindir and --libdir.