Mytools.bpk
上传用户:hbtcygglw
上传日期:2007-01-07
资源大小:281k
文件大小:5k
源码类别:

其他

开发平台:

Delphi

  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.04.04
  13. # ---------------------------------------------------------------------------
  14. PROJECT = Mytools.bpl
  15. OBJFILES = Mytools.obj
  16. RESFILES = Mytools.res
  17. RESDEPEN = $(RESFILES)
  18. LIBFILES =
  19. IDLFILES =
  20. IDLGENFILES =
  21. LIBRARIES =
  22. SPARELIBS =
  23. PACKAGES = vcl40.bpi
  24. DEFFILE =
  25. # ---------------------------------------------------------------------------
  26. PATHCPP = .;
  27. PATHASM = .;
  28. PATHPAS = .;
  29. PATHRC = .;
  30. DEBUGLIBPATH = $(BCB)libdebug
  31. RELEASELIBPATH = $(BCB)librelease
  32. USERDEFINES =
  33. SYSDEFINES = _RTLDLL;NO_STRICT;USEPACKAGES
  34. # ---------------------------------------------------------------------------
  35. CFLAG1 = -I$(BCB)include;$(BCB)includevcl -Od -Hc -H=$(BCB)libvcl40.csm -w -Ve -r- 
  36.   -a8 -k -y -v -vi- -c -b- -w-par -w-inl -Vx -tWM -D$(SYSDEFINES);$(USERDEFINES)
  37. IDLCFLAGS = -I$(BCB)include -I$(BCB)includevcl -src_suffixcpp
  38. PFLAGS = -U$(BCB)libobj;$(BCB)lib;$(RELEASELIBPATH) 
  39.   -I$(BCB)include;$(BCB)includevcl -$YD -$W -$O- -v -JPHNE -M
  40. RFLAGS = -i$(BCB)include;$(BCB)includevcl
  41. AFLAGS = /i$(BCB)include /i$(BCB)includevcl /mx /w2 /zd
  42. LFLAGS = -L$(BCB)libobj;$(BCB)lib;$(RELEASELIBPATH) -aa -Tpp -x -Gn -Gl -Gi -v
  43. # ---------------------------------------------------------------------------
  44. ALLOBJ = c0pkg32.obj Memmgr.Lib $(PACKAGES) sysinit.obj $(OBJFILES)
  45. ALLRES = $(RESFILES)
  46. ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cp32mti.lib
  47. # ---------------------------------------------------------------------------
  48. !ifdef IDEOPTIONS
  49. [Version Info]
  50. IncludeVerInfo=1
  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=2052
  62. CodePage=936
  63. [Version Info Keys]
  64. CompanyName=
  65. FileDescription=
  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. [Debugging]
  75. DebugSourceDirs=$(BCB)sourcevcl
  76. [Parameters]
  77. RunParams=
  78. HostApplication=
  79. RemoteHost=
  80. RemotePath=
  81. RemoteDebug=0
  82. [Compiler]
  83. InMemoryExe=0
  84. ShowInfoMsgs=0
  85. [CORBA]
  86. AddServerUnit=1
  87. AddClientUnit=1
  88. PrecompiledHeaders=1
  89. !endif
  90. # ---------------------------------------------------------------------------
  91. # MAKE SECTION
  92. # ---------------------------------------------------------------------------
  93. # This section of the project file is not used by the BCB IDE.  It is for
  94. # the benefit of building from the command-line using the MAKE utility.
  95. # ---------------------------------------------------------------------------
  96. .autodepend
  97. # ---------------------------------------------------------------------------
  98. !if !$d(BCC32)
  99. BCC32 = bcc32
  100. !endif
  101. !if !$d(CPP32)
  102. CPP32 = cpp32
  103. !endif
  104. !if !$d(DCC32)
  105. DCC32 = dcc32
  106. !endif
  107. !if !$d(TASM32)
  108. TASM32 = tasm32
  109. !endif
  110. !if !$d(LINKER)
  111. LINKER = ilink32
  112. !endif
  113. !if !$d(BRCC32)
  114. BRCC32 = brcc32
  115. !endif
  116. !if !$d(IDL2CPP)
  117. IDL2CPP = idl2cpp
  118. !endif
  119. # ---------------------------------------------------------------------------
  120. !if $d(PATHCPP)
  121. .PATH.CPP = $(PATHCPP)
  122. .PATH.C   = $(PATHCPP)
  123. !endif
  124. !if $d(PATHPAS)
  125. .PATH.PAS = $(PATHPAS)
  126. !endif
  127. !if $d(PATHASM)
  128. .PATH.ASM = $(PATHASM)
  129. !endif
  130. !if $d(PATHRC)
  131. .PATH.RC  = $(PATHRC)
  132. !endif
  133. # ---------------------------------------------------------------------------
  134. $(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
  135.     $(BCB)BIN$(LINKER) @&&!
  136.     $(LFLAGS) +
  137.     $(ALLOBJ), +
  138.     $(PROJECT),, +
  139.     $(ALLLIB), +
  140.     $(DEFFILE), +
  141.     $(ALLRES)
  142. !
  143. # ---------------------------------------------------------------------------
  144. .pas.hpp:
  145.     $(BCB)BIN$(DCC32) $(PFLAGS) {$< }
  146. .pas.obj:
  147.     $(BCB)BIN$(DCC32) $(PFLAGS) {$< }
  148. .cpp.obj:
  149.     $(BCB)BIN$(BCC32) $(CFLAG1) -n$(@D) {$< }
  150. .c.obj:
  151.     $(BCB)BIN$(BCC32) $(CFLAG1) -n$(@D) {$< }
  152. .c.i:
  153.     $(BCB)BIN$(CPP32) $(CFLAG1) -n. {$< }
  154. .cpp.i:
  155.     $(BCB)BIN$(CPP32) $(CFLAG1) -n. {$< }
  156. .asm.obj:
  157.     $(BCB)BIN$(TASM32) $(AFLAGS) $<, $@
  158. .rc.res:
  159.     $(BCB)BIN$(BRCC32) $(RFLAGS) -fo$@ $<
  160. # ---------------------------------------------------------------------------