~ubuntu-branches/ubuntu/trusty/mariadb-5.5/trusty-proposed

« back to all changes in this revision

Viewing changes to libmysqld/examples/builder-sample/emb_sample.bpr

  • Committer: Package Import Robot
  • Author(s): Otto Kekäläinen
  • Date: 2013-12-22 10:27:05 UTC
  • Revision ID: package-import@ubuntu.com-20131222102705-mndw7s12mz0szrcn
Tags: upstream-5.5.32
Import upstream version 5.5.32

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (c) 2002 MySQL AB
 
2
# Use is subject to license terms.
 
3
 
4
# This program is free software; you can redistribute it and/or modify
 
5
# it under the terms of the GNU General Public License as published by
 
6
# the Free Software Foundation; version 2 of the License.
 
7
 
8
# This program is distributed in the hope that it will be useful,
 
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
# GNU General Public License for more details.
 
12
 
13
# You should have received a copy of the GNU General Public License
 
14
# along with this program; if not, write to the Free Software
 
15
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
16
 
 
17
# ---------------------------------------------------------------------------
 
18
!if !$d(BCB)
 
19
BCB = $(MAKEDIR)\..
 
20
!endif
 
21
 
 
22
# ---------------------------------------------------------------------------
 
23
# IDE SECTION
 
24
# ---------------------------------------------------------------------------
 
25
# The following section of the project makefile is managed by the BCB IDE.
 
26
# It is recommended to use the IDE to change any of the values in this
 
27
# section.
 
28
# ---------------------------------------------------------------------------
 
29
 
 
30
VERSION = BCB.04.04
 
31
# ---------------------------------------------------------------------------
 
32
PROJECT = emb_sample.exe
 
33
OBJFILES = emb_sample.obj emb_samples.obj
 
34
RESFILES = emb_sample.res
 
35
RESDEPEN = $(RESFILES) emb_samples.dfm
 
36
LIBFILES = libmysqld.lib
 
37
LIBRARIES =
 
38
SPARELIBS = Vcl40.lib
 
39
PACKAGES = Vcl40.bpi Vclx40.bpi vcljpg40.bpi bcbsmp40.bpi Qrpt40.bpi Vcldb40.bpi \
 
40
  ibsmp40.bpi vcldbx40.bpi TeeUI40.bpi teedb40.bpi tee40.bpi nmfast40.bpi \
 
41
  dclocx40.bpi
 
42
DEFFILE =
 
43
# ---------------------------------------------------------------------------
 
44
PATHCPP = .;
 
45
PATHASM = .;
 
46
PATHPAS = .;
 
47
PATHRC = .;
 
48
DEBUGLIBPATH = $(BCB)\lib\debug
 
49
RELEASELIBPATH = $(BCB)\lib\release
 
50
USERDEFINES =
 
51
SYSDEFINES = _RTLDLL;NO_STRICT;USEPACKAGES
 
52
# ---------------------------------------------------------------------------
 
53
CFLAG1 = -I$(BCB)\include;$(BCB)\include\vcl;..\..\..\include -Od -Hc \
 
54
  -H=$(BCB)\lib\vcl40.csm -w -Ve -r- -a8 -k -y -v -vi- -c -b- -w-par -w-inl -Vx \
 
55
  -tW -tWM -D$(SYSDEFINES);$(USERDEFINES)
 
56
PFLAGS = -U$(BCB)\lib\obj;$(BCB)\lib;$(RELEASELIBPATH) \
 
57
  -I$(BCB)\include;$(BCB)\include\vcl;..\..\..\include -$YD -$W -$O- -v -JPHNE -M
 
58
RFLAGS = -i$(BCB)\include;$(BCB)\include\vcl;..\..\..\include
 
59
AFLAGS = /i$(BCB)\include /i$(BCB)\include\vcl /i..\..\..\include /mx /w2 /zd
 
60
LFLAGS = -L$(BCB)\lib\obj;$(BCB)\lib;$(RELEASELIBPATH) -aa -Tpe -x -Gn -v
 
61
# ---------------------------------------------------------------------------
 
62
ALLOBJ = c0w32.obj Memmgr.Lib $(PACKAGES) sysinit.obj $(OBJFILES)
 
63
ALLRES = $(RESFILES)
 
64
ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cp32mti.lib
 
65
# ---------------------------------------------------------------------------
 
66
!ifdef IDEOPTIONS
 
67
 
 
68
[Version Info]
 
69
IncludeVerInfo=1
 
70
AutoIncBuild=0
 
71
MajorVer=1
 
72
MinorVer=0
 
73
Release=0
 
74
Build=0
 
75
Debug=0
 
76
PreRelease=0
 
77
Special=0
 
78
Private=0
 
79
DLL=0
 
80
Locale=1046
 
81
CodePage=1252
 
82
 
 
83
[Version Info Keys]
 
84
CompanyName=MySQL AB
 
85
FileDescription=Embedded Server Sample
 
86
FileVersion=1.0.0.0
 
87
InternalName=Builder Embedded Server Sample
 
88
LegalCopyright=GNU
 
89
LegalTrademarks=
 
90
OriginalFilename=
 
91
ProductName=
 
92
ProductVersion=1.0.0.0
 
93
Comments=
 
94
 
 
95
[HistoryLists\hlIncludePath]
 
96
Count=2
 
97
Item0=$(BCB)\include;$(BCB)\include\vcl;..\..\..\include
 
98
Item1=$(BCB)\include;$(BCB)\include\vcl;..\..\..\inluce
 
99
 
 
100
[HistoryLists\hlLibraryPath]
 
101
Count=1
 
102
Item0=$(BCB)\lib\obj;$(BCB)\lib
 
103
 
 
104
[HistoryLists\hlDebugSourcePath]
 
105
Count=1
 
106
Item0=$(BCB)\source\vcl
 
107
 
 
108
[Debugging]
 
109
DebugSourceDirs=$(BCB)\source\vcl
 
110
 
 
111
[Parameters]
 
112
RunParams=
 
113
HostApplication=
 
114
RemoteHost=
 
115
RemotePath=
 
116
RemoteDebug=0
 
117
 
 
118
[Compiler]
 
119
InMemoryExe=0
 
120
ShowInfoMsgs=0
 
121
 
 
122
!endif
 
123
 
 
124
# ---------------------------------------------------------------------------
 
125
# MAKE SECTION
 
126
# ---------------------------------------------------------------------------
 
127
# This section of the project file is not used by the BCB IDE.  It is for
 
128
# the benefit of building from the command-line using the MAKE utility.
 
129
# ---------------------------------------------------------------------------
 
130
 
 
131
.autodepend
 
132
# ---------------------------------------------------------------------------
 
133
!if !$d(BCC32)
 
134
BCC32 = bcc32
 
135
!endif
 
136
 
 
137
!if !$d(CPP32)
 
138
CPP32 = cpp32
 
139
!endif
 
140
 
 
141
!if !$d(DCC32)
 
142
DCC32 = dcc32
 
143
!endif
 
144
 
 
145
!if !$d(TASM32)
 
146
TASM32 = tasm32
 
147
!endif
 
148
 
 
149
!if !$d(LINKER)
 
150
LINKER = ilink32
 
151
!endif
 
152
 
 
153
!if !$d(BRCC32)
 
154
BRCC32 = brcc32
 
155
!endif
 
156
 
 
157
# ---------------------------------------------------------------------------
 
158
!if $d(PATHCPP)
 
159
.PATH.CPP = $(PATHCPP)
 
160
.PATH.C   = $(PATHCPP)
 
161
!endif
 
162
 
 
163
!if $d(PATHPAS)
 
164
.PATH.PAS = $(PATHPAS)
 
165
!endif
 
166
 
 
167
!if $d(PATHASM)
 
168
.PATH.ASM = $(PATHASM)
 
169
!endif
 
170
 
 
171
!if $d(PATHRC)
 
172
.PATH.RC  = $(PATHRC)
 
173
!endif
 
174
# ---------------------------------------------------------------------------
 
175
$(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE)
 
176
    $(BCB)\BIN\$(LINKER) @&&!
 
177
    $(LFLAGS) +
 
178
    $(ALLOBJ), +
 
179
    $(PROJECT),, +
 
180
    $(ALLLIB), +
 
181
    $(DEFFILE), +
 
182
    $(ALLRES)
 
183
!
 
184
# ---------------------------------------------------------------------------
 
185
.pas.hpp:
 
186
    $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
 
187
 
 
188
.pas.obj:
 
189
    $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
 
190
 
 
191
.cpp.obj:
 
192
    $(BCB)\BIN\$(BCC32) $(CFLAG1) -n$(@D) {$< }
 
193
 
 
194
.c.obj:
 
195
    $(BCB)\BIN\$(BCC32) $(CFLAG1) -n$(@D) {$< }
 
196
 
 
197
.c.i:
 
198
    $(BCB)\BIN\$(CPP32) $(CFLAG1) -n. {$< }
 
199
 
 
200
.cpp.i:
 
201
    $(BCB)\BIN\$(CPP32) $(CFLAG1) -n. {$< }
 
202
 
 
203
.asm.obj:
 
204
    $(BCB)\BIN\$(TASM32) $(AFLAGS) $<, $@
 
205
 
 
206
.rc.res:
 
207
    $(BCB)\BIN\$(BRCC32) $(RFLAGS) -fo$@ $<
 
208
# ---------------------------------------------------------------------------