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. Here is an example of what I tried:
AUTOMAKE_OPTIONS = 1.4
lib_LTLIBRARIES = libswt-gtk-2052.la libswt-pi-gtk-2052.la
libswt-gtk-2052_la_SOURCES = \ callback.h callback.c
libswt-pi-gtk-2052_la_SOURCES = \ structs.h swt.h structs.c swt.c
libswt-gtk-2052_la_CFLAGS = -DSWT_VERSION=2052 libswt-pi-gtk-2052_la_CFLAGS = $(GTKDEPS_CFLAGS) -DSWT_VERSION=2052
libswt-pi-gtk-2052_la_LDFLAGS = $(GTKDEPS_LIBS)
***********end Makefile.am********************
When I change the dashes to underscores, I have no problem (except that I am not getting the library name that I need).
I am using automake 1.6.3, autoconf 2.53, and libtool 1.4.2.
Any suggestions as to how to best get what I want would be much appreciated.
--McKenzie
_________________________________________________________________
Get MSN 8 and help protect your children with advanced parental controls. http://join.msn.com/?page=features/parental