Diff for /src/gnu/usr.bin/cc/cc_tools/Attic/Makefile between versions 1.3 and 1.4

version 1.3, 2003/11/19 01:37:27 version 1.4, 2004/03/22 20:57:48
Line 35  gen-time-stamp: genattrtab genemit genex Line 35  gen-time-stamp: genattrtab genemit genex
 .for F in attr codes config emit extract flags opinit output peep recog  .for F in attr codes config emit extract flags opinit output peep recog
 build-tools: gen$F  build-tools: gen$F
   
gen$F: gen$F.o rtl.o print-rtl.o obstack.o bitmap.ogen$F: gen$F.no rtl.no print-rtl.no obstack.no bitmap.no
        ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}        ${NXCC} ${NXCFLAGS} ${NXLDFLAGS} -o ${.TARGET} ${.ALLSRC}
   
 GENSRCS+=       gen$F.c  GENSRCS+=       gen$F.c
CLEANFILES+=    gen$FCLEANFILES+=    gen$F gen$F.no
 .endfor  .endfor
   
 .for F in attrtab  .for F in attrtab
 build-tools: gen$F  build-tools: gen$F
   
gen$F: gen$F.o rtl.o rtlanal.o print-rtl.o obstack.o bitmap.ogen$F: gen$F.no rtl.no rtlanal.no print-rtl.no obstack.no bitmap.no
        ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}        ${NXCC} ${NXCFLAGS} ${NXLDFLAGS} -o ${.TARGET} ${.ALLSRC}
   
 GENSRCS+=       gen$F.c  GENSRCS+=       gen$F.c
CLEANFILES+=    gen$FCLEANFILES+=    gen$F gen$F.no
 .endfor  .endfor
   
 SRCS+=          bitmap.c obstack.c print-rtl.c rtl.c rtlanal.c  SRCS+=          bitmap.c obstack.c print-rtl.c rtl.c rtlanal.c
   CLEANFILES+=    bitmap.no obstack.no print-rtl.no rtl.no rtlanal.no
   
 .for F in check genrtl  .for F in check genrtl
 build-tools: gen$F  build-tools: gen$F
   
gen$F: gen$F.ogen$F: gen$F.no
        ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}        ${NXCC} ${NXCFLAGS} ${NXLDFLAGS} -o ${.TARGET} ${.ALLSRC}
   
 GENSRCS+=       gen$F.c  GENSRCS+=       gen$F.c
CLEANFILES+=    gen$FCLEANFILES+=    gen$F gen$F.no
 .endfor  .endfor
   
 .ORDER: genrtl.c genrtl.h  .ORDER: genrtl.c genrtl.h
Line 169  build-tools: depend Line 170  build-tools: depend
 #  #
 OBJS+=          ${SRCS:N*.h:R:S/$/.o/g}  OBJS+=          ${SRCS:N*.h:R:S/$/.o/g}
   
.if !exists(${DEPENDFILE})# Setup dependancies so helper programs will compile -jn
# Fudge pre-dependfile dependencies of objects in much the same way as 
# bsd.prog.mk would do if we defined PROG.  There are complications to 
# avoid circular dependencies.  First, only make most objects depend on 
# all headers.  Filter out the objects that would cause problems (i.e., 
# objects that will be used to create programs that will generate headers). 
 #  #
${OBJS:Nbitmap.o:Ngenattr.o:Ngencheck.o:Ngencodes.o:Ngenconfig.o:Ngenflags.o:Ngengenrtl.o:Nobstack.o:Nprint-rtl.o:Nrtl.o}: ${SRCS:M*.h}${CLEANFILES:M*.no:Ngencheck.no:Ngengenrtl.no}: ${SRCS:M*.h:Ninsn-*.h}
 
 genextract.no genattrtab.no: insn-config.h
 
 gencheck.no: gencheck.h ${SRCS:M*.h:Ngenrtl.h:Ntree-check.h:Ninsn-*.h}
 
 gengenrtl.no: ${SRCS:M*.h:Ngenrtl.h:Ninsn-*.h}
   
 # Next, make each of the problematic objects depend on only most headers.  
 # Filter out the headers that would cause problems (and a few more when it  
 # is inconvenient to filter precisely).  
 #  
 bitmap.o genattr.o gencodes.o genconfig.o genflags.o obstack.o print-rtl.o \  
     rtl.o: ${SRCS:M*.h:Ninsn-*.h}  
 gencheck.o: gencheck.h ${SRCS:M*.h:Ngenrtl.h:Ntree-check.h:Ninsn-*.h}  
 gengenrtl.o: ${SRCS:M*.h:Ngenrtl.h:Ninsn-*.h}  
 .endif  

Removed from v.1.3  
changed lines
  Added in v.1.4