]>
Commit | Line | Data |
---|---|---|
f82b7036 KO |
1 | # =========================================================================\r |
2 | # This makefile was generated by\r | |
00eef16d | 3 | # Bakefile 0.2.9 (http://www.bakefile.org)\r |
f82b7036 KO |
4 | # Do not modify, all changes will be overwritten!\r |
5 | # =========================================================================\r | |
6 | \r | |
7 | .autodepend\r | |
8 | \r | |
9 | !ifndef BCCDIR\r | |
10 | !ifndef MAKEDIR\r | |
11 | !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4\r | |
12 | !endif\r | |
13 | BCCDIR = $(MAKEDIR)\..\r | |
14 | !endif\r | |
15 | \r | |
16 | !include ../../../build/msw/config.bcc\r | |
17 | \r | |
18 | # -------------------------------------------------------------------------\r | |
19 | # Do not modify the rest of this file!\r | |
20 | # -------------------------------------------------------------------------\r | |
21 | \r | |
22 | ### Variables: ###\r | |
23 | \r | |
24 | WX_RELEASE_NODOT = 29\r | |
25 | COMPILER_PREFIX = bcc\r | |
26 | OBJS = \\r | |
14b682f7 VZ |
27 | $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) |
28 | LIBDIRNAME = \ | |
29 | .\..\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)_$(LIBTYPE_SUFFIX)$(CFG) | |
f82b7036 KO |
30 | SETUPHDIR = \\r |
31 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r | |
32 | SCREENSHOTGEN_CXXFLAGS = $(__RUNTIME_LIBS_7) -I$(BCCDIR)\include \\r | |
22a3b6e4 | 33 | $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG_6) -D__WX$(TOOLKIT)__ \ |
00fb97de KO |
34 | $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) \\r |
35 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \\r | |
b796194b VS |
36 | $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) -I$(SETUPHDIR) \\r |
37 | -I.\..\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_p) -I. $(__DLLFLAG_p) \\r | |
38 | -I.\..\..\..\samples -DNOPCH $(CPPFLAGS) $(CXXFLAGS)\r | |
f82b7036 KO |
39 | SCREENSHOTGEN_OBJECTS = \\r |
40 | $(OBJS)\screenshotgen_screenshot_app.obj \\r | |
41 | $(OBJS)\screenshotgen_screenshot_main.obj \\r | |
42 | $(OBJS)\screenshotgen_guiframe.obj \\r | |
43 | $(OBJS)\screenshotgen_customcombo.obj \\r | |
44 | $(OBJS)\screenshotgen_autocapture.obj\r | |
45 | \r | |
46 | ### Conditionally set variables: ###\r | |
47 | \r | |
22a3b6e4 VZ |
48 | !if "$(TOOLKIT)" == "GTK" |
49 | WIN32_TOOLKIT_LOWERCASE = gtk | |
50 | !endif | |
51 | !if "$(TOOLKIT)" == "MSW" | |
52 | WIN32_TOOLKIT_LOWERCASE = msw | |
53 | !endif | |
f82b7036 KO |
54 | !if "$(USE_GUI)" == "0"\r |
55 | PORTNAME = base\r | |
56 | !endif\r | |
57 | !if "$(USE_GUI)" == "1"\r | |
22a3b6e4 VZ |
58 | PORTNAME = $(WIN32_TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) |
59 | !endif | |
60 | !if "$(TOOLKIT)" == "MAC" | |
61 | WXBASEPORT = _carbon | |
62 | !endif | |
14b682f7 VZ |
63 | !if "$(OFFICIAL_BUILD)" == "1" |
64 | COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD | |
22a3b6e4 | 65 | !endif\r |
f82b7036 KO |
66 | !if "$(BUILD)" == "debug"\r |
67 | WXDEBUGFLAG = d\r | |
68 | !endif\r | |
69 | !if "$(UNICODE)" == "1"\r | |
70 | WXUNICODEFLAG = u\r | |
71 | !endif\r | |
72 | !if "$(WXUNIV)" == "1"\r | |
73 | WXUNIVNAME = univ\r | |
74 | !endif\r | |
75 | !if "$(SHARED)" == "1"\r | |
76 | WXDLLFLAG = dll\r | |
77 | !endif\r | |
78 | !if "$(SHARED)" == "0"\r | |
79 | LIBTYPE_SUFFIX = lib\r | |
80 | !endif\r | |
81 | !if "$(SHARED)" == "1"\r | |
82 | LIBTYPE_SUFFIX = dll\r | |
83 | !endif\r | |
84 | !if "$(MONOLITHIC)" == "0"\r | |
85 | EXTRALIBS_FOR_BASE = \r | |
86 | !endif\r | |
87 | !if "$(MONOLITHIC)" == "1"\r | |
51ec29ea | 88 | EXTRALIBS_FOR_BASE = \r |
f82b7036 | 89 | !endif\r |
22a3b6e4 VZ |
90 | !if "$(TOOLKIT)" == "GTK" && "$(TOOLKIT_VERSION)" == "2" |
91 | LIB_GTK = gtk-win32-2.0.lib gdk-win32-2.0.lib pangocairo-1.0.lib \ | |
92 | gdk_pixbuf-2.0.lib cairo.lib pango-1.0.lib gobject-2.0.lib gthread-2.0.lib \ | |
93 | glib-2.0.lib | |
94 | !endif | |
f82b7036 KO |
95 | !if "$(BUILD)" == "debug"\r |
96 | __OPTIMIZEFLAG_2 = -Od\r | |
97 | !endif\r | |
98 | !if "$(BUILD)" == "release"\r | |
99 | __OPTIMIZEFLAG_2 = -O2\r | |
100 | !endif\r | |
101 | !if "$(USE_THREADS)" == "0"\r | |
102 | __THREADSFLAG_5 = \r | |
103 | !endif\r | |
104 | !if "$(USE_THREADS)" == "1"\r | |
105 | __THREADSFLAG_5 = mt\r | |
106 | !endif\r | |
107 | !if "$(USE_THREADS)" == "0"\r | |
108 | __THREADSFLAG_6 = \r | |
109 | !endif\r | |
110 | !if "$(USE_THREADS)" == "1"\r | |
111 | __THREADSFLAG_6 = -tWM\r | |
112 | !endif\r | |
113 | !if "$(RUNTIME_LIBS)" == "dynamic"\r | |
114 | __RUNTIME_LIBS_7 = -tWR\r | |
115 | !endif\r | |
116 | !if "$(RUNTIME_LIBS)" == "static"\r | |
117 | __RUNTIME_LIBS_7 = \r | |
118 | !endif\r | |
119 | !if "$(RUNTIME_LIBS)" == "dynamic"\r | |
120 | __RUNTIME_LIBS_8 = i\r | |
121 | !endif\r | |
122 | !if "$(RUNTIME_LIBS)" == "static"\r | |
123 | __RUNTIME_LIBS_8 = \r | |
124 | !endif\r | |
125 | !if "$(WXUNIV)" == "1"\r | |
126 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__\r | |
127 | !endif\r | |
128 | !if "$(WXUNIV)" == "1"\r | |
129 | __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__\r | |
130 | !endif\r | |
131 | !if "$(DEBUG_FLAG)" == "0"\r | |
132 | __DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0\r | |
133 | !endif\r | |
134 | !if "$(DEBUG_FLAG)" == "0"\r | |
135 | __DEBUG_DEFINE_p_1 = -dwxDEBUG_LEVEL=0\r | |
136 | !endif\r | |
00fb97de KO |
137 | !if "$(BUILD)" == "release"\r |
138 | __NDEBUG_DEFINE_p = -DNDEBUG\r | |
139 | !endif\r | |
140 | !if "$(BUILD)" == "release"\r | |
141 | __NDEBUG_DEFINE_p_1 = -dNDEBUG\r | |
142 | !endif\r | |
f82b7036 KO |
143 | !if "$(USE_EXCEPTIONS)" == "0"\r |
144 | __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS\r | |
145 | !endif\r | |
146 | !if "$(USE_EXCEPTIONS)" == "0"\r | |
147 | __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS\r | |
148 | !endif\r | |
149 | !if "$(USE_RTTI)" == "0"\r | |
150 | __RTTI_DEFINE_p = -DwxNO_RTTI\r | |
151 | !endif\r | |
152 | !if "$(USE_RTTI)" == "0"\r | |
153 | __RTTI_DEFINE_p_1 = -dwxNO_RTTI\r | |
154 | !endif\r | |
155 | !if "$(USE_THREADS)" == "0"\r | |
156 | __THREAD_DEFINE_p = -DwxNO_THREADS\r | |
157 | !endif\r | |
158 | !if "$(USE_THREADS)" == "0"\r | |
159 | __THREAD_DEFINE_p_1 = -dwxNO_THREADS\r | |
160 | !endif\r | |
161 | !if "$(UNICODE)" == "0"\r | |
162 | __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0\r | |
163 | !endif\r | |
164 | !if "$(UNICODE)" == "1"\r | |
165 | __UNICODE_DEFINE_p = -D_UNICODE\r | |
166 | !endif\r | |
167 | !if "$(UNICODE)" == "0"\r | |
168 | __UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=0\r | |
169 | !endif\r | |
170 | !if "$(UNICODE)" == "1"\r | |
171 | __UNICODE_DEFINE_p_1 = -d_UNICODE\r | |
172 | !endif\r | |
173 | !if "$(MSLU)" == "1"\r | |
174 | __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1\r | |
175 | !endif\r | |
176 | !if "$(MSLU)" == "1"\r | |
177 | __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1\r | |
178 | !endif\r | |
f82b7036 KO |
179 | !if "$(USE_CAIRO)" == "1"\r |
180 | ____CAIRO_INCLUDEDIR_FILENAMES_p = -I$(CAIRO_ROOT)\include\cairo\r | |
181 | !endif\r | |
182 | !if "$(USE_CAIRO)" == "1"\r | |
183 | ____CAIRO_INCLUDEDIR_FILENAMES_1_p = -i$(CAIRO_ROOT)\include\cairo\r | |
184 | !endif\r | |
185 | !if "$(SHARED)" == "1"\r | |
186 | __DLLFLAG_p = -DWXUSINGDLL\r | |
187 | !endif\r | |
188 | !if "$(SHARED)" == "1"\r | |
189 | __DLLFLAG_p_1 = -dWXUSINGDLL\r | |
190 | !endif\r | |
191 | !if "$(MONOLITHIC)" == "0"\r | |
192 | __WXLIB_AUI_p = \\r | |
193 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_aui.lib\r | |
194 | !endif\r | |
195 | !if "$(MONOLITHIC)" == "0"\r | |
f82b7036 KO |
196 | __WXLIB_RICHTEXT_p = \\r |
197 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_richtext.lib\r | |
198 | !endif\r | |
199 | !if "$(MONOLITHIC)" == "0"\r | |
200 | __WXLIB_HTML_p = \\r | |
201 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib\r | |
202 | !endif\r | |
203 | !if "$(MONOLITHIC)" == "0"\r | |
f36ddde1 VZ |
204 | __WXLIB_ADV_p = \\r |
205 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib\r | |
206 | !endif\r | |
207 | !if "$(MONOLITHIC)" == "0"\r | |
f82b7036 | 208 | __WXLIB_XML_p = \\r |
22a3b6e4 | 209 | wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib |
f82b7036 KO |
210 | !endif\r |
211 | !if "$(MONOLITHIC)" == "0"\r | |
212 | __WXLIB_CORE_p = \\r | |
213 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\r | |
214 | !endif\r | |
215 | !if "$(MONOLITHIC)" == "0"\r | |
216 | __WXLIB_BASE_p = \\r | |
22a3b6e4 | 217 | wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib |
f82b7036 KO |
218 | !endif\r |
219 | !if "$(MONOLITHIC)" == "1"\r | |
220 | __WXLIB_MONO_p = \\r | |
221 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r | |
222 | !endif\r | |
223 | !if "$(USE_GUI)" == "1"\r | |
224 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r | |
225 | !endif\r | |
226 | !if "$(USE_GUI)" == "1"\r | |
227 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r | |
228 | !endif\r | |
229 | !if "$(USE_GUI)" == "1"\r | |
230 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r | |
231 | !endif\r | |
232 | !if "$(MSLU)" == "1"\r | |
233 | __UNICOWS_LIB_p = unicows.lib\r | |
234 | !endif\r | |
f82b7036 KO |
235 | !if "$(USE_CAIRO)" == "1"\r |
236 | __CAIRO_LIB_p = cairo.lib\r | |
237 | !endif\r | |
238 | !if "$(USE_CAIRO)" == "1"\r | |
239 | ____CAIRO_LIBDIR_FILENAMES_p = -L$(CAIRO_ROOT)\lib\r | |
240 | !endif\r | |
241 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
242 | __DEBUGINFO = -v\r | |
243 | !endif\r | |
244 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
245 | __DEBUGINFO = -v-\r | |
246 | !endif\r | |
247 | !if "$(DEBUG_INFO)" == "0"\r | |
248 | __DEBUGINFO = -v-\r | |
249 | !endif\r | |
250 | !if "$(DEBUG_INFO)" == "1"\r | |
251 | __DEBUGINFO = -v\r | |
252 | !endif\r | |
253 | \r | |
254 | \r | |
255 | all: $(OBJS)\r | |
256 | $(OBJS):\r | |
257 | -if not exist $(OBJS) mkdir $(OBJS)\r | |
258 | \r | |
259 | ### Targets: ###\r | |
260 | \r | |
261 | all: $(OBJS)\screenshotgen.exe bitmaps xml\r | |
262 | \r | |
263 | clean: \r | |
264 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r | |
265 | -if exist $(OBJS)\*.res del $(OBJS)\*.res\r | |
266 | -if exist $(OBJS)\*.csm del $(OBJS)\*.csm\r | |
267 | -if exist $(OBJS)\screenshotgen.exe del $(OBJS)\screenshotgen.exe\r | |
268 | -if exist $(OBJS)\screenshotgen.tds del $(OBJS)\screenshotgen.tds\r | |
269 | -if exist $(OBJS)\screenshotgen.ilc del $(OBJS)\screenshotgen.ilc\r | |
270 | -if exist $(OBJS)\screenshotgen.ild del $(OBJS)\screenshotgen.ild\r | |
271 | -if exist $(OBJS)\screenshotgen.ilf del $(OBJS)\screenshotgen.ilf\r | |
272 | -if exist $(OBJS)\screenshotgen.ils del $(OBJS)\screenshotgen.ils\r | |
273 | \r | |
274 | $(OBJS)\screenshotgen.exe: $(SCREENSHOTGEN_OBJECTS) $(OBJS)\screenshotgen_screenshotgen.res\r | |
275 | ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @&&|\r | |
22a3b6e4 | 276 | c0w32.obj $(SCREENSHOTGEN_OBJECTS),$@,, $(__WXLIB_AUI_p) $(__WXLIB_RICHTEXT_p) $(__WXLIB_HTML_p) $(__WXLIB_ADV_p) $(__WXLIB_XML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(LIB_GTK) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG_5)$(__RUNTIME_LIBS_8).lib,, $(OBJS)\screenshotgen_screenshotgen.res |
f82b7036 KO |
277 | |\r |
278 | \r | |
279 | bitmaps: \r | |
280 | if not exist $(OBJS)\bitmaps mkdir $(OBJS)\bitmaps\r | |
281 | for %f in (wxwin32x32.png bell.png sound.png dropbuth.png dropbutn.png dropbutp.png throbber.gif) do if not exist $(OBJS)\bitmaps\%f copy .\bitmaps\%f $(OBJS)\bitmaps\r | |
282 | \r | |
283 | xml: \r | |
284 | if not exist $(OBJS) mkdir $(OBJS)\r | |
285 | for %f in (richtext.xml) do if not exist $(OBJS)\%f copy .\%f $(OBJS)\r | |
286 | \r | |
287 | $(OBJS)\screenshotgen_screenshot_app.obj: .\screenshot_app.cpp\r | |
288 | $(CXX) -q -c -P -o$@ $(SCREENSHOTGEN_CXXFLAGS) .\screenshot_app.cpp\r | |
289 | \r | |
290 | $(OBJS)\screenshotgen_screenshot_main.obj: .\screenshot_main.cpp\r | |
291 | $(CXX) -q -c -P -o$@ $(SCREENSHOTGEN_CXXFLAGS) .\screenshot_main.cpp\r | |
292 | \r | |
293 | $(OBJS)\screenshotgen_guiframe.obj: .\guiframe.cpp\r | |
294 | $(CXX) -q -c -P -o$@ $(SCREENSHOTGEN_CXXFLAGS) .\guiframe.cpp\r | |
295 | \r | |
296 | $(OBJS)\screenshotgen_customcombo.obj: .\customcombo.cpp\r | |
297 | $(CXX) -q -c -P -o$@ $(SCREENSHOTGEN_CXXFLAGS) .\customcombo.cpp\r | |
298 | \r | |
299 | $(OBJS)\screenshotgen_autocapture.obj: .\autocapture.cpp\r | |
300 | $(CXX) -q -c -P -o$@ $(SCREENSHOTGEN_CXXFLAGS) .\autocapture.cpp\r | |
301 | \r | |
302 | $(OBJS)\screenshotgen_screenshotgen.res: .\screenshotgen.rc\r | |
22a3b6e4 | 303 | brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) -i. $(__DLLFLAG_p_1) -i.\..\..\..\samples -dNOPCH .\screenshotgen.rc |
f82b7036 | 304 | \r |