1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.0 (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 # -------------------------------------------------------------------------
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 LIBDIRNAME = .\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
30 INTERNAT_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 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -I. $(__DLLFLAG_p) \
35 -I.\..\..\samples -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
37 $(OBJS)\internat_internat.obj
39 ### Conditionally set variables: ###
41 !if "$(USE_GUI)" == "0"
44 !if "$(USE_GUI)" == "1"
47 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
50 !if "$(DEBUG_FLAG)" == "1"
53 !if "$(UNICODE)" == "1"
56 !if "$(WXUNIV)" == "1"
59 !if "$(SHARED)" == "1"
62 !if "$(SHARED)" == "0"
65 !if "$(SHARED)" == "1"
68 !if "$(MONOLITHIC)" == "0"
71 !if "$(MONOLITHIC)" == "1"
74 !if "$(BUILD)" == "debug"
75 __OPTIMIZEFLAG_2 = -Od
77 !if "$(BUILD)" == "release"
78 __OPTIMIZEFLAG_2 = -O2
80 !if "$(USE_THREADS)" == "0"
83 !if "$(USE_THREADS)" == "1"
86 !if "$(USE_THREADS)" == "0"
89 !if "$(USE_THREADS)" == "1"
90 __THREADSFLAG_6 = -tWM
92 !if "$(RUNTIME_LIBS)" == "dynamic"
93 __RUNTIME_LIBS_7 = -tWR
95 !if "$(RUNTIME_LIBS)" == "static"
98 !if "$(RUNTIME_LIBS)" == "dynamic"
101 !if "$(RUNTIME_LIBS)" == "static"
104 !if "$(WXUNIV)" == "1"
105 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
107 !if "$(WXUNIV)" == "1"
108 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
110 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
111 __DEBUG_DEFINE_p = -D__WXDEBUG__
113 !if "$(DEBUG_FLAG)" == "1"
114 __DEBUG_DEFINE_p = -D__WXDEBUG__
116 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
117 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
119 !if "$(DEBUG_FLAG)" == "1"
120 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
122 !if "$(USE_EXCEPTIONS)" == "0"
123 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
125 !if "$(USE_EXCEPTIONS)" == "0"
126 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
128 !if "$(USE_RTTI)" == "0"
129 __RTTI_DEFINE_p = -DwxNO_RTTI
131 !if "$(USE_RTTI)" == "0"
132 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
134 !if "$(USE_THREADS)" == "0"
135 __THREAD_DEFINE_p = -DwxNO_THREADS
137 !if "$(USE_THREADS)" == "0"
138 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
140 !if "$(UNICODE)" == "1"
141 __UNICODE_DEFINE_p = -D_UNICODE
143 !if "$(UNICODE)" == "1"
144 __UNICODE_DEFINE_p_1 = -d_UNICODE
147 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
150 __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
152 !if "$(USE_GDIPLUS)" == "1"
153 __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
155 !if "$(USE_GDIPLUS)" == "1"
156 __GFXCTX_DEFINE_p_1 = -dwxUSE_GRAPHICS_CONTEXT=1
158 !if "$(SHARED)" == "1"
159 __DLLFLAG_p = -DWXUSINGDLL
161 !if "$(SHARED)" == "1"
162 __DLLFLAG_p_1 = -dWXUSINGDLL
164 !if "$(MONOLITHIC)" == "0"
166 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
168 !if "$(MONOLITHIC)" == "0"
170 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
172 !if "$(MONOLITHIC)" == "1"
174 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
176 !if "$(USE_GUI)" == "1"
177 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
179 !if "$(USE_GUI)" == "1"
180 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
182 !if "$(USE_GUI)" == "1"
183 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
186 __UNICOWS_LIB_p = unicows.lib
188 !if "$(USE_GDIPLUS)" == "1"
189 __GDIPLUS_LIB_p = gdiplus.lib
191 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
194 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
197 !if "$(DEBUG_INFO)" == "0"
200 !if "$(DEBUG_INFO)" == "1"
207 -if not exist $(OBJS) mkdir $(OBJS)
211 all: $(OBJS)\internat.exe ar bg cs de fr ka pl ru sv ja ja_JP.EUC-JP
214 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
215 -if exist $(OBJS)\*.res del $(OBJS)\*.res
216 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
217 -if exist $(OBJS)\internat.exe del $(OBJS)\internat.exe
218 -if exist $(OBJS)\internat.tds del $(OBJS)\internat.tds
219 -if exist $(OBJS)\internat.ilc del $(OBJS)\internat.ilc
220 -if exist $(OBJS)\internat.ild del $(OBJS)\internat.ild
221 -if exist $(OBJS)\internat.ilf del $(OBJS)\internat.ilf
222 -if exist $(OBJS)\internat.ils del $(OBJS)\internat.ils
224 $(OBJS)\internat.exe: $(INTERNAT_OBJECTS) $(OBJS)\internat_internat.res
225 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
226 c0w32.obj $(INTERNAT_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) $(__GDIPLUS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32$(__THREADSFLAG_5)$(__RUNTIME_LIBS_8).lib,, $(OBJS)\internat_internat.res
230 if not exist $(OBJS)\ar mkdir $(OBJS)\ar
231 for %f in (internat.po internat.mo) do if not exist $(OBJS)\ar\%f copy .\ar\%f $(OBJS)\ar
234 if not exist $(OBJS)\bg mkdir $(OBJS)\bg
235 for %f in (internat.po internat.mo) do if not exist $(OBJS)\bg\%f copy .\bg\%f $(OBJS)\bg
238 if not exist $(OBJS)\cs mkdir $(OBJS)\cs
239 for %f in (internat.po internat.mo) do if not exist $(OBJS)\cs\%f copy .\cs\%f $(OBJS)\cs
242 if not exist $(OBJS)\de mkdir $(OBJS)\de
243 for %f in (internat.po internat.mo) do if not exist $(OBJS)\de\%f copy .\de\%f $(OBJS)\de
246 if not exist $(OBJS)\fr mkdir $(OBJS)\fr
247 for %f in (internat.po internat.mo) do if not exist $(OBJS)\fr\%f copy .\fr\%f $(OBJS)\fr
250 if not exist $(OBJS)\ka mkdir $(OBJS)\ka
251 for %f in (internat.po internat.mo) do if not exist $(OBJS)\ka\%f copy .\ka\%f $(OBJS)\ka
254 if not exist $(OBJS)\pl mkdir $(OBJS)\pl
255 for %f in (internat.po internat.mo) do if not exist $(OBJS)\pl\%f copy .\pl\%f $(OBJS)\pl
258 if not exist $(OBJS)\ru mkdir $(OBJS)\ru
259 for %f in (internat.po internat.mo) do if not exist $(OBJS)\ru\%f copy .\ru\%f $(OBJS)\ru
262 if not exist $(OBJS)\sv mkdir $(OBJS)\sv
263 for %f in (internat.po internat.mo) do if not exist $(OBJS)\sv\%f copy .\sv\%f $(OBJS)\sv
266 if not exist $(OBJS)\ja mkdir $(OBJS)\ja
267 for %f in (internat.po internat.mo) do if not exist $(OBJS)\ja\%f copy .\ja\%f $(OBJS)\ja
270 if not exist $(OBJS)\ja_JP.EUC-JP mkdir $(OBJS)\ja_JP.EUC-JP
271 for %f in (internat.po internat.mo) do if not exist $(OBJS)\ja_JP.EUC-JP\%f copy .\ja_JP.EUC-JP\%f $(OBJS)\ja_JP.EUC-JP
273 $(OBJS)\internat_internat.obj: .\internat.cpp
274 $(CXX) -q -c -P -o$@ $(INTERNAT_CXXFLAGS) $**
276 $(OBJS)\internat_internat.res: .\internat.rc
277 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) $(__GFXCTX_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include -i. $(__DLLFLAG_p_1) -i.\..\..\samples -dNOPCH $**