]> andersk Git - splint.git/blobdiff - src/Makefile
*** empty log message ***
[splint.git] / src / Makefile
index 0332ea9334f8b2ffb0449587860e9d0370a45324..538f2853aca307e8d0aae32b5c1b021514ae7dc2 100644 (file)
@@ -49,6 +49,7 @@ CHECK = 1 ### set to 1
 #LCLINT = //tmp/lclint-2.5q/bin/lclint
 #LCLINTNEW = //afs/cert.org/usr/dlaroche/evLCLintDev/bin/lclint
 #LCLINTNEW = /home/drl7x/evLCLintDev/evLCLintDev/bin/lclint
+#LCLINTNEW = /home/drl7x/stabletest/LCLintDev/bin/lclint
 LCLINTNEW = lclint
 LCLINT = ../bin/lclint
 
@@ -100,7 +101,7 @@ endif
 cgrammar.c : cgrammar.c.der cgrammar.y
 ifdef BISON
        $(BISON) $(YFLAGS) cgrammar.y
-       @echo '//           Expect 119 shift/reduce conflicts and 115 reduce/reduce conflicts.'
+       @echo '//           Expect 141 shift/reduce conflicts and 111 reduce/reduce conflicts.'
        @echo '//           (see cgrammar.y for explanation)'
        @$(CAT) bison.head cgrammar.tab.c bison.reset > cgrammar.c
        -@$(MV) Headers/cgrammar_tokens.h Headers/cgrammar_tokens.bak
@@ -202,8 +203,8 @@ stateClause.c: Headers/cgrammar_tokens.h
 ifeq ($(CHECK), 1)
        ${MAKE} $*.check
 endif
-       @echo '//  Compiling '$*.c' / compiled: '`$(OFILES)`'  (of 161 files)'
-       $(CC) $(CFLAGS) -c $*.c
+       @echo '//  Compiling '$*.c' / compiled: '`$(OFILES)`'  (of 181 files)'
+       $(CC) $(CPPFLAGS) $(CFLAGS) -c $*.c
 
 ###
 ### alternatives (tests, releases, backups, etc.)
@@ -220,14 +221,26 @@ betarelease:
        mkdir ~/temp/lclint-`cat ${VERSION_NUMBER}`
        mkdir ~/temp/lclint-`cat ${VERSION_NUMBER}`/src
        cp Makefile* ${ALLSRC} ${GRAMS} *.i flags.def ~/temp/lclint-`cat ${VERSION_NUMBER}`/src/
+       cp cscanner.c ~/temp/lclint-`cat ${VERSION_NUMBER}`/src/cscanner.c.der
+       cp lastversion maketags ~/temp/lclint-`cat ${VERSION_NUMBER}`/src/
+       cp *.head *.reset ~/temp/lclint-`cat ${VERSION_NUMBER}`/src/
+       cp cgrammar.c ~/temp/lclint-`cat ${VERSION_NUMBER}`/src/cgrammar.c.der
+       cp llgrammar.c ~/temp/lclint-`cat ${VERSION_NUMBER}`/src/llgrammar.c.der
+       cp signature.c ~/temp/lclint-`cat ${VERSION_NUMBER}`/src/signature.c.der
+       cp mtgrammar.c ~/temp/lclint-`cat ${VERSION_NUMBER}`/src/mtgrammar.c.der
        cp -r Headers ~/temp/lclint-`cat ${VERSION_NUMBER}`/src/
        cp -r ../lib ~/temp/lclint-`cat ${VERSION_NUMBER}`/lib
        cp -r ../imports ~/temp/lclint-`cat ${VERSION_NUMBER}`/imports
        cp -r ../test ~/temp/lclint-`cat ${VERSION_NUMBER}`/test
-       cp ../configure ../Makefile* ../README ~/temp/lclint-`cat ${VERSION_NUMBER}`/
-       cd ~/temp/lclint-`cat ${VERSION_NUMBER}`; rm */*.core ; tar zcvf ~/public_html/lclint/lclint-`cat ~/LCLintDev/src/${VERSION_NUMBER}`-beta.tgz *
-       chmod 644 ~/public_html/lclint/lclint-`cat ${VERSION_NUMBER}`.tgz
-       @echo "Make release lclint-`cat ${VERSION_NUMBER}`
+       cp ../configure ../Makefile* ../LICENSE ../README ../BUFFERCHECKING ~/temp/lclint-`cat ${VERSION_NUMBER}`/
+       cd ~/temp/lclint-`cat ${VERSION_NUMBER}`; mkdir bin
+       cd ~/temp/lclint-`cat ${VERSION_NUMBER}`; rm -r test/temp
+       cd ~/temp/lclint-`cat ${VERSION_NUMBER}`; rm -f *~ */*~ */*/*~ #* */#* */*/#* .#* */.#* */*/.# */*.core
+       cd ~/temp/lclint-`cat ${VERSION_NUMBER}`; rm -rf CVS */CVS */*/CVS */*/*/CVS */*/*/*/CVS
+       cd ~/temp/; tar czvf ~/public_html/lclint/lclint-`cat ~/LCLintDev/src/${VERSION_NUMBER}`.src.tgz lclint-`cat ~/LCLintDev/src/${VERSION_NUMBER}`
+       chmod 644 ~/public_html/lclint/lclint-`cat ${VERSION_NUMBER}`.src.tgz
+       ls -l ~/public_html/lclint/lclint-*.tgz
+       @echo "Made release lclint-`cat ${VERSION_NUMBER}`"
 
 opt :
 ifneq (,$(findstring csh, $(SHELL)))
@@ -345,7 +358,7 @@ up:
 ###
 
 depend:
-       $(MAKEDEPEND) $(CINCLUDES) $(CFLAGS) -f Makefile.depend $(SRC) $(GRAMS)
+       $(MAKEDEPEND) $(CINCLUDES) $(CPPFLAGS) -f Makefile.depend $(SRC) $(GRAMS)
 
 ###
 ### analysing dependancies takes a long time and doesn't work terribly
@@ -389,7 +402,7 @@ linttest:
        ${LCLINTNEW} -f lclint.lclintrc $(CPPFLAGS) +singleinclude cpphash.c +forcehints -misplacedsharequal +showsourceloc -unrecogcomments -supcounts -fcnuse -exportlocal -constuse -mts file -mts filerw +partial
 
 lint: 
-       ../bin/lclint -f lclint.lclintrc $(CPPFLAGS) +singleinclude $(ALLSRC) -dump lclint +forcehints -misplacedsharequal +showsourceloc -supcounts -fcnuse -exportlocal -constuse 
+       ../bin/lclint -f lclint.lclintrc llmain.c $(CPPFLAGS) +singleinclude $(ALLSRC) -dump lclint +forcehints -misplacedsharequal +showsourceloc -supcounts -fcnuse -exportlocal -unrecogcomments -constuse  -mts file
 
 # -mts file
 
@@ -411,7 +424,7 @@ lint28:
        ${HOME}/lclint-2.8a/bin/lclint -f lclint.lclintrc $(CPPFLAGS) +singleinclude $(ALLSRC) -dump lclint +forcehints -misplacedsharequal +showsourceloc -unrecogcomments -fcnuse -constuse -exportlocal -supcounts
 
 lint29: 
-       ${HOME}/lclint-2.9a/bin/lclint -f lclint.lclintrc $(CPPFLAGS) -larchpath .:${HOME}/lclint-2.9a/lib/ +singleinclude $(ALLSRC) -dump lclint +forcehints -misplacedsharequal +showsourceloc -unrecogcomments -fcnuse -constuse -exportlocal -supcounts
+       ${HOME}/lclint-2.9a/bin/lclint -f lclint.lclintrc $(CPPFLAGS) -larchpath .:${HOME}/lclint-2.9a/lib/ +singleinclue $(ALLSRC) -dump lclint +forcehints -misplacedsharequal +showsourceloc -unrecogcomments -fcnuse -constuse -exportlocal -supcounts
 
 lintm: 
        lclint-2.5m -f lclint.lclintrc $(CPPFLAGS) +singleinclude $(ALLSRC) -dump lclint
This page took 0.036322 seconds and 4 git commands to generate.