home *** CD-ROM | disk | FTP | other *** search
/ Freelog 11 / Freelog011.iso / Bas / Compression / ZLib / contrib / delphi2 / zlib32.bpr < prev    next >
Text File  |  1998-03-25  |  5KB  |  175 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 = zlib32.dll
  17. OBJFILES = zlib32.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 = 
  24. SPARELIBS = 
  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 = -WD -O2 -Ve -d -k- -vi -c -tWD
  38. CFLAG2 = -D_NO_VCL;ZLIB_DLL -I$(BCB)\include
  39. CFLAG3 = -ff -5
  40. PFLAGS = -D_NO_VCL;ZLIB_DLL -U$(BCB)\lib;$(RELEASELIBPATH) -I$(BCB)\include -$I- -v \
  41.   -JPHN -M
  42. RFLAGS = -D_NO_VCL;ZLIB_DLL -i$(BCB)\include
  43. AFLAGS = /i$(BCB)\include /d_NO_VCL /dZLIB_DLL /mx /w2 /zn
  44. LFLAGS = -L$(BCB)\lib;$(RELEASELIBPATH) -aa -Tpd -x -Gi
  45. IFLAGS = -Gn -g
  46. # ---------------------------------------------------------------------------
  47. ALLOBJ = c0d32.obj $(OBJFILES)
  48. ALLRES = $(RESFILES)
  49. ALLLIB = $(LIBFILES)  import32.lib cw32mt.lib
  50. # ---------------------------------------------------------------------------
  51. !ifdef IDEOPTIONS
  52.  
  53. [Version Info]
  54. IncludeVerInfo=0
  55. AutoIncBuild=0
  56. MajorVer=1
  57. MinorVer=0
  58. Release=0
  59. Build=0
  60. Debug=0
  61. PreRelease=0
  62. Special=0
  63. Private=0
  64. DLL=1
  65. Locale=1040
  66. CodePage=1252
  67.  
  68. [Version Info Keys]
  69. CompanyName=
  70. FileDescription=DLL (GUI)
  71. FileVersion=1.0.0.0
  72. InternalName=
  73. LegalCopyright=
  74. LegalTrademarks=
  75. OriginalFilename=
  76. ProductName=
  77. ProductVersion=1.0.0.0
  78. Comments=
  79.  
  80. [HistoryLists\hlIncludePath]
  81. Count=1
  82. Item0=$(BCB)\include
  83.  
  84. [HistoryLists\hlLibraryPath]
  85. Count=1
  86. Item0=$(BCB)\lib
  87.  
  88. [HistoryLists\hlConditionals]
  89. Count=1
  90. Item0=_NO_VCL;ZLIB_DLL
  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 = ilink32
  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. $(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE)
  148.     $(BCB)\BIN\$(LINKER) @&&!
  149.     $(LFLAGS) $(IFLAGS) +
  150.     $(ALLOBJ), +
  151.     $(PROJECT),, +
  152.     $(ALLLIB), +
  153.     $(DEFFILE), +
  154.     $(ALLRES)
  155. !
  156. # ---------------------------------------------------------------------------
  157. .pas.hpp:
  158.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  159.  
  160. .pas.obj:
  161.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  162.  
  163. .cpp.obj:
  164.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  165.  
  166. .c.obj:
  167.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  168.  
  169. .asm.obj:
  170.     $(BCB)\BIN\$(TASM32) $(AFLAGS) $<, $@
  171.  
  172. .rc.res:
  173.     $(BCB)\BIN\$(BRCC32) $(RFLAGS) -fo$@ $<
  174. # ---------------------------------------------------------------------------
  175.