home *** CD-ROM | disk | FTP | other *** search
/ Freelog 11 / Freelog011.iso / Bas / Compression / ZLib / Makefile.riscos < prev    next >
Makefile  |  1998-05-12  |  4KB  |  152 lines

  1. # Project:   zlib_1_03
  2. # Patched for zlib 1.1.2 rw@shadow.org.uk 19980430
  3. # test works out-of-the-box, installs `somewhere' on demand
  4.  
  5. # Toolflags:
  6. CCflags = -c -depend !Depend -IC: -g -throwback  -DRISCOS  -fah 
  7. C++flags = -c -depend !Depend -IC: -throwback
  8. Linkflags = -aif -c++ -o $@ 
  9. ObjAsmflags = -throwback -NoCache -depend !Depend
  10. CMHGflags = 
  11. LibFileflags = -c -l -o $@ 
  12. Squeezeflags = -o $@
  13.  
  14. # change the line below to where _you_ want the library installed.
  15. libdest = lib:zlib
  16.  
  17. # Final targets:
  18. @.lib:   @.o.adler32 @.o.compress @.o.crc32 @.o.deflate @.o.gzio \
  19.         @.o.infblock @.o.infcodes @.o.inffast @.o.inflate @.o.inftrees @.o.infutil @.o.trees \
  20.         @.o.uncompr @.o.zutil 
  21.         LibFile $(LibFileflags) @.o.adler32 @.o.compress @.o.crc32 @.o.deflate \
  22.         @.o.gzio @.o.infblock @.o.infcodes @.o.inffast @.o.inflate @.o.inftrees @.o.infutil \
  23.         @.o.trees @.o.uncompr @.o.zutil 
  24. test:   @.minigzip @.example @.lib
  25.     @copy @.lib @.libc  A~C~DF~L~N~P~Q~RS~TV
  26.     @echo running tests: hang on.
  27.     @/@.minigzip -f -9 libc
  28.     @/@.minigzip -d libc-gz
  29.     @/@.minigzip -f -1 libc
  30.     @/@.minigzip -d libc-gz
  31.     @/@.minigzip -h -9 libc
  32.     @/@.minigzip -d libc-gz
  33.     @/@.minigzip -h -1 libc
  34.     @/@.minigzip -d libc-gz
  35.     @/@.minigzip -9 libc
  36.     @/@.minigzip -d libc-gz
  37.     @/@.minigzip -1 libc
  38.     @/@.minigzip -d libc-gz
  39.     @diff @.lib @.libc
  40.     @echo that should have reported '@.lib and @.libc identical' if you have diff.
  41.     @/@.example @.fred @.fred
  42.     @echo that will have given lots of hello!'s.
  43.  
  44. @.minigzip:   @.o.minigzip @.lib C:o.Stubs 
  45.         Link $(Linkflags) @.o.minigzip @.lib C:o.Stubs 
  46. @.example:   @.o.example @.lib C:o.Stubs 
  47.         Link $(Linkflags) @.o.example @.lib C:o.Stubs
  48.  
  49. install: @.lib
  50.     cdir $(libdest)
  51.     cdir $(libdest).h
  52.     @copy @.h.zlib $(libdest).h.zlib A~C~DF~L~N~P~Q~RS~TV
  53.     @copy @.h.zconf $(libdest).h.zconf A~C~DF~L~N~P~Q~RS~TV
  54.     @copy @.lib $(libdest).lib  A~C~DF~L~N~P~Q~RS~TV
  55.     @echo okay, installed zlib in $(libdest)
  56.  
  57. clean:; remove @.minigzip
  58.     remove @.example
  59.     remove @.libc
  60.     -wipe @.o.* F~r~cV
  61.     remove @.fred
  62.  
  63. # User-editable dependencies:
  64. .c.o:
  65.         cc $(ccflags) -o $@ $<
  66.  
  67. # Static dependencies:
  68.  
  69. # Dynamic dependencies:
  70. o.example:    c.example
  71. o.example:    h.zlib
  72. o.example:    h.zconf
  73. o.minigzip:    c.minigzip
  74. o.minigzip:    h.zlib
  75. o.minigzip:    h.zconf
  76. o.adler32:    c.adler32
  77. o.adler32:    h.zlib
  78. o.adler32:    h.zconf
  79. o.compress:    c.compress
  80. o.compress:    h.zlib
  81. o.compress:    h.zconf
  82. o.crc32:    c.crc32
  83. o.crc32:    h.zlib
  84. o.crc32:    h.zconf
  85. o.deflate:    c.deflate
  86. o.deflate:    h.deflate
  87. o.deflate:    h.zutil
  88. o.deflate:    h.zlib
  89. o.deflate:    h.zconf
  90. o.gzio:    c.gzio
  91. o.gzio:    h.zutil
  92. o.gzio:    h.zlib
  93. o.gzio:    h.zconf
  94. o.infblock:    c.infblock
  95. o.infblock:    h.zutil
  96. o.infblock:    h.zlib
  97. o.infblock:    h.zconf
  98. o.infblock:    h.infblock
  99. o.infblock:    h.inftrees
  100. o.infblock:    h.infcodes
  101. o.infblock:    h.infutil
  102. o.infcodes:    c.infcodes
  103. o.infcodes:    h.zutil
  104. o.infcodes:    h.zlib
  105. o.infcodes:    h.zconf
  106. o.infcodes:    h.inftrees
  107. o.infcodes:    h.infblock
  108. o.infcodes:    h.infcodes
  109. o.infcodes:    h.infutil
  110. o.infcodes:    h.inffast
  111. o.inffast:    c.inffast
  112. o.inffast:    h.zutil
  113. o.inffast:    h.zlib
  114. o.inffast:    h.zconf
  115. o.inffast:    h.inftrees
  116. o.inffast:    h.infblock
  117. o.inffast:    h.infcodes
  118. o.inffast:    h.infutil
  119. o.inffast:    h.inffast
  120. o.inflate:    c.inflate
  121. o.inflate:    h.zutil
  122. o.inflate:    h.zlib
  123. o.inflate:    h.zconf
  124. o.inflate:    h.infblock
  125. o.inftrees:    c.inftrees
  126. o.inftrees:    h.zutil
  127. o.inftrees:    h.zlib
  128. o.inftrees:    h.zconf
  129. o.inftrees:    h.inftrees
  130. o.inftrees:    h.inffixed
  131. o.infutil:    c.infutil
  132. o.infutil:    h.zutil
  133. o.infutil:    h.zlib
  134. o.infutil:    h.zconf
  135. o.infutil:    h.infblock
  136. o.infutil:    h.inftrees
  137. o.infutil:    h.infcodes
  138. o.infutil:    h.infutil
  139. o.trees:    c.trees
  140. o.trees:    h.deflate
  141. o.trees:    h.zutil
  142. o.trees:    h.zlib
  143. o.trees:    h.zconf
  144. o.trees:    h.trees
  145. o.uncompr:    c.uncompr
  146. o.uncompr:    h.zlib
  147. o.uncompr:    h.zconf
  148. o.zutil:    c.zutil
  149. o.zutil:    h.zutil
  150. o.zutil:    h.zlib
  151. o.zutil:    h.zconf
  152.