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