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 # =========================================================================
11 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
13 BCCDIR = $(MAKEDIR)\..
16 !include ../../build/msw/config.bcc
18 # -------------------------------------------------------------------------
19 # Do not modify the rest of this file!
20 # -------------------------------------------------------------------------
25 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28 LIBDIRNAME = .\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
31 RENDER_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
32 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
33 $(__UNICODE_DEFINE_p) -I.\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
34 -I.\..\..\samples -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
36 $(OBJS)\render_render.obj
37 RENDDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
38 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
39 $(__UNICODE_DEFINE_p) -I.\..\..\include -I$(SETUPHDIR) -DWXUSINGDLL \
40 $(CPPFLAGS) $(CXXFLAGS)
42 $(OBJS)\renddll_renddll.obj
44 ### Conditionally set variables: ###
46 !if "$(USE_GUI)" == "0"
49 !if "$(USE_GUI)" == "1"
52 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
55 !if "$(DEBUG_FLAG)" == "1"
58 !if "$(UNICODE)" == "1"
61 !if "$(WXUNIV)" == "1"
64 !if "$(SHARED)" == "1"
67 !if "$(SHARED)" == "0"
70 !if "$(SHARED)" == "1"
73 !if "$(MONOLITHIC)" == "0"
76 !if "$(MONOLITHIC)" == "1"
79 !if "$(BUILD)" == "debug" && "$(UNICODE)" == "0"
82 !if "$(BUILD)" == "debug" && "$(UNICODE)" == "1"
85 !if "$(BUILD)" == "release" && "$(UNICODE)" == "0"
88 !if "$(BUILD)" == "release" && "$(UNICODE)" == "1"
91 !if "$(WXUNIV)" == "1"
92 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
94 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
95 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
97 !if "$(DEBUG_FLAG)" == "1"
98 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
100 !if "$(UNICODE)" == "1"
101 __UNICODE_DEFINE_p_1 = -d_UNICODE
103 !if "$(SHARED)" == "1"
104 __DLLFLAG_p = -DWXUSINGDLL
106 !if "$(SHARED)" == "1"
107 __DLLFLAG_p_1 = -dWXUSINGDLL
109 !if "$(SHARED)" == "1"
110 __renddll___depname = \
111 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.dll
113 !if "$(BUILD)" == "debug"
116 !if "$(BUILD)" == "release"
119 !if "$(RUNTIME_LIBS)" == "dynamic"
120 __RUNTIME_LIBS = -tWR
122 !if "$(RUNTIME_LIBS)" == "static"
125 !if "$(RUNTIME_LIBS)" == "dynamic"
128 !if "$(RUNTIME_LIBS)" == "static"
131 !if "$(WXUNIV)" == "1"
132 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
134 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
135 __DEBUG_DEFINE_p = -D__WXDEBUG__
137 !if "$(DEBUG_FLAG)" == "1"
138 __DEBUG_DEFINE_p = -D__WXDEBUG__
140 !if "$(UNICODE)" == "1"
141 __UNICODE_DEFINE_p = -D_UNICODE
143 !if "$(MONOLITHIC)" == "0"
145 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
147 !if "$(MONOLITHIC)" == "0"
149 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
151 !if "$(MONOLITHIC)" == "1"
153 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
155 !if "$(USE_GUI)" == "1"
156 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
158 !if "$(USE_GUI)" == "1"
159 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
161 !if "$(USE_GUI)" == "1"
162 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
165 __UNICOWS_LIB_p = unicows.lib
167 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
170 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
173 !if "$(DEBUG_INFO)" == "0"
176 !if "$(DEBUG_INFO)" == "1"
183 -if not exist $(OBJS) mkdir $(OBJS)
187 all: $(OBJS)\render.exe $(__renddll___depname)
190 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
191 -if exist $(OBJS)\*.res del $(OBJS)\*.res
192 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
193 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe
194 -if exist $(OBJS)\render.tds del $(OBJS)\render.tds
195 -if exist $(OBJS)\render.ilc del $(OBJS)\render.ilc
196 -if exist $(OBJS)\render.ild del $(OBJS)\render.ild
197 -if exist $(OBJS)\render.ilf del $(OBJS)\render.ilf
198 -if exist $(OBJS)\render.ils del $(OBJS)\render.ils
199 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.dll
200 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.tds del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.tds
201 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ilc del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ilc
202 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ild del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ild
203 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ilf del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ilf
204 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ils del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ils
206 $(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res
207 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
208 c0w32.obj $(RENDER_OBJECTS),$@,, $(__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_0).lib,, $(OBJS)\render_sample.res
211 !if "$(SHARED)" == "1"
212 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.dll: $(RENDDLL_OBJECTS)
213 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
214 c0d32.obj $(RENDDLL_OBJECTS),$@,, $(__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_0).lib,,
218 $(OBJS)\render_sample.res: .\..\..\samples\sample.rc
219 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 $**
221 $(OBJS)\render_render.obj: .\render.cpp
222 $(CXX) -q -c -P -o$@ $(RENDER_CXXFLAGS) $**
224 $(OBJS)\renddll_renddll.obj: .\renddll.cpp
225 $(CXX) -q -c -P -o$@ $(RENDDLL_CXXFLAGS) $**