[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
object `foo.$(OBJEXT)' created both with libtool and without
From: |
Harlan Stenn |
Subject: |
object `foo.$(OBJEXT)' created both with libtool and without |
Date: |
Mon, 19 Aug 2002 23:58:28 -0400 |
User-agent: |
EMH/1.10.0 SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) |
Automake-1.6.3.
So I have a Makefile.am that build both PROGRAMS and LTLIBRARIES.
One of the .c modules is used by both a program and a library.
I get the warning:
automake: foo/Makefile:NN: object `foo.$(OBJEXT)' created both with libtool
and without
and I'm assuming it's because this case is not being caught by the same code
that handles:
bin_PROGRAMS = ctags etags
ctags_SOURCES = etags.c
ctags_CFLAGS = -DCTAGS
etags_SOURCES = etags.c
etags_CFLAGS = -DETAGS
or maybe it would if I had target-specific CFLAGS (which I don't, at
present).
Suggestions on how I can remedy this problem?
H
- object `foo.$(OBJEXT)' created both with libtool and without,
Harlan Stenn <=