home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / gnu / g__lib / makefile.st < prev    next >
Makefile  |  1993-07-23  |  4KB  |  124 lines

  1. # Makefile for g++ library version 1.34.0
  2.  
  3. # Copyright (C) 1988 Free Software Foundation
  4. #   written by Doug Lea (dl@rocky.oswego.edu)
  5.  
  6. # This file is part of GNU CC.
  7.  
  8. # GNU CC is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY.  No author or distributor
  10. # accepts responsibility to anyone for the consequences of using it
  11. # or for whether it serves any particular purpose or works at all,
  12. # unless he says so in writing.  Refer to the GNU CC General Public
  13. # License for full details.
  14.  
  15. # Everyone is granted permission to copy, modify and redistribute
  16. # GNU CC, but only under the conditions described in the
  17. # GNU CC General Public License.   A copy of this license is
  18. # supposed to have been given to you along with GNU CC so you
  19. # can know your rights and responsibilities.  It should be in a
  20. # file named COPYING.  Among other things, the copyright notice
  21. # and this notice must be preserved on all copies.
  22.  
  23. # this version of the file hacked by jrd for use on Atari ST
  24.  
  25. # GNU C++ compiler name
  26. # GXX = g++
  27.  
  28. # GNU CC compiler name (needed for some .c files in g++.olb)
  29. CC = gcc
  30.  
  31. ###########################################################################
  32. # declarations from here on should not normally need to be changed 
  33. # in order to compile g++.olb
  34. #
  35.  
  36. I= ..\\g++-include
  37. J= ..\g++-include
  38.  
  39. # g++ compilation flags:
  40. # the fchar-charconst flag is mandatory for some stream ops to work sensibly
  41. GFLAGS= -O -fchar-charconst -I$J -I.. -fstrength-reduce -fsave-memoized
  42. #GFLAGS= -g -O -fchar-charconst -I$I -I.. -fstrength-reduce -fsave-memoized -mgnu
  43.  
  44. # gcc flags for c files
  45. CFLAGS= -g -O -I$J
  46.  
  47. # g++ files should have extension .cc
  48. .SUFFIXES: .cc
  49. .cc.o:
  50.     g++ $(GFLAGS) -c  $<
  51.  
  52.  
  53. # library sources 
  54. SRCS = atarist.c builtin.cc  st-file.cc stream.cc plotfile.cc sfile.cc \
  55.  obstack.cc regex.c string.cc integer.cc rational.cc complex.cc \
  56.  bitset.cc bitstrin.cc random.cc rng.cc acg.cc mlcg.cc sample.cc \
  57.  fix.cc fix16.cc fix24.cc curseswi.cc
  58.  
  59. OBJS = atarist.o builtin.o st-file.o  stream.o  plotfile.o  sfile.o \
  60.  obstack.o  regex.o string.o  integer.o rational.o complex.o \
  61.  bitset.o bitstrin.o \
  62.  fix.o fix16.o fix24.o 
  63.  
  64. #  random.o  rng.o acg.o mlcg.o sample.o seem to be broken...
  65. #  curseswi.o    needs to be fixed to not depend on eunuchs io
  66.  
  67. ###########################################################################
  68. #
  69. # compilation actions
  70. #
  71. # compilation notes:
  72. #
  73. # No g++ warnings or error messages are expected to appear.
  74. #
  75. # A possible exception is a warning about `shadowing' the declaration
  76. # of `timezone', since it may appear in both a system and a g++-include .h
  77. #
  78. # A similar message may appear about `flock', for the same reasons
  79. #
  80. # Expect some warnings from gcc on regex.c about `char*' vs `unsigned char*'
  81.  
  82.  
  83. all: g++.olb
  84.  
  85. g++.olb: $(OBJS)
  86.     ar r g++.olb $(OBJS)
  87.  
  88. clean:
  89.     rm -f *.o core g++.a C++.hack*
  90.  
  91.  
  92. ###########################################################################
  93. #
  94. #  dependencies
  95. #
  96.  
  97. st-file.o:    $I\\file.h $I\\std.h $I\\stddef.h  $I\\builtin.h
  98. stream.o: $I\\stream.h $I\\file.h  $I\\builtin.h
  99. plotfile.o: $I\\plotfile.h $I\\file.h  $I\\builtin.h
  100. sfile.o: $I\\sfile.h $I\\file.h $I\\std.h $I\\stddef.h  $I\\builtin.h
  101. obstack.o: $I\\obstack.h $I\\builtin.h
  102. string.o: $I\\string.h $I\\stream.h $I\\regex.h $I\\std.h $I\\builtin.h $I\\file.h
  103. integer.o: $I\\integer.h $I\\stream.h $I\\file.h $I\\builtin.h
  104. rational.o: $I\\rational.h $I\\integer.h $I\\stream.h $I\\file.h $I\\builtin.h
  105. complex.o: $I\\complex.h $I\\stream.h $I\\file.h $I\\builtin.h
  106. bitset.o: $I\\bitset.h $I\\stream.h $I\\builtin.h $I\\file.h
  107. bitstring.o: $I\\bitstring.h $I\\stream.h $I\\builtin.h $I\\file.h
  108. regex.o: $I\\regex.h
  109. builtin.o: $I\\builtin.h $I\\math.h
  110. rng.o: $I\\assert.h $I\\rng.h
  111. mlcg.o: $I\\rng.h $I\\mlcg.h
  112. acg.o: $I\\assert.h $I\\rng.h $I\\acg.h
  113. random.o: $I\\random.h $I\\rng.h \
  114.  $I\\binomial.h  $I\\erlang.h $I\\geometric.h \
  115.  $I\\hypergeometric.h $I\\negativeexpntl.h  $I\\normal.h \
  116.  $I\\lognormal.h $I\\poisson.h $I\\discreteuniform.h \
  117.  $I\\uniform.h  $I\\weibull.h 
  118. sample.o: $I\\samplestatistic.h  $I\\samplehistogram.h $I\\file.h
  119. fix.cc: $I\\fix.h $I\\file.h 
  120. fix16.cc: $I\\fix16.h $I\\file.h 
  121. fix24.cc: $I\\fix24.h $I\\file.h 
  122. curseswindow.o: $I\\curses.h $I\\curseswindow.h
  123.