]>
Commit | Line | Data |
---|---|---|
264af224 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
3 | # Bakefile 0.1.1 (http://bakefile.sourceforge.net) | |
4 | # Do not modify, all changes will be overwritten! | |
5 | # ========================================================================= | |
b5ffecfc | 6 | |
fd9f42b6 | 7 | !include <../../build/msw/config.vc> |
b5ffecfc | 8 | |
264af224 VS |
9 | # ------------------------------------------------------------------------- |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
b5ffecfc | 12 | |
264af224 | 13 | ### Variables: ### |
b5ffecfc | 14 | |
264af224 VS |
15 | DBBROWSE_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) \ |
16 | /DWIN32 $(__DEBUGINFO_0) /Fd$(OBJS)\dbbrowse.pdb $(____DEBUGRUNTIME_2_p) \ | |
17 | $(__OPTIMIZEFLAG_4) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ | |
18 | $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(LIBDIRNAME) /I.\..\..\src\tiff \ | |
19 | /I.\..\..\src\jpeg /I.\..\..\src\png /I.\..\..\src\zlib /I.\..\..\src\regex \ | |
20 | /I.\..\..\src\expat\lib /I. $(__DLLFLAG_p) /D_WINDOWS $(CXXFLAGS) | |
21 | DBBROWSE_OBJECTS = \ | |
22 | $(OBJS)\dbbrowse_dbbrowse.obj \ | |
23 | $(OBJS)\dbbrowse_doc.obj \ | |
24 | $(OBJS)\dbbrowse_pgmctrl.obj \ | |
25 | $(OBJS)\dbbrowse_tabpgwin.obj \ | |
26 | $(OBJS)\dbbrowse_browsedb.obj \ | |
27 | $(OBJS)\dbbrowse_dbtree.obj \ | |
28 | $(OBJS)\dbbrowse_dbgrid.obj \ | |
29 | $(OBJS)\dbbrowse_dlguser.obj \ | |
30 | $(OBJS)\dbbrowse_dbbrowse.res | |
31 | LIBDIRNAME = \ | |
32 | .\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
33 | OBJS = \ | |
34 | vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
35 | ||
36 | ### Conditionally set variables: ### | |
37 | ||
38 | !if "$(USE_GUI)" == "0" | |
39 | PORTNAME = base | |
40 | !endif | |
41 | !if "$(USE_GUI)" == "1" | |
42 | PORTNAME = msw | |
43 | !endif | |
44 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
45 | WXDEBUGFLAG = d | |
46 | !endif | |
47 | !if "$(DEBUG_FLAG)" == "1" | |
48 | WXDEBUGFLAG = d | |
49 | !endif | |
50 | !if "$(SHARED)" == "1" | |
51 | WXDLLFLAG = dll | |
52 | !endif | |
53 | !if "$(UNICODE)" == "1" | |
54 | WXUNICODEFLAG = u | |
55 | !endif | |
56 | !if "$(WXUNIV)" == "1" | |
57 | WXUNIVNAME = univ | |
58 | !endif | |
59 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
60 | __DEBUGINFO_0 = /Zi | |
61 | !endif | |
62 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
63 | __DEBUGINFO_0 = | |
64 | !endif | |
65 | !if "$(DEBUG_INFO)" == "0" | |
66 | __DEBUGINFO_0 = | |
67 | !endif | |
68 | !if "$(DEBUG_INFO)" == "1" | |
69 | __DEBUGINFO_0 = /Zi | |
70 | !endif | |
71 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
72 | __DEBUGINFO_1 = /DEBUG | |
73 | !endif | |
74 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
75 | __DEBUGINFO_1 = | |
76 | !endif | |
77 | !if "$(DEBUG_INFO)" == "0" | |
78 | __DEBUGINFO_1 = | |
79 | !endif | |
80 | !if "$(DEBUG_INFO)" == "1" | |
81 | __DEBUGINFO_1 = /DEBUG | |
82 | !endif | |
83 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
84 | __DEBUGINFO_3 = d | |
85 | !endif | |
86 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
87 | __DEBUGINFO_3 = | |
88 | !endif | |
89 | !if "$(DEBUG_INFO)" == "0" | |
90 | __DEBUGINFO_3 = | |
91 | !endif | |
92 | !if "$(DEBUG_INFO)" == "1" | |
93 | __DEBUGINFO_3 = d | |
94 | !endif | |
95 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
96 | __DEBUGRUNTIME_3 = | |
97 | !endif | |
98 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
99 | __DEBUGRUNTIME_3 = d | |
100 | !endif | |
101 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
102 | __DEBUGRUNTIME_3 = $(__DEBUGINFO_3) | |
103 | !endif | |
104 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
105 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
106 | !endif | |
107 | !if "$(DEBUG_FLAG)" == "1" | |
108 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
109 | !endif | |
110 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
111 | __DEBUG_DEFINE_p_1 = /d __WXDEBUG__ | |
112 | !endif | |
113 | !if "$(DEBUG_FLAG)" == "1" | |
114 | __DEBUG_DEFINE_p_1 = /d __WXDEBUG__ | |
115 | !endif | |
116 | !if "$(SHARED)" == "1" | |
117 | __DLLFLAG_p = /DWXUSINGDLL | |
118 | !endif | |
119 | !if "$(SHARED)" == "1" | |
120 | __DLLFLAG_p_1 = /d WXUSINGDLL | |
121 | !endif | |
122 | !if "$(USE_GUI)" == "1" | |
123 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
124 | !endif | |
125 | !if "$(USE_GUI)" == "1" | |
126 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
127 | !endif | |
128 | !if "$(USE_GUI)" == "1" | |
129 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
130 | !endif | |
131 | !if "$(BUILD)" == "debug" | |
132 | __OPTIMIZEFLAG_4 = /Od | |
133 | !endif | |
134 | !if "$(BUILD)" == "release" | |
135 | __OPTIMIZEFLAG_4 = /O2 | |
136 | !endif | |
137 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
138 | __RUNTIME_LIBS_7 = D | |
139 | !endif | |
140 | !if "$(RUNTIME_LIBS)" == "static" | |
141 | __RUNTIME_LIBS_7 = T | |
142 | !endif | |
143 | !if "$(UNICODE)" == "1" | |
144 | __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1 | |
145 | !endif | |
146 | !if "$(UNICODE)" == "1" | |
147 | __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=1 | |
148 | !endif | |
149 | !if "$(MONOLITHIC)" == "0" | |
150 | __WXLIB_ADV_p = \ | |
151 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv.lib | |
152 | !endif | |
153 | !if "$(MONOLITHIC)" == "0" | |
154 | __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
155 | !endif | |
156 | !if "$(MONOLITHIC)" == "0" | |
157 | __WXLIB_CORE_p = \ | |
158 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib | |
159 | !endif | |
160 | !if "$(MONOLITHIC)" == "0" | |
f2901744 VS |
161 | __WXLIB_DBGRID_p = \ |
162 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_dbgrid.lib | |
163 | !endif | |
164 | !if "$(MONOLITHIC)" == "0" | |
264af224 VS |
165 | __WXLIB_HTML_p = \ |
166 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib | |
167 | !endif | |
168 | !if "$(MONOLITHIC)" == "1" | |
169 | __WXLIB_MONO_p = \ | |
170 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
171 | !endif | |
172 | !if "$(MONOLITHIC)" == "0" | |
f2901744 | 173 | __WXLIB_ODBC_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_odbc.lib |
264af224 VS |
174 | !endif |
175 | !if "$(WXUNIV)" == "1" | |
176 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
177 | !endif | |
178 | !if "$(WXUNIV)" == "1" | |
179 | __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__ | |
180 | !endif | |
181 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
182 | ____DEBUGINFO_2_p = /D_DEBUG | |
183 | !endif | |
184 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
185 | ____DEBUGINFO_2_p = | |
186 | !endif | |
187 | !if "$(DEBUG_INFO)" == "0" | |
188 | ____DEBUGINFO_2_p = | |
189 | !endif | |
190 | !if "$(DEBUG_INFO)" == "1" | |
191 | ____DEBUGINFO_2_p = /D_DEBUG | |
192 | !endif | |
193 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
194 | ____DEBUGINFO_2_p_1 = /d _DEBUG | |
195 | !endif | |
196 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
197 | ____DEBUGINFO_2_p_1 = | |
198 | !endif | |
199 | !if "$(DEBUG_INFO)" == "0" | |
200 | ____DEBUGINFO_2_p_1 = | |
201 | !endif | |
202 | !if "$(DEBUG_INFO)" == "1" | |
203 | ____DEBUGINFO_2_p_1 = /d _DEBUG | |
204 | !endif | |
205 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
206 | ____DEBUGRUNTIME_2_p = | |
207 | !endif | |
208 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
209 | ____DEBUGRUNTIME_2_p = /D_DEBUG | |
210 | !endif | |
211 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
212 | ____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p) | |
213 | !endif | |
214 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
215 | ____DEBUGRUNTIME_2_p_1 = | |
216 | !endif | |
217 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
218 | ____DEBUGRUNTIME_2_p_1 = /d _DEBUG | |
219 | !endif | |
220 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
221 | ____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1) | |
222 | !endif | |
223 | ||
224 | ||
225 | all: $(OBJS) | |
226 | $(OBJS): | |
227 | -if not exist $(OBJS) mkdir $(OBJS) | |
228 | ||
229 | ### Targets: ### | |
230 | ||
231 | all: $(OBJS)\dbbrowse.exe | |
232 | ||
233 | $(OBJS)\dbbrowse_browsedb.obj: .\browsedb.cpp | |
234 | $(CXX) /c /nologo /TP /Fo$@ $(DBBROWSE_CXXFLAGS) $** | |
235 | ||
236 | $(OBJS)\dbbrowse_dbbrowse.obj: .\dbbrowse.cpp | |
237 | $(CXX) /c /nologo /TP /Fo$@ $(DBBROWSE_CXXFLAGS) $** | |
238 | ||
239 | $(OBJS)\dbbrowse_dbbrowse.res: .\dbbrowse.rc | |
240 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) /i .\..\..\include /i $(LIBDIRNAME) /i .\..\..\src\tiff /i .\..\..\src\jpeg /i .\..\..\src\png /i .\..\..\src\zlib /i .\..\..\src\regex /i .\..\..\src\expat\lib /i . $(__DLLFLAG_p_1) /d _WINDOWS $** | |
241 | ||
242 | $(OBJS)\dbbrowse_dbgrid.obj: .\dbgrid.cpp | |
243 | $(CXX) /c /nologo /TP /Fo$@ $(DBBROWSE_CXXFLAGS) $** | |
244 | ||
245 | $(OBJS)\dbbrowse_dbtree.obj: .\dbtree.cpp | |
246 | $(CXX) /c /nologo /TP /Fo$@ $(DBBROWSE_CXXFLAGS) $** | |
247 | ||
248 | $(OBJS)\dbbrowse_dlguser.obj: .\dlguser.cpp | |
249 | $(CXX) /c /nologo /TP /Fo$@ $(DBBROWSE_CXXFLAGS) $** | |
250 | ||
251 | $(OBJS)\dbbrowse_doc.obj: .\doc.cpp | |
252 | $(CXX) /c /nologo /TP /Fo$@ $(DBBROWSE_CXXFLAGS) $** | |
253 | ||
254 | $(OBJS)\dbbrowse_pgmctrl.obj: .\pgmctrl.cpp | |
255 | $(CXX) /c /nologo /TP /Fo$@ $(DBBROWSE_CXXFLAGS) $** | |
256 | ||
257 | $(OBJS)\dbbrowse_tabpgwin.obj: .\tabpgwin.cpp | |
258 | $(CXX) /c /nologo /TP /Fo$@ $(DBBROWSE_CXXFLAGS) $** | |
259 | ||
260 | clean: | |
261 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
262 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
263 | -if exist $(OBJS)\dbbrowse.exe del $(OBJS)\dbbrowse.exe | |
264 | ||
265 | $(OBJS)\dbbrowse.exe: $(DBBROWSE_OBJECTS) $(OBJS)\dbbrowse_dbbrowse.res | |
266 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<< | |
f2901744 | 267 | $(DBBROWSE_OBJECTS) $(__WXLIB_DBGRID_p) $(__WXLIB_ADV_p) $(__WXLIB_ODBC_p) $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib |
264af224 | 268 | << |