]> git.saurik.com Git - wxWidgets.git/blob - contrib/samples/ogl/studio/makefile.bcc
regenerated after version.bkl changes fixing -compatibility_version for Darwin
[wxWidgets.git] / contrib / samples / ogl / studio / makefile.bcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.9 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
6
7 .autodepend
8
9 !ifndef BCCDIR
10 !ifndef MAKEDIR
11 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
12 !endif
13 BCCDIR = $(MAKEDIR)\..
14 !endif
15
16 !include ../../../../build/msw/config.bcc
17
18 # -------------------------------------------------------------------------
19 # Do not modify the rest of this file!
20 # -------------------------------------------------------------------------
21
22 ### Variables: ###
23
24 WX_RELEASE_NODOT = 27
25 OBJS = \
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 LIBDIRNAME = .\..\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
28 SETUPHDIR = \
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
30 STUDIO_CXXFLAGS = $(__RUNTIME_LIBS_7) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG_2) $(__THREADSFLAG_6) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
32 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
33 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
34 -I.\..\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
35 -I.\..\..\..\..\samples -DNOPCH -I.\..\..\..\include $(CPPFLAGS) $(CXXFLAGS)
36 STUDIO_OBJECTS = \
37 $(OBJS)\studio_studio.obj \
38 $(OBJS)\studio_doc.obj \
39 $(OBJS)\studio_shapes.obj \
40 $(OBJS)\studio_symbols.obj \
41 $(OBJS)\studio_view.obj \
42 $(OBJS)\studio_cspalette.obj \
43 $(OBJS)\studio_mainfrm.obj \
44 $(OBJS)\studio_project.obj \
45 $(OBJS)\studio_dialogs.obj \
46 $(OBJS)\studio_csprint.obj
47
48 ### Conditionally set variables: ###
49
50 !if "$(USE_GUI)" == "0"
51 PORTNAME = base
52 !endif
53 !if "$(USE_GUI)" == "1"
54 PORTNAME = msw
55 !endif
56 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
57 WXDEBUGFLAG = d
58 !endif
59 !if "$(DEBUG_FLAG)" == "1"
60 WXDEBUGFLAG = d
61 !endif
62 !if "$(UNICODE)" == "1"
63 WXUNICODEFLAG = u
64 !endif
65 !if "$(WXUNIV)" == "1"
66 WXUNIVNAME = univ
67 !endif
68 !if "$(SHARED)" == "1"
69 WXDLLFLAG = dll
70 !endif
71 !if "$(SHARED)" == "0"
72 LIBTYPE_SUFFIX = lib
73 !endif
74 !if "$(SHARED)" == "1"
75 LIBTYPE_SUFFIX = dll
76 !endif
77 !if "$(MONOLITHIC)" == "0"
78 EXTRALIBS_FOR_BASE =
79 !endif
80 !if "$(MONOLITHIC)" == "1"
81 EXTRALIBS_FOR_BASE =
82 !endif
83 !if "$(BUILD)" == "debug"
84 __OPTIMIZEFLAG_2 = -Od
85 !endif
86 !if "$(BUILD)" == "release"
87 __OPTIMIZEFLAG_2 = -O2
88 !endif
89 !if "$(USE_THREADS)" == "0"
90 __THREADSFLAG_5 =
91 !endif
92 !if "$(USE_THREADS)" == "1"
93 __THREADSFLAG_5 = mt
94 !endif
95 !if "$(USE_THREADS)" == "0"
96 __THREADSFLAG_6 =
97 !endif
98 !if "$(USE_THREADS)" == "1"
99 __THREADSFLAG_6 = -tWM
100 !endif
101 !if "$(RUNTIME_LIBS)" == "dynamic"
102 __RUNTIME_LIBS_7 = -tWR
103 !endif
104 !if "$(RUNTIME_LIBS)" == "static"
105 __RUNTIME_LIBS_7 =
106 !endif
107 !if "$(RUNTIME_LIBS)" == "dynamic"
108 __RUNTIME_LIBS_8 = i
109 !endif
110 !if "$(RUNTIME_LIBS)" == "static"
111 __RUNTIME_LIBS_8 =
112 !endif
113 !if "$(WXUNIV)" == "1"
114 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
115 !endif
116 !if "$(WXUNIV)" == "1"
117 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
118 !endif
119 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
120 __DEBUG_DEFINE_p = -D__WXDEBUG__
121 !endif
122 !if "$(DEBUG_FLAG)" == "1"
123 __DEBUG_DEFINE_p = -D__WXDEBUG__
124 !endif
125 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
126 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
127 !endif
128 !if "$(DEBUG_FLAG)" == "1"
129 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
130 !endif
131 !if "$(USE_EXCEPTIONS)" == "0"
132 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
133 !endif
134 !if "$(USE_EXCEPTIONS)" == "0"
135 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
136 !endif
137 !if "$(USE_RTTI)" == "0"
138 __RTTI_DEFINE_p = -DwxNO_RTTI
139 !endif
140 !if "$(USE_RTTI)" == "0"
141 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
142 !endif
143 !if "$(USE_THREADS)" == "0"
144 __THREAD_DEFINE_p = -DwxNO_THREADS
145 !endif
146 !if "$(USE_THREADS)" == "0"
147 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
148 !endif
149 !if "$(UNICODE)" == "1"
150 __UNICODE_DEFINE_p = -D_UNICODE
151 !endif
152 !if "$(UNICODE)" == "1"
153 __UNICODE_DEFINE_p_1 = -d_UNICODE
154 !endif
155 !if "$(MSLU)" == "1"
156 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
157 !endif
158 !if "$(MSLU)" == "1"
159 __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
160 !endif
161 !if "$(SHARED)" == "1"
162 __DLLFLAG_p = -DWXUSINGDLL
163 !endif
164 !if "$(SHARED)" == "1"
165 __DLLFLAG_p_1 = -dWXUSINGDLL
166 !endif
167 !if "$(MONOLITHIC)" == "0"
168 __WXLIB_ADV_p = \
169 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
170 !endif
171 !if "$(MONOLITHIC)" == "0"
172 __WXLIB_HTML_p = \
173 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
174 !endif
175 !if "$(MONOLITHIC)" == "0"
176 __WXLIB_CORE_p = \
177 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
178 !endif
179 !if "$(MONOLITHIC)" == "0"
180 __WXLIB_BASE_p = \
181 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
182 !endif
183 !if "$(MONOLITHIC)" == "1"
184 __WXLIB_MONO_p = \
185 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
186 !endif
187 !if "$(USE_GUI)" == "1"
188 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
189 !endif
190 !if "$(USE_GUI)" == "1"
191 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
192 !endif
193 !if "$(USE_GUI)" == "1"
194 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
195 !endif
196 !if "$(MSLU)" == "1"
197 __UNICOWS_LIB_p = unicows.lib
198 !endif
199 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
200 __DEBUGINFO = -v
201 !endif
202 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
203 __DEBUGINFO = -v-
204 !endif
205 !if "$(DEBUG_INFO)" == "0"
206 __DEBUGINFO = -v-
207 !endif
208 !if "$(DEBUG_INFO)" == "1"
209 __DEBUGINFO = -v
210 !endif
211
212
213 all: $(OBJS)
214 $(OBJS):
215 -if not exist $(OBJS) mkdir $(OBJS)
216
217 ### Targets: ###
218
219 all: $(OBJS)\studio.exe data
220
221 clean:
222 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
223 -if exist $(OBJS)\*.res del $(OBJS)\*.res
224 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
225 -if exist $(OBJS)\studio.exe del $(OBJS)\studio.exe
226 -if exist $(OBJS)\studio.tds del $(OBJS)\studio.tds
227 -if exist $(OBJS)\studio.ilc del $(OBJS)\studio.ilc
228 -if exist $(OBJS)\studio.ild del $(OBJS)\studio.ild
229 -if exist $(OBJS)\studio.ilf del $(OBJS)\studio.ilf
230 -if exist $(OBJS)\studio.ils del $(OBJS)\studio.ils
231
232 $(OBJS)\studio.exe: $(STUDIO_OBJECTS) $(OBJS)\studio_studio.res
233 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
234 c0w32.obj $(STUDIO_OBJECTS),$@,, wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib $(__WXLIB_ADV_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$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32$(__THREADSFLAG_5)$(__RUNTIME_LIBS_8).lib,, $(OBJS)\studio_studio.res
235 |
236
237 data:
238 if not exist $(OBJS) mkdir $(OBJS)
239 for %f in (studio_resources.wxr) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
240
241 $(OBJS)\studio_studio.obj: .\studio.cpp
242 $(CXX) -q -c -P -o$@ $(STUDIO_CXXFLAGS) $**
243
244 $(OBJS)\studio_doc.obj: .\doc.cpp
245 $(CXX) -q -c -P -o$@ $(STUDIO_CXXFLAGS) $**
246
247 $(OBJS)\studio_shapes.obj: .\shapes.cpp
248 $(CXX) -q -c -P -o$@ $(STUDIO_CXXFLAGS) $**
249
250 $(OBJS)\studio_symbols.obj: .\symbols.cpp
251 $(CXX) -q -c -P -o$@ $(STUDIO_CXXFLAGS) $**
252
253 $(OBJS)\studio_view.obj: .\view.cpp
254 $(CXX) -q -c -P -o$@ $(STUDIO_CXXFLAGS) $**
255
256 $(OBJS)\studio_cspalette.obj: .\cspalette.cpp
257 $(CXX) -q -c -P -o$@ $(STUDIO_CXXFLAGS) $**
258
259 $(OBJS)\studio_mainfrm.obj: .\mainfrm.cpp
260 $(CXX) -q -c -P -o$@ $(STUDIO_CXXFLAGS) $**
261
262 $(OBJS)\studio_project.obj: .\project.cpp
263 $(CXX) -q -c -P -o$@ $(STUDIO_CXXFLAGS) $**
264
265 $(OBJS)\studio_dialogs.obj: .\dialogs.cpp
266 $(CXX) -q -c -P -o$@ $(STUDIO_CXXFLAGS) $**
267
268 $(OBJS)\studio_csprint.obj: .\csprint.cpp
269 $(CXX) -q -c -P -o$@ $(STUDIO_CXXFLAGS) $**
270
271 $(OBJS)\studio_studio.res: .\studio.rc
272 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) -i.\..\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_1) -i.\..\..\..\..\samples -dNOPCH -i.\..\..\..\include $**
273