home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 May / Chip_2002-05_cd1.bin / chplus / cpp / 3 / Tools.exe / wintools.bpr < prev    next >
Text File  |  1998-02-09  |  4KB  |  159 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 = Wintools.exe
  17. OBJFILES = Wintools.obj TDump1.obj about.obj
  18. RESFILES = Wintools.res
  19. RESDEPEN = $(RESFILES) TDump1.dfm about.dfm
  20. LIBFILES =
  21. LIBRARIES =
  22. SPARELIBS = VCL35.lib
  23. DEFFILE =
  24. PACKAGES = vclx35.bpi VCL35.bpi vcldb35.bpi vcldbx35.bpi
  25. # ---------------------------------------------------------------------------
  26. PATHCPP = .;
  27. PATHASM = .;
  28. PATHPAS = .;
  29. PATHRC = .;
  30. DEBUGLIBPATH = $(BCB)\lib\debug
  31. RELEASELIBPATH = $(BCB)\lib\release
  32. # ---------------------------------------------------------------------------
  33. CFLAG1 = -Od -Hc -w -Ve -r- -k -y -v -vi- -c -b- -w-par -w-inl -Vx -tW
  34. CFLAG2 = -I$(BCB)\include;$(BCB)\include\vcl -D_RTLDLL;USEPACKAGES -H=$(BCB)\lib\vcl35.csm
  35. CFLAG3 =
  36. PFLAGS = -U$(BCB)\lib\obj;$(BCB)\lib;$(RELEASELIBPATH) \
  37.   -I$(BCB)\include;$(BCB)\include\vcl -D_RTLDLL;USEPACKAGES -v -JPHN -M
  38. RFLAGS = -i$(BCB)\include;$(BCB)\include\vcl -D_RTLDLL;USEPACKAGES
  39. AFLAGS = /i$(BCB)\include /i$(BCB)\include\vcl /d_RTLDLL /dUSEPACKAGES /mx /w2 /zd
  40. LFLAGS = -L$(BCB)\lib\obj;$(BCB)\lib;$(RELEASELIBPATH) -aa -Tpe -x -v
  41. IFLAGS = -Gn
  42. # ---------------------------------------------------------------------------
  43. ALLOBJ = $(PACKAGES) c0w32.obj $(OBJFILES)
  44. ALLRES = $(RESFILES)
  45. ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cp32mti.lib
  46. # ---------------------------------------------------------------------------
  47. !ifdef IDEOPTIONS
  48.  
  49. [Version Info]
  50. IncludeVerInfo=0
  51. AutoIncBuild=0
  52. MajorVer=1
  53. MinorVer=0
  54. Release=0
  55. Build=0
  56. Debug=0
  57. PreRelease=0
  58. Special=0
  59. Private=0
  60. DLL=0
  61. Locale=1033
  62. CodePage=1252
  63.  
  64. [Version Info Keys]
  65. CompanyName=
  66. FileDescription=
  67. FileVersion=1.0.0.0
  68. InternalName=
  69. LegalCopyright=
  70. LegalTrademarks=
  71. OriginalFilename=
  72. ProductName=
  73. ProductVersion=1.0.0.0
  74. Comments=
  75.  
  76. [Debugging]
  77. DebugSourceDirs=$(BCB)\source\vcl
  78.  
  79. [Parameters]
  80. RunParams=
  81. HostApplication=
  82.  
  83. !endif
  84.  
  85. # ---------------------------------------------------------------------------
  86. # MAKE SECTION
  87. # ---------------------------------------------------------------------------
  88. # This section of the project file is not used by the BCB IDE.  It is for
  89. # the benefit of building from the command-line using the MAKE utility.
  90. # ---------------------------------------------------------------------------
  91.  
  92. .autodepend
  93. # ---------------------------------------------------------------------------
  94. !if !$d(BCC32)
  95. BCC32 = bcc32
  96. !endif
  97.  
  98. !if !$d(DCC32)
  99. DCC32 = dcc32
  100. !endif
  101.  
  102. !if !$d(TASM32)
  103. TASM32 = tasm32
  104. !endif
  105.  
  106. !if !$d(LINKER)
  107. LINKER = ilink32
  108. !endif
  109.  
  110. !if !$d(BRCC32)
  111. BRCC32 = brcc32
  112. !endif
  113. # ---------------------------------------------------------------------------
  114. !if $d(PATHCPP)
  115. .PATH.CPP = $(PATHCPP)
  116. .PATH.C   = $(PATHCPP)
  117. !endif
  118.  
  119. !if $d(PATHPAS)
  120. .PATH.PAS = $(PATHPAS)
  121. !endif
  122.  
  123. !if $d(PATHASM)
  124. .PATH.ASM = $(PATHASM)
  125. !endif
  126.  
  127. !if $d(PATHRC)
  128. .PATH.RC  = $(PATHRC)
  129. !endif
  130. # ---------------------------------------------------------------------------
  131. $(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE)
  132.     $(BCB)\BIN\$(LINKER) @&&!
  133.     $(LFLAGS) $(IFLAGS) +
  134.     $(ALLOBJ), +
  135.     $(PROJECT),, +
  136.     $(ALLLIB), +
  137.     $(DEFFILE), +
  138.     $(ALLRES)
  139. !
  140. # ---------------------------------------------------------------------------
  141. .pas.hpp:
  142.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  143.  
  144. .pas.obj:
  145.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  146.  
  147. .cpp.obj:
  148.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  149.  
  150. .c.obj:
  151.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  152.  
  153. .asm.obj:
  154.     $(BCB)\BIN\$(TASM32) $(AFLAGS) $<, $@
  155.  
  156. .rc.res:
  157.     $(BCB)\BIN\$(BRCC32) $(RFLAGS) -fo$@ $<
  158. # ---------------------------------------------------------------------------
  159.