automake
[Top][All Lists]
Advanced

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

Re: Help with automake-1.6


From: Alexandre Duret-Lutz
Subject: Re: Help with automake-1.6
Date: Fri, 14 Jun 2002 11:09:25 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu)

| 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




reply via email to

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