This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Help with automake-1.6


| Hi,
| I whould like to know how I can modify the next Makefile.am so it works with
| automake-1.6. The problem is that automake says that the object was created
| both with libtool and without.

This is starting to get a FAQ.
http://sources.redhat.com/ml/automake/2002-05/msg00071.html

| EXTRA_DIST = PROTOCOL md5.h
| 
| pkgdir = $(libdir)/gaim
| 
| CFLAGS += -I\$(top_srcdir)/src $(st) $(DEBUG_CFLAGS)
| libmsn_la_LDFLAGS = -module -avoid-version
| 
| if STATIC_MSN
| 
| st = -DSTATIC
| pkg_LTLIBRARIES =
| noinst_LIBRARIES = libmsn.a
| 
| libmsn_a_SOURCES = msn.c history.c

Add

  libmsn_a_CFLAGS = $(AM_CFLAGS)

here.

| else
| 
| st =
| pkg_LTLIBRARIES = libmsn.la
| noinst_LIBRARIES =
| 
| libmsn_la_SOURCES = msn.c history.c
| 
| endif

-- 
Alexandre Duret-Lutz



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]