I have two questions for you guys that I have been unable to figure
out.
1) Is there a way to have a LDADD apply to every program within a
project. For example right now I have:
lpd_SOURCES=lpd.c lpdchar.c printjob.c recvjob.c
lpd_LDADD=liblpr.la $(GLIB_LIBS)
lpc_SOURCES=lpc.c cmds.c cmdtab.c
lpc_LDADD=liblpr.la $(GLIB_LIBS)
It would be nice if I could have the LDADD apply to every program.
2) I guess I don't understand the way that automake picks up source
files to include in the distribution very well. I thought that it
would pick up all the header files that are needed by the C sources
that make up all the programs. However it seems that for the dist to
pick up all the things that are needed I need to add this line to the
Makefile.am:
EXTRA_DIST=lp.h lp.local.h lpc.h pathnames.h protos.h
Is there a possiblity that I am not doing something correctly that is
causing automake not to pick up the header files.
-ben