]>
Commit | Line | Data |
---|---|---|
fd9f42b6 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 | # ========================================================================= | |
1fc25a89 | 6 | |
fd9f42b6 | 7 | !include <../../../../build/msw/config.vc> |
1fc25a89 | 8 | |
fd9f42b6 VS |
9 | # ------------------------------------------------------------------------- |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
1fc25a89 | 12 | |
fd9f42b6 VS |
13 | ### Variables: ### |
14 | ||
fd9f42b6 VS |
15 | OBJS = \ |
16 | vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
34f7e40f JS |
17 | SETUPHDIR = \ |
18 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
19 | STUDIO_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) /DWIN32 \ | |
20 | $(__DEBUGINFO_0) /Fd$(OBJS)\studio.pdb $(____DEBUGRUNTIME_2_p) \ | |
fd9f42b6 | 21 | $(__OPTIMIZEFLAG_4) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ |
75a0a7b7 VS |
22 | $(__UNICODE_DEFINE_p) /I.\..\..\..\..\include /I$(SETUPHDIR) /I. \ |
23 | $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\..\..\samples /I.\..\..\..\include \ | |
24 | $(CXXFLAGS) | |
34f7e40f JS |
25 | STUDIO_OBJECTS = \ |
26 | $(OBJS)\studio_studio.obj \ | |
27 | $(OBJS)\studio_doc.obj \ | |
28 | $(OBJS)\studio_shapes.obj \ | |
29 | $(OBJS)\studio_symbols.obj \ | |
30 | $(OBJS)\studio_view.obj \ | |
31 | $(OBJS)\studio_cspalette.obj \ | |
32 | $(OBJS)\studio_mainfrm.obj \ | |
33 | $(OBJS)\studio_project.obj \ | |
34 | $(OBJS)\studio_dialogs.obj \ | |
35 | $(OBJS)\studio_csprint.obj \ | |
36 | $(OBJS)\studio_studio.res | |
fd9f42b6 VS |
37 | |
38 | ### Conditionally set variables: ### | |
39 | ||
75a0a7b7 VS |
40 | !if "$(SHARED)" == "0" |
41 | LIBDIRNAME = .\..\..\..\..\lib\vc_lib$(CFG) | |
42 | !endif | |
43 | !if "$(SHARED)" == "1" | |
44 | LIBDIRNAME = .\..\..\..\..\lib\vc_dll$(CFG) | |
45 | !endif | |
fd9f42b6 VS |
46 | !if "$(USE_GUI)" == "0" |
47 | PORTNAME = base | |
48 | !endif | |
49 | !if "$(USE_GUI)" == "1" | |
50 | PORTNAME = msw | |
51 | !endif | |
52 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
53 | WXDEBUGFLAG = d | |
54 | !endif | |
55 | !if "$(DEBUG_FLAG)" == "1" | |
56 | WXDEBUGFLAG = d | |
57 | !endif | |
58 | !if "$(SHARED)" == "1" | |
59 | WXDLLFLAG = dll | |
60 | !endif | |
61 | !if "$(UNICODE)" == "1" | |
62 | WXUNICODEFLAG = u | |
63 | !endif | |
64 | !if "$(WXUNIV)" == "1" | |
65 | WXUNIVNAME = univ | |
66 | !endif | |
67 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
68 | __DEBUGINFO_0 = /Zi | |
69 | !endif | |
70 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
71 | __DEBUGINFO_0 = | |
72 | !endif | |
73 | !if "$(DEBUG_INFO)" == "0" | |
74 | __DEBUGINFO_0 = | |
75 | !endif | |
76 | !if "$(DEBUG_INFO)" == "1" | |
77 | __DEBUGINFO_0 = /Zi | |
78 | !endif | |
79 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
80 | __DEBUGINFO_1 = /DEBUG | |
81 | !endif | |
82 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
83 | __DEBUGINFO_1 = | |
84 | !endif | |
85 | !if "$(DEBUG_INFO)" == "0" | |
86 | __DEBUGINFO_1 = | |
87 | !endif | |
88 | !if "$(DEBUG_INFO)" == "1" | |
89 | __DEBUGINFO_1 = /DEBUG | |
90 | !endif | |
91 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
92 | __DEBUGINFO_3 = d | |
93 | !endif | |
94 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
95 | __DEBUGINFO_3 = | |
96 | !endif | |
97 | !if "$(DEBUG_INFO)" == "0" | |
98 | __DEBUGINFO_3 = | |
99 | !endif | |
100 | !if "$(DEBUG_INFO)" == "1" | |
101 | __DEBUGINFO_3 = d | |
102 | !endif | |
103 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
104 | __DEBUGRUNTIME_3 = | |
105 | !endif | |
106 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
107 | __DEBUGRUNTIME_3 = d | |
108 | !endif | |
109 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
110 | __DEBUGRUNTIME_3 = $(__DEBUGINFO_3) | |
111 | !endif | |
112 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
113 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
114 | !endif | |
115 | !if "$(DEBUG_FLAG)" == "1" | |
116 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
117 | !endif | |
118 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
119 | __DEBUG_DEFINE_p_1 = /d __WXDEBUG__ | |
120 | !endif | |
121 | !if "$(DEBUG_FLAG)" == "1" | |
122 | __DEBUG_DEFINE_p_1 = /d __WXDEBUG__ | |
123 | !endif | |
124 | !if "$(SHARED)" == "1" | |
125 | __DLLFLAG_p = /DWXUSINGDLL | |
126 | !endif | |
127 | !if "$(SHARED)" == "1" | |
128 | __DLLFLAG_p_1 = /d WXUSINGDLL | |
129 | !endif | |
130 | !if "$(USE_GUI)" == "1" | |
131 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
132 | !endif | |
133 | !if "$(USE_GUI)" == "1" | |
134 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
135 | !endif | |
136 | !if "$(USE_GUI)" == "1" | |
137 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
138 | !endif | |
139 | !if "$(BUILD)" == "debug" | |
140 | __OPTIMIZEFLAG_4 = /Od | |
141 | !endif | |
142 | !if "$(BUILD)" == "release" | |
143 | __OPTIMIZEFLAG_4 = /O2 | |
144 | !endif | |
145 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
146 | __RUNTIME_LIBS_7 = D | |
147 | !endif | |
148 | !if "$(RUNTIME_LIBS)" == "static" | |
149 | __RUNTIME_LIBS_7 = T | |
1fc25a89 | 150 | !endif |
fd9f42b6 VS |
151 | !if "$(UNICODE)" == "1" |
152 | __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1 | |
153 | !endif | |
154 | !if "$(UNICODE)" == "1" | |
155 | __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=1 | |
156 | !endif | |
2265a2d5 VS |
157 | !if "$(MSLU)" == "1" |
158 | __UNICOWS_LIB_p = unicows.lib | |
159 | !endif | |
fd9f42b6 | 160 | !if "$(MONOLITHIC)" == "0" |
34f7e40f JS |
161 | __WXLIB_ADV_p = \ |
162 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv.lib | |
163 | !endif | |
164 | !if "$(MONOLITHIC)" == "0" | |
fd9f42b6 VS |
165 | __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib |
166 | !endif | |
167 | !if "$(MONOLITHIC)" == "0" | |
168 | __WXLIB_CORE_p = \ | |
169 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib | |
170 | !endif | |
171 | !if "$(MONOLITHIC)" == "1" | |
172 | __WXLIB_MONO_p = \ | |
173 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
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 | ||
34f7e40f | 231 | all: $(OBJS)\studio.exe data |
fd9f42b6 | 232 | |
34f7e40f JS |
233 | $(OBJS)\studio_cspalette.obj: .\cspalette.cpp |
234 | $(CXX) /c /nologo /TP /Fo$@ $(STUDIO_CXXFLAGS) $** | |
fd9f42b6 | 235 | |
34f7e40f JS |
236 | $(OBJS)\studio_csprint.obj: .\csprint.cpp |
237 | $(CXX) /c /nologo /TP /Fo$@ $(STUDIO_CXXFLAGS) $** | |
fd9f42b6 | 238 | |
34f7e40f JS |
239 | $(OBJS)\studio_dialogs.obj: .\dialogs.cpp |
240 | $(CXX) /c /nologo /TP /Fo$@ $(STUDIO_CXXFLAGS) $** | |
fd9f42b6 | 241 | |
34f7e40f JS |
242 | $(OBJS)\studio_doc.obj: .\doc.cpp |
243 | $(CXX) /c /nologo /TP /Fo$@ $(STUDIO_CXXFLAGS) $** | |
fd9f42b6 | 244 | |
34f7e40f JS |
245 | $(OBJS)\studio_mainfrm.obj: .\mainfrm.cpp |
246 | $(CXX) /c /nologo /TP /Fo$@ $(STUDIO_CXXFLAGS) $** | |
fd9f42b6 | 247 | |
34f7e40f JS |
248 | $(OBJS)\studio_project.obj: .\project.cpp |
249 | $(CXX) /c /nologo /TP /Fo$@ $(STUDIO_CXXFLAGS) $** | |
fd9f42b6 | 250 | |
34f7e40f JS |
251 | $(OBJS)\studio_shapes.obj: .\shapes.cpp |
252 | $(CXX) /c /nologo /TP /Fo$@ $(STUDIO_CXXFLAGS) $** | |
fd9f42b6 | 253 | |
34f7e40f JS |
254 | $(OBJS)\studio_studio.obj: .\studio.cpp |
255 | $(CXX) /c /nologo /TP /Fo$@ $(STUDIO_CXXFLAGS) $** | |
fd9f42b6 | 256 | |
34f7e40f | 257 | $(OBJS)\studio_studio.res: .\studio.rc |
75a0a7b7 | 258 | 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 $(SETUPHDIR) /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\..\..\samples /i .\..\..\..\include $** |
fd9f42b6 | 259 | |
34f7e40f JS |
260 | $(OBJS)\studio_symbols.obj: .\symbols.cpp |
261 | $(CXX) /c /nologo /TP /Fo$@ $(STUDIO_CXXFLAGS) $** | |
fd9f42b6 | 262 | |
34f7e40f JS |
263 | $(OBJS)\studio_view.obj: .\view.cpp |
264 | $(CXX) /c /nologo /TP /Fo$@ $(STUDIO_CXXFLAGS) $** | |
1fc25a89 | 265 | |
fd9f42b6 VS |
266 | clean: |
267 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
268 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
34f7e40f | 269 | -if exist $(OBJS)\studio.exe del $(OBJS)\studio.exe |
1fc25a89 | 270 | |
fd9f42b6 VS |
271 | data: |
272 | if not exist $(OBJS) mkdir $(OBJS) | |
273 | for %f in (studio_resources.wxr) do if not exist $(OBJS)\%f copy .\%f $(OBJS) | |
1fc25a89 | 274 | |
34f7e40f | 275 | $(OBJS)\studio.exe: $(STUDIO_OBJECTS) $(OBJS)\studio_studio.res |
75a0a7b7 | 276 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<< |
34f7e40f | 277 | $(STUDIO_OBJECTS) wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib $(__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$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) 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 |
fd9f42b6 | 278 | << |