]>
Commit | Line | Data |
---|---|---|
6f628073 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
c4839ccf | 3 | # Bakefile 0.1.4 (http://bakefile.sourceforge.net) |
6f628073 VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
48d1144b | 6 | |
fd9f42b6 | 7 | !include <../../build/msw/config.vc> |
48d1144b | 8 | |
6f628073 VS |
9 | # ------------------------------------------------------------------------- |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | ### Variables: ### | |
14 | ||
c33fae85 | 15 | WX_RELEASE_NODOT = 25 |
b17c1746 DE |
16 | OBJS = \ |
17 | vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
18 | SETUPHDIR = \ | |
19 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
9bfe7ad9 VS |
20 | DIALOGS_CXXFLAGS = /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) /DWIN32 \ |
21 | $(__DEBUGINFO_0) /Fd$(OBJS)\dialogs.pdb $(____DEBUGRUNTIME_2_p) \ | |
ec08d395 JS |
22 | $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \ |
23 | $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(SETUPHDIR) \ | |
c33fae85 RN |
24 | /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples /DNOPCH \ |
25 | $(__EXCEPTIONSFLAG_8) $(__EXCEPTIONSFLAG_9) $(CPPFLAGS) $(CXXFLAGS) | |
25a73439 VS |
26 | DIALOGS_OBJECTS = \ |
27 | $(OBJS)\dialogs_dialogs.obj \ | |
63c83961 | 28 | $(____GENERIC_FILES_FILENAMES_OBJECTS) \ |
25a73439 | 29 | $(OBJS)\dialogs_dialogs.res |
6f628073 VS |
30 | |
31 | ### Conditionally set variables: ### | |
32 | ||
33 | !if "$(USE_GUI)" == "0" | |
34 | PORTNAME = base | |
35 | !endif | |
36 | !if "$(USE_GUI)" == "1" | |
37 | PORTNAME = msw | |
38 | !endif | |
25a73439 VS |
39 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" |
40 | WXDEBUGFLAG = d | |
41 | !endif | |
42 | !if "$(DEBUG_FLAG)" == "1" | |
6f628073 VS |
43 | WXDEBUGFLAG = d |
44 | !endif | |
6f628073 VS |
45 | !if "$(UNICODE)" == "1" |
46 | WXUNICODEFLAG = u | |
47 | !endif | |
48 | !if "$(WXUNIV)" == "1" | |
49 | WXUNIVNAME = univ | |
50 | !endif | |
b17c1746 DE |
51 | !if "$(SHARED)" == "1" |
52 | WXDLLFLAG = dll | |
53 | !endif | |
dd65d8c8 RN |
54 | !if "$(MONOLITHIC)" == "0" |
55 | EXTRALIBS_FOR_BASE = | |
56 | !endif | |
57 | !if "$(MONOLITHIC)" == "1" | |
58 | EXTRALIBS_FOR_BASE = | |
59 | !endif | |
25a73439 VS |
60 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
61 | __DEBUGINFO_0 = /Zi | |
ee5749a6 | 62 | !endif |
25a73439 VS |
63 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
64 | __DEBUGINFO_0 = | |
ee5749a6 | 65 | !endif |
25a73439 VS |
66 | !if "$(DEBUG_INFO)" == "0" |
67 | __DEBUGINFO_0 = | |
ee5749a6 | 68 | !endif |
25a73439 VS |
69 | !if "$(DEBUG_INFO)" == "1" |
70 | __DEBUGINFO_0 = /Zi | |
ee5749a6 | 71 | !endif |
25a73439 VS |
72 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
73 | __DEBUGINFO_1 = /DEBUG | |
ee5749a6 | 74 | !endif |
25a73439 VS |
75 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
76 | __DEBUGINFO_1 = | |
ee5749a6 | 77 | !endif |
25a73439 VS |
78 | !if "$(DEBUG_INFO)" == "0" |
79 | __DEBUGINFO_1 = | |
80 | !endif | |
81 | !if "$(DEBUG_INFO)" == "1" | |
82 | __DEBUGINFO_1 = /DEBUG | |
83 | !endif | |
b17c1746 DE |
84 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
85 | ____DEBUGRUNTIME_2_p = | |
86 | !endif | |
87 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
88 | ____DEBUGRUNTIME_2_p = /D_DEBUG | |
89 | !endif | |
90 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
91 | ____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p) | |
92 | !endif | |
25a73439 | 93 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
b17c1746 | 94 | ____DEBUGINFO_2_p = /D_DEBUG |
25a73439 VS |
95 | !endif |
96 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
b17c1746 | 97 | ____DEBUGINFO_2_p = |
25a73439 VS |
98 | !endif |
99 | !if "$(DEBUG_INFO)" == "0" | |
b17c1746 | 100 | ____DEBUGINFO_2_p = |
25a73439 VS |
101 | !endif |
102 | !if "$(DEBUG_INFO)" == "1" | |
b17c1746 DE |
103 | ____DEBUGINFO_2_p = /D_DEBUG |
104 | !endif | |
105 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
106 | ____DEBUGRUNTIME_2_p_1 = | |
107 | !endif | |
108 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
109 | ____DEBUGRUNTIME_2_p_1 = /d _DEBUG | |
110 | !endif | |
111 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
112 | ____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1) | |
113 | !endif | |
114 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
115 | ____DEBUGINFO_2_p_1 = /d _DEBUG | |
116 | !endif | |
117 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
118 | ____DEBUGINFO_2_p_1 = | |
119 | !endif | |
120 | !if "$(DEBUG_INFO)" == "0" | |
121 | ____DEBUGINFO_2_p_1 = | |
122 | !endif | |
123 | !if "$(DEBUG_INFO)" == "1" | |
124 | ____DEBUGINFO_2_p_1 = /d _DEBUG | |
25a73439 VS |
125 | !endif |
126 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
127 | __DEBUGRUNTIME_3 = | |
128 | !endif | |
129 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
130 | __DEBUGRUNTIME_3 = d | |
131 | !endif | |
132 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
133 | __DEBUGRUNTIME_3 = $(__DEBUGINFO_3) | |
134 | !endif | |
b17c1746 DE |
135 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
136 | __DEBUGINFO_3 = d | |
6f628073 | 137 | !endif |
b17c1746 DE |
138 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
139 | __DEBUGINFO_3 = | |
25a73439 | 140 | !endif |
b17c1746 DE |
141 | !if "$(DEBUG_INFO)" == "0" |
142 | __DEBUGINFO_3 = | |
25a73439 | 143 | !endif |
b17c1746 DE |
144 | !if "$(DEBUG_INFO)" == "1" |
145 | __DEBUGINFO_3 = d | |
6f628073 | 146 | !endif |
b17c1746 DE |
147 | !if "$(BUILD)" == "debug" |
148 | __OPTIMIZEFLAG_4 = /Od | |
6f628073 | 149 | !endif |
b17c1746 DE |
150 | !if "$(BUILD)" == "release" |
151 | __OPTIMIZEFLAG_4 = /O2 | |
152 | !endif | |
153 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
154 | __RUNTIME_LIBS_7 = D | |
155 | !endif | |
156 | !if "$(RUNTIME_LIBS)" == "static" | |
157 | __RUNTIME_LIBS_7 = T | |
25a73439 | 158 | !endif |
b71531ad VZ |
159 | !if "$(USE_EXCEPTIONS)" == "0" |
160 | __EXCEPTIONSFLAG_8 = | |
161 | !endif | |
162 | !if "$(USE_EXCEPTIONS)" == "1" | |
163 | __EXCEPTIONSFLAG_8 = /GR | |
164 | !endif | |
165 | !if "$(USE_EXCEPTIONS)" == "0" | |
166 | __EXCEPTIONSFLAG_9 = | |
167 | !endif | |
168 | !if "$(USE_EXCEPTIONS)" == "1" | |
169 | __EXCEPTIONSFLAG_9 = /GX | |
170 | !endif | |
ec08d395 JS |
171 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" |
172 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
173 | !endif | |
174 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
175 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
176 | !endif | |
177 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" | |
178 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__ | |
179 | !endif | |
180 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
181 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__ | |
182 | !endif | |
b17c1746 DE |
183 | !if "$(WXUNIV)" == "1" |
184 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
ee5749a6 | 185 | !endif |
b17c1746 DE |
186 | !if "$(WXUNIV)" == "1" |
187 | __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__ | |
ee5749a6 | 188 | !endif |
b17c1746 DE |
189 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" |
190 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
250700e4 | 191 | !endif |
b17c1746 DE |
192 | !if "$(DEBUG_FLAG)" == "1" |
193 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
194 | !endif | |
195 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
196 | __DEBUG_DEFINE_p_1 = /d __WXDEBUG__ | |
197 | !endif | |
198 | !if "$(DEBUG_FLAG)" == "1" | |
199 | __DEBUG_DEFINE_p_1 = /d __WXDEBUG__ | |
250700e4 | 200 | !endif |
6f628073 | 201 | !if "$(UNICODE)" == "1" |
ec08d395 | 202 | __UNICODE_DEFINE_p = /D_UNICODE |
6f628073 VS |
203 | !endif |
204 | !if "$(UNICODE)" == "1" | |
ec08d395 | 205 | __UNICODE_DEFINE_p_1 = /d _UNICODE |
6f628073 | 206 | !endif |
b17c1746 DE |
207 | !if "$(SHARED)" == "1" |
208 | __DLLFLAG_p = /DWXUSINGDLL | |
209 | !endif | |
210 | !if "$(SHARED)" == "1" | |
211 | __DLLFLAG_p_1 = /d WXUSINGDLL | |
4e209a20 | 212 | !endif |
c33fae85 | 213 | !if "$(SHARED)" == "0" && "$(WXUNIV)" == "0" |
63c83961 WS |
214 | ____GENERIC_FILES_FILENAMES_OBJECTS = \ |
215 | $(OBJS)\dialogs_colrdlgg.obj \ | |
216 | $(OBJS)\dialogs_dirdlgg.obj \ | |
695fe764 | 217 | $(OBJS)\dialogs_filedlgg.obj \ |
63c83961 WS |
218 | $(OBJS)\dialogs_fontdlgg.obj |
219 | !endif | |
6f628073 | 220 | !if "$(MONOLITHIC)" == "0" |
fd9f42b6 | 221 | __WXLIB_ADV_p = \ |
c33fae85 | 222 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib |
fd9f42b6 VS |
223 | !endif |
224 | !if "$(MONOLITHIC)" == "0" | |
25a73439 | 225 | __WXLIB_CORE_p = \ |
c33fae85 | 226 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib |
6f628073 | 227 | !endif |
b17c1746 | 228 | !if "$(MONOLITHIC)" == "0" |
c33fae85 RN |
229 | __WXLIB_BASE_p = \ |
230 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
b17c1746 | 231 | !endif |
6f628073 | 232 | !if "$(MONOLITHIC)" == "1" |
25a73439 | 233 | __WXLIB_MONO_p = \ |
c33fae85 | 234 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib |
6f628073 | 235 | !endif |
b17c1746 | 236 | !if "$(USE_GUI)" == "1" |
9c2d002b | 237 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib |
25a73439 | 238 | !endif |
b17c1746 | 239 | !if "$(USE_GUI)" == "1" |
9c2d002b | 240 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib |
25a73439 | 241 | !endif |
b17c1746 | 242 | !if "$(USE_GUI)" == "1" |
9c2d002b | 243 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib |
25a73439 | 244 | !endif |
b17c1746 DE |
245 | !if "$(MSLU)" == "1" |
246 | __UNICOWS_LIB_p = unicows.lib | |
25a73439 | 247 | !endif |
b17c1746 DE |
248 | !if "$(SHARED)" == "0" |
249 | LIBDIRNAME = .\..\..\lib\vc_lib$(CFG) | |
25a73439 | 250 | !endif |
b17c1746 DE |
251 | !if "$(SHARED)" == "1" |
252 | LIBDIRNAME = .\..\..\lib\vc_dll$(CFG) | |
bdc408c4 | 253 | !endif |
6f628073 VS |
254 | |
255 | ||
256 | all: $(OBJS) | |
257 | $(OBJS): | |
258 | -if not exist $(OBJS) mkdir $(OBJS) | |
259 | ||
260 | ### Targets: ### | |
261 | ||
262 | all: $(OBJS)\dialogs.exe data | |
263 | ||
6f628073 VS |
264 | clean: |
265 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
266 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
267 | -if exist $(OBJS)\dialogs.exe del $(OBJS)\dialogs.exe | |
ec08d395 JS |
268 | -if exist $(OBJS)\dialogs.ilk del $(OBJS)\dialogs.ilk |
269 | -if exist $(OBJS)\dialogs.pdb del $(OBJS)\dialogs.pdb | |
6f628073 | 270 | |
25a73439 | 271 | $(OBJS)\dialogs.exe: $(DIALOGS_OBJECTS) $(OBJS)\dialogs_dialogs.res |
75a0a7b7 | 272 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<< |
dd65d8c8 | 273 | $(DIALOGS_OBJECTS) $(__WXLIB_ADV_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__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) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib |
6f628073 | 274 | << |
b17c1746 DE |
275 | |
276 | data: | |
277 | if not exist $(OBJS) mkdir $(OBJS) | |
278 | for %f in (tips.txt) do if not exist $(OBJS)\%f copy .\%f $(OBJS) | |
279 | ||
280 | $(OBJS)\dialogs_dialogs.obj: .\dialogs.cpp | |
281 | $(CXX) /c /nologo /TP /Fo$@ $(DIALOGS_CXXFLAGS) $** | |
282 | ||
63c83961 WS |
283 | $(OBJS)\dialogs_colrdlgg.obj: .\..\..\src\generic\colrdlgg.cpp |
284 | $(CXX) /c /nologo /TP /Fo$@ $(DIALOGS_CXXFLAGS) $** | |
285 | ||
286 | $(OBJS)\dialogs_dirdlgg.obj: .\..\..\src\generic\dirdlgg.cpp | |
287 | $(CXX) /c /nologo /TP /Fo$@ $(DIALOGS_CXXFLAGS) $** | |
288 | ||
695fe764 WS |
289 | $(OBJS)\dialogs_filedlgg.obj: .\..\..\src\generic\filedlgg.cpp |
290 | $(CXX) /c /nologo /TP /Fo$@ $(DIALOGS_CXXFLAGS) $** | |
291 | ||
63c83961 WS |
292 | $(OBJS)\dialogs_fontdlgg.obj: .\..\..\src\generic\fontdlgg.cpp |
293 | $(CXX) /c /nologo /TP /Fo$@ $(DIALOGS_CXXFLAGS) $** | |
294 | ||
b17c1746 | 295 | $(OBJS)\dialogs_dialogs.res: .\dialogs.rc |
c33fae85 | 296 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) /i .\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\samples /d NOPCH $** |