home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / GCC / GERLIB_DEV08B.LHA / gerlib / makelibrary < prev   
Encoding:
Text File  |  1993-12-12  |  1.3 KB  |  84 lines

  1. ; Script that builds libger.a and libbger.a
  2. ; we do it in memory for security and speed reasons
  3.  
  4. ; Thu Sep 23 18:16:26 1993 GM: comments added
  5.  
  6.     ; doesn't matter if not there
  7.  
  8.     delete ram:libger.a
  9.     delete ram:libbger.a
  10.  
  11.  
  12.     ; make normal(=large) and base-relative specific things
  13.  
  14.     cd not_equal/normal/
  15.     dmake gerlib
  16.     cd //
  17.     cd not_equal/baserel/
  18.     dmake gerlib
  19.     cd //
  20.  
  21.  
  22.     ; some support-routines (Printf etc.)
  23.  
  24.     cd amiga/normal
  25.     dmake gerlib
  26.     cd //
  27.     cd amiga/baserel
  28.     dmake gerlib
  29.     cd //
  30.  
  31.  
  32.     ; the part that is normally done by libgcc.a
  33.     ; (math-functions etc.)
  34.  
  35.     cd gnulib/normal
  36.     dmake gerlib
  37.     cd //
  38.     cd gnulib/baserel
  39.     dmake gerlib
  40.     cd //
  41.  
  42.  
  43.     ; some popular string-functions
  44.  
  45.     cd string/normal
  46.     dmake gerlib
  47.     cd //
  48.     cd string/baserel
  49.     dmake gerlib
  50.     cd //
  51.  
  52.  
  53.     ; some support functions (partly ansi, partly some other things)
  54.  
  55.     cd bonus/normal
  56.     dmake gerlib
  57.     cd //
  58.     cd bonus/baserel
  59.     dmake gerlib
  60.     cd //
  61.  
  62.  
  63.     ; does not function yet
  64.     ; make only the .o-files, don't ar them in our lib
  65.  
  66. ;    cd /libauto
  67. ;    dmake gerlib
  68.  
  69.  
  70.     ; make access faster
  71.  
  72.     usr:bin/ranlib ram:libger.a
  73.     usr:bin/ranlib ram:libbger.a
  74.  
  75.     ; if sd0: (resident ram disk) used
  76. ;    copy ram:libger.a sd0:lib/libger.a
  77. ;    copy ram:libger.a sd0:lib/libger.a
  78.  
  79.  
  80.     ; copy libs in our libs-directory
  81.  
  82.     copy ram:libger.a g:lib/libger.a
  83.     copy ram:libbger.a g:blib/libger.a
  84.