I have found a workaround.  It seems that automake generates a rule to build 
a library, only if XXX_la_SOURCES is defined.  So the following doesn't work:

SUBDIRS = lib1 lib2 .
lib_LTLIBRARIES = libgather.la
libgather_la_SOURCES = 
libgather_la_LIBADD = lib1/libgoodbye1.la lib2/libgoodbye2.la

But the following works (!):

SUBDIRS = lib1 lib2 .
lib_LTLIBRARIES = libgather.la
libgather_la_SOURCES = gather.c
libgather_la_LIBADD = lib1/libgoodbye1.la lib2/libgoodbye2.la

The gather.c is an empty file (created with "touch gather.c").

Is there a way to make this work without the gather.c file?

Thanks for your help!

Alexandros

  • ... Αλέξανδρος Καρυπίδης (Alexandros Karypidis)
    • ... F J Franklin
      • ... Αλέξανδρος Καρυπίδης (Alexandros Karypidis)
        • ... F J Franklin
          • ... Αλέξανδρος Καρυπίδης (Alexandros Karypidis)
            • ... Αλέξανδρος Καρυπίδης (Alexandros Karypidis)
              • ... Tom Tromey
                • ... Αλέξανδρος Καρυπίδης (Alexandros Karypidis)
            • ... Tom Tromey
              • ... Αλέξανδρος Καρυπίδης (Alexandros Karypidis)
        • ... Tom Tromey
          • ... Αλέξανδρος Καρυπίδης (Alexandros Karypidis)

Reply via email to