📄 makefile.in
字号:
banner="All $$all tests passed"; \ else \ banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ fi; \ else \ if test "$$xpass" -eq 0; then \ banner="$$failed of $$all tests failed"; \ else \ banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ fi; \ fi; \ dashes="$$banner"; \ skipped=""; \ if test "$$skip" -ne 0; then \ skipped="($$skip tests were not run)"; \ test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ dashes="$$skipped"; \ fi; \ report=""; \ if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ report="Please report to $(PACKAGE_BUGREPORT)"; \ test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ dashes="$$report"; \ fi; \ dashes=`echo "$$dashes" | sed s/./=/g`; \ echo "$$dashes"; \ echo "$$banner"; \ test -z "$$skipped" || echo "$$skipped"; \ test -z "$$report" || echo "$$report"; \ echo "$$dashes"; \ test "$$failed" -eq 0; \ else :; fidistdir: $(DISTFILES) $(mkdir_p) $(distdir)/../../rules $(distdir)/sofia-resolv $(distdir)/sofia-sip @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ donecheck-am: all-am $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(MAKE) $(AM_MAKEFLAGS) check-TESTScheck: check-amall-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)installdirs: for dir in "$(DESTDIR)$(include_sofiadir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ doneinstall: install-aminstall-exec: install-exec-aminstall-data: install-data-amuninstall: uninstall-aminstall-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-aminstallcheck: installcheck-aminstall-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` installmostlyclean-generic: -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild."@HAVE_LCOV_FALSE@clean-local:clean: clean-amclean-am: clean-checkPROGRAMS clean-generic clean-libtool clean-local \ clean-noinstLTLIBRARIES mostlyclean-amdistclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefiledistclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tagsdvi: dvi-amdvi-am:html: html-aminfo: info-aminfo-am:install-data-am: install-nobase_include_sofiaHEADERSinstall-exec-am:install-info: install-info-aminstall-man:installcheck-am:maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefilemaintainer-clean-am: distclean-am maintainer-clean-genericmostlyclean: mostlyclean-ammostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtoolpdf: pdf-ampdf-am:ps: ps-amps-am:uninstall-am: uninstall-info-am uninstall-nobase_include_sofiaHEADERS.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \ clean-checkPROGRAMS clean-generic clean-libtool clean-local \ clean-noinstLTLIBRARIES ctags distclean distclean-compile \ distclean-generic distclean-libtool distclean-tags distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-exec install-exec-am \ install-info install-info-am install-man \ install-nobase_include_sofiaHEADERS install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-info-am \ uninstall-nobase_include_sofiaHEADERSbuilt-sources: $(BUILT_SOURCES)clean-built-sources: -rm -rf $(BUILT_SOURCES) $(BUILT_SOURCES:%=$(srcdir)/%)*_tag_ref.c: $(TAG_AWK)_tag.c_tag_ref.c: $(AWK) -f $(TAG_AWK) NODLL=1 $(TAG_DLL_FLAGS) REF=$@ $<../bnf/libbnf.la ../http/libhttp.la ../ipt/libipt.la ../iptsec/libiptsec.la \ ../msg/libmsg.la ../nea/libnea.la ../nta/libnta.la ../nth/libnth.la \ ../nua/libnua.la ../sdp/libsdp.la ../sip/libsip.la ../soa/libsoa.la \ ../sresolv/libsresolv.la ../stun/libstun.la ../su/libsu.la \ ../tport/libtport.la ../url/liburl.la: cd $(@D) && $(MAKE) $(@F)checklib: $(noinst_LTLIBRARIES) $(check_LTLIBRARIES)valcheck: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) valcheck-amvalcheck-am: all-am $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(MAKE) $(AM_MAKEFLAGS) valcheck-TESTS# Run tests with valgrind in valcheck-TESTS: $(TESTS) @failed=0; all=0; xfail=0; xpass=0; skip=0; \ srcdir=$(srcdir); export srcdir; \ list='$(TESTS)'; \ if test -n "$$list"; then \ for tst in $$list; do \ if test -f ./$$tst; then dir=./; \ elif test -f $$tst; then dir=; \ else dir="$(srcdir)/"; fi; \ if case $$tst in \ run*) VALGRIND="$(VALGRIND) $(VALGRINDFLAGS)" \ $(TESTS_ENVIRONMENT) $${dir}$$tst ;; \ *) $(TESTS_ENVIRONMENT) $(VALGRIND) $(VALGRINDFLAGS) \ $${dir}$$tst ;; \ esac ; then \ all=`expr $$all + 1`; \ case " $(XFAIL_TESTS) " in \ *" $$tst "*) \ xpass=`expr $$xpass + 1`; \ failed=`expr $$failed + 1`; \ echo "XPASS: $$tst"; \ ;; \ *) \ echo "PASS: $$tst"; \ ;; \ esac; \ elif test $$? -ne 77; then \ all=`expr $$all + 1`; \ case " $(XFAIL_TESTS) " in \ *" $$tst "*) \ xfail=`expr $$xfail + 1`; \ echo "XFAIL: $$tst"; \ ;; \ *) \ failed=`expr $$failed + 1`; \ echo "FAIL: $$tst"; \ ;; \ esac; \ else \ skip=`expr $$skip + 1`; \ echo "SKIP: $$tst"; \ fi; \ done; \ if test "$$failed" -eq 0; then \ if test "$$xfail" -eq 0; then \ banner="All $$all tests passed"; \ else \ banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ fi; \ else \ if test "$$xpass" -eq 0; then \ banner="$$failed of $$all tests failed"; \ else \ banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ fi; \ fi; \ dashes="$$banner"; \ skipped=""; \ if test "$$skip" -ne 0; then \ skipped="($$skip tests were not run)"; \ test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ dashes="$$skipped"; \ fi; \ report=""; \ if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ report="Please report to $(PACKAGE_BUGREPORT)"; \ test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ dashes="$$report"; \ fi; \ dashes=`echo "$$dashes" | sed s/./=/g`; \ echo "$$dashes"; \ echo "$$banner"; \ test -z "$$skipped" || echo "$$skipped"; \ test -z "$$report" || echo "$$report"; \ echo "$$dashes"; \ test "$$failed" -eq 0; \ else :; fi## Generate pretty coverage report (unless it has been already done)#@HAVE_LCOV_TRUE@lcov:@HAVE_LCOV_TRUE@ @-test -r ${lcovdir}${expand_subdir}/lcov.info \@HAVE_LCOV_TRUE@ || make lcov-report# Generate pretty coverage report based on current coverage data@HAVE_LCOV_TRUE@lcov-report:@HAVE_LCOV_TRUE@ sub=${expand_subdir} odir=${lcovdir}$$sub ; \@HAVE_LCOV_TRUE@ rm -rf $$odir ; mkdir -p $$odir && \@HAVE_LCOV_TRUE@ ${LCOV_REPORT} ${GENHTML_OPTIONS} \@HAVE_LCOV_TRUE@ --title "${PACKAGE_NAME}-${PACKAGE_VERSION}$$sub" \@HAVE_LCOV_TRUE@ --srcdir=${srcdir} -o $$odir # Rerun checks before generating report@HAVE_LCOV_TRUE@lcov-rerun: clean-lcov@HAVE_LCOV_TRUE@ $(MAKE) $(AM_MAKEFLAGS) check@HAVE_LCOV_TRUE@ $(MAKE) $(AM_MAKEFLAGS) lcov-report# Show all uncovered lines as errors@HAVE_LCOV_TRUE@uncovered:@HAVE_LCOV_TRUE@ ${LCOV_UNCOVERED} --lcov-dir=${lcovdir} --srcdir=${srcdir}# Run check in current dir and show all uncovered lines as errors@HAVE_LCOV_TRUE@covcheck:@HAVE_LCOV_TRUE@ -find . -name "*.gcda" | xargs rm -rf@HAVE_LCOV_TRUE@ $(MAKE) $(AM_MAKEFLAGS) check@HAVE_LCOV_TRUE@ ${LCOV_UNCOVERED} --lcov-dir=${lcovdir} --srcdir=${srcdir}@HAVE_LCOV_TRUE@clean-local::@HAVE_LCOV_TRUE@ -rm -rf ${lcovdir}`pwd|sed "s'\`cd ${top_builddir};pwd\`''"`@HAVE_LCOV_TRUE@ find . -name "*.gcda" | xargs rm -f || true@HAVE_LCOV_TRUE@clean-lcov:@HAVE_LCOV_TRUE@ -rm -rf ${lcovdir}`pwd|sed "s'\`cd ${top_builddir};pwd\`''"`@HAVE_LCOV_TRUE@ find . -name "*.gcda" | xargs rm -f || true# ----------------------------------------------------------------------# Sofia specific rules# Tell versions [3.59,3.63) of GNU make to not export all variables.# Otherwise a system limit (for SysV at least) may be exceeded..NOEXPORT:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -