automake
[Top][All Lists]
Advanced

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

automake 1.7.1 hangs while processing Makefile.am


From: Jason Jordan
Subject: automake 1.7.1 hangs while processing Makefile.am
Date: Mon, 2 Dec 2002 14:29:43 -0500 (EST)

Hi,

  I have a Makefile.am in my project that automake 1.7.1 seems to choke
on.  Previous versions handle it just fine (1.7, 1.6.x, and 1.5 IIRC).
This is on Linux i686, in case that matters.

Below are the current contents of this file (src/Makefile.am in my
project).  It's slightly different from the one contained in the version
that was last released, but it still exhibits the same problem.  The older
version can be found here (this tarball may also be useful to test
against):

 <http://www.etree.org/shnutils/shntool/source/shntool-1.2.0-rc2.tar.gz>

One thing I noticed is that if I remove either all of the 'if MODE_*'
OR all of the 'if FORMAT_*' clauses, then automake doesn't hang.  I'm not
sure whether that's helpful, but it was interesting.  :)

Can anyone tell me if I am doing something wrong?  Please let me know if
more information is needed.

Thanks,
Jason

----- current src/Makefile.am follows -----

CORE_SOURCES = core_convert.c core_fileio.c core_misc.c core_output.c 
core_shntool.c core_wave.c
GLUE_SOURCES = glue_modes.c glue_formats.c

MODE_SOURCES =
FORMAT_SOURCES =

if MODE_CAT
  MODE_SOURCES += mode_cat.c
endif
if MODE_CMP
  MODE_SOURCES += mode_cmp.c
endif
if MODE_CONV
  MODE_SOURCES += mode_conv.c
endif
if MODE_FIX
  MODE_SOURCES += mode_fix.c
endif
if MODE_INFO
  MODE_SOURCES += mode_info.c
endif
if MODE_JOIN
  MODE_SOURCES += mode_join.c
endif
if MODE_LEN
  MODE_SOURCES += mode_len.c
endif
if MODE_SPLIT
  MODE_SOURCES += mode_split.c
endif
if MODE_STRIP
  MODE_SOURCES += mode_strip.c
endif

if FORMAT_AIFF
  FORMAT_SOURCES += format_aiff.c
endif
if FORMAT_APE
  FORMAT_SOURCES += format_ape.c
endif
if FORMAT_FLAC
  FORMAT_SOURCES += format_flac.c
endif
if FORMAT_LPAC
  FORMAT_SOURCES += format_lpac.c
endif
if FORMAT_NULL
  FORMAT_SOURCES += format_null.c
endif
if FORMAT_OFR
  FORMAT_SOURCES += format_ofr.c
endif
if FORMAT_SHN
  FORMAT_SOURCES += format_shn.c
endif
if FORMAT_WAV
  FORMAT_SOURCES += format_wav.c
endif

MODE_ALIASES := $(shell echo $(MODE_SOURCES) | sed -e 's/mode_//g' -e 
's/\.c//g')
MODE_ALIASES_ALL = cat cmp conv fix info join len split strip

bin_PROGRAMS = shntool

shntool_SOURCES = $(CORE_SOURCES) $(MODE_SOURCES) $(FORMAT_SOURCES)
nodist_shntool_SOURCES = $(GLUE_SOURCES)

install-exec-hook:
        for mode_alias in $(MODE_ALIASES_ALL) ; do \
          test -e $(bindir)/shn$$mode_alias && $(RM) $(bindir)/shn$$mode_alias 
; \
        done ; \
        for mode_alias in $(MODE_ALIASES) ; do \
          test -e $(bindir)/shn$$mode_alias || $(LN_S) $(PACKAGE) 
$(bindir)/shn$$mode_alias ; \
        done

distclean-local:
        $(RM) $(GLUE_SOURCES)








reply via email to

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