Diff
Not logged in

Differences From:

File src/makemake.tcl part of check-in [f3fb059eb6] - Remove small glitch that prevent fossil to be built with BSD make. by cle on 2008-09-07 08:32:40. [view]

To:

File src/makemake.tcl part of check-in [c699c491df] - fixed Makefile dependency orderings so parallel compilation (e.g. make -j2) can work (cuts my build times in half) by stephan on 2008-09-19 15:36:57. [view]

@@ -163,21 +163,25 @@
 }
 append mhargs " \$(SRCDIR)/sqlite3.h"
 append mhargs " \$(SRCDIR)/th.h"
 append mhargs " VERSION.h"
-puts "headers:\tmakeheaders mkindex \$(TRANS_SRC) VERSION.h"
+puts "page_index.h: mkindex"
+puts "\t./mkindex \$(TRANS_SRC) >$@"
+puts "headers:\tpage_index.h makeheaders \$(TRANS_SRC) VERSION.h"
 puts "\t./makeheaders $mhargs"
-puts "\t./mkindex \$(TRANS_SRC) >page_index.h"
-puts "\ttouch headers\n"
+puts "\ttouch headers"
+puts "headers: Makefile"
+puts "Makefile:"
 set extra_h(main) page_index.h
 
 foreach s [lsort $src] {
   puts "${s}_.c:\t\$(SRCDIR)/$s.c \$(SRCDIR)/VERSION translate"
   puts "\t./translate \$(SRCDIR)/$s.c | sed -f \$(SRCDIR)/VERSION >${s}_.c\n"
   puts "$s.o:\t${s}_.c $s.h $extra_h($s) \$(SRCDIR)/config.h"
   puts "\t\$(XTCC) -o $s.o -c ${s}_.c\n"
-  puts "$s.h:\tmakeheaders"
-  puts "\t./makeheaders $mhargs\n\ttouch headers\n"
+  puts "$s.h:\theaders"
+#  puts "\t./makeheaders $mhargs\n\ttouch headers\n"
+#  puts "\t./makeheaders ${s}_.c:${s}.h\n"
 }
 
 
 puts "sqlite3.o:\t\$(SRCDIR)/sqlite3.c"
@@ -190,4 +194,5 @@
 puts "\t\$(XTCC) -I\$(SRCDIR) -c \$(SRCDIR)/th.c -o th.o\n"
 
 puts "th_lang.o:\t\$(SRCDIR)/th_lang.c"
 puts "\t\$(XTCC) -I\$(SRCDIR) -c \$(SRCDIR)/th_lang.c -o th_lang.o\n"
+