1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (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 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
28 WXRCEDIT_CXXFLAGS = $(__RUNTIME_LIBS_6) -I$(BCCDIR)\include $(__DEBUGINFO) \
29 $(__OPTIMIZEFLAG_2) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
30 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \
31 -I$(SETUPHDIR) -I. $(__DLLFLAG_p) -I.\..\..\..\samples -I.\..\..\include \
32 $(CPPFLAGS) $(CXXFLAGS)
34 $(OBJS)\wxrcedit_edapp.obj \
35 $(OBJS)\wxrcedit_editor.obj \
36 $(OBJS)\wxrcedit_nodehnd.obj \
37 $(OBJS)\wxrcedit_nodesdb.obj \
38 $(OBJS)\wxrcedit_pe_adv.obj \
39 $(OBJS)\wxrcedit_pe_basic.obj \
40 $(OBJS)\wxrcedit_preview.obj \
41 $(OBJS)\wxrcedit_propedit.obj \
42 $(OBJS)\wxrcedit_propframe.obj \
43 $(OBJS)\wxrcedit_splittree.obj \
44 $(OBJS)\wxrcedit_xmlhelpr.obj
46 ### Conditionally set variables: ###
48 !if "$(SHARED)" == "0"
49 LIBDIRNAME = .\..\..\..\lib\bcc_lib$(CFG)
51 !if "$(SHARED)" == "1"
52 LIBDIRNAME = .\..\..\..\lib\bcc_dll$(CFG)
54 !if "$(USE_GUI)" == "0"
57 !if "$(USE_GUI)" == "1"
60 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
63 !if "$(DEBUG_FLAG)" == "1"
66 !if "$(SHARED)" == "1"
69 !if "$(UNICODE)" == "1"
72 !if "$(WXUNIV)" == "1"
75 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
78 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
81 !if "$(DEBUG_INFO)" == "0"
84 !if "$(DEBUG_INFO)" == "1"
87 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
88 __DEBUG_DEFINE_p = -D__WXDEBUG__
90 !if "$(DEBUG_FLAG)" == "1"
91 __DEBUG_DEFINE_p = -D__WXDEBUG__
93 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
94 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
96 !if "$(DEBUG_FLAG)" == "1"
97 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
99 !if "$(SHARED)" == "1"
100 __DLLFLAG_p = -DWXUSINGDLL
102 !if "$(SHARED)" == "1"
103 __DLLFLAG_p_1 = -dWXUSINGDLL
105 !if "$(USE_GUI)" == "1"
106 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
108 !if "$(USE_GUI)" == "1"
109 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
111 !if "$(USE_GUI)" == "1"
112 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
114 !if "$(BUILD)" == "debug"
115 __OPTIMIZEFLAG_2 = -Od
117 !if "$(BUILD)" == "release"
118 __OPTIMIZEFLAG_2 = -O2
120 !if "$(RUNTIME_LIBS)" == "dynamic"
121 __RUNTIME_LIBS_6 = -tWR
123 !if "$(RUNTIME_LIBS)" == "static"
126 !if "$(RUNTIME_LIBS)" == "dynamic"
129 !if "$(RUNTIME_LIBS)" == "static"
132 !if "$(UNICODE)" == "1"
133 __UNICODE_DEFINE_p = -D_UNICODE
135 !if "$(UNICODE)" == "1"
136 __UNICODE_DEFINE_p_1 = -d_UNICODE
139 __UNICOWS_LIB_p = unicows.lib
141 !if "$(MONOLITHIC)" == "0"
143 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv.lib
145 !if "$(MONOLITHIC)" == "0"
146 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
148 !if "$(MONOLITHIC)" == "0"
150 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
152 !if "$(MONOLITHIC)" == "0"
154 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
156 !if "$(MONOLITHIC)" == "1"
158 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
160 !if "$(MONOLITHIC)" == "0"
161 __WXLIB_XML_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml.lib
163 !if "$(WXUNIV)" == "1"
164 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
166 !if "$(WXUNIV)" == "1"
167 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
173 -if not exist $(OBJS) mkdir $(OBJS)
177 all: $(OBJS)\wxrcedit.exe
179 $(OBJS)\wxrcedit_edapp.obj: .\edapp.cpp
180 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
182 $(OBJS)\wxrcedit_editor.obj: .\editor.cpp
183 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
185 $(OBJS)\wxrcedit_nodehnd.obj: .\nodehnd.cpp
186 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
188 $(OBJS)\wxrcedit_nodesdb.obj: .\nodesdb.cpp
189 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
191 $(OBJS)\wxrcedit_pe_adv.obj: .\pe_adv.cpp
192 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
194 $(OBJS)\wxrcedit_pe_basic.obj: .\pe_basic.cpp
195 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
197 $(OBJS)\wxrcedit_preview.obj: .\preview.cpp
198 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
200 $(OBJS)\wxrcedit_propedit.obj: .\propedit.cpp
201 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
203 $(OBJS)\wxrcedit_propframe.obj: .\propframe.cpp
204 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
206 $(OBJS)\wxrcedit_splittree.obj: .\splittree.cpp
207 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
209 $(OBJS)\wxrcedit_wxrcedit.res: .\wxrcedit.rc
210 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 -i.\..\..\include $**
212 $(OBJS)\wxrcedit_xmlhelpr.obj: .\xmlhelpr.cpp
213 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
216 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
217 -if exist $(OBJS)\*.res del $(OBJS)\*.res
218 -if exist $(OBJS)\wxrcedit.exe del $(OBJS)\wxrcedit.exe
219 -if exist $(OBJS)\wxrcedit.tds del $(OBJS)\wxrcedit.tds
220 -if exist $(OBJS)\wxrcedit.ilc del $(OBJS)\wxrcedit.ilc
221 -if exist $(OBJS)\wxrcedit.ild del $(OBJS)\wxrcedit.ild
222 -if exist $(OBJS)\wxrcedit.ilf del $(OBJS)\wxrcedit.ilf
223 -if exist $(OBJS)\wxrcedit.ils del $(OBJS)\wxrcedit.ils
225 $(OBJS)\wxrcedit.exe: $(WXRCEDIT_OBJECTS) $(OBJS)\wxrcedit_wxrcedit.res
226 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
227 c0w32.obj $(WXRCEDIT_OBJECTS),$@,, wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.lib $(__WXLIB_ADV_p) $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_XML_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,, $(OBJS)\wxrcedit_wxrcedit.res