|
| 1 | +# --------------------------------------------------------------------------- |
| 2 | +!if !$d(BCB) |
| 3 | +BCB = $(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 | + |
| 14 | +VERSION = BCB.04.04 |
| 15 | +# --------------------------------------------------------------------------- |
| 16 | +PROJECT = emb_sample.exe |
| 17 | +OBJFILES = emb_sample.obj emb_samples.obj |
| 18 | +RESFILES = emb_sample.res |
| 19 | +RESDEPEN = $(RESFILES) emb_samples.dfm |
| 20 | +LIBFILES = libmysqld.lib |
| 21 | +LIBRARIES = |
| 22 | +SPARELIBS = Vcl40.lib |
| 23 | +PACKAGES = Vcl40.bpi Vclx40.bpi vcljpg40.bpi bcbsmp40.bpi Qrpt40.bpi Vcldb40.bpi \ |
| 24 | + ibsmp40.bpi vcldbx40.bpi TeeUI40.bpi teedb40.bpi tee40.bpi nmfast40.bpi \ |
| 25 | + dclocx40.bpi |
| 26 | +DEFFILE = |
| 27 | +# --------------------------------------------------------------------------- |
| 28 | +PATHCPP = .; |
| 29 | +PATHASM = .; |
| 30 | +PATHPAS = .; |
| 31 | +PATHRC = .; |
| 32 | +DEBUGLIBPATH = $(BCB)\lib\debug |
| 33 | +RELEASELIBPATH = $(BCB)\lib\release |
| 34 | +USERDEFINES = |
| 35 | +SYSDEFINES = _RTLDLL;NO_STRICT;USEPACKAGES |
| 36 | +# --------------------------------------------------------------------------- |
| 37 | +CFLAG1 = -I$(BCB)\include;$(BCB)\include\vcl;..\..\..\include -Od -Hc \ |
| 38 | + -H=$(BCB)\lib\vcl40.csm -w -Ve -r- -a8 -k -y -v -vi- -c -b- -w-par -w-inl -Vx \ |
| 39 | + -tW -tWM -D$(SYSDEFINES);$(USERDEFINES) |
| 40 | +PFLAGS = -U$(BCB)\lib\obj;$(BCB)\lib;$(RELEASELIBPATH) \ |
| 41 | + -I$(BCB)\include;$(BCB)\include\vcl;..\..\..\include -$YD -$W -$O- -v -JPHNE -M |
| 42 | +RFLAGS = -i$(BCB)\include;$(BCB)\include\vcl;..\..\..\include |
| 43 | +AFLAGS = /i$(BCB)\include /i$(BCB)\include\vcl /i..\..\..\include /mx /w2 /zd |
| 44 | +LFLAGS = -L$(BCB)\lib\obj;$(BCB)\lib;$(RELEASELIBPATH) -aa -Tpe -x -Gn -v |
| 45 | +# --------------------------------------------------------------------------- |
| 46 | +ALLOBJ = c0w32.obj Memmgr.Lib $(PACKAGES) sysinit.obj $(OBJFILES) |
| 47 | +ALLRES = $(RESFILES) |
| 48 | +ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cp32mti.lib |
| 49 | +# --------------------------------------------------------------------------- |
| 50 | +!ifdef IDEOPTIONS |
| 51 | + |
| 52 | +[Version Info] |
| 53 | +IncludeVerInfo=1 |
| 54 | +AutoIncBuild=0 |
| 55 | +MajorVer=1 |
| 56 | +MinorVer=0 |
| 57 | +Release=0 |
| 58 | +Build=0 |
| 59 | +Debug=0 |
| 60 | +PreRelease=0 |
| 61 | +Special=0 |
| 62 | +Private=0 |
| 63 | +DLL=0 |
| 64 | +Locale=1046 |
| 65 | +CodePage=1252 |
| 66 | + |
| 67 | +[Version Info Keys] |
| 68 | +CompanyName=MySQL AB |
| 69 | +FileDescription=Embedded Server Sample |
| 70 | +FileVersion=1.0.0.0 |
| 71 | +InternalName=Builder Embedded Server Sample |
| 72 | +LegalCopyright=GNU |
| 73 | +LegalTrademarks= |
| 74 | +OriginalFilename= |
| 75 | +ProductName= |
| 76 | +ProductVersion=1.0.0.0 |
| 77 | +Comments= |
| 78 | + |
| 79 | +[HistoryLists\hlIncludePath] |
| 80 | +Count=2 |
| 81 | +Item0=$(BCB)\include;$(BCB)\include\vcl;..\..\..\include |
| 82 | +Item1=$(BCB)\include;$(BCB)\include\vcl;..\..\..\inluce |
| 83 | + |
| 84 | +[HistoryLists\hlLibraryPath] |
| 85 | +Count=1 |
| 86 | +Item0=$(BCB)\lib\obj;$(BCB)\lib |
| 87 | + |
| 88 | +[HistoryLists\hlDebugSourcePath] |
| 89 | +Count=1 |
| 90 | +Item0=$(BCB)\source\vcl |
| 91 | + |
| 92 | +[Debugging] |
| 93 | +DebugSourceDirs=$(BCB)\source\vcl |
| 94 | + |
| 95 | +[Parameters] |
| 96 | +RunParams= |
| 97 | +HostApplication= |
| 98 | +RemoteHost= |
| 99 | +RemotePath= |
| 100 | +RemoteDebug=0 |
| 101 | + |
| 102 | +[Compiler] |
| 103 | +InMemoryExe=0 |
| 104 | +ShowInfoMsgs=0 |
| 105 | + |
| 106 | +!endif |
| 107 | + |
| 108 | +# --------------------------------------------------------------------------- |
| 109 | +# MAKE SECTION |
| 110 | +# --------------------------------------------------------------------------- |
| 111 | +# This section of the project file is not used by the BCB IDE. It is for |
| 112 | +# the benefit of building from the command-line using the MAKE utility. |
| 113 | +# --------------------------------------------------------------------------- |
| 114 | + |
| 115 | +.autodepend |
| 116 | +# --------------------------------------------------------------------------- |
| 117 | +!if !$d(BCC32) |
| 118 | +BCC32 = bcc32 |
| 119 | +!endif |
| 120 | + |
| 121 | +!if !$d(CPP32) |
| 122 | +CPP32 = cpp32 |
| 123 | +!endif |
| 124 | + |
| 125 | +!if !$d(DCC32) |
| 126 | +DCC32 = dcc32 |
| 127 | +!endif |
| 128 | + |
| 129 | +!if !$d(TASM32) |
| 130 | +TASM32 = tasm32 |
| 131 | +!endif |
| 132 | + |
| 133 | +!if !$d(LINKER) |
| 134 | +LINKER = ilink32 |
| 135 | +!endif |
| 136 | + |
| 137 | +!if !$d(BRCC32) |
| 138 | +BRCC32 = brcc32 |
| 139 | +!endif |
| 140 | + |
| 141 | +# --------------------------------------------------------------------------- |
| 142 | +!if $d(PATHCPP) |
| 143 | +.PATH.CPP = $(PATHCPP) |
| 144 | +.PATH.C = $(PATHCPP) |
| 145 | +!endif |
| 146 | + |
| 147 | +!if $d(PATHPAS) |
| 148 | +.PATH.PAS = $(PATHPAS) |
| 149 | +!endif |
| 150 | + |
| 151 | +!if $d(PATHASM) |
| 152 | +.PATH.ASM = $(PATHASM) |
| 153 | +!endif |
| 154 | + |
| 155 | +!if $d(PATHRC) |
| 156 | +.PATH.RC = $(PATHRC) |
| 157 | +!endif |
| 158 | +# --------------------------------------------------------------------------- |
| 159 | +$(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE) |
| 160 | + $(BCB)\BIN\$(LINKER) @&&! |
| 161 | + $(LFLAGS) + |
| 162 | + $(ALLOBJ), + |
| 163 | + $(PROJECT),, + |
| 164 | + $(ALLLIB), + |
| 165 | + $(DEFFILE), + |
| 166 | + $(ALLRES) |
| 167 | +! |
| 168 | +# --------------------------------------------------------------------------- |
| 169 | +.pas.hpp: |
| 170 | + $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< } |
| 171 | + |
| 172 | +.pas.obj: |
| 173 | + $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< } |
| 174 | + |
| 175 | +.cpp.obj: |
| 176 | + $(BCB)\BIN\$(BCC32) $(CFLAG1) -n$(@D) {$< } |
| 177 | + |
| 178 | +.c.obj: |
| 179 | + $(BCB)\BIN\$(BCC32) $(CFLAG1) -n$(@D) {$< } |
| 180 | + |
| 181 | +.c.i: |
| 182 | + $(BCB)\BIN\$(CPP32) $(CFLAG1) -n. {$< } |
| 183 | + |
| 184 | +.cpp.i: |
| 185 | + $(BCB)\BIN\$(CPP32) $(CFLAG1) -n. {$< } |
| 186 | + |
| 187 | +.asm.obj: |
| 188 | + $(BCB)\BIN\$(TASM32) $(AFLAGS) $<, $@ |
| 189 | + |
| 190 | +.rc.res: |
| 191 | + $(BCB)\BIN\$(BRCC32) $(RFLAGS) -fo$@ $< |
| 192 | +# --------------------------------------------------------------------------- |
0 commit comments