]> git.saurik.com Git - wxWidgets.git/blob - contrib/utils/wxrcedit/makefile.bcc
Applied patch [ 919791 ] [widgets sample] Update wxListbox selection handling
[wxWidgets.git] / contrib / utils / wxrcedit / makefile.bcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.3 (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 OBJS = \
25 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
26 SETUPHDIR = \
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)
33 WXRCEDIT_OBJECTS = \
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
45
46 ### Conditionally set variables: ###
47
48 !if "$(USE_GUI)" == "0"
49 PORTNAME = base
50 !endif
51 !if "$(USE_GUI)" == "1"
52 PORTNAME = msw
53 !endif
54 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
55 WXDEBUGFLAG = d
56 !endif
57 !if "$(DEBUG_FLAG)" == "1"
58 WXDEBUGFLAG = d
59 !endif
60 !if "$(UNICODE)" == "1"
61 WXUNICODEFLAG = u
62 !endif
63 !if "$(WXUNIV)" == "1"
64 WXUNIVNAME = univ
65 !endif
66 !if "$(SHARED)" == "1"
67 WXDLLFLAG = dll
68 !endif
69 !if "$(BUILD)" == "debug"
70 __OPTIMIZEFLAG_2 = -Od
71 !endif
72 !if "$(BUILD)" == "release"
73 __OPTIMIZEFLAG_2 = -O2
74 !endif
75 !if "$(RUNTIME_LIBS)" == "dynamic"
76 __RUNTIME_LIBS_6 = -tWR
77 !endif
78 !if "$(RUNTIME_LIBS)" == "static"
79 __RUNTIME_LIBS_6 =
80 !endif
81 !if "$(RUNTIME_LIBS)" == "dynamic"
82 __RUNTIME_LIBS_7 = i
83 !endif
84 !if "$(RUNTIME_LIBS)" == "static"
85 __RUNTIME_LIBS_7 =
86 !endif
87 !if "$(WXUNIV)" == "1"
88 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
89 !endif
90 !if "$(WXUNIV)" == "1"
91 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
92 !endif
93 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
94 __DEBUG_DEFINE_p = -D__WXDEBUG__
95 !endif
96 !if "$(DEBUG_FLAG)" == "1"
97 __DEBUG_DEFINE_p = -D__WXDEBUG__
98 !endif
99 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
100 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
101 !endif
102 !if "$(DEBUG_FLAG)" == "1"
103 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
104 !endif
105 !if "$(UNICODE)" == "1"
106 __UNICODE_DEFINE_p = -D_UNICODE
107 !endif
108 !if "$(UNICODE)" == "1"
109 __UNICODE_DEFINE_p_1 = -d_UNICODE
110 !endif
111 !if "$(SHARED)" == "1"
112 __DLLFLAG_p = -DWXUSINGDLL
113 !endif
114 !if "$(SHARED)" == "1"
115 __DLLFLAG_p_1 = -dWXUSINGDLL
116 !endif
117 !if "$(MONOLITHIC)" == "0"
118 __WXLIB_ADV_p = \
119 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv.lib
120 !endif
121 !if "$(MONOLITHIC)" == "0"
122 __WXLIB_HTML_p = \
123 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
124 !endif
125 !if "$(MONOLITHIC)" == "0"
126 __WXLIB_CORE_p = \
127 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
128 !endif
129 !if "$(MONOLITHIC)" == "0"
130 __WXLIB_XML_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml.lib
131 !endif
132 !if "$(MONOLITHIC)" == "0"
133 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
134 !endif
135 !if "$(MONOLITHIC)" == "1"
136 __WXLIB_MONO_p = \
137 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
138 !endif
139 !if "$(USE_GUI)" == "1"
140 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
141 !endif
142 !if "$(USE_GUI)" == "1"
143 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
144 !endif
145 !if "$(USE_GUI)" == "1"
146 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
147 !endif
148 !if "$(MSLU)" == "1"
149 __UNICOWS_LIB_p = unicows.lib
150 !endif
151 !if "$(SHARED)" == "0"
152 LIBDIRNAME = .\..\..\..\lib\bcc_lib$(CFG)
153 !endif
154 !if "$(SHARED)" == "1"
155 LIBDIRNAME = .\..\..\..\lib\bcc_dll$(CFG)
156 !endif
157 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
158 __DEBUGINFO = -v
159 !endif
160 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
161 __DEBUGINFO = -v-
162 !endif
163 !if "$(DEBUG_INFO)" == "0"
164 __DEBUGINFO = -v-
165 !endif
166 !if "$(DEBUG_INFO)" == "1"
167 __DEBUGINFO = -v
168 !endif
169
170
171 all: $(OBJS)
172 $(OBJS):
173 -if not exist $(OBJS) mkdir $(OBJS)
174
175 ### Targets: ###
176
177 all: $(OBJS)\wxrcedit.exe
178
179 clean:
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
188
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$(WXUNICODEFLAG)$(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
192 |
193
194 $(OBJS)\wxrcedit_edapp.obj: .\edapp.cpp
195 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
196
197 $(OBJS)\wxrcedit_editor.obj: .\editor.cpp
198 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
199
200 $(OBJS)\wxrcedit_nodehnd.obj: .\nodehnd.cpp
201 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
202
203 $(OBJS)\wxrcedit_nodesdb.obj: .\nodesdb.cpp
204 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
205
206 $(OBJS)\wxrcedit_pe_adv.obj: .\pe_adv.cpp
207 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
208
209 $(OBJS)\wxrcedit_pe_basic.obj: .\pe_basic.cpp
210 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
211
212 $(OBJS)\wxrcedit_preview.obj: .\preview.cpp
213 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
214
215 $(OBJS)\wxrcedit_propedit.obj: .\propedit.cpp
216 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
217
218 $(OBJS)\wxrcedit_propframe.obj: .\propframe.cpp
219 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
220
221 $(OBJS)\wxrcedit_splittree.obj: .\splittree.cpp
222 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
223
224 $(OBJS)\wxrcedit_xmlhelpr.obj: .\xmlhelpr.cpp
225 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
226
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 $**