home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / Runimage / Cbuilder4 / Examples / WinTools / WINTOOLS.BPR < prev    next >
Encoding:
Text File  |  1999-01-26  |  4.5 KB  |  181 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.04.04
  15. # ---------------------------------------------------------------------------
  16. PROJECT = winTools.exe
  17. OBJFILES = winTools.obj TDump1.obj about.obj
  18. RESFILES = Wintools.res
  19. RESDEPEN = $(RESFILES) TDump1.dfm about.dfm
  20. LIBFILES =
  21. IDLGENFILES =
  22. IDLFILES =
  23. LIBRARIES =
  24. SPARELIBS = VCL40.lib
  25. DEFFILE =
  26. PACKAGES = vclx40.bpi VCL40.bpi
  27. # ---------------------------------------------------------------------------
  28. PATHCPP = .;
  29. PATHASM = .;
  30. PATHPAS = .;
  31. PATHRC = .;
  32. DEBUGLIBPATH = $(BCB)\lib\debug
  33. RELEASELIBPATH = $(BCB)\lib\release
  34. SYSDEFINES = NO_STRICT;_RTLDLL;USEPACKAGES
  35. USERDEFINES =
  36. # ---------------------------------------------------------------------------
  37. CFLAG1 = -I$(BCB)\include;$(BCB)\include\vcl -Od -Hc -H=$(BCB)\lib\vcl40.csm -w -Ve -r- \
  38.   -k -y -v -vi- -D$(SYSDEFINES);$(USERDEFINES) -c -b- -w-par -w-inl -Vx -tW -tW
  39. CFLAG2 =
  40. CFLAG3 =
  41. IDLCFLAGS = -src_suffixcpp -I$(BCB)\include -I$(BCB)\include\vcl
  42. PFLAGS = -U$(BCB)\lib\obj;$(BCB)\lib;$(RELEASELIBPATH) \
  43.   -I$(BCB)\include;$(BCB)\include\vcl -v -JPHN -M
  44. RFLAGS = -i$(BCB)\include;$(BCB)\include\vcl
  45. AFLAGS = /i$(BCB)\include /i$(BCB)\include\vcl /mx /w2 /zd /d_RTLDLL /dUSEPACKAGES
  46. LFLAGS = -L$(BCB)\lib\obj;$(BCB)\lib;$(RELEASELIBPATH) -aa -Tpe -x -v
  47. IFLAGS =
  48. # ---------------------------------------------------------------------------
  49. ALLOBJ = $(PACKAGES) $(PACKAGES) c0w32.obj $(OBJFILES)
  50. ALLRES = $(RESFILES)
  51. ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cp32mti.lib
  52. # ---------------------------------------------------------------------------
  53. !ifdef IDEOPTIONS
  54.  
  55. [Version Info]
  56. IncludeVerInfo=0
  57. AutoIncBuild=0
  58. MajorVer=1
  59. MinorVer=0
  60. Release=0
  61. Build=0
  62. Debug=0
  63. PreRelease=0
  64. Special=0
  65. Private=0
  66. DLL=0
  67. Locale=1033
  68. CodePage=1252
  69.  
  70. [Version Info Keys]
  71. CompanyName=
  72. FileDescription=
  73. FileVersion=1.0.0.0
  74. InternalName=
  75. LegalCopyright=
  76. LegalTrademarks=
  77. OriginalFilename=
  78. ProductName=
  79. ProductVersion=1.0.0.0
  80. Comments=
  81.  
  82. [Debugging]
  83. DebugSourceDirs=$(BCB)\source\vcl
  84.  
  85. [Parameters]
  86. RunParams=
  87. HostApplication=
  88. RemoteHost=
  89. RemotePath=
  90. RemoteDebug=0
  91.  
  92. [Compiler]
  93. InMemoryExe=0
  94. ShowInfoMsgs=0
  95.  
  96. [CORBA]
  97. AddServerUnit=1
  98. AddClientUnit=1
  99. PrecompiledHeaders=1
  100.  
  101. !endif
  102.  
  103. # ---------------------------------------------------------------------------
  104. # MAKE SECTION
  105. # ---------------------------------------------------------------------------
  106. # This section of the project file is not used by the BCB IDE.  It is for
  107. # the benefit of building from the command-line using the MAKE utility.
  108. # ---------------------------------------------------------------------------
  109.  
  110. .autodepend
  111. # ---------------------------------------------------------------------------
  112. !if !$d(BCC32)
  113. BCC32 = bcc32
  114. !endif
  115.  
  116. !if !$d(DCC32)
  117. DCC32 = dcc32
  118. !endif
  119.  
  120. !if !$d(TASM32)
  121. TASM32 = tasm32
  122. !endif
  123.  
  124. !if !$d(LINKER)
  125. LINKER = ilink32
  126. !endif
  127.  
  128. !if !$d(BRCC32)
  129. BRCC32 = brcc32
  130. !endif
  131.  
  132. !if !$d(IDL2CPP)
  133. IDL2CPP = idl2cpp
  134. !endif
  135. # ---------------------------------------------------------------------------
  136. !if $d(PATHCPP)
  137. .PATH.CPP = $(PATHCPP)
  138. .PATH.C   = $(PATHCPP)
  139. !endif
  140.  
  141. !if $d(PATHPAS)
  142. .PATH.PAS = $(PATHPAS)
  143. !endif
  144.  
  145. !if $d(PATHASM)
  146. .PATH.ASM = $(PATHASM)
  147. !endif
  148.  
  149. !if $d(PATHRC)
  150. .PATH.RC  = $(PATHRC)
  151. !endif
  152. # ---------------------------------------------------------------------------
  153. $(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
  154.     $(BCB)\BIN\$(LINKER) @&&!
  155.     $(LFLAGS) $(IFLAGS) +
  156.     $(ALLOBJ), +
  157.     $(PROJECT),, +
  158.     $(ALLLIB), +
  159.     $(DEFFILE), +
  160.     $(ALLRES)
  161. !
  162. # ---------------------------------------------------------------------------
  163. .pas.hpp:
  164.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  165.  
  166. .pas.obj:
  167.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  168.  
  169. .cpp.obj:
  170.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  171.  
  172. .c.obj:
  173.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  174.  
  175. .asm.obj:
  176.     $(BCB)\BIN\$(TASM32) $(AFLAGS) $<, $@
  177.  
  178. .rc.res:
  179.     $(BCB)\BIN\$(BRCC32) $(RFLAGS) -fo$@ $<
  180. # ---------------------------------------------------------------------------
  181.