]> git.saurik.com Git - wxWidgets.git/blob - contrib/samples/ogl/studio/makefile.bcc
Regenerated makefiles
[wxWidgets.git] / contrib / samples / ogl / studio / makefile.bcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.6 (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 = 25
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_6) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG_2) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
32 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\..\include \
33 -I$(SETUPHDIR) -I. $(__DLLFLAG_p) -I.\..\..\..\..\samples -DNOPCH \
34 -I.\..\..\..\include $(CPPFLAGS) $(CXXFLAGS)
35 STUDIO_OBJECTS = \
36 $(OBJS)\studio_studio.obj \
37 $(OBJS)\studio_doc.obj \
38 $(OBJS)\studio_shapes.obj \
39 $(OBJS)\studio_symbols.obj \
40 $(OBJS)\studio_view.obj \
41 $(OBJS)\studio_cspalette.obj \
42 $(OBJS)\studio_mainfrm.obj \
43 $(OBJS)\studio_project.obj \
44 $(OBJS)\studio_dialogs.obj \
45 $(OBJS)\studio_csprint.obj
46
47 ### Conditionally set variables: ###
48
49 !if "$(USE_GUI)" == "0"
50 PORTNAME = base
51 !endif
52 !if "$(USE_GUI)" == "1"
53 PORTNAME = msw
54 !endif
55 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
56 WXDEBUGFLAG = d
57 !endif
58 !if "$(DEBUG_FLAG)" == "1"
59 WXDEBUGFLAG = d
60 !endif
61 !if "$(UNICODE)" == "1"
62 WXUNICODEFLAG = u
63 !endif
64 !if "$(WXUNIV)" == "1"
65 WXUNIVNAME = univ
66 !endif
67 !if "$(SHARED)" == "1"
68 WXDLLFLAG = dll
69 !endif
70 !if "$(SHARED)" == "0"
71 LIBTYPE_SUFFIX = lib
72 !endif
73 !if "$(SHARED)" == "1"
74 LIBTYPE_SUFFIX = dll
75 !endif
76 !if "$(MONOLITHIC)" == "0"
77 EXTRALIBS_FOR_BASE =
78 !endif
79 !if "$(MONOLITHIC)" == "1"
80 EXTRALIBS_FOR_BASE =
81 !endif
82 !if "$(BUILD)" == "debug"
83 __OPTIMIZEFLAG_2 = -Od
84 !endif
85 !if "$(BUILD)" == "release"
86 __OPTIMIZEFLAG_2 = -O2
87 !endif
88 !if "$(RUNTIME_LIBS)" == "dynamic"
89 __RUNTIME_LIBS_6 = -tWR
90 !endif
91 !if "$(RUNTIME_LIBS)" == "static"
92 __RUNTIME_LIBS_6 =
93 !endif
94 !if "$(RUNTIME_LIBS)" == "dynamic"
95 __RUNTIME_LIBS_7 = i
96 !endif
97 !if "$(RUNTIME_LIBS)" == "static"
98 __RUNTIME_LIBS_7 =
99 !endif
100 !if "$(WXUNIV)" == "1"
101 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
102 !endif
103 !if "$(WXUNIV)" == "1"
104 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
105 !endif
106 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
107 __DEBUG_DEFINE_p = -D__WXDEBUG__
108 !endif
109 !if "$(DEBUG_FLAG)" == "1"
110 __DEBUG_DEFINE_p = -D__WXDEBUG__
111 !endif
112 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
113 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
114 !endif
115 !if "$(DEBUG_FLAG)" == "1"
116 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
117 !endif
118 !if "$(UNICODE)" == "1"
119 __UNICODE_DEFINE_p = -D_UNICODE
120 !endif
121 !if "$(UNICODE)" == "1"
122 __UNICODE_DEFINE_p_1 = -d_UNICODE
123 !endif
124 !if "$(SHARED)" == "1"
125 __DLLFLAG_p = -DWXUSINGDLL
126 !endif
127 !if "$(SHARED)" == "1"
128 __DLLFLAG_p_1 = -dWXUSINGDLL
129 !endif
130 !if "$(MONOLITHIC)" == "0"
131 __WXLIB_ADV_p = \
132 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
133 !endif
134 !if "$(MONOLITHIC)" == "0"
135 __WXLIB_HTML_p = \
136 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
137 !endif
138 !if "$(MONOLITHIC)" == "0"
139 __WXLIB_CORE_p = \
140 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
141 !endif
142 !if "$(MONOLITHIC)" == "0"
143 __WXLIB_BASE_p = \
144 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
145 !endif
146 !if "$(MONOLITHIC)" == "1"
147 __WXLIB_MONO_p = \
148 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
149 !endif
150 !if "$(USE_GUI)" == "1"
151 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
152 !endif
153 !if "$(USE_GUI)" == "1"
154 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
155 !endif
156 !if "$(USE_GUI)" == "1"
157 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
158 !endif
159 !if "$(MSLU)" == "1"
160 __UNICOWS_LIB_p = unicows.lib
161 !endif
162 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
163 __DEBUGINFO = -v
164 !endif
165 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
166 __DEBUGINFO = -v-
167 !endif
168 !if "$(DEBUG_INFO)" == "0"
169 __DEBUGINFO = -v-
170 !endif
171 !if "$(DEBUG_INFO)" == "1"
172 __DEBUGINFO = -v
173 !endif
174
175
176 all: $(OBJS)
177 $(OBJS):
178 -if not exist $(OBJS) mkdir $(OBJS)
179
180 ### Targets: ###
181
182 all: $(OBJS)\studio.exe data
183
184 clean:
185 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
186 -if exist $(OBJS)\*.res del $(OBJS)\*.res
187 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
188 -if exist $(OBJS)\studio.exe del $(OBJS)\studio.exe
189 -if exist $(OBJS)\studio.tds del $(OBJS)\studio.tds
190 -if exist $(OBJS)\studio.ilc del $(OBJS)\studio.ilc
191 -if exist $(OBJS)\studio.ild del $(OBJS)\studio.ild
192 -if exist $(OBJS)\studio.ilf del $(OBJS)\studio.ilf
193 -if exist $(OBJS)\studio.ils del $(OBJS)\studio.ils
194
195 $(OBJS)\studio.exe: $(STUDIO_OBJECTS) $(OBJS)\studio_studio.res
196 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
197 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 cw32mt$(__RUNTIME_LIBS_7).lib,, $(OBJS)\studio_studio.res
198 |
199
200 data:
201 if not exist $(OBJS) mkdir $(OBJS)
202 for %f in (studio_resources.wxr) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
203
204 $(OBJS)\studio_studio.obj: .\studio.cpp
205 $(CXX) -q -c -P -o$@ $(STUDIO_CXXFLAGS) $**
206
207 $(OBJS)\studio_doc.obj: .\doc.cpp
208 $(CXX) -q -c -P -o$@ $(STUDIO_CXXFLAGS) $**
209
210 $(OBJS)\studio_shapes.obj: .\shapes.cpp
211 $(CXX) -q -c -P -o$@ $(STUDIO_CXXFLAGS) $**
212
213 $(OBJS)\studio_symbols.obj: .\symbols.cpp
214 $(CXX) -q -c -P -o$@ $(STUDIO_CXXFLAGS) $**
215
216 $(OBJS)\studio_view.obj: .\view.cpp
217 $(CXX) -q -c -P -o$@ $(STUDIO_CXXFLAGS) $**
218
219 $(OBJS)\studio_cspalette.obj: .\cspalette.cpp
220 $(CXX) -q -c -P -o$@ $(STUDIO_CXXFLAGS) $**
221
222 $(OBJS)\studio_mainfrm.obj: .\mainfrm.cpp
223 $(CXX) -q -c -P -o$@ $(STUDIO_CXXFLAGS) $**
224
225 $(OBJS)\studio_project.obj: .\project.cpp
226 $(CXX) -q -c -P -o$@ $(STUDIO_CXXFLAGS) $**
227
228 $(OBJS)\studio_dialogs.obj: .\dialogs.cpp
229 $(CXX) -q -c -P -o$@ $(STUDIO_CXXFLAGS) $**
230
231 $(OBJS)\studio_csprint.obj: .\csprint.cpp
232 $(CXX) -q -c -P -o$@ $(STUDIO_CXXFLAGS) $**
233
234 $(OBJS)\studio_studio.res: .\studio.rc
235 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) -i.\..\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_1) -i.\..\..\..\..\samples -dNOPCH -i.\..\..\..\include $**
236