1# --------------------------------------------------------------------------- 2!if !$d(BCB) 3BCB = $(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 14VERSION = BCB.05.03 15# --------------------------------------------------------------------------- 16PROJECT = Release\elements.exe 17OBJFILES = Release\obj\examples\elements.obj 18RESFILES = 19MAINSOURCE = elements.bpf 20RESDEPEN = $(RESFILES) 21LIBFILES = Release\libexpats_mtd.lib 22IDLFILES = 23IDLGENFILES = 24LIBRARIES = 25PACKAGES = VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi \ 26 ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi \ 27 VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi \ 28 dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi 29SPARELIBS = 30DEFFILE = 31# --------------------------------------------------------------------------- 32PATHCPP = .;..\examples 33PATHASM = .; 34PATHPAS = .; 35PATHRC = .; 36DEBUGLIBPATH = $(BCB)\lib\debug 37RELEASELIBPATH = $(BCB)\lib\release 38USERDEFINES = WIN32;NDEBUG;_CONSOLE;XML_STATIC 39SYSDEFINES = _NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL 40INCLUDEPATH = ..\examples;$(BCB)\include 41LIBPATH = ..\examples;$(BCB)\lib;$(RELEASELIBPATH) 42WARNINGS= -w-par -w-8027 -w-8026 43# --------------------------------------------------------------------------- 44CFLAG1 = -O2 -X- -a8 -b -k- -vi -q -I..\lib -c 45IDLCFLAGS = -I$(BCB)\include 46PFLAGS = -N2Release\obj\examples -N0Release\obj\examples -$Y- -$L- -$D- 47RFLAGS = /l 0x409 /d "NDEBUG" /i$(BCB)\include 48AFLAGS = /mx /w2 /zn 49LFLAGS = -IRelease\obj\examples -D"" -ap -Tpe -x -Gn -q -L..\LIB\RELEASE_STATIC 50# --------------------------------------------------------------------------- 51ALLOBJ = c0x32.obj $(OBJFILES) 52ALLRES = $(RESFILES) 53ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib 54# --------------------------------------------------------------------------- 55!ifdef IDEOPTIONS 56 57[Version Info] 58IncludeVerInfo=0 59AutoIncBuild=0 60MajorVer=1 61MinorVer=0 62Release=0 63Build=0 64Debug=0 65PreRelease=0 66Special=0 67Private=0 68DLL=0 69 70[Version Info Keys] 71CompanyName= 72FileDescription= 73FileVersion=1.0.0.0 74InternalName= 75LegalCopyright= 76LegalTrademarks= 77OriginalFilename= 78ProductName= 79ProductVersion=1.0.0.0 80Comments= 81 82[Debugging] 83DebugSourceDirs=$(BCB)\source\vcl 84 85!endif 86 87 88 89 90 91# --------------------------------------------------------------------------- 92# MAKE SECTION 93# --------------------------------------------------------------------------- 94# This section of the project file is not used by the BCB IDE. It is for 95# the benefit of building from the command-line using the MAKE utility. 96# --------------------------------------------------------------------------- 97 98.autodepend 99# --------------------------------------------------------------------------- 100!if "$(USERDEFINES)" != "" 101AUSERDEFINES = -d$(USERDEFINES:;= -d) 102!else 103AUSERDEFINES = 104!endif 105 106!if !$d(BCC32) 107BCC32 = bcc32 108!endif 109 110!if !$d(CPP32) 111CPP32 = cpp32 112!endif 113 114!if !$d(DCC32) 115DCC32 = dcc32 116!endif 117 118!if !$d(TASM32) 119TASM32 = tasm32 120!endif 121 122!if !$d(LINKER) 123LINKER = ilink32 124!endif 125 126!if !$d(BRCC32) 127BRCC32 = brcc32 128!endif 129 130 131# --------------------------------------------------------------------------- 132!if $d(PATHCPP) 133.PATH.CPP = $(PATHCPP) 134.PATH.C = $(PATHCPP) 135!endif 136 137!if $d(PATHPAS) 138.PATH.PAS = $(PATHPAS) 139!endif 140 141!if $d(PATHASM) 142.PATH.ASM = $(PATHASM) 143!endif 144 145!if $d(PATHRC) 146.PATH.RC = $(PATHRC) 147!endif 148# --------------------------------------------------------------------------- 149$(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE) 150 $(BCB)\BIN\$(LINKER) @&&! 151 $(LFLAGS) -L$(LIBPATH) + 152 $(ALLOBJ), + 153 $(PROJECT),, + 154 $(ALLLIB), + 155 $(DEFFILE), + 156 $(ALLRES) 157! 158# --------------------------------------------------------------------------- 159.pas.hpp: 160 $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< } 161 162.pas.obj: 163 $(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< } 164 165.cpp.obj: 166 $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< } 167 168.c.obj: 169 $(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< } 170 171.c.i: 172 $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< } 173 174.cpp.i: 175 $(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< } 176 177.asm.obj: 178 $(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@ 179 180.rc.res: 181 $(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $< 182# --------------------------------------------------------------------------- 183 184 185 186 187