00001 # --------------------------------------------------------------------------- 00002 !if !$d(BCB) 00003 BCB = $(MAKEDIR)\.. 00004 !endif 00005 00006 # --------------------------------------------------------------------------- 00007 # IDE SECTION 00008 # --------------------------------------------------------------------------- 00009 # The following section of the project makefile is managed by the BCB IDE. 00010 # It is recommended to use the IDE to change any of the values in this 00011 # section. 00012 # --------------------------------------------------------------------------- 00013 00014 VERSION = BCB.04.04 00015 # --------------------------------------------------------------------------- 00016 PROJECT = ANSI_Test.exe 00017 OBJFILES = ANSI_Test.obj 00018 RESFILES = 00019 RESDEPEN = $(RESFILES) 00020 LIBFILES = 00021 IDLFILES = 00022 IDLGENFILES = 00023 LIBRARIES = 00024 SPARELIBS = 00025 PACKAGES = 00026 DEFFILE = 00027 # --------------------------------------------------------------------------- 00028 PATHCPP = .; 00029 PATHASM = .; 00030 PATHPAS = .; 00031 PATHRC = .; 00032 DEBUGLIBPATH = $(BCB)\lib\debug 00033 RELEASELIBPATH = $(BCB)\lib\release 00034 SYSDEFINES = _NO_VCL 00035 USERDEFINES = 00036 # --------------------------------------------------------------------------- 00037 CFLAG1 = -I..\..;$(BCB)\include -Od -wuse -wucp -wstv -wstu -wpin -wnod \ 00038 -wnak -wdef -wcln -wbbf -wasm -wamp -wamb -Vmd -x- -RT- -Vmp -Tkh30000 -r- -a8 \ 00039 -5 -k -y -v -vi- -c -tWM -tWC -D$(SYSDEFINES);$(USERDEFINES) 00040 IDLCFLAGS = -src_suffixcpp 00041 PFLAGS = -U..\..;$(BCB)\lib;$(DEBUGLIBPATH) \ 00042 -I..\..;$(BCB)\include -$YD -$W -$O- -v -JPHN -M 00043 RFLAGS = -i..\..;$(BCB)\include 00044 AFLAGS = /i..\.. /i$(BCB)\include /mx /w2 /zi 00045 LFLAGS = -L..\..;$(BCB)\lib;$(DEBUGLIBPATH) -ap -Tpe -x -Gn -v 00046 # --------------------------------------------------------------------------- 00047 ALLOBJ = c0x32.obj $(OBJFILES) 00048 ALLRES = $(RESFILES) 00049 ALLLIB = $(LIBFILES) import32.lib cw32mt.lib 00050 # --------------------------------------------------------------------------- 00051 !ifdef IDEOPTIONS 00052 00053 [Version Info] 00054 IncludeVerInfo=0 00055 AutoIncBuild=0 00056 MajorVer=1 00057 MinorVer=0 00058 Release=0 00059 Build=0 00060 Debug=0 00061 PreRelease=0 00062 Special=0 00063 Private=0 00064 DLL=0 00065 Locale=1033 00066 CodePage=1252 00067 00068 [Version Info Keys] 00069 CompanyName= 00070 FileDescription=Executable (Console) 00071 FileVersion=1.0.0.0 00072 InternalName= 00073 LegalCopyright= 00074 LegalTrademarks= 00075 OriginalFilename= 00076 ProductName= 00077 ProductVersion=1.0.0.0 00078 Comments= 00079 00080 [Excluded Packages] 00081 $(BCB)\Bin\dclstd40.bpl=Borland Standard Components 00082 $(BCB)\Bin\dcl31w40.bpl=Delphi 1.0 Compatibility Components 00083 $(BCB)\Bin\bcbsmp40.bpl=Borland C++ Sample Components 00084 $(BCB)\Bin\dclqrt40.bpl=QuickReport Components 00085 $(BCB)\Bin\dclint40.bpl=Borland Resource DLL Wizard 00086 C:\WIN98\SYSTEM\\ibsmp40.bpl=Borland C++ InterBase Alerter Component 00087 $(BCB)\Bin\rcexpert.bpl=Borland Resource Expert 00088 $(BCB)\Bin\dcldb40.bpl=Borland Database Components 00089 $(BCB)\Bin\dcltee40.bpl=Borland TeeChart Components 00090 $(BCB)\Bin\mfcowlwizard.bpl=MFC/OWL Wizard 00091 C:\WIN98\SYSTEM\\nmfast40.bpl=NetMasters Fastnet Tools 00092 $(BCB)\Bin\dclocx40.bpl=Borland Sample Imported ActiveX Controls 00093 00094 [Debugging] 00095 DebugSourceDirs= 00096 00097 [Parameters] 00098 RunParams= 00099 HostApplication= 00100 RemoteHost= 00101 RemotePath= 00102 RemoteDebug=0 00103 00104 [Compiler] 00105 InMemoryExe=0 00106 ShowInfoMsgs=0 00107 00108 !endif 00109 00110 # --------------------------------------------------------------------------- 00111 # MAKE SECTION 00112 # --------------------------------------------------------------------------- 00113 # This section of the project file is not used by the BCB IDE. It is for 00114 # the benefit of building from the command-line using the MAKE utility. 00115 # --------------------------------------------------------------------------- 00116 00117 .autodepend 00118 # --------------------------------------------------------------------------- 00119 !if !$d(BCC32) 00120 BCC32 = bcc32 00121 !endif 00122 00123 !if !$d(DCC32) 00124 DCC32 = dcc32 00125 !endif 00126 00127 !if !$d(TASM32) 00128 TASM32 = tasm32 00129 !endif 00130 00131 !if !$d(LINKER) 00132 LINKER = ilink32 00133 !endif 00134 00135 !if !$d(BRCC32) 00136 BRCC32 = brcc32 00137 !endif 00138 00139 !if !$d(IDL2CPP) 00140 IDL2CPP = idl2cpp 00141 !endif 00142 00143 # --------------------------------------------------------------------------- 00144 !if $d(PATHCPP) 00145 .PATH.CPP = $(PATHCPP) 00146 .PATH.C = $(PATHCPP) 00147 !endif 00148 00149 !if $d(PATHPAS) 00150 .PATH.PAS = $(PATHPAS) 00151 !endif 00152 00153 !if $d(PATHASM) 00154 .PATH.ASM = $(PATHASM) 00155 !endif 00156 00157 !if $d(PATHRC) 00158 .PATH.RC = $(PATHRC) 00159 !endif 00160 # --------------------------------------------------------------------------- 00161 $(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE) 00162 $(BCB)\BIN\$(LINKER) @&&! 00163 $(LFLAGS) + 00164 $(ALLOBJ), + 00165 $(PROJECT),, + 00166 $(ALLLIB), + 00167 $(DEFFILE), + 00168 $(ALLRES) 00169 ! 00170 # --------------------------------------------------------------------------- 00171 .pas.hpp: 00172 $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< } 00173 00174 .pas.obj: 00175 $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< } 00176 00177 .cpp.obj: 00178 $(BCB)\BIN\$(BCC32) $(CFLAG1) -n$(@D) {$< } 00179 00180 .c.obj: 00181 $(BCB)\BIN\$(BCC32) $(CFLAG1) -n$(@D) {$< } 00182 00183 .asm.obj: 00184 $(BCB)\BIN\$(TASM32) $(AFLAGS) $<, $@ 00185 00186 .rc.res: 00187 $(BCB)\BIN\$(BRCC32) $(RFLAGS) -fo$@ $< 00188 # ---------------------------------------------------------------------------