automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automake problem: one makefile for everything


From: Bob Friesenhahn
Subject: Re: Automake problem: one makefile for everything
Date: Thu, 15 Dec 2005 10:10:43 -0600 (CST)

On Wed, 14 Dec 2005 address@hidden wrote:


This doesn't do the job:


lib_LTLIBRARIES = libmain.la modules/libmod.la
libmain_la_SOURCES =  main1.c main2.c
libmod_la_SOURCES = modules/mod1.c modules/mod2.c


libtool doesn't like directory names in the lib_LTLIBRARIES variable.
But if I go ...

You need to prefix the libmod_la_SOURCES part with the directory name like

modules_libmod_la_SOURCES =

Then automake should be happy.

Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]