X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=Makefile;h=2ce014586fe1b23a70a9635823185dc717d7ba6b;hp=f127390673dd0dcc537dc501c0502396eea5beaf;hb=a1d7e21f2fe5521c0d9a4f9ebfe694b368c3ba92;hpb=a46da30dff97eef6f8e1dc9666aaacf4284f36c3 diff --git a/Makefile b/Makefile index f1273906..2ce01458 100644 --- a/Makefile +++ b/Makefile @@ -19,14 +19,17 @@ default: libccan.a ALL_DEPENDS=$(patsubst %, ccan/%/.depends, $(MODS)) -# By default, we skip modules with external deps. -MODS_EXCLUDE:=jmap jset nfs ogg_to_pcm tal/talloc wwviaudio +# By default, we skip modules with external deps (or plaform specific) +MODS_EXCLUDE:=altstack generator jmap jset nfs ogg_to_pcm tal/talloc wwviaudio +# This randomly fails, and reliably fails under Jenkins :( +MODS_FLAKY:=altstack +MODS_RELIABLE=$(filter-out $(MODS_FLAKY),$(MODS)) include Makefile-ccan -fastcheck: $(MODS:%=summary-fastcheck/%) +fastcheck: $(MODS_RELIABLE:%=summary-fastcheck/%) -check: $(MODS:%=summary-check/%) +check: $(MODS_RELIABLE:%=summary-check/%) distclean: clean rm -f $(ALL_DEPENDS) @@ -64,8 +67,9 @@ ccan/%/info: ccan/%/_info $(CC) $(CCAN_CFLAGS) -o $@ -x c $< clean: tools-clean - $(RM) `find * -name '*.o'` `find * -name '.depends'` `find * -name '*.a'` `find * -name info` `find * -name '*.d'` - $(RM) inter-depends lib-depends test-depends ccan/*-Makefile + rm -f `find * -name '*.o'` `find * -name '.depends'` `find * -name '*.a'` `find * -name info` `find * -name '*.d'` `find ccan -name '*-Makefile'` + rm -f config.h + rm -f inter-depends lib-depends test-depends # Creates a dependency from the tests to the object files which it needs. inter-depends: $(ALL_DEPENDS) Makefile