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]

Re: Automake 1.4j: Release Candidate


On Tue, Jul 31, 2001 at 12:36:35AM -0600, Tom Tromey wrote:
: If serious problems aren't found within a reasonable amount of time,
: I'll release it as 1.5.

Here's one.  The following Makefile.am doesn't generate any object
dependencies.  $(libtest_a_OBJECTS) is always empty.

  Lars J

noinst_LIBRARIES = libtest.a

if COND1
SOURCEVAR1 = 
SOURCEVAR2 = habla.cpp espanol.cpp
else
SOURCEVAR1 = dummy.cpp
SOURCEVAR2 =
endif

if COND2
TESTSOURCES = $(SOURCEVAR1)
else
TESTSOURCES = $(SOURCEVAR2)
endif

libtest_a_SOURCES = $(TESTSOURCES)


AC_INIT(test,0.0)
AC_PROG_CC
AC_PROG_CXX
AC_PROG_RANLIB
AM_INIT_AUTOMAKE(test,0.0)
AM_CONDITIONAL(COND1, true)
AM_CONDITIONAL(COND2, true)
AC_CONFIG_FILES(Makefile)
AC_OUTPUT


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