You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

224 lines
4.9 KiB

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