Add liarc.touch to the compinit.h dependencies and construction.
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Tue, 15 Jun 1993 18:59:34 +0000 (18:59 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Tue, 15 Jun 1993 18:59:34 +0000 (18:59 +0000)
v7/src/microcode/unxutl/ymkfile

index c82662739820a02054d3a1364a8a91a0180de9b6..b0c889751eaa65cef6a5b74ddcfad248d4ae0822 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Id: ymkfile,v 1.66 1993/06/09 20:32:08 jawilson Exp $
+$Id: ymkfile,v 1.67 1993/06/15 18:59:34 gjr Exp $
 
 Copyright (c) 1989-1993 Massachusetts Institute of Technology
 
@@ -273,10 +273,13 @@ prim.h \
 $(GC_HEAD_FILES)
 cmpaux-C.o : cmpaux-C.c liarc.touch bignum.h
 compinit.o : compinit.c liarc.touch compinit.h
-compinit.h : $(COMPILED_SOURCES) xmakefile
+/* The following includes liarc.touch in case COMPILED_SOURCES is empty,
+   to prevent fgrep from reading stdin.
+ */
+compinit.h : $(COMPILED_SOURCES) liarc.touch xmakefile
        @echo "#*** Generating" $@ "because of" $?
        rm -f $@
-       fgrep DECLARE_COMPILED_CODE $(COMPILED_SOURCES) | \
+       fgrep DECLARE_COMPILED_CODE liarc.touch $(COMPILED_SOURCES) | \
        sed -e 's/.*:/  /' -e 's/)/);' > $@
 
 $(COMPILED_OBJECTS) : liarc.touch