Fossil SCM
Add call to codecheck1 tool during the MinGW build process.
Commit
7c25045618eb242fc77b10a13a23bbf01fedbd29
Parent
afc22726ef70d14…
3 files changed
+4
-1
+4
-1
+4
-1
+4
-1
| --- src/makemake.tcl | ||
| +++ src/makemake.tcl | ||
| @@ -785,11 +785,11 @@ | ||
| 785 | 785 | endif} |
| 786 | 786 | |
| 787 | 787 | writeln { |
| 788 | 788 | all: $(OBJDIR) $(APPNAME) |
| 789 | 789 | |
| 790 | -$(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc $(OBJDIR)/VERSION.h | |
| 790 | +$(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc $(OBJDIR)/VERSION.h $(OBJDIR)/CODECHECK.txt | |
| 791 | 791 | ifdef USE_WINDOWS |
| 792 | 792 | $(CAT) $(subst /,\,$(SRCDIR)\miniz.c) | $(GREP) "define MZ_VERSION" > $(subst /,\,$(OBJDIR)\minizver.h) |
| 793 | 793 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.rc) $(subst /,\,$(OBJDIR)) |
| 794 | 794 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.ico) $(subst /,\,$(OBJDIR)) |
| 795 | 795 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.exe.manifest) $(subst /,\,$(OBJDIR)) |
| @@ -839,10 +839,13 @@ | ||
| 839 | 839 | $(TCLSH) $(SRCDIR)/../test/tester.tcl $(APPNAME) |
| 840 | 840 | |
| 841 | 841 | $(OBJDIR)/VERSION.h: $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(VERSION) |
| 842 | 842 | $(VERSION) $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION >$(OBJDIR)/VERSION.h |
| 843 | 843 | |
| 844 | +$(OBJDIR)/CODECHECK.txt: $(TRANS_SRC) $(CODECHECK1) | |
| 845 | + $(CODECHECK1) $(TRANS_SRC) >$(OBJDIR)/CODECHECK.txt | |
| 846 | + | |
| 844 | 847 | # The USE_SYSTEM_SQLITE variable may be undefined, set to 0, or set |
| 845 | 848 | # to 1. If it is set to 1, then there is no need to build or link |
| 846 | 849 | # the sqlite3.o object. Instead, the system SQLite will be linked |
| 847 | 850 | # using -lsqlite3. |
| 848 | 851 | SQLITE3_OBJ.1 = |
| 849 | 852 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -785,11 +785,11 @@ | |
| 785 | endif} |
| 786 | |
| 787 | writeln { |
| 788 | all: $(OBJDIR) $(APPNAME) |
| 789 | |
| 790 | $(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc $(OBJDIR)/VERSION.h |
| 791 | ifdef USE_WINDOWS |
| 792 | $(CAT) $(subst /,\,$(SRCDIR)\miniz.c) | $(GREP) "define MZ_VERSION" > $(subst /,\,$(OBJDIR)\minizver.h) |
| 793 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.rc) $(subst /,\,$(OBJDIR)) |
| 794 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.ico) $(subst /,\,$(OBJDIR)) |
| 795 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.exe.manifest) $(subst /,\,$(OBJDIR)) |
| @@ -839,10 +839,13 @@ | |
| 839 | $(TCLSH) $(SRCDIR)/../test/tester.tcl $(APPNAME) |
| 840 | |
| 841 | $(OBJDIR)/VERSION.h: $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(VERSION) |
| 842 | $(VERSION) $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION >$(OBJDIR)/VERSION.h |
| 843 | |
| 844 | # The USE_SYSTEM_SQLITE variable may be undefined, set to 0, or set |
| 845 | # to 1. If it is set to 1, then there is no need to build or link |
| 846 | # the sqlite3.o object. Instead, the system SQLite will be linked |
| 847 | # using -lsqlite3. |
| 848 | SQLITE3_OBJ.1 = |
| 849 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -785,11 +785,11 @@ | |
| 785 | endif} |
| 786 | |
| 787 | writeln { |
| 788 | all: $(OBJDIR) $(APPNAME) |
| 789 | |
| 790 | $(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc $(OBJDIR)/VERSION.h $(OBJDIR)/CODECHECK.txt |
| 791 | ifdef USE_WINDOWS |
| 792 | $(CAT) $(subst /,\,$(SRCDIR)\miniz.c) | $(GREP) "define MZ_VERSION" > $(subst /,\,$(OBJDIR)\minizver.h) |
| 793 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.rc) $(subst /,\,$(OBJDIR)) |
| 794 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.ico) $(subst /,\,$(OBJDIR)) |
| 795 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.exe.manifest) $(subst /,\,$(OBJDIR)) |
| @@ -839,10 +839,13 @@ | |
| 839 | $(TCLSH) $(SRCDIR)/../test/tester.tcl $(APPNAME) |
| 840 | |
| 841 | $(OBJDIR)/VERSION.h: $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(VERSION) |
| 842 | $(VERSION) $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION >$(OBJDIR)/VERSION.h |
| 843 | |
| 844 | $(OBJDIR)/CODECHECK.txt: $(TRANS_SRC) $(CODECHECK1) |
| 845 | $(CODECHECK1) $(TRANS_SRC) >$(OBJDIR)/CODECHECK.txt |
| 846 | |
| 847 | # The USE_SYSTEM_SQLITE variable may be undefined, set to 0, or set |
| 848 | # to 1. If it is set to 1, then there is no need to build or link |
| 849 | # the sqlite3.o object. Instead, the system SQLite will be linked |
| 850 | # using -lsqlite3. |
| 851 | SQLITE3_OBJ.1 = |
| 852 |
+4
-1
| --- win/Makefile.mingw | ||
| +++ win/Makefile.mingw | ||
| @@ -710,11 +710,11 @@ | ||
| 710 | 710 | RMDIR = rm -rf |
| 711 | 711 | endif |
| 712 | 712 | |
| 713 | 713 | all: $(OBJDIR) $(APPNAME) |
| 714 | 714 | |
| 715 | -$(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc $(OBJDIR)/VERSION.h | |
| 715 | +$(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc $(OBJDIR)/VERSION.h $(OBJDIR)/CODECHECK.txt | |
| 716 | 716 | ifdef USE_WINDOWS |
| 717 | 717 | $(CAT) $(subst /,\,$(SRCDIR)\miniz.c) | $(GREP) "define MZ_VERSION" > $(subst /,\,$(OBJDIR)\minizver.h) |
| 718 | 718 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.rc) $(subst /,\,$(OBJDIR)) |
| 719 | 719 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.ico) $(subst /,\,$(OBJDIR)) |
| 720 | 720 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.exe.manifest) $(subst /,\,$(OBJDIR)) |
| @@ -764,10 +764,13 @@ | ||
| 764 | 764 | $(TCLSH) $(SRCDIR)/../test/tester.tcl $(APPNAME) |
| 765 | 765 | |
| 766 | 766 | $(OBJDIR)/VERSION.h: $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(VERSION) |
| 767 | 767 | $(VERSION) $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION >$(OBJDIR)/VERSION.h |
| 768 | 768 | |
| 769 | +$(OBJDIR)/CODECHECK.txt: $(TRANS_SRC) $(CODECHECK1) | |
| 770 | + $(CODECHECK1) $(TRANS_SRC) >$(OBJDIR)/CODECHECK.txt | |
| 771 | + | |
| 769 | 772 | # The USE_SYSTEM_SQLITE variable may be undefined, set to 0, or set |
| 770 | 773 | # to 1. If it is set to 1, then there is no need to build or link |
| 771 | 774 | # the sqlite3.o object. Instead, the system SQLite will be linked |
| 772 | 775 | # using -lsqlite3. |
| 773 | 776 | SQLITE3_OBJ.1 = |
| 774 | 777 |
| --- win/Makefile.mingw | |
| +++ win/Makefile.mingw | |
| @@ -710,11 +710,11 @@ | |
| 710 | RMDIR = rm -rf |
| 711 | endif |
| 712 | |
| 713 | all: $(OBJDIR) $(APPNAME) |
| 714 | |
| 715 | $(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc $(OBJDIR)/VERSION.h |
| 716 | ifdef USE_WINDOWS |
| 717 | $(CAT) $(subst /,\,$(SRCDIR)\miniz.c) | $(GREP) "define MZ_VERSION" > $(subst /,\,$(OBJDIR)\minizver.h) |
| 718 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.rc) $(subst /,\,$(OBJDIR)) |
| 719 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.ico) $(subst /,\,$(OBJDIR)) |
| 720 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.exe.manifest) $(subst /,\,$(OBJDIR)) |
| @@ -764,10 +764,13 @@ | |
| 764 | $(TCLSH) $(SRCDIR)/../test/tester.tcl $(APPNAME) |
| 765 | |
| 766 | $(OBJDIR)/VERSION.h: $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(VERSION) |
| 767 | $(VERSION) $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION >$(OBJDIR)/VERSION.h |
| 768 | |
| 769 | # The USE_SYSTEM_SQLITE variable may be undefined, set to 0, or set |
| 770 | # to 1. If it is set to 1, then there is no need to build or link |
| 771 | # the sqlite3.o object. Instead, the system SQLite will be linked |
| 772 | # using -lsqlite3. |
| 773 | SQLITE3_OBJ.1 = |
| 774 |
| --- win/Makefile.mingw | |
| +++ win/Makefile.mingw | |
| @@ -710,11 +710,11 @@ | |
| 710 | RMDIR = rm -rf |
| 711 | endif |
| 712 | |
| 713 | all: $(OBJDIR) $(APPNAME) |
| 714 | |
| 715 | $(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc $(OBJDIR)/VERSION.h $(OBJDIR)/CODECHECK.txt |
| 716 | ifdef USE_WINDOWS |
| 717 | $(CAT) $(subst /,\,$(SRCDIR)\miniz.c) | $(GREP) "define MZ_VERSION" > $(subst /,\,$(OBJDIR)\minizver.h) |
| 718 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.rc) $(subst /,\,$(OBJDIR)) |
| 719 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.ico) $(subst /,\,$(OBJDIR)) |
| 720 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.exe.manifest) $(subst /,\,$(OBJDIR)) |
| @@ -764,10 +764,13 @@ | |
| 764 | $(TCLSH) $(SRCDIR)/../test/tester.tcl $(APPNAME) |
| 765 | |
| 766 | $(OBJDIR)/VERSION.h: $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(VERSION) |
| 767 | $(VERSION) $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION >$(OBJDIR)/VERSION.h |
| 768 | |
| 769 | $(OBJDIR)/CODECHECK.txt: $(TRANS_SRC) $(CODECHECK1) |
| 770 | $(CODECHECK1) $(TRANS_SRC) >$(OBJDIR)/CODECHECK.txt |
| 771 | |
| 772 | # The USE_SYSTEM_SQLITE variable may be undefined, set to 0, or set |
| 773 | # to 1. If it is set to 1, then there is no need to build or link |
| 774 | # the sqlite3.o object. Instead, the system SQLite will be linked |
| 775 | # using -lsqlite3. |
| 776 | SQLITE3_OBJ.1 = |
| 777 |
+4
-1
| --- win/Makefile.mingw.mistachkin | ||
| +++ win/Makefile.mingw.mistachkin | ||
| @@ -710,11 +710,11 @@ | ||
| 710 | 710 | RMDIR = rm -rf |
| 711 | 711 | endif |
| 712 | 712 | |
| 713 | 713 | all: $(OBJDIR) $(APPNAME) |
| 714 | 714 | |
| 715 | -$(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc $(OBJDIR)/VERSION.h | |
| 715 | +$(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc $(OBJDIR)/VERSION.h $(OBJDIR)/CODECHECK.txt | |
| 716 | 716 | ifdef USE_WINDOWS |
| 717 | 717 | $(CAT) $(subst /,\,$(SRCDIR)\miniz.c) | $(GREP) "define MZ_VERSION" > $(subst /,\,$(OBJDIR)\minizver.h) |
| 718 | 718 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.rc) $(subst /,\,$(OBJDIR)) |
| 719 | 719 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.ico) $(subst /,\,$(OBJDIR)) |
| 720 | 720 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.exe.manifest) $(subst /,\,$(OBJDIR)) |
| @@ -764,10 +764,13 @@ | ||
| 764 | 764 | $(TCLSH) $(SRCDIR)/../test/tester.tcl $(APPNAME) |
| 765 | 765 | |
| 766 | 766 | $(OBJDIR)/VERSION.h: $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(VERSION) |
| 767 | 767 | $(VERSION) $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION >$(OBJDIR)/VERSION.h |
| 768 | 768 | |
| 769 | +$(OBJDIR)/CODECHECK.txt: $(TRANS_SRC) $(CODECHECK1) | |
| 770 | + $(CODECHECK1) $(TRANS_SRC) >$(OBJDIR)/CODECHECK.txt | |
| 771 | + | |
| 769 | 772 | # The USE_SYSTEM_SQLITE variable may be undefined, set to 0, or set |
| 770 | 773 | # to 1. If it is set to 1, then there is no need to build or link |
| 771 | 774 | # the sqlite3.o object. Instead, the system SQLite will be linked |
| 772 | 775 | # using -lsqlite3. |
| 773 | 776 | SQLITE3_OBJ.1 = |
| 774 | 777 |
| --- win/Makefile.mingw.mistachkin | |
| +++ win/Makefile.mingw.mistachkin | |
| @@ -710,11 +710,11 @@ | |
| 710 | RMDIR = rm -rf |
| 711 | endif |
| 712 | |
| 713 | all: $(OBJDIR) $(APPNAME) |
| 714 | |
| 715 | $(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc $(OBJDIR)/VERSION.h |
| 716 | ifdef USE_WINDOWS |
| 717 | $(CAT) $(subst /,\,$(SRCDIR)\miniz.c) | $(GREP) "define MZ_VERSION" > $(subst /,\,$(OBJDIR)\minizver.h) |
| 718 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.rc) $(subst /,\,$(OBJDIR)) |
| 719 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.ico) $(subst /,\,$(OBJDIR)) |
| 720 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.exe.manifest) $(subst /,\,$(OBJDIR)) |
| @@ -764,10 +764,13 @@ | |
| 764 | $(TCLSH) $(SRCDIR)/../test/tester.tcl $(APPNAME) |
| 765 | |
| 766 | $(OBJDIR)/VERSION.h: $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(VERSION) |
| 767 | $(VERSION) $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION >$(OBJDIR)/VERSION.h |
| 768 | |
| 769 | # The USE_SYSTEM_SQLITE variable may be undefined, set to 0, or set |
| 770 | # to 1. If it is set to 1, then there is no need to build or link |
| 771 | # the sqlite3.o object. Instead, the system SQLite will be linked |
| 772 | # using -lsqlite3. |
| 773 | SQLITE3_OBJ.1 = |
| 774 |
| --- win/Makefile.mingw.mistachkin | |
| +++ win/Makefile.mingw.mistachkin | |
| @@ -710,11 +710,11 @@ | |
| 710 | RMDIR = rm -rf |
| 711 | endif |
| 712 | |
| 713 | all: $(OBJDIR) $(APPNAME) |
| 714 | |
| 715 | $(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc $(OBJDIR)/VERSION.h $(OBJDIR)/CODECHECK.txt |
| 716 | ifdef USE_WINDOWS |
| 717 | $(CAT) $(subst /,\,$(SRCDIR)\miniz.c) | $(GREP) "define MZ_VERSION" > $(subst /,\,$(OBJDIR)\minizver.h) |
| 718 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.rc) $(subst /,\,$(OBJDIR)) |
| 719 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.ico) $(subst /,\,$(OBJDIR)) |
| 720 | $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.exe.manifest) $(subst /,\,$(OBJDIR)) |
| @@ -764,10 +764,13 @@ | |
| 764 | $(TCLSH) $(SRCDIR)/../test/tester.tcl $(APPNAME) |
| 765 | |
| 766 | $(OBJDIR)/VERSION.h: $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(VERSION) |
| 767 | $(VERSION) $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION >$(OBJDIR)/VERSION.h |
| 768 | |
| 769 | $(OBJDIR)/CODECHECK.txt: $(TRANS_SRC) $(CODECHECK1) |
| 770 | $(CODECHECK1) $(TRANS_SRC) >$(OBJDIR)/CODECHECK.txt |
| 771 | |
| 772 | # The USE_SYSTEM_SQLITE variable may be undefined, set to 0, or set |
| 773 | # to 1. If it is set to 1, then there is no need to build or link |
| 774 | # the sqlite3.o object. Instead, the system SQLite will be linked |
| 775 | # using -lsqlite3. |
| 776 | SQLITE3_OBJ.1 = |
| 777 |