home *** CD-ROM | disk | FTP | other *** search
/ Delphi Anthology / aDELPHI.iso / Runimage / Delphi50 / Bin / conexprt.dll / RCDATA / SNIPETS < prev    next >
Text File  |  1999-08-11  |  6KB  |  202 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 = %ProjectNameExt%
  17. OBJFILES = %OBJName%.obj
  18. RESFILES =
  19. RESDEPEN = $(RESFILES)
  20. LIBFILES =
  21. IDLFILES =
  22. IDLGENFILES =
  23. LIBRARIES = %VCLLibName%
  24. SPARELIBS = %VCLLibName%
  25. DEFFILE =
  26. # ---------------------------------------------------------------------------
  27. PATHCPP = .;
  28. PATHASM = .;
  29. PATHPAS = .;
  30. PATHRC = .;
  31. DEBUGLIBPATH = $(BCB)\lib\debug
  32. RELEASELIBPATH = $(BCB)\lib\release
  33. SYSDEFINES = %Defines%
  34. USERDEFINES =
  35. # ---------------------------------------------------------------------------
  36. CFLAG1 = -Od -w -r- -k -y -v -vi- -c -tWM %CFlag1Extra%  \
  37.   -I$(BCB)\include%IncExtra% -Tkh30000 -D$(SYSDEFINES);$(USERDEFINES)
  38. IDLCFLAGS = -src_suffixcpp
  39. PFLAGS = -U%LibExtra%$(BCB)\lib -I$(BCB)\include%IncExtra% -v -$Y -$W \
  40.    -$O- -JPHN -M
  41. RFLAGS = -i$(BCB)\include%IncExtra%
  42. LFLAGS = -L%LibExtra%$(BCB)\lib %LinkFlags% -x -v -Gn
  43. # ---------------------------------------------------------------------------
  44. ALLOBJ = %StartupCode% $(OBJFILES)
  45. ALLRES = $(RESFILES)
  46. ALLLIB = $(LIBFILES) %LibExpansion% import32.lib %CRTLLib%
  47. # ---------------------------------------------------------------------------
  48. !ifdef IDEOPTIONS
  49.  
  50. [Version Info]
  51. IncludeVerInfo=0
  52. AutoIncBuild=0
  53. MajorVer=1
  54. MinorVer=0
  55. Release=0
  56. Build=0
  57. Debug=0
  58. PreRelease=0
  59. Special=0
  60. Private=0
  61. DLL=%IsDLL%
  62.  
  63. [Version Info Keys]
  64. CompanyName=
  65. FileDescription=%VersionDescription%
  66. FileVersion=1.0.0.0
  67. InternalName=
  68. LegalCopyright=
  69. LegalTrademarks=
  70. OriginalFilename=
  71. ProductName=
  72. ProductVersion=1.0.0.0
  73. Comments=
  74.  
  75. [Debugging]
  76. DebugSourceDirs=%DebugSource%
  77.  
  78. !endif
  79.  
  80. # ---------------------------------------------------------------------------
  81. # MAKE SECTION
  82. # ---------------------------------------------------------------------------
  83. # This section of the project file is not used by the BCB IDE.  It is for
  84. # the benefit of building from the command-line using the MAKE utility.
  85. # ---------------------------------------------------------------------------
  86.  
  87. .autodepend
  88. # ---------------------------------------------------------------------------
  89. !if !$d(BCC32)
  90. BCC32 = bcc32
  91. !endif
  92.  
  93. !if !$d(DCC32)
  94. DCC32 = dcc32
  95. !endif
  96.  
  97. !if !$d(TASM32)
  98. TASM32 = tasm32
  99. !endif
  100.  
  101. !if !$d(LINKER)
  102. LINKER = ilink32
  103. !endif
  104.  
  105. !if !$d(BRCC32)
  106. BRCC32 = brcc32
  107. !endif
  108.  
  109. !if !$d(IDL2CPP)
  110. IDL2CPP = idl2cpp
  111. !endif
  112.  
  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): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
  132.     $(BCB)\BIN\$(LINKER) @&&!
  133.     $(LFLAGS) +
  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) -n$(@D) {$< }
  149.  
  150. .c.obj:
  151.     $(BCB)\BIN\$(BCC32) $(CFLAG1) -n$(@D) {$< }
  152.  
  153. .asm.obj:
  154.     $(BCB)\BIN\$(TASM32) $(AFLAGS) $<, $@
  155.  
  156. .rc.res:
  157.     $(BCB)\BIN\$(BRCC32) $(RFLAGS) -fo$@ $<
  158. # ---------------------------------------------------------------------------
  159. |
  160. %IncludeFilesList%
  161.  
  162. //---------------------------------------------------------------------------
  163. #pragma argsused
  164. int main(int argc, char* argv[])
  165. {
  166.         return 0;
  167. }
  168. |
  169. %IncludeFilesList%
  170.  
  171. //---------------------------------------------------------------------------
  172. #pragma argsused
  173. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  174. {
  175.         return 0;
  176. }
  177. |
  178. %IncludeFilesList%
  179.  
  180. //---------------------------------------------------------------------------
  181. //   Important note about DLL memory management in a VCL DLL:
  182. //
  183. //
  184. //
  185. // If your DLL uses VCL and exports any functions that pass VCL String objects
  186. // (or structs/classes containing nested Strings) as parameter or function
  187. // results, you will need to build both your DLL project and any EXE projects
  188. // that use your DLL with the dynamic RTL (the RTL DLL).  This will change your
  189. // DLL and its calling EXE's to use BORLNDMM.DLL as their memory manager. In
  190. // these cases, the file BORLNDMM.DLL should be deployed along with your DLL
  191. // and the RTL DLL (CP3240MT.DLL). To avoid the requiring BORLNDMM.DLL in
  192. // these situations, pass string information using "char *" or ShortString
  193. // parameters and then link with the static RTL.
  194. //
  195. //---------------------------------------------------------------------------
  196. #pragma argsused
  197. int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void*)
  198. {
  199.         return 1;
  200. }
  201. |//$$---- end of code ----
  202.