depend:
@makedepend -Y -f BSDmakefile -w 65536 2> /dev/null ${DEPS:C/\.o/.c/g}
+coverity:
+ @cov-build --dir cov-int $(MAKE) -f BSDmakefile
+ @tar czf gm-qcc.tgz cov-int
+ @rm -rf cov-int
+ @echo gm-qcc.tgz generated, submit for analysis
+
install: install-gmqcc install-qcvm install-gmqpak install-doc
install-gmqcc: $(GMQCC)
install -d -m755 $(DESTDIR)$(BINDIR)
depend:
@ makedepend -Y -w 65536 2> /dev/null $(subst .o,.c,$(DEPS))
+
+coverity:
+ @cov-build --dir cov-int $(MAKE)
+ @tar czf gm-qcc.tgz cov-int
+ @rm -rf cov-int
+ @echo gm-qcc.tgz generated, submit for analysis
+
#install rules
install: install-gmqcc install-qcvm install-gmqpak install-doc
install-gmqcc: $(GMQCC)
int len;
if (!glob) {
- len = printf("<null>,");
+ if ((len = printf("<null>,")) == -1)
+ len = 0;
+
goto done;
}