forked from Mirrors/freeswitch
b8b13a8a8a
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11818 d0543943-73ff-0310-b7d9-9358b9ac24b2
50 lines
1.6 KiB
Plaintext
50 lines
1.6 KiB
Plaintext
# Silent compilation w/ Automake 1.9 or 1.10
|
|
# ----------------------------------------------------------
|
|
|
|
# Automake 1.9.6 is not clever enough to override suffix rules within if
|
|
# if SOFIA_COMPILE_SILENT
|
|
|
|
SOFIA_SILENT=@
|
|
|
|
LIBTOOL_FLAGS = --silent
|
|
|
|
# From Automake 1.9.6 -
|
|
LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(LIBTOOL_FLAGS) \
|
|
$(CC) $(DEFS) \
|
|
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
|
|
$(AM_CFLAGS) $(CFLAGS)
|
|
|
|
LINK = ${SOFIA_SILENT}test ${SOFIA_SILENT} != @ || echo ' LINK $@'; \
|
|
$(LIBTOOL) --tag=CC --mode=link $(LIBTOOL_FLAGS) \
|
|
$(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
|
|
|
# Rules from depend2.am (GENERIC = TRUE, SUBDIROBJ = FALSE, %FASTDEP% = am_fastdepCC) silenced.
|
|
.c.o:
|
|
@test ${SOFIA_SILENT} != @ || echo ' COMPILE $@'
|
|
if am__fastdepCC
|
|
${SOFIA_SILENT}if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
|
|
then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
|
|
else
|
|
if AMDEP
|
|
${SOFIA_SILENT}source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
|
${SOFIA_SILENT}DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
endif
|
|
${SOFIA_SILENT}$(COMPILE) -c -o $@ $<
|
|
endif
|
|
|
|
.c.lo:
|
|
@test ${SOFIA_SILENT} != @ || echo ' LTCOMPILE $@'
|
|
if am__fastdepCC
|
|
${SOFIA_SILENT}if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
|
|
then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
|
|
else
|
|
if AMDEP
|
|
${SOFIA_SILENT}source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
|
${SOFIA_SILENT}DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
endif
|
|
${SOFIA_SILENT}$(LTCOMPILE) -c -o $@ $<
|
|
endif
|
|
|
|
# endif
|