[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemacs-commit] qemacs Makefile
From: |
Charlie Gordon |
Subject: |
[Qemacs-commit] qemacs Makefile |
Date: |
Wed, 23 Apr 2008 15:32:50 +0000 |
CVSROOT: /cvsroot/qemacs
Module name: qemacs
Changes by: Charlie Gordon <chqrlie> 08/04/23 15:32:50
Modified files:
. : Makefile
Log message:
added splint, cleaned make output
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/Makefile?cvsroot=qemacs&r1=1.46&r2=1.47
Patches:
Index: Makefile
===================================================================
RCS file: /cvsroot/qemacs/qemacs/Makefile,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -b -r1.46 -r1.47
--- Makefile 20 Apr 2008 14:24:19 -0000 1.46
+++ Makefile 23 Apr 2008 15:32:50 -0000 1.47
@@ -193,21 +193,23 @@
ln -sf $< $@
ifndef CONFIG_INIT_CALLS
+qe.o: allmodules.txt
+tqe.o: basemodules.txt
+endif
+
SRCS:= $(OBJS:.o=.c)
TSRCS:= $(TOBJS:.o=.c)
TSRCS:= $(TSRCS:tqe.c=qe.c)
-qe.o: allmodules.txt
-tqe.o: basemodules.txt
-
allmodules.txt: $(SRCS) Makefile
+ @echo creating $@
@echo '/* This file was generated automatically */' > $@
- grep -h ^qe_module_init $(SRCS) >> $@
+ @grep -h ^qe_module_init $(SRCS) >> $@
basemodules.txt: $(TSRCS) Makefile
+ @echo creating $@
@echo '/* This file was generated automatically */' > $@
- grep -h ^qe_module_init $(TSRCS) >> $@
-endif
+ @grep -h ^qe_module_init $(TSRCS) >> $@
cfb.o: cfb.c cfb.h fbfrender.h
charsetjis.o: charsetjis.c charsetjis.def
@@ -411,3 +413,11 @@
cp --parents $(FILES) /tmp/$(FILE)
( cd /tmp ; tar zcvf $(HOME)/$(FILE).tar.gz $(FILE) )
rm -rf /tmp/$(FILE)
+
+SPLINTOPTS := +posixlib -nestcomment +boolint +charintliteral -mayaliasunique
+SPLINTOPTS += -nullstate -unqualifiedtrans
+# extra options that will be removed later
+SPLINTOPTS += -mustfreeonly -temptrans -kepttrans
+
+splint: allmodules.txt basemodules.txt
+ splint $(SPLINTOPTS) -I. -Ilibqhtml $(SRCS)
- [Qemacs-commit] qemacs Makefile, Charlie Gordon, 2008/04/04
- [Qemacs-commit] qemacs Makefile, Charlie Gordon, 2008/04/09
- [Qemacs-commit] qemacs Makefile, Charlie Gordon, 2008/04/12
- [Qemacs-commit] qemacs Makefile, Charlie Gordon, 2008/04/15
- [Qemacs-commit] qemacs Makefile, Charlie Gordon, 2008/04/15
- [Qemacs-commit] qemacs Makefile, Charlie Gordon, 2008/04/17
- [Qemacs-commit] qemacs Makefile, Charlie Gordon, 2008/04/17
- [Qemacs-commit] qemacs Makefile, Charlie Gordon, 2008/04/20
- [Qemacs-commit] qemacs Makefile,
Charlie Gordon <=
- [Qemacs-commit] qemacs Makefile, Charlie Gordon, 2008/04/23