]>
Commit | Line | Data |
---|---|---|
250700e4 RD |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
c4839ccf | 3 | # Bakefile 0.1.4 (http://bakefile.sourceforge.net) |
250700e4 RD |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
6 | ||
9bfe7ad9 VS |
7 | .autodepend |
8 | ||
250700e4 | 9 | !ifndef BCCDIR |
9bfe7ad9 VS |
10 | !ifndef MAKEDIR |
11 | !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4 | |
12 | !endif | |
250700e4 RD |
13 | BCCDIR = $(MAKEDIR)\.. |
14 | !endif | |
15 | ||
fd9f42b6 | 16 | !include ../../../build/msw/config.bcc |
250700e4 RD |
17 | |
18 | # ------------------------------------------------------------------------- | |
19 | # Do not modify the rest of this file! | |
20 | # ------------------------------------------------------------------------- | |
21 | ||
250700e4 RD |
22 | ### Variables: ### |
23 | ||
c33fae85 | 24 | WX_RELEASE_NODOT = 25 |
ab921f5f | 25 | WX_VERSION_NODOT = $(WX_RELEASE_NODOT)3 |
b17c1746 DE |
26 | OBJS = \ |
27 | bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
28 | SETUPHDIR = \ | |
29 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
9bfe7ad9 VS |
30 | GIZMOSDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ |
31 | $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ | |
32 | $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \ | |
33 | -I..\..\src\gizmos\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS -Hu \ | |
34 | -H=$(OBJS)\wxprec_gizmosdll.csm $(CPPFLAGS) $(CXXFLAGS) | |
3f55f5b8 VS |
35 | GIZMOSDLL_OBJECTS = \ |
36 | $(OBJS)\gizmosdll_dummy.obj \ | |
37 | $(OBJS)\gizmosdll_dynamicsash.obj \ | |
38 | $(OBJS)\gizmosdll_editlbox.obj \ | |
39 | $(OBJS)\gizmosdll_ledctrl.obj \ | |
40 | $(OBJS)\gizmosdll_multicell.obj \ | |
41 | $(OBJS)\gizmosdll_splittree.obj \ | |
8151e997 | 42 | $(OBJS)\gizmosdll_statpict.obj |
9bfe7ad9 VS |
43 | GIZMOSLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ |
44 | $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ | |
45 | $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \ | |
46 | -I..\..\src\gizmos\..\..\include -Hu -H=$(OBJS)\wxprec_gizmoslib.csm \ | |
47 | $(CPPFLAGS) $(CXXFLAGS) | |
3f55f5b8 VS |
48 | GIZMOSLIB_OBJECTS = \ |
49 | $(OBJS)\gizmoslib_dummy.obj \ | |
50 | $(OBJS)\gizmoslib_dynamicsash.obj \ | |
51 | $(OBJS)\gizmoslib_editlbox.obj \ | |
52 | $(OBJS)\gizmoslib_ledctrl.obj \ | |
53 | $(OBJS)\gizmoslib_multicell.obj \ | |
54 | $(OBJS)\gizmoslib_splittree.obj \ | |
8151e997 | 55 | $(OBJS)\gizmoslib_statpict.obj |
250700e4 RD |
56 | |
57 | ### Conditionally set variables: ### | |
58 | ||
59 | !if "$(USE_GUI)" == "0" | |
60 | PORTNAME = base | |
61 | !endif | |
62 | !if "$(USE_GUI)" == "1" | |
63 | PORTNAME = msw | |
64 | !endif | |
65 | !if "$(OFFICIAL_BUILD)" == "0" | |
66 | VENDORTAG = _$(VENDOR) | |
67 | !endif | |
68 | !if "$(OFFICIAL_BUILD)" == "1" | |
69 | VENDORTAG = | |
70 | !endif | |
3f55f5b8 VS |
71 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" |
72 | WXDEBUGFLAG = d | |
73 | !endif | |
74 | !if "$(DEBUG_FLAG)" == "1" | |
250700e4 RD |
75 | WXDEBUGFLAG = d |
76 | !endif | |
250700e4 RD |
77 | !if "$(UNICODE)" == "1" |
78 | WXUNICODEFLAG = u | |
79 | !endif | |
80 | !if "$(WXUNIV)" == "1" | |
81 | WXUNIVNAME = univ | |
82 | !endif | |
b17c1746 DE |
83 | !if "$(SHARED)" == "1" |
84 | WXDLLFLAG = dll | |
250700e4 | 85 | !endif |
dd65d8c8 RN |
86 | !if "$(MONOLITHIC)" == "0" |
87 | EXTRALIBS_FOR_BASE = | |
88 | !endif | |
89 | !if "$(MONOLITHIC)" == "1" | |
90 | EXTRALIBS_FOR_BASE = | |
91 | !endif | |
b17c1746 DE |
92 | !if "$(SHARED)" == "1" |
93 | __gizmosdll___depname = \ | |
c33fae85 | 94 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).dll |
250700e4 | 95 | !endif |
b17c1746 | 96 | !if "$(RUNTIME_LIBS)" == "dynamic" |
c4839ccf | 97 | __RUNTIME_LIBS_8 = i |
3f55f5b8 | 98 | !endif |
b17c1746 | 99 | !if "$(RUNTIME_LIBS)" == "static" |
c4839ccf | 100 | __RUNTIME_LIBS_8 = |
3f55f5b8 | 101 | !endif |
b17c1746 DE |
102 | !if "$(MONOLITHIC)" == "1" |
103 | __WXLIB_MONO_p = \ | |
c33fae85 | 104 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib |
250700e4 | 105 | !endif |
b17c1746 | 106 | !if "$(USE_GUI)" == "1" |
9c2d002b | 107 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib |
3f55f5b8 VS |
108 | !endif |
109 | !if "$(USE_GUI)" == "1" | |
9c2d002b | 110 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib |
3f55f5b8 VS |
111 | !endif |
112 | !if "$(USE_GUI)" == "1" | |
9c2d002b | 113 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib |
3f55f5b8 | 114 | !endif |
b17c1746 DE |
115 | !if "$(MSLU)" == "1" |
116 | __UNICOWS_LIB_p = unicows.lib | |
117 | !endif | |
118 | !if "$(MONOLITHIC)" == "0" | |
c33fae85 RN |
119 | __WXLIB_BASE_p = \ |
120 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
b17c1746 DE |
121 | !endif |
122 | !if "$(MONOLITHIC)" == "0" | |
123 | __WXLIB_CORE_p = \ | |
c33fae85 | 124 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib |
b17c1746 DE |
125 | !endif |
126 | !if "$(SHARED)" == "0" | |
127 | __gizmoslib___depname = \ | |
c33fae85 | 128 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib |
b17c1746 DE |
129 | !endif |
130 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
131 | __DEBUGINFO = -v | |
132 | !endif | |
133 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
134 | __DEBUGINFO = -v- | |
135 | !endif | |
136 | !if "$(DEBUG_INFO)" == "0" | |
137 | __DEBUGINFO = -v- | |
138 | !endif | |
139 | !if "$(DEBUG_INFO)" == "1" | |
140 | __DEBUGINFO = -v | |
3f55f5b8 | 141 | !endif |
250700e4 RD |
142 | !if "$(BUILD)" == "debug" |
143 | __OPTIMIZEFLAG = -Od | |
144 | !endif | |
145 | !if "$(BUILD)" == "release" | |
146 | __OPTIMIZEFLAG = -O2 | |
147 | !endif | |
148 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
149 | __RUNTIME_LIBS = -tWR | |
150 | !endif | |
151 | !if "$(RUNTIME_LIBS)" == "static" | |
152 | __RUNTIME_LIBS = | |
153 | !endif | |
b17c1746 DE |
154 | !if "$(WXUNIV)" == "1" |
155 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
250700e4 | 156 | !endif |
b17c1746 DE |
157 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" |
158 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
159 | !endif | |
160 | !if "$(DEBUG_FLAG)" == "1" | |
161 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
250700e4 RD |
162 | !endif |
163 | !if "$(UNICODE)" == "1" | |
ec08d395 | 164 | __UNICODE_DEFINE_p = -D_UNICODE |
250700e4 | 165 | !endif |
b17c1746 DE |
166 | !if "$(SHARED)" == "0" |
167 | LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\bcc_lib$(CFG) | |
250700e4 RD |
168 | !endif |
169 | !if "$(SHARED)" == "1" | |
b17c1746 | 170 | LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\bcc_dll$(CFG) |
250700e4 RD |
171 | !endif |
172 | ||
173 | ||
174 | all: $(OBJS) | |
175 | $(OBJS): | |
176 | -if not exist $(OBJS) mkdir $(OBJS) | |
177 | ||
178 | ### Targets: ### | |
179 | ||
180 | all: $(__gizmosdll___depname) $(__gizmoslib___depname) | |
181 | ||
b17c1746 DE |
182 | clean: |
183 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
184 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
c33fae85 RN |
185 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).dll |
186 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).tds | |
187 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ilc | |
188 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ild | |
189 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ilf | |
190 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ils | |
191 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib | |
192 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib | |
b17c1746 DE |
193 | |
194 | !if "$(SHARED)" == "1" | |
c33fae85 | 195 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).dll: $(OBJS)\gizmosdll_dummy.obj $(GIZMOSDLL_OBJECTS) |
b17c1746 | 196 | ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&| |
dd65d8c8 | 197 | c0d32.obj $(GIZMOSDLL_OBJECTS),$@,, $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib $(__WXLIB_BASE_p) $(__WXLIB_CORE_p) import32.lib cw32mt$(__RUNTIME_LIBS_8).lib,, |
b17c1746 | 198 | | |
c33fae85 | 199 | implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos $@ |
b17c1746 DE |
200 | !endif |
201 | ||
202 | !if "$(SHARED)" == "0" | |
c33fae85 | 203 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib: $(OBJS)\gizmoslib_dummy.obj $(GIZMOSLIB_OBJECTS) |
b17c1746 DE |
204 | if exist $@ del $@ |
205 | tlib /a /p4096 $@ @&&| | |
206 | $(GIZMOSLIB_OBJECTS) | |
207 | | | |
208 | !endif | |
209 | ||
250700e4 RD |
210 | $(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp |
211 | $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) -H $** | |
212 | ||
213 | $(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp | |
214 | $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $** | |
215 | ||
216 | $(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp | |
217 | $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $** | |
218 | ||
219 | $(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp | |
220 | $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $** | |
221 | ||
222 | $(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp | |
223 | $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $** | |
224 | ||
225 | $(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp | |
226 | $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $** | |
227 | ||
228 | $(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp | |
229 | $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $** | |
230 | ||
231 | $(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp | |
232 | $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) -H $** | |
233 | ||
234 | $(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp | |
235 | $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $** | |
236 | ||
237 | $(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp | |
238 | $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $** | |
239 | ||
240 | $(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp | |
241 | $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $** | |
242 | ||
243 | $(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp | |
244 | $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $** | |
245 | ||
246 | $(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp | |
247 | $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $** | |
248 | ||
249 | $(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp | |
250 | $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $** |