I am trying to understand how convenience libriaries work. Using the dir structure "project/src/libX", where X is 1 & 2, I want to create 2 convenience libraries in project/src/lib1 & project/src/lib2, then merge them into a shared library in project/src. So I wrote the following 3 Makefile.am:
in project/src/lib1: noinst_LTLIBRARIES = libgoodbye1.la libgoodbye1_la_SOURCES = goodbye1.c in project/src/lib2: noinst_LTLIBRARIES = libgoodbye2.la libgoodbye2_la_SOURCES = goodbye2.c in project/src: SUBDIRS = lib1 lib2 . lib_LTLIBRARIES = libgather.la libgather_la_LDADD = lib1/libgoodbye1.la lib2/libgoodbye2.ls The problem is that automake now complains with: "src/Makefile.am:4: use `libgather_la_LIBADD', not `libgather_la_LDADD'"