1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.2 (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 "$(USE_GUI)" == "0"
51 !if "$(USE_GUI)" == "1"
54 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
57 !if "$(DEBUG_FLAG)" == "1"
60 !if "$(UNICODE)" == "1"
63 !if "$(WXUNIV)" == "1"
66 !if "$(SHARED)" == "1"
69 !if "$(BUILD)" == "debug"
70 __OPTIMIZEFLAG_2 = -Od
72 !if "$(BUILD)" == "release"
73 __OPTIMIZEFLAG_2 = -O2
75 !if "$(RUNTIME_LIBS)" == "dynamic"
76 __RUNTIME_LIBS_6 = -tWR
78 !if "$(RUNTIME_LIBS)" == "static"
81 !if "$(RUNTIME_LIBS)" == "dynamic"
84 !if "$(RUNTIME_LIBS)" == "static"
87 !if "$(WXUNIV)" == "1"
88 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
90 !if "$(WXUNIV)" == "1"
91 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
93 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
94 __DEBUG_DEFINE_p = -D__WXDEBUG__
96 !if "$(DEBUG_FLAG)" == "1"
97 __DEBUG_DEFINE_p = -D__WXDEBUG__
99 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
100 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
102 !if "$(DEBUG_FLAG)" == "1"
103 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
105 !if "$(UNICODE)" == "1"
106 __UNICODE_DEFINE_p = -D_UNICODE
108 !if "$(UNICODE)" == "1"
109 __UNICODE_DEFINE_p_1 = -d_UNICODE
111 !if "$(SHARED)" == "1"
112 __DLLFLAG_p = -DWXUSINGDLL
114 !if "$(SHARED)" == "1"
115 __DLLFLAG_p_1 = -dWXUSINGDLL
117 !if "$(MONOLITHIC)" == "0"
119 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv.lib
121 !if "$(MONOLITHIC)" == "0"
123 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
125 !if "$(MONOLITHIC)" == "0"
127 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
129 !if "$(MONOLITHIC)" == "0"
130 __WXLIB_XML_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml.lib
132 !if "$(MONOLITHIC)" == "0"
133 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
135 !if "$(MONOLITHIC)" == "1"
137 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
139 !if "$(USE_GUI)" == "1"
140 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
142 !if "$(USE_GUI)" == "1"
143 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
145 !if "$(USE_GUI)" == "1"
146 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
149 __UNICOWS_LIB_p = unicows.lib
151 !if "$(SHARED)" == "0"
152 LIBDIRNAME = .\..\..\..\lib\bcc_lib$(CFG)
154 !if "$(SHARED)" == "1"
155 LIBDIRNAME = .\..\..\..\lib\bcc_dll$(CFG)
157 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
160 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
163 !if "$(DEBUG_INFO)" == "0"
166 !if "$(DEBUG_INFO)" == "1"
173 -if not exist $(OBJS) mkdir $(OBJS)
177 all: $(OBJS)\wxrcedit.exe
180 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
181 -if exist $(OBJS)\*.res del $(OBJS)\*.res
182 -if exist $(OBJS)\wxrcedit.exe del $(OBJS)\wxrcedit.exe
183 -if exist $(OBJS)\wxrcedit.tds del $(OBJS)\wxrcedit.tds
184 -if exist $(OBJS)\wxrcedit.ilc del $(OBJS)\wxrcedit.ilc
185 -if exist $(OBJS)\wxrcedit.ild del $(OBJS)\wxrcedit.ild
186 -if exist $(OBJS)\wxrcedit.ilf del $(OBJS)\wxrcedit.ilf
187 -if exist $(OBJS)\wxrcedit.ils del $(OBJS)\wxrcedit.ils
189 $(OBJS)\wxrcedit.exe: $(WXRCEDIT_OBJECTS) $(OBJS)\wxrcedit_wxrcedit.res
190 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
191 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 odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,, $(OBJS)\wxrcedit_wxrcedit.res
194 $(OBJS)\wxrcedit_edapp.obj: .\edapp.cpp
195 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
197 $(OBJS)\wxrcedit_editor.obj: .\editor.cpp
198 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
200 $(OBJS)\wxrcedit_nodehnd.obj: .\nodehnd.cpp
201 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
203 $(OBJS)\wxrcedit_nodesdb.obj: .\nodesdb.cpp
204 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
206 $(OBJS)\wxrcedit_pe_adv.obj: .\pe_adv.cpp
207 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
209 $(OBJS)\wxrcedit_pe_basic.obj: .\pe_basic.cpp
210 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
212 $(OBJS)\wxrcedit_preview.obj: .\preview.cpp
213 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
215 $(OBJS)\wxrcedit_propedit.obj: .\propedit.cpp
216 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
218 $(OBJS)\wxrcedit_propframe.obj: .\propframe.cpp
219 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
221 $(OBJS)\wxrcedit_splittree.obj: .\splittree.cpp
222 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
224 $(OBJS)\wxrcedit_xmlhelpr.obj: .\xmlhelpr.cpp
225 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
227 $(OBJS)\wxrcedit_wxrcedit.res: .\wxrcedit.rc
228 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 $**