coverity/Makefile
raw| 1 | .PHONY: check-gcc |
| 2 | |
| 3 | # Part of Coverity |
| 4 | COV_MAKE_LIBRARY ?= cov-make-library |
| 5 | |
| 6 | CFLAGS ?= -Wall -Wno-uninitialized -Wno-unused-variable -Wno-unused-but-set-variable -Werror |
| 7 | |
| 8 | check-gcc: |
| 9 | gcc -o /dev/null -fPIC -shared -include ./coverity_builtins.h $(CFLAGS) coverity_assert_model.c |
| 10 | |
| 11 | cov-user-model: check-gcc |
| 12 | $(COV_MAKE_LIBRARY) -of user_models.xmldb --security coverity_assert_model.c |