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

version 1.3, 2004/01/20 20:41:52 version 1.4, 2004/02/02 23:35:10
Line 12 Line 12
 # Prevent mkdep from using it, so that we don't have to give rules for  # Prevent mkdep from using it, so that we don't have to give rules for
 # aliases of generated headers.  # aliases of generated headers.
   
CFLAGS+=        -I. -static -DGENERATOR_FILECFLAGS+=        -I. -I${.CURDIR}/../config 
 CFLAGS+=        -static -DGENERATOR_FILE
   
 .include "../Makefile.inc"  .include "../Makefile.inc"
   
.PATH: ${GCCDIR}.PATH: ${GCCDIR} ${GCCDIR}/gcc ${GCCDIR}/libiberty
   
 #-----------------------------------------------------------------------  #-----------------------------------------------------------------------
 # insn-* gunk  # insn-* gunk
Line 205  GCONFIG_H+= $D/$H Line 206  GCONFIG_H+= $D/$H
 #  #
 # Define some variables to make blocks copied from Makefile.in happy  # Define some variables to make blocks copied from Makefile.in happy
 #  #
srcdir=         ${GCCDIR}srcdir=         ${GCCDIR}/gcc
HASHTAB_H=      ${GCCDIR}/hashtab.hout_file=       ${GCCDIR}/gcc/config/${GCC_CPU}/${GCC_CPU}.c
out_file=       ${GCCDIR}/config/${GCC_CPU}/${GCC_CPU}.cGTFILES_SRCDIR= ${GCCDIR}/gcc
GTFILES_SRCDIR= ${GCCDIR} 
   
 #  #
 # Copied unchanged from gcc/Makefile.in  # Copied unchanged from gcc/Makefile.in
 #  #
 GTFILES = $(GCONFIG_H) $(srcdir)/location.h \  GTFILES = $(GCONFIG_H) $(srcdir)/location.h \
  $(HASHTAB_H) \  $(GCCDIR)/include/hashtab.h \
  $(srcdir)/bitmap.h $(srcdir)/function.h  $(srcdir)/rtl.h $(srcdir)/optabs.h \  $(srcdir)/bitmap.h $(srcdir)/function.h \
  $(srcdir)/tree.h $(srcdir)/libfuncs.h $(srcdir)/hashtable.h $(srcdir)/real.h \  $(srcdir)/rtl.h $(srcdir)/optabs.h \
  $(srcdir)/varray.h $(srcdir)/ssa.h $(srcdir)/insn-addr.h $(srcdir)/cselib.h \  $(srcdir)/tree.h $(srcdir)/libfuncs.h \
   $(srcdir)/hashtable.h $(srcdir)/real.h \
   $(srcdir)/varray.h $(srcdir)/ssa.h $(srcdir)/insn-addr.h \
   $(srcdir)/cselib.h \
   $(srcdir)/c-common.h $(srcdir)/c-tree.h \    $(srcdir)/c-common.h $(srcdir)/c-tree.h \
   $(srcdir)/basic-block.h \    $(srcdir)/basic-block.h \
   $(srcdir)/alias.c $(srcdir)/bitmap.c $(srcdir)/cselib.c \    $(srcdir)/alias.c $(srcdir)/bitmap.c $(srcdir)/cselib.c \
   $(srcdir)/dwarf2out.c $(srcdir)/emit-rtl.c \    $(srcdir)/dwarf2out.c $(srcdir)/emit-rtl.c \
   $(srcdir)/except.c $(srcdir)/explow.c $(srcdir)/expr.c \    $(srcdir)/except.c $(srcdir)/explow.c $(srcdir)/expr.c \
   $(srcdir)/fold-const.c $(srcdir)/function.c \    $(srcdir)/fold-const.c $(srcdir)/function.c \
  $(srcdir)/gcse.c $(srcdir)/integrate.c $(srcdir)/lists.c $(srcdir)/optabs.c \  $(srcdir)/gcse.c $(srcdir)/integrate.c $(srcdir)/lists.c \
   $(srcdir)/optabs.c \
   $(srcdir)/profile.c $(srcdir)/ra-build.c $(srcdir)/regclass.c \    $(srcdir)/profile.c $(srcdir)/ra-build.c $(srcdir)/regclass.c \
   $(srcdir)/reg-stack.c \    $(srcdir)/reg-stack.c \
   $(srcdir)/sdbout.c $(srcdir)/stmt.c $(srcdir)/stor-layout.c \    $(srcdir)/sdbout.c $(srcdir)/stmt.c $(srcdir)/stor-layout.c \
Line 234  GTFILES = $(GCONFIG_H) $(srcdir)/locatio Line 238  GTFILES = $(GCONFIG_H) $(srcdir)/locatio
 #  #
 # Build a list of frontend directories to look into  # Build a list of frontend directories to look into
 #  #
   # These paths are very sensitive and used in the gengtype program.
   #
 GTFILES_LANG_DIR_NAMES=  GTFILES_LANG_DIR_NAMES=
   
 .if !defined(NO_CXX)  .if !defined(NO_CXX)
Line 252  GTFILES_LANG_DIR_NAMES+= f Line 258  GTFILES_LANG_DIR_NAMES+= f
 # Build a list of language specific files for gengtype  # Build a list of language specific files for gengtype
 #  #
 .for L in ${GTFILES_LANG_DIR_NAMES} c  .for L in ${GTFILES_LANG_DIR_NAMES} c
.if exists(${GCCDIR}/$L-config-lang.in).if exists(${GCCDIR}/gcc/$L-config-lang.in)
 # Source the language config file  # Source the language config file
$L_GTFILES!=    sh -c '. ${GCCDIR}/$L-config-lang.in; echo $$gtfiles'$L_GTFILES!=    sh -c '. ${GCCDIR}/gcc/$L-config-lang.in; echo $$gtfiles'
 .else  .else
$L_GTFILES!=    sh -c '. ${GCCDIR}/$L/config-lang.in; echo $$gtfiles'$L_GTFILES!=    sh -c '. ${GCCDIR}/gcc/$L/config-lang.in; echo $$gtfiles'
 .endif  .endif
 GTFILES+=       ${$L_GTFILES}  GTFILES+=       ${$L_GTFILES}
 .for F in ${$L_GTFILES}  .for F in ${$L_GTFILES}
Line 338  tconfig.h: Line 344  tconfig.h:
         echo '#ifndef POSIX'                            >> ${.TARGET}          echo '#ifndef POSIX'                            >> ${.TARGET}
         echo '# define POSIX'                           >> ${.TARGET}          echo '# define POSIX'                           >> ${.TARGET}
         echo '#endif'                                   >> ${.TARGET}          echo '#endif'                                   >> ${.TARGET}
.if exists(${GCCDIR}/config/${GCC_CPU}/${GCC_CPU}-modes.def).if exists(${GCCDIR}/gcc/config/${GCC_CPU}/${GCC_CPU}-modes.def)
         echo '#define EXTRA_MODES_FILE "${GCC_CPU}/${GCC_CPU}-modes.def"' >> ${.TARGET}          echo '#define EXTRA_MODES_FILE "${GCC_CPU}/${GCC_CPU}-modes.def"' >> ${.TARGET}
         echo '#define EXTRA_CC_MODES 1'                 >> ${.TARGET}          echo '#define EXTRA_CC_MODES 1'                 >> ${.TARGET}
 .endif  .endif

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