mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 12:38:02 +02:00
[src/Makefile.am.analysis] Fix typos and improve scripts
This commit is contained in:
parent
49c8c62040
commit
840218e0a0
1 changed files with 3 additions and 5 deletions
|
|
@ -2,20 +2,18 @@
|
|||
SPARSE = sparse
|
||||
sparse:
|
||||
@status=true; for f in $(enabled_cairo_sources); do \
|
||||
echo sparse $$f; \
|
||||
echo $(SPARSE) $$f; \
|
||||
$(SPARSE) -I$(top_builddir) $(AM_CPPFLAGS) -DHAVE_CONFIG_H $$f || status=false; \
|
||||
done; $$status
|
||||
|
||||
SPLINT = splint -badflag
|
||||
splint:
|
||||
@status=true; for f in $(enabled_cairo_sources); do \
|
||||
test "$$f" = "`echo "$$f" | sed 's/[.]h$$//'`" || continue; \
|
||||
echo sparse $$f; \
|
||||
echo $(SPLINT) $$f; \
|
||||
$(SPLINT) -I$(top_builddir) $(AM_CPPFLAGS) -DHAVE_CONFIG_H $$f || status=false; \
|
||||
done; $$status
|
||||
|
||||
UNO = uno
|
||||
uno:
|
||||
@cpp_flags=`echo $(AM_CPPFLAGS) | sed 's/\(-I.*\) /\1 /g'`; \
|
||||
files=`echo $(enabled_cairo_sources) | sed 's/[^ ]*\.h//g'`; \
|
||||
$(UNO) -I$(top_builddir) $$cpp_flags -DHAVE_CONFIG_H -U__GNUC__ $$files
|
||||
$(UNO) -I$(top_builddir) $$cpp_flags -DHAVE_CONFIG_H -U__GNUC__ $(enabled_cairo_sources)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue