>>>>> "Ben" == Ben Woodard <[EMAIL PROTECTED]> writes:
Ben> lpc_LDADD=liblpr.la $(GLIB_LIBS)
Ben> It would be nice if I could have the LDADD apply to every program.
LDADD = liblpr.la $(GLIB_LIBS)
Then remove lpc_LDADD, etc.
Ben> 2) I guess I don't understand the way that automake picks up
Ben> source files to include in the distribution very well. I thought
Ben> that it would pick up all the header files that are needed by the
Ben> C sources that make up all the programs.
Automake won't do this automatically. You must name the headers
explicitly.
Ben> EXTRA_DIST=lp.h lp.local.h lpc.h pathnames.h protos.h
It is a bit more idiomatic to list the headers in the _SOURCES
variable. They will be ignored there, except for distribution
purposes.
Tom