/[gxemul]/trunk/configure
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 21 by dpavlin, Mon Oct 8 16:19:23 2007 UTC revision 22 by dpavlin, Mon Oct 8 16:19:37 2007 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2  ###############################################################################  ###############################################################################
3  #  #
4  #  Copyright (C) 2003-2005  Anders Gavare.  All rights reserved.  #  Copyright (C) 2003-2006  Anders Gavare.  All rights reserved.
5  #  #
6  #  Redistribution and use in source and binary forms, with or without  #  Redistribution and use in source and binary forms, with or without
7  #  modification, are permitted provided that the following conditions are met:  #  modification, are permitted provided that the following conditions are met:
# Line 27  Line 27 
27  #  SUCH DAMAGE.  #  SUCH DAMAGE.
28  #  #
29  #  #
30  #  $Id: configure,v 1.180 2005/11/23 22:03:23 debug Exp $  #  $Id: configure,v 1.198 2006/02/18 13:15:20 debug Exp $
31  #  #
32  #  This is a minimal configure script, hardcoded for GXemul. This script  #  This is a minimal configure script, hardcoded for GXemul. This script
33  #  figures out which compiler flags will work, and creates Makefiles in  #  figures out which compiler flags will work, and creates Makefiles in
# Line 49  Line 49 
49  #    o)  which compiler flags to use  (overridden by setting CFLAGS)  #    o)  which compiler flags to use  (overridden by setting CFLAGS)
50  #    o)  X11 flags and libraries  (TODO: should be possible to override)  #    o)  X11 flags and libraries  (TODO: should be possible to override)
51  #    o)  binary translation (on supported platforms)  #    o)  binary translation (on supported platforms)
 #    o)  prefetch capability  (TODO: this is assumed on Alpha, but not all  
 #                              Alphas have it...)  
52  #  #
53  #  TODO:  #  TODO:
 #    o)  do not enable prefetch on Alpha ev4 or ev5, only on pca56 and newer  
54  #    o)  X11 libs and includes via command line options?  #    o)  X11 libs and includes via command line options?
55  #  #
56  ###############################################################################  ###############################################################################
# Line 67  if [ z"$X" = z0. ]; then Line 64  if [ z"$X" = z0. ]; then
64          ENABLEPPC=YES          ENABLEPPC=YES
65  else  else
66          #  Development:          #  Development:
67            UNSTABLE=YES
68            DYNTRANSBACKEND=NO #YES
69          ENABLEALPHA=YES          ENABLEALPHA=YES
70          ENABLEARM=YES          ENABLEARM=YES
71          ENABLEAVR=NO          ENABLEAVR=YES
72          ENABLEHPPA=NO          ENABLEHPPA=YES
73          ENABLEI960=NO          ENABLEI960=YES
74          ENABLEIA64=NO          ENABLEIA64=YES
75          ENABLEM68K=NO          ENABLEM68K=YES
76          ENABLEMIPS=YES          ENABLEMIPS=YES
77          ENABLENEWMIPS=NO          NEWMIPS=NO
78          ENABLEPPC=YES          ENABLEPPC=YES
79          ENABLESH=NO          ENABLESH=YES
80          ENABLESPARC=NO          ENABLESPARC=YES
81          ENABLEX86=NO          ENABLEX86=YES
82    fi
83    
84    if [ z"$UNSTABLE" = zYES ]; then
85            printf "###  DEVELOPMENT (UNSTABLE)\n\n"
86  fi  fi
87    
88  if [ z"$*" != z ]; then  if [ z"$*" != z ]; then
# Line 99  if [ z"$*" != z ]; then Line 102  if [ z"$*" != z ]; then
102                          MIPS16=NO                          MIPS16=NO
103                  else if [ z$a = z--enable-mips16 ]; then                  else if [ z$a = z--enable-mips16 ]; then
104                          MIPS16=YES                          MIPS16=YES
105                  else if [ z$a = z--enable-all ]; then                  else if [ z$a = z--disable-dyntransbackend ]; then
106                          ENABLEALPHA=YES                          DYNTRANSBACKEND=NO
107                          ENABLEARM=YES                  else if [ z$a = z--enable-dyntransbackend ]; then
108                          ENABLEAVR=YES                          DYNTRANSBACKEND=YES
                         ENABLEHPPA=YES  
                         ENABLEI960=YES  
                         ENABLEIA64=YES  
                         ENABLEM68K=YES  
                         ENABLEMIPS=YES  
                         ENABLENEWMIPS=YES  
                         ENABLEPPC=YES  
                         ENABLESH=YES  
                         ENABLESPARC=YES  
                         ENABLEX86=YES  
                 else if [ z$a = z--disable-alpha ]; then  
                         ENABLEALPHA=NO  
                 else if [ z$a = z--enable-alpha ]; then  
                         ENABLEALPHA=YES  
                 else if [ z$a = z--disable-arm ]; then  
                         ENABLEARM=NO  
                 else if [ z$a = z--enable-arm ]; then  
                         ENABLEARM=YES  
                 else if [ z$a = z--disable-avr ]; then  
                         ENABLEAVR=NO  
                 else if [ z$a = z--enable-avr ]; then  
                         ENABLEAVR=YES  
                 else if [ z$a = z--disable-hppa ]; then  
                         ENABLEHPPA=NO  
                 else if [ z$a = z--enable-hppa ]; then  
                         ENABLEHPPA=YES  
                 else if [ z$a = z--disable-i960 ]; then  
                         ENABLEI960=NO  
                 else if [ z$a = z--enable-i960 ]; then  
                         ENABLEI960=YES  
                 else if [ z$a = z--disable-ia64 ]; then  
                         ENABLEIA64=NO  
                 else if [ z$a = z--enable-ia64 ]; then  
                         ENABLEIA64=YES  
                 else if [ z$a = z--disable-m68k ]; then  
                         ENABLEM68K=NO  
                 else if [ z$a = z--enable-m68k ]; then  
                         ENABLEM86K=YES  
                 else if [ z$a = z--disable-mips ]; then  
                         ENABLEMIPS=NO  
                 else if [ z$a = z--enable-mips ]; then  
                         ENABLEMIPS=YES  
                 else if [ z$a = z--disable-newmips ]; then  
                         ENABLENEWMIPS=NO  
                 else if [ z$a = z--enable-newmips ]; then  
                         ENABLENEWMIPS=YES  
                 else if [ z$a = z--disable-ppc ]; then  
                         ENABLEPPC=NO  
                 else if [ z$a = z--enable-ppc ]; then  
                         ENABLEPPC=YES  
                 else if [ z$a = z--disable-sh ]; then  
                         ENABLESH=NO  
                 else if [ z$a = z--enable-sh ]; then  
                         ENABLESH=YES  
                 else if [ z$a = z--disable-sparc ]; then  
                         ENABLESPARC=NO  
                 else if [ z$a = z--enable-sparc ]; then  
                         ENABLESPARC=YES  
                 else if [ z$a = z--disable-x86 ]; then  
                         ENABLEX86=NO  
                 else if [ z$a = z--enable-x86 ]; then  
                         ENABLEX86=YES  
109                  else if [ z$a = z--disable-delays ]; then                  else if [ z$a = z--disable-delays ]; then
110                          DELAYS=NO                          DELAYS=NO
111                  else if [ z$a = z--enable-delays ]; then                  else if [ z$a = z--enable-delays ]; then
# Line 173  if [ z"$*" != z ]; then Line 114  if [ z"$*" != z ]; then
114                          CACHES=NO                          CACHES=NO
115                  else if [ z$a = z--enable-caches ]; then                  else if [ z$a = z--enable-caches ]; then
116                          CACHES=YES                          CACHES=YES
117                    else if [ z$a = z--disable-newmips ]; then
118                            NEWMIPS=NO
119                    else if [ z$a = z--enable-newmips ]; then
120                            NEWMIPS=YES
121                    else if [ z$a = z--disable-1k-pages ]; then
122                            ONEKPAGE=NO
123                    else if [ z$a = z--enable-1k-pages ]; then
124                            ONEKPAGE=YES
125                  else if [ z$a = z--help ]; then                  else if [ z$a = z--help ]; then
126                          echo "usage: $0 [options]"                          echo "usage: $0 [options]"
127    
# Line 188  if [ z"$*" != z ]; then Line 137  if [ z"$*" != z ]; then
137    
138                          echo "  --always32         enable ALWAYS_SIGNEXTEND_32"\                          echo "  --always32         enable ALWAYS_SIGNEXTEND_32"\
139                              "(for hunting down 32-bit bugs)"                              "(for hunting down 32-bit bugs)"
                         echo "  --tracenull        enable" \  
                             "TRACE_NULL_CRASHES (for bug hunting)"  
140                          printf "  --enable-caches    enable cache emulation"                          printf "  --enable-caches    enable cache emulation"
141                          printf " (BUGGY)\n"                          printf " (BUGGY)\n"
142                          echo "  --enable-delays    enable instruction" \                          echo "  --enable-delays    enable instruction" \
143                              "latency/delay emulation"                              "latency/delay emulation"
144    
145                          printf "  --enable-all       enable everything\n"                          if [ z$DYNTRANSBACKEND = zYES ]; then
146                                    printf "  --disable-dyntransbackend  disable "
                         if [ z$ENABLEALPHA = zYES ]; then  
                                 printf "  --disable-alpha    disable "  
                         else  
                                 printf "  --enable-alpha     enable "  
                         fi  
                         printf "Alpha CPU emulation\n"  
   
                         if [ z$ENABLEARM = zYES ]; then  
                                 printf "  --disable-arm      disable "  
                         else  
                                 printf "  --enable-arm       enable "  
                         fi  
                         printf "ARM CPU emulation\n"  
   
                         if [ z$ENABLEAVR = zYES ]; then  
                                 printf "  --disable-avr      disable "  
                         else  
                                 printf "  --enable-avr       enable "  
                         fi  
                         printf "Atmel AVR CPU emulation\n"  
   
                         if [ z$ENABLEHPPA = zYES ]; then  
                                 printf "  --disable-hppa     disable "  
                         else  
                                 printf "  --enable-hppa      enable "  
                         fi  
                         printf "HPPA CPU emulation\n"  
   
                         if [ z$ENABLEI960 = zYES ]; then  
                                 printf "  --disable-i960     disable "  
                         else  
                                 printf "  --enable-i960      enable "  
                         fi  
                         printf "i960 CPU emulation\n"  
   
                         if [ z$ENABLEIA64 = zYES ]; then  
                                 printf "  --disable-ia64     disable "  
                         else  
                                 printf "  --enable-ia64      enable "  
                         fi  
                         printf "IA64 CPU emulation\n"  
   
                         if [ z$ENABLEM68K = zYES ]; then  
                                 printf "  --disable-m68k     disable "  
                         else  
                                 printf "  --enable-m68k      enable "  
                         fi  
                         printf "M68K CPU emulation\n"  
   
                         if [ z$ENABLEMIPS = zYES ]; then  
                                 printf "  --disable-mips     disable "  
                         else  
                                 printf "  --enable-mips      enable "  
                         fi  
                         printf "MIPS CPU emulation\n"  
   
                         if [ z$ENABLENEWMIPS = zYES ]; then  
                                 printf "  --disable-newmips  disable "  
                         else  
                                 printf "  --enable-newmips   enable "  
                         fi  
                         printf "(New, dyntrans) MIPS CPU emulation\n"  
   
                         if [ z$ENABLEPPC = zYES ]; then  
                                 printf "  --disable-ppc      disable "  
                         else  
                                 printf "  --enable-ppc       enable "  
                         fi  
                         printf "POWER/PPC CPU emulation\n"  
   
                         if [ z$ENABLESH = zYES ]; then  
                                 printf "  --disable-sh       disable "  
                         else  
                                 printf "  --enable-sh        enable "  
                         fi  
                         printf "SH CPU emulation\n"  
   
                         if [ z$ENABLESPARC = zYES ]; then  
                                 printf "  --disable-sparc    disable "  
                         else  
                                 printf "  --enable-sparc     enable "  
                         fi  
                         printf "SPARC CPU emulation\n"  
   
                         if [ z$ENABLEX86 = zYES ]; then  
                                 printf "  --disable-x86      disable "  
147                          else                          else
148                                  printf "  --enable-x86       enable "                                  printf "  --enable-dyntransbackend  enable"
149                          fi                          fi
150                          printf "x86 CPU emulation\n"                          printf "dyntrans backend\n"
151    
152                          echo "  --enable-mips16    enable MIPS16 support"                          echo "  --enable-mips16    enable MIPS16 support"
153                            echo "  --enable-newmips   use new MIPS dyntrans code"
154                            #printf "  --enable-1k-pages  allow 1KB dyntrans pages"
155                            #printf " (default: 4KB)\n"
156    
157                          printf "\n(Pretty much all of these options are only"                          printf "\n(Pretty much all of these options are only"
158                          printf " meaningful during the development of\nthe"                          printf " meaningful during the development of\nthe"
# Line 301  if [ z"$*" != z ]; then Line 165  if [ z"$*" != z ]; then
165                              "available options."                              "available options."
166                          exit                          exit
167                  fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi                  fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi
168                  fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi                  fi; fi
                 fi; fi; fi; fi; fi; fi; fi  
169          done          done
170  fi  fi
171    
# Line 385  if [ z$ENABLEM68K = zYES ]; then Line 248  if [ z$ENABLEM68K = zYES ]; then
248  fi  fi
249  if [ z$ENABLEMIPS = zYES ]; then  if [ z$ENABLEMIPS = zYES ]; then
250          printf "#define ENABLE_MIPS\n" >> config.h          printf "#define ENABLE_MIPS\n" >> config.h
251  fi          if [ z$NEWMIPS = zYES ]; then
252  if [ z$ENABLENEWMIPS = zYES ]; then                  echo 'Enabling the _EXPERIMENTAL_ MIPS dyntrans code.'
253          printf "#define ENABLE_NEWMIPS\n" >> config.h                  printf "#define EXPERIMENTAL_NEWMIPS\n" >> config.h
254          CPU_ARCHS="$CPU_ARCHS cpu_newmips.o"          fi
255  fi  fi
256  if [ z$ENABLEPPC = zYES ]; then  if [ z$ENABLEPPC = zYES ]; then
257          printf "#define ENABLE_PPC\n" >> config.h          printf "#define ENABLE_PPC\n" >> config.h
# Line 424  if [ z$ALWAYS32 = zYES ]; then Line 287  if [ z$ALWAYS32 = zYES ]; then
287  fi  fi
288    
289    
290  #  Development option: TRACE_NULL_CRASHES  #  1KB page emulation:
291  if [ z$TRACENULL = zYES ]; then  if [ z$ONEKPAGE = zYES ]; then
292          echo 'Enabling TRACE_NULL_CRASHES. (NOTE:' \          echo '1 KB pages: not yet.'
293              'This slows down the emulator.)'          exit
294          printf "#define TRACE_NULL_CRASHES\n" >> config.h          echo 'Enabling 1 KB page dyntrans support. (NOTE:' \
295                'This slows down everything.)'
296            printf "#define ONEKPAGE\n" >> config.h
297  fi  fi
298    
299    
300  #  Cache emulation:  #  Cache emulation:
301  if [ z$CACHES = zYES ]; then  if [ z$CACHES = zYES ]; then
302          echo 'Enabling Cache emulation. (EXPERIMENTAL)'          echo 'Enabling Cache emulation. (EXPERIMENTAL and BUGGY)'
303          printf "#define ENABLE_CACHE_EMULATION\n" >> config.h          printf "#define ENABLE_CACHE_EMULATION\n" >> config.h
304    
305          if [ z$DELAYS != zYES ]; then          if [ z$DELAYS != zYES ]; then
# Line 785  if [ -x _testprog ]; then Line 650  if [ -x _testprog ]; then
650          if [ z"$COMPAQCC" = zYES ]; then          if [ z"$COMPAQCC" = zYES ]; then
651                  CWARNINGS="$CWARNINGS -msg_disable longlongtype,unusedtop"                  CWARNINGS="$CWARNINGS -msg_disable longlongtype,unusedtop"
652          fi          fi
653    
654            if [ z"$UNSTABLE" = zYES ]; then
655                    printf "checking whether -Werror can be used... "
656                    rm -f _testprog
657                    $CC $CFLAGS $CWARNINGS _testprog.c -o _testprog -Werror 2> /dev/null
658                    if [ -x _testprog ]; then
659                            printf "yes\n"
660                            CWARNINGS="$CWARNINGS -Werror"
661                    else
662                            printf "no\n"
663                    fi
664            fi
665  else  else
666          printf "no\n"          printf "no\n"
667  fi  fi
# Line 792  rm -f _testprog Line 669  rm -f _testprog
669    
670    
671  if [ z"$COMPAQCC" = zYES ]; then  if [ z"$COMPAQCC" = zYES ]; then
672          #  -O4 is possible, but is -O3 better?          #  -O4 is possible, but sometimes -O3 is better?
673          CFLAGS="-O4 $CFLAGS"          CFLAGS="-O4 $CFLAGS"
674  else  else
675          if [ z"`uname`" = zSunOS ]; then          if [ z"`uname`" = zSunOS ]; then
# Line 807  else Line 684  else
684                  $CC $CFLAGS _testprog.c -o _testprog -O 2> /dev/null                  $CC $CFLAGS _testprog.c -o _testprog -O 2> /dev/null
685                  if [ -x _testprog ]; then                  if [ -x _testprog ]; then
686                          rm -f _testprog                          rm -f _testprog
687                          $CC $CFLAGS _testprog.c -o _testprog -O2 2> /dev/null                          $CC $CFLAGS _testprog.c -o _testprog -O3 2> /dev/null
688                          if [ -x _testprog ]; then                          if [ -x _testprog ]; then
689                                  CFLAGS="-O2 $CFLAGS"                                  CFLAGS="-O3 $CFLAGS"
690                          else                          else
691                                  CFLAGS="-O $CFLAGS"                                  CFLAGS="-O $CFLAGS"
692                          fi                          fi
# Line 897  fi Line 774  fi
774  rm -f _testprog _testprog.error _testprog.stdout  rm -f _testprog _testprog.error _testprog.stdout
775    
776    
777    #  -g
778    printf "checking whether -g can be used... "
779    if [ z"$COMPAQCC" = zYES ]; then
780            printf "skipping\n"
781    else
782            $CC $CFLAGS -g _testprog.c -o _testprog > _testprog.stdout 2>&1
783            cat _testprog.stdout >> _testprog.error
784            if [ -x _testprog ]; then
785                    CFLAGS="-g $CFLAGS"
786                    printf "yes\n"
787            else
788                    printf "no\n"
789            fi
790    fi
791    rm -f _testprog _testprog.error _testprog.stdout
792    
793    
794  #  -lrt for nanosleep?  #  -lrt for nanosleep?
795  printf "checking whether -lrt is required for nanosleep... "  printf "checking whether -lrt is required for nanosleep... "
796  printf "#include <time.h>\n#include <stdio.h>  printf "#include <time.h>\n#include <stdio.h>
# Line 1185  rm -f _testuint.c _testuint Line 1079  rm -f _testuint.c _testuint
1079    
1080  ###############################################################################  ###############################################################################
1081  #  #
1082  #  Dynamic binary translation (BINTRANS):  #  OLD binary translation (BINTRANS):
1083  #  #
1084  ###############################################################################  ###############################################################################
1085    
# Line 1210  else Line 1104  else
1104                  BINTRANS=YES                  BINTRANS=YES
1105          fi          fi
1106    
1107          #  x86:  (all machines ending in "86" are treated as i386)          #  x86:
1108          if [ z"`uname -m|rev|cut -c1-2`" = z68 ]; then          if `uname -m|grep -v 64|grep -q 86`; then
1109                  printf "#define I386\n" >> config.h                  printf "#define I386\n" >> config.h
1110                  printf "#define BINTRANS\n" >> config.h                  printf "#define BINTRANS\n" >> config.h
1111                  printf "i386\n"                  printf "i386\n"
# Line 1249  fi Line 1143  fi
1143    
1144    
1145  ###############################################################################  ###############################################################################
1146    #
1147    #  Dyntrans recompilation (native backend) support:
1148    #
1149    ###############################################################################
1150    
1151    if [ z$DYNTRANSBACKEND = zYES ]; then
1152            printf "Dyntrans: Not yet.\n"
1153            exit
1154    
1155            printf "checking for dyntrans backend... "
1156            DBFOUND=NO
1157    
1158            #  Alpha:
1159            if [ z"`uname -m`" = zalpha ]; then
1160                    printf "#define DYNTRANS_BACKEND_ALPHA\n" >> config.h
1161                    printf "Alpha\n"
1162                    CPU_BACKENDS="$CPU_BACKENDS backend_alpha.o"
1163                    DBFOUND=YES
1164            fi
1165    
1166            #  AMD64:
1167            #  TODO
1168    
1169    #       #  UltraSPARC:
1170    #       if [ z"`uname -m`" = zsun4u ]; then
1171    #               printf "#define DYNTRANS_BACKEND_SPARC64\n" >> config.h
1172    #               printf "UltraSPARC\n"
1173    #               CPU_BACKENDS="$CPU_BACKENDS backend_sparc.o"
1174    #               DBFOUND=YES
1175    #       fi
1176    #       if [ z"`uname -m`" = zsparc64 ]; then
1177    #               printf "#define DYNTRANS_BACKEND_SPARC64\n" >> config.h
1178    #               printf "UltraSPARC\n"
1179    #               CPU_BACKENDS="$CPU_BACKENDS backend_sparc.o"
1180    #               DBFOUND=YES
1181    #       fi
1182    
1183            #  x86:
1184            if `uname -m|grep -q -v 64|grep -q 86`; then
1185                    printf "#define DYNTRANS_BACKEND_I386\n" >> config.h
1186                    printf "i386\n"
1187                    CPU_BACKENDS="$CPU_BACKENDS backend_i386.o"
1188                    DBFOUND=YES
1189            fi
1190    
1191            if [ z$DBFOUND = zYES ]; then
1192                    printf "#define DYNTRANS_BACKEND\n" >> config.h
1193            else
1194                    printf "not supported yet on this arch ("
1195                    printf `uname -m`
1196                    printf ")\n"
1197            fi
1198    fi
1199    
1200    
1201    ###############################################################################
1202    
1203  #  Host byte order?  #  Host byte order?
1204  printf "checking host endianness... "  printf "checking host endianness... "
# Line 1275  rm -f _test_end* Line 1225  rm -f _test_end*
1225    
1226  ###############################################################################  ###############################################################################
1227    
 #  Prefetch support?  
 printf "checking for asm prefetch support... "  
 if [ z"`uname -m`" = zalpha ]; then  
         rm -f _alpha_asm_test.c _alpha_asm_test  
         printf 'int main(int argc, char *argv[])  
          { int x; int *y = &x; asm ("ldl $31,0(%%0)" : : "g" (y));  
           return 0; }\n' > _alpha_asm_test.c  
         $CC $CFLAGS -O2 _alpha_asm_test.c -o _alpha_asm_test \  
             > /dev/null 2> /dev/null  
         if [ -x _alpha_asm_test ]; then  
 #               printf "#define HAVE_PREFETCH\n" >> config.h  
                 printf "#define PREFETCH(x) asm(\"ldl" >> config.h  
                 printf " \$31,0(%%0)\" : : \"g\" (x))\n" >> config.h  
                 echo "yes"  
                 PREFSUP=YES  
         fi  
         rm -f _alpha_asm_test.c _alpha_asm_test  
 fi  
 if [ z$PREFSUP = z ]; then  
         printf "#define PREFETCH(x) { }\n" >> config.h  
         echo "no"  
 fi  
   
   
 ###############################################################################  
   
1228  INCLUDE=-Iinclude/  INCLUDE=-Iinclude/
1229  DINCLUDE=-I../include/  DINCLUDE=-I../include/
1230    
# Line 1315  echo "DINCLUDE=$DINCLUDE" >> _Makefile.h Line 1239  echo "DINCLUDE=$DINCLUDE" >> _Makefile.h
1239  echo "CC=$CC" >> _Makefile.header  echo "CC=$CC" >> _Makefile.header
1240  echo "OTHERLIBS=$OTHERLIBS" >> _Makefile.header  echo "OTHERLIBS=$OTHERLIBS" >> _Makefile.header
1241  echo "CPU_ARCHS=$CPU_ARCHS" >> _Makefile.header  echo "CPU_ARCHS=$CPU_ARCHS" >> _Makefile.header
1242    echo "CPU_BACKENDS=$CPU_BACKENDS" >> _Makefile.header
1243  echo "CPU_TOOLS=$CPU_TOOLS" >> _Makefile.header  echo "CPU_TOOLS=$CPU_TOOLS" >> _Makefile.header
1244  echo "" >> _Makefile.header  echo "" >> _Makefile.header
1245    
1246    
1247  #  Create the Makefiles:  #  Create the Makefiles:
1248  D=". src src/include src/cpus src/devices src/devices/fonts src/promemul"  D=". src src/include src/cpus src/devices src/devices/fonts"
1249    D="$D src/machines src/promemul"
1250  for a in $D; do  for a in $D; do
1251          echo "creating $a/Makefile"          echo "creating $a/Makefile"
1252          touch $a/Makefile          touch $a/Makefile

Legend:
Removed from v.21  
changed lines
  Added in v.22

  ViewVC Help
Powered by ViewVC 1.1.26