home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 February / Chip_2001-02_cd1.bin / sharewar / vecad / examples / bcb / editor / Editor.bpr < prev    next >
Encoding:
Text File  |  2000-09-01  |  5.0 KB  |  182 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 = Editor.exe
  17. OBJFILES = Editor.obj Main.obj Funcs.obj ..\..\..\API\VecApi.obj DwgProc.obj Strings.obj
  18. RESFILES = Editor.res
  19. DEFFILE =
  20. RESDEPEN = $(RESFILES) Main.dfm
  21. LIBFILES =
  22. LIBRARIES =
  23. SPARELIBS = VCL35.lib
  24. PACKAGES = VCLX35.bpi VCL35.bpi VCLDB35.bpi VCLDBX35.bpi bcbsmp35.bpi dclocx35.bpi \
  25.   QRPT35.bpi TEEUI35.bpi VCLSMP35.bpi TEEDB35.bpi TEE35.bpi ibsmp35.bpi DSS35.bpi \
  26.   NMFAST35.bpi INETDB35.bpi INET35.bpi VCLMID35.bpi
  27. # ---------------------------------------------------------------------------
  28. PATHCPP = .;..\..\..\API
  29. PATHASM = .;
  30. PATHPAS = .;
  31. PATHRC = .;
  32. DEBUGLIBPATH = $(BCB)\lib\debug
  33. RELEASELIBPATH = $(BCB)\lib\release
  34. # ---------------------------------------------------------------------------
  35. CFLAG1 = -Od -Hc -w -Ve -r- -k -y -v -vi- -c -b- -w-par -w-inl -Vx -tW
  36. CFLAG2 = -D_RTLDLL;USEPACKAGES \
  37.   -I..\..\..\api;$(BCB)\include;$(BCB)\include\vcl;e:\!oks2\send\api \
  38.   -H=$(BCB)\lib\vcl35.csm
  39. CFLAG3 = -Tkh30000
  40. PFLAGS = -D_RTLDLL;USEPACKAGES \
  41.   -U..\..\..\api;$(BCB)\lib\obj;$(BCB)\lib;$(RELEASELIBPATH) -I..\..\..\api;$(BCB)\include;$(BCB)\include\vcl;e:\!oks2\send\api \
  42.   -$Y -$W -$O- -v -JPHN -M
  43. RFLAGS = -D_RTLDLL;USEPACKAGES \
  44.   -i..\..\..\api;$(BCB)\include;$(BCB)\include\vcl;e:\!oks2\send\api
  45. AFLAGS = /i..\..\..\api /i$(BCB)\include /i$(BCB)\include\vcl /ie:\!oks2\send\api \
  46.   /d_RTLDLL /dUSEPACKAGES /mx /w2 /zd
  47. LFLAGS = -L..\..\..\api;$(BCB)\lib\obj;$(BCB)\lib;$(RELEASELIBPATH) -aa -Tpe -x -Gn -v
  48. IFLAGS =
  49. # ---------------------------------------------------------------------------
  50. ALLOBJ = c0w32.obj $(PACKAGES) sysinit.obj $(OBJFILES)
  51. ALLRES = $(RESFILES)
  52. ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cp32mti.lib
  53. # ---------------------------------------------------------------------------
  54. !ifdef IDEOPTIONS
  55.  
  56. [Version Info]
  57. IncludeVerInfo=0
  58. AutoIncBuild=0
  59. MajorVer=1
  60. MinorVer=0
  61. Release=0
  62. Build=0
  63. Debug=0
  64. PreRelease=0
  65. Special=0
  66. Private=0
  67. DLL=0
  68. Locale=1049
  69. CodePage=1251
  70.  
  71. [Version Info Keys]
  72. CompanyName=
  73. FileDescription=
  74. FileVersion=1.0.0.0
  75. InternalName=
  76. LegalCopyright=
  77. LegalTrademarks=
  78. OriginalFilename=
  79. ProductName=
  80. ProductVersion=1.0.0.0
  81. Comments=
  82.  
  83. [HistoryLists\hlIncludePath]
  84. Count=1
  85. Item0=..\..\..\api;$(BCB)\include;$(BCB)\include\vcl;e:\!oks2\send\api
  86.  
  87. [HistoryLists\hlLibraryPath]
  88. Count=1
  89. Item0=..\..\..\api;$(BCB)\lib\obj;$(BCB)\lib
  90.  
  91. [HistoryLists\hlDebugSourcePath]
  92. Count=1
  93. Item0=$(BCB)\source\vcl
  94.  
  95. [HistoryLists\hlConditionals]
  96. Count=1
  97. Item0=_RTLDLL;USEPACKAGES
  98.  
  99. [Debugging]
  100. DebugSourceDirs=$(BCB)\source\vcl
  101.  
  102. [Parameters]
  103. RunParams=
  104. HostApplication=
  105.  
  106. !endif
  107.  
  108. # ---------------------------------------------------------------------------
  109. # MAKE SECTION
  110. # ---------------------------------------------------------------------------
  111. # This section of the project file is not used by the BCB IDE.  It is for
  112. # the benefit of building from the command-line using the MAKE utility.
  113. # ---------------------------------------------------------------------------
  114.  
  115. .autodepend
  116. # ---------------------------------------------------------------------------
  117. !if !$d(BCC32)
  118. BCC32 = bcc32
  119. !endif
  120.  
  121. !if !$d(DCC32)
  122. DCC32 = dcc32
  123. !endif
  124.  
  125. !if !$d(TASM32)
  126. TASM32 = tasm32
  127. !endif
  128.  
  129. !if !$d(LINKER)
  130. LINKER = ilink32
  131. !endif
  132.  
  133. !if !$d(BRCC32)
  134. BRCC32 = brcc32
  135. !endif
  136. # ---------------------------------------------------------------------------
  137. !if $d(PATHCPP)
  138. .PATH.CPP = $(PATHCPP)
  139. .PATH.C   = $(PATHCPP)
  140. !endif
  141.  
  142. !if $d(PATHPAS)
  143. .PATH.PAS = $(PATHPAS)
  144. !endif
  145.  
  146. !if $d(PATHASM)
  147. .PATH.ASM = $(PATHASM)
  148. !endif
  149.  
  150. !if $d(PATHRC)
  151. .PATH.RC  = $(PATHRC)
  152. !endif
  153. # ---------------------------------------------------------------------------
  154. $(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE)
  155.     $(BCB)\BIN\$(LINKER) @&&!
  156.     $(LFLAGS) +
  157.     $(ALLOBJ), +
  158.     $(PROJECT),, +
  159.     $(ALLLIB), +
  160.     $(DEFFILE), +
  161.     $(ALLRES)
  162. !
  163. # ---------------------------------------------------------------------------
  164. .pas.hpp:
  165.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  166.  
  167. .pas.obj:
  168.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  169.  
  170. .cpp.obj:
  171.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  172.  
  173. .c.obj:
  174.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  175.  
  176. .asm.obj:
  177.     $(BCB)\BIN\$(TASM32) $(AFLAGS) $<, $@
  178.  
  179. .rc.res:
  180.     $(BCB)\BIN\$(BRCC32) $(RFLAGS) -fo$@ $<
  181. # ---------------------------------------------------------------------------
  182.