Project2.bpr
上传用户:lhxd_sz
上传日期:2014-10-02
资源大小:38814k
文件大小:5k
源码类别:

VC书籍

开发平台:

C++ Builder

  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 = Project2.exe
  15. OBJFILES = Project2.obj Unit2.obj
  16. RESFILES = Project2.res
  17. RESDEPEN = $(RESFILES) Unit2.dfm
  18. LIBFILES = MyDll.lib
  19. LIBRARIES = VCL40.lib
  20. SPARELIBS = VCL40.lib
  21. PACKAGES = VCL40.bpi VCLX40.bpi VCLJPG40.bpi bcbsmp40.bpi QRPT40.bpi VCLDB40.bpi 
  22.   ibsmp40.bpi VCLDBX40.bpi TEEUI40.bpi TEEDB40.bpi TEE40.bpi nmfast40.bpi 
  23.   dclocx40.bpi mypack.bpi mypack1.bpi PackCode.bpi mypack2.bpi myhelp.bpi 
  24.   HttpPack.bpi
  25. DEFFILE =
  26. # ---------------------------------------------------------------------------
  27. PATHCPP = .;
  28. PATHPAS = .;
  29. PATHASM = .;
  30. PATHRC = .;
  31. DEBUGLIBPATH = $(BCB)libdebug
  32. RELEASELIBPATH = $(BCB)librelease
  33. USERDEFINES =
  34. SYSDEFINES = NO_STRICT
  35. # ---------------------------------------------------------------------------
  36. CFLAG1 = -I$(BCB)include;$(BCB)includevcl -Od -Hc -H=$(BCB)libvcl40.csm -w -Ve -r- 
  37.   -a8 -k -y -v -vi- -c -b- -w-par -w-inl -Vx -tW -tWM 
  38.   -D$(SYSDEFINES);$(USERDEFINES)
  39. PFLAGS = -U$(BCB)ProjectsLib;$(BCB)libobj;$(BCB)lib;$(RELEASELIBPATH) 
  40.   -I$(BCB)include;$(BCB)includevcl -$YD -$W -$O- -v -JPHNE -M
  41. RFLAGS = -i$(BCB)include;$(BCB)includevcl
  42. AFLAGS = /i$(BCB)include /i$(BCB)includevcl /mx /w2 /zd
  43. LFLAGS = -L$(BCB)ProjectsLib;$(BCB)libobj;$(BCB)lib;$(RELEASELIBPATH) -aa -Tpe -x -Gn
  44. # ---------------------------------------------------------------------------
  45. ALLOBJ = c0w32.obj sysinit.obj $(OBJFILES)
  46. ALLRES = $(RESFILES)
  47. ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cp32mt.lib
  48. # ---------------------------------------------------------------------------
  49. !ifdef IDEOPTIONS
  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=0
  62. Locale=2052
  63. CodePage=936
  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. [Debugging]
  76. DebugSourceDirs=$(BCB)sourcevcl
  77. [Parameters]
  78. RunParams=
  79. HostApplication=
  80. RemoteHost=
  81. RemotePath=
  82. RemoteDebug=0
  83. [Compiler]
  84. InMemoryExe=0
  85. ShowInfoMsgs=0
  86. !endif
  87. # ---------------------------------------------------------------------------
  88. # MAKE SECTION
  89. # ---------------------------------------------------------------------------
  90. # This section of the project file is not used by the BCB IDE.  It is for
  91. # the benefit of building from the command-line using the MAKE utility.
  92. # ---------------------------------------------------------------------------
  93. .autodepend
  94. # ---------------------------------------------------------------------------
  95. !if !$d(BCC32)
  96. BCC32 = bcc32
  97. !endif
  98. !if !$d(CPP32)
  99. CPP32 = cpp32
  100. !endif
  101. !if !$d(DCC32)
  102. DCC32 = dcc32
  103. !endif
  104. !if !$d(TASM32)
  105. TASM32 = tasm32
  106. !endif
  107. !if !$d(LINKER)
  108. LINKER = ilink32
  109. !endif
  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. !if $d(PATHPAS)
  119. .PATH.PAS = $(PATHPAS)
  120. !endif
  121. !if $d(PATHASM)
  122. .PATH.ASM = $(PATHASM)
  123. !endif
  124. !if $d(PATHRC)
  125. .PATH.RC  = $(PATHRC)
  126. !endif
  127. # ---------------------------------------------------------------------------
  128. $(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE)
  129.     $(BCB)BIN$(LINKER) @&&!
  130.     $(LFLAGS) +
  131.     $(ALLOBJ), +
  132.     $(PROJECT),, +
  133.     $(ALLLIB), +
  134.     $(DEFFILE), +
  135.     $(ALLRES)
  136. !
  137. # ---------------------------------------------------------------------------
  138. .pas.hpp:
  139.     $(BCB)BIN$(DCC32) $(PFLAGS) {$< }
  140. .pas.obj:
  141.     $(BCB)BIN$(DCC32) $(PFLAGS) {$< }
  142. .cpp.obj:
  143.     $(BCB)BIN$(BCC32) $(CFLAG1) -n$(@D) {$< }
  144. .c.obj:
  145.     $(BCB)BIN$(BCC32) $(CFLAG1) -n$(@D) {$< }
  146. .c.i:
  147.     $(BCB)BIN$(CPP32) $(CFLAG1) -n. {$< }
  148. .cpp.i:
  149.     $(BCB)BIN$(CPP32) $(CFLAG1) -n. {$< }
  150. .asm.obj:
  151.     $(BCB)BIN$(TASM32) $(AFLAGS) $<, $@
  152. .rc.res:
  153.     $(BCB)BIN$(BRCC32) $(RFLAGS) -fo$@ $<
  154. # ---------------------------------------------------------------------------