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

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 Unit1.obj
  16. RESFILES = Project2.res
  17. RESDEPEN = $(RESFILES) Unit1.dfm
  18. LIBFILES =
  19. LIBRARIES = VCL40.lib
  20. SPARELIBS = VCL40.lib
  21. PACKAGES = VCL40.bpi VCLX40.bpi VCLJPG40.bpi QRPT40.bpi VCLDB40.bpi ibsmp40.bpi 
  22.   VCLDBX40.bpi TEEUI40.bpi TEEDB40.bpi TEE40.bpi nmfast40.bpi bcbsmp40.bpi 
  23.   dclocx40.bpi
  24. DEFFILE =
  25. # ---------------------------------------------------------------------------
  26. PATHCPP = .;
  27. PATHPAS = .;
  28. PATHASM = .;
  29. PATHRC = .;
  30. DEBUGLIBPATH = $(BCB)libdebug
  31. RELEASELIBPATH = $(BCB)librelease
  32. USERDEFINES =
  33. SYSDEFINES = NO_STRICT
  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 -tW -tWM 
  37.   -D$(SYSDEFINES);$(USERDEFINES)
  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 -Tpe -x -Gn
  43. # ---------------------------------------------------------------------------
  44. ALLOBJ = c0w32.obj sysinit.obj $(OBJFILES)
  45. ALLRES = $(RESFILES)
  46. ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cp32mt.lib
  47. # ---------------------------------------------------------------------------
  48. !ifdef IDEOPTIONS
  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=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. !endif
  86. # ---------------------------------------------------------------------------
  87. # MAKE SECTION
  88. # ---------------------------------------------------------------------------
  89. # This section of the project file is not used by the BCB IDE.  It is for
  90. # the benefit of building from the command-line using the MAKE utility.
  91. # ---------------------------------------------------------------------------
  92. .autodepend
  93. # ---------------------------------------------------------------------------
  94. !if !$d(BCC32)
  95. BCC32 = bcc32
  96. !endif
  97. !if !$d(CPP32)
  98. CPP32 = cpp32
  99. !endif
  100. !if !$d(DCC32)
  101. DCC32 = dcc32
  102. !endif
  103. !if !$d(TASM32)
  104. TASM32 = tasm32
  105. !endif
  106. !if !$d(LINKER)
  107. LINKER = ilink32
  108. !endif
  109. !if !$d(BRCC32)
  110. BRCC32 = brcc32
  111. !endif
  112. # ---------------------------------------------------------------------------
  113. !if $d(PATHCPP)
  114. .PATH.CPP = $(PATHCPP)
  115. .PATH.C   = $(PATHCPP)
  116. !endif
  117. !if $d(PATHPAS)
  118. .PATH.PAS = $(PATHPAS)
  119. !endif
  120. !if $d(PATHASM)
  121. .PATH.ASM = $(PATHASM)
  122. !endif
  123. !if $d(PATHRC)
  124. .PATH.RC  = $(PATHRC)
  125. !endif
  126. # ---------------------------------------------------------------------------
  127. $(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE)
  128.     $(BCB)BIN$(LINKER) @&&!
  129.     $(LFLAGS) +
  130.     $(ALLOBJ), +
  131.     $(PROJECT),, +
  132.     $(ALLLIB), +
  133.     $(DEFFILE), +
  134.     $(ALLRES)
  135. !
  136. # ---------------------------------------------------------------------------
  137. .pas.hpp:
  138.     $(BCB)BIN$(DCC32) $(PFLAGS) {$< }
  139. .pas.obj:
  140.     $(BCB)BIN$(DCC32) $(PFLAGS) {$< }
  141. .cpp.obj:
  142.     $(BCB)BIN$(BCC32) $(CFLAG1) -n$(@D) {$< }
  143. .c.obj:
  144.     $(BCB)BIN$(BCC32) $(CFLAG1) -n$(@D) {$< }
  145. .c.i:
  146.     $(BCB)BIN$(CPP32) $(CFLAG1) -n. {$< }
  147. .cpp.i:
  148.     $(BCB)BIN$(CPP32) $(CFLAG1) -n. {$< }
  149. .asm.obj:
  150.     $(BCB)BIN$(TASM32) $(AFLAGS) $<, $@
  151. .rc.res:
  152.     $(BCB)BIN$(BRCC32) $(RFLAGS) -fo$@ $<
  153. # ---------------------------------------------------------------------------