4 @echo Checking enabled sources with sparse checker
5 @status=true; for f in $(enabled_cairo_sources) $(enabled_cairo_cxx_sources); do \
6 echo $(SPARSE) $(PREPROCESS_ARGS) $(srcdir)/$$f; \
7 $(SPARSE) $(PREPROCESS_ARGS) $(srcdir)/$$f || status=false; \
10 SPLINT = splint -badflag
12 @echo Checking enabled sources with splint checker
13 @status=true; for f in $(enabled_cairo_sources) $(enabled_cairo_cxx_sources); do \
14 echo $(SPLINT) $(PREPROCESS_ARGS) $(srcdir)/$$f; \
15 $(SPLINT) $(PREPROCESS_ARGS) $(srcdir)/$$f || status=false; \
20 @echo Checking enabled sources with uno checker
21 cd $(srcdir); $(UNO) $(PREPROCESS_ARGS) -DHAVE_CONFIG_H -U__GNUC__ $(enabled_cairo_sources)
23 headers-standalone: $(enabled_cairo_headers) $(enabled_cairo_private)
24 @echo Checking that enabled public/private headers can be compiled standalone
25 @status=true; for f in $(enabled_cairo_headers) $(enabled_cairo_private); do \
27 echo "#include \"$(srcdir)/$$f\"" > headers-standalone-tmp.c; \
28 echo "int main(int argc, char * argv[]) { return 0; }" >> headers-standalone-tmp.c; \
29 $(COMPILE) -o headers-standalone-tmp headers-standalone-tmp.c || status=false; \
30 $(RM) headers-standalone-tmp headers-standalone-tmp.c; \
33 CLEANFILES += headers-standalone
35 analysis: all headers-standalone sparse splint uno