opensubscriber
   Find in this group all groups
 
Unknown more information…

a : automake@gnu.org 10 May 2012 • 12:50AM -0400

CC $sourcebasename-$sourcebasename.o displayed during silent rules build
by Adam Mercer

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi

Next, hopefully not so stupid, question; my Makefile.am is now

AM_CFLAGS = $(LALSUPPORT_CFLAGS)
LDADD = $(LALSUPPORT_LIBS) $(top_builddir)/src/liblalframe.la

if PTHREAD
PTHREADPRGS = \
TestLowLatencyData1 \
TestLowLatencyData2 \
TestLowLatencyData3
endif

if LALSUPPORT
check_PROGRAMS = \
AggregationTest \
FrameCacheTest \
FrameDataTest \
FrameStreamTest \
MakeFrames \
Read40mData \
ReadGEOData \
ReadLHOData \
$(PTHREADPRGS)
TESTS = \
FrameCacheTest.sh \
FrameStreamTest \
$(PTHREADPRGS)
endif

if PTHREAD
# set appropriate pthread flags
TestLowLatencyData1_LDADD = $(PTHREAD_LIBS) $(LDADD)
TestLowLatencyData1_CFLAGS = $(PTHREAD_CFLAGS) $(AM_CFLAGS)
TestLowLatencyData2_LDADD = $(PTHREAD_LIBS) $(LDADD)
TestLowLatencyData2_CFLAGS = $(PTHREAD_CFLAGS) $(AM_CFLAGS)
TestLowLatencyData3_LDADD = $(PTHREAD_LIBS) $(LDADD)
TestLowLatencyData3_CFLAGS = $(PTHREAD_CFLAGS) $(AM_CFLAGS)
endif

then when building with silent rules, the codes that are linked
against libpthread are displayed as follows:

  CC       TestLowLatencyData1-TestLowLatencyData1.o
  CCLD     TestLowLatencyData1
  CC       TestLowLatencyData2-TestLowLatencyData2.o
  CCLD     TestLowLatencyData2
  CC       TestLowLatencyData3-TestLowLatencyData3.o
  CCLD     TestLowLatencyData3

Whereas the others are displayed as:

  CC       AggregationTest.o
  CCLD     AggregationTest

Why are these being displayed differently? And is there a way I can
get them to be display like the other test codes?

Cheers

Adam


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.