automake
[Top][All Lists]
Advanced

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

Re: Dashes in library names


From: Daniel Reed
Subject: Re: Dashes in library names
Date: Sat, 23 Aug 2003 10:47:47 -0400 (EDT)

On 2003-08-22T22:58-0700, McKenzie Keith wrote:
) I am trying to create a couple of libraries with dashes in the name. When I
) tried the obvious in my Makefile.am, automake complained about bad macros.
 [...]
) When I change the dashes to underscores, I have no problem (except that I am
) not getting the library name that I need).

Go ahead and list the files as you want them to literally appear in the
lib_LTLIBRARIES line, but encode the hyphens as underscores elsewhere. That is:

lib_LTLIBRARIES = libswt-gtk-2052.la libswt-pi-gtk-2052.la
libswt_gtk_2052_la_SOURCES = \
        callback.h callback.c

-- 
Daniel Reed <address@hidden>    http://naim-users.org/nmlorg/   
http://naim.n.ml.org/
"Real computer scientists like having a computer on their desk, else
how could they read their mail?"
http://site.n.ml.org/download/20030819120839/naim/naim-0.11.6.tar.gz




reply via email to

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