home *** CD-ROM | disk | FTP | other *** search
/ Freelog 11 / Freelog011.iso / Bas / Compression / ZLib / contrib / delphi2 / zlib.bpr < prev    next >
Text File  |  1998-03-25  |  5KB  |  226 lines

  1. # ---------------------------------------------------------------------------
  2. !if !$d(BCB)
  3. BCB = $(MAKEDIR)\..
  4. !endif
  5.  
  6. # ---------------------------------------------------------------------------
  7. # IDE SECTION
  8. # ---------------------------------------------------------------------------
  9. # The following section of the project makefile is managed by the BCB IDE.
  10. # It is recommended to use the IDE to change any of the values in this
  11. # section.
  12. # ---------------------------------------------------------------------------
  13.  
  14. VERSION = BCB.03
  15. # ---------------------------------------------------------------------------
  16. PROJECT = zlib.lib
  17. OBJFILES = zlib.obj adler32.obj compress.obj crc32.obj deflate.obj gzio.obj infblock.obj \
  18.   infcodes.obj inffast.obj inflate.obj inftrees.obj infutil.obj trees.obj \
  19.   uncompr.obj zutil.obj
  20. RESFILES =
  21. RESDEPEN = $(RESFILES)
  22. LIBFILES =
  23. LIBRARIES = VCL35.lib
  24. SPARELIBS = VCL35.lib
  25. DEFFILE =
  26. PACKAGES = VCLX35.bpi VCL35.bpi VCLDB35.bpi VCLDBX35.bpi ibsmp35.bpi bcbsmp35.bpi \
  27.   dclocx35.bpi QRPT35.bpi TEEUI35.bpi TEEDB35.bpi TEE35.bpi DSS35.bpi \
  28.   NMFAST35.bpi INETDB35.bpi INET35.bpi VCLMID35.bpi
  29. # ---------------------------------------------------------------------------
  30. PATHCPP = .;
  31. PATHASM = .;
  32. PATHPAS = .;
  33. PATHRC = .;
  34. DEBUGLIBPATH = $(BCB)\lib\debug
  35. RELEASELIBPATH = $(BCB)\lib\release
  36. # ---------------------------------------------------------------------------
  37. CFLAG1 = -O2 -Ve -d -k- -vi
  38. CFLAG2 = -I$(BCB)\include;$(BCB)\include\vcl -H=$(BCB)\lib\vcl35.csm
  39. CFLAG3 = -ff -5
  40. PFLAGS = -U;$(DEBUGLIBPATH) -I$(BCB)\include;$(BCB)\include\vcl -H -W -$I- -v -JPHN -M
  41. RFLAGS = -i$(BCB)\include;$(BCB)\include\vcl 
  42. AFLAGS = /i$(BCB)\include /i$(BCB)\include\vcl /mx /w2 /zn
  43. LFLAGS =
  44. IFLAGS = -g -Gn
  45. # ---------------------------------------------------------------------------
  46. ALLOBJ = c0w32.obj $(OBJFILES)
  47. ALLRES = $(RESFILES)
  48. ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cp32mt.lib
  49. # ---------------------------------------------------------------------------
  50. !!ifdef IDEOPTIONS
  51.  
  52. [Version Info]
  53. IncludeVerInfo=0
  54. AutoIncBuild=0
  55. MajorVer=1
  56. MinorVer=0
  57. Release=0
  58. Build=0
  59. Debug=0
  60. PreRelease=0
  61. Special=0
  62. Private=0
  63. DLL=0
  64. Locale=1040
  65. CodePage=1252
  66.  
  67. [Version Info Keys]
  68. CompanyName=
  69. FileDescription=
  70. FileVersion=1.0.0.0
  71. InternalName=
  72. LegalCopyright=
  73. LegalTrademarks=
  74. OriginalFilename=
  75. ProductName=
  76. ProductVersion=1.0.0.0
  77. Comments=
  78.  
  79. [HistoryLists\hlIncludePath]
  80. Count=2
  81. Item0=$(BCB)\include
  82. Item1=$(BCB)\include;$(BCB)\include\vcl
  83.  
  84. [HistoryLists\hlLibraryPath]
  85. Count=1
  86. Item0=$(BCB)\lib\obj;$(BCB)\lib
  87.  
  88. [HistoryLists\hlDebugSourcePath]
  89. Count=1
  90. Item0=$(BCB)\source\vcl
  91.  
  92. [Debugging]
  93. DebugSourceDirs=
  94.  
  95. [Parameters]
  96. RunParams=
  97. HostApplication=
  98.  
  99. !endif
  100.  
  101.  ---------------------------------------------------------------------------
  102. # MAKE SECTION
  103. # ---------------------------------------------------------------------------
  104. # This section of the project file is not used by the BCB IDE.  It is for
  105. # the benefit of building from the command-line using the MAKE utility.
  106. # ---------------------------------------------------------------------------
  107.  
  108. .autodepend
  109. # ---------------------------------------------------------------------------
  110. !if !$d(BCC32)
  111. BCC32 = bcc32
  112. !endif
  113.  
  114. !if !$d(DCC32)
  115. DCC32 = dcc32
  116. !endif
  117.  
  118. !if !$d(TASM32)
  119. TASM32 = tasm32
  120. !endif
  121.  
  122. !if !$d(LINKER)
  123. LINKER = TLib
  124. !endif
  125.  
  126. !if !$d(BRCC32)
  127. BRCC32 = brcc32
  128. !endif
  129. # ---------------------------------------------------------------------------
  130. !if $d(PATHCPP)
  131. .PATH.CPP = $(PATHCPP)
  132. .PATH.C   = $(PATHCPP)
  133. !endif
  134.  
  135. !if $d(PATHPAS)
  136. .PATH.PAS = $(PATHPAS)
  137. !endif
  138.  
  139. !if $d(PATHASM)
  140. .PATH.ASM = $(PATHASM)
  141. !endif
  142.  
  143. !if $d(PATHRC)
  144. .PATH.RC  = $(PATHRC)
  145. !endif
  146. # ---------------------------------------------------------------------------
  147. !ifdef IDEOPTIONS
  148.  
  149. [Version Info]
  150. IncludeVerInfo=0
  151. AutoIncBuild=0
  152. MajorVer=1
  153. MinorVer=0
  154. Release=0
  155. Build=0
  156. Debug=0
  157. PreRelease=0
  158. Special=0
  159. Private=0
  160. DLL=0
  161. Locale=1040
  162. CodePage=1252
  163.  
  164. [Version Info Keys]
  165. CompanyName=
  166. FileDescription=
  167. FileVersion=1.0.0.0
  168. InternalName=
  169. LegalCopyright=
  170. LegalTrademarks=
  171. OriginalFilename=
  172. ProductName=
  173. ProductVersion=1.0.0.0
  174. Comments=
  175.  
  176. [HistoryLists\hlIncludePath]
  177. Count=2
  178. Item0=$(BCB)\include;$(BCB)\include\vcl
  179. Item1=$(BCB)\include
  180.  
  181. [HistoryLists\hlLibraryPath]
  182. Count=1
  183. Item0=$(BCB)\lib\obj;$(BCB)\lib
  184.  
  185. [HistoryLists\hlDebugSourcePath]
  186. Count=1
  187. Item0=$(BCB)\source\vcl
  188.  
  189. [Debugging]
  190. DebugSourceDirs=
  191.  
  192. [Parameters]
  193. RunParams=
  194. HostApplication=
  195.  
  196. !endif
  197.  
  198. $(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE)
  199.     $(BCB)\BIN\$(LINKER) @&&!
  200.     $(LFLAGS) $(IFLAGS) +
  201.     $(ALLOBJ), +
  202.     $(PROJECT),, +
  203.     $(ALLLIB), +
  204.     $(DEFFILE), +
  205.     $(ALLRES)
  206. !
  207. # ---------------------------------------------------------------------------
  208. .pas.hpp:
  209.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  210.  
  211. .pas.obj:
  212.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  213.  
  214. .cpp.obj:
  215.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  216.  
  217. .c.obj:
  218.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  219.  
  220. .asm.obj:
  221.     $(BCB)\BIN\$(TASM32) $(AFLAGS) $<, $@
  222.  
  223. .rc.res:
  224.     $(BCB)\BIN\$(BRCC32) $(RFLAGS) -fo$@ $<
  225. # ---------------------------------------------------------------------------
  226.