]> git.saurik.com Git - wxWidgets.git/blob - contrib/utils/wxrcedit/makefile.bcc
Typos fixed and further clarification of the Python situation on Panther
[wxWidgets.git] / contrib / utils / wxrcedit / makefile.bcc
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 # =========================================================================
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 "$(SHARED)" == "0"
49 LIBDIRNAME = .\..\..\..\lib\bcc_lib$(CFG)
50 !endif
51 !if "$(SHARED)" == "1"
52 LIBDIRNAME = .\..\..\..\lib\bcc_dll$(CFG)
53 !endif
54 !if "$(USE_GUI)" == "0"
55 PORTNAME = base
56 !endif
57 !if "$(USE_GUI)" == "1"
58 PORTNAME = msw
59 !endif
60 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
61 WXDEBUGFLAG = d
62 !endif
63 !if "$(DEBUG_FLAG)" == "1"
64 WXDEBUGFLAG = d
65 !endif
66 !if "$(SHARED)" == "1"
67 WXDLLFLAG = dll
68 !endif
69 !if "$(UNICODE)" == "1"
70 WXUNICODEFLAG = u
71 !endif
72 !if "$(WXUNIV)" == "1"
73 WXUNIVNAME = univ
74 !endif
75 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
76 __DEBUGINFO = -v
77 !endif
78 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
79 __DEBUGINFO = -v-
80 !endif
81 !if "$(DEBUG_INFO)" == "0"
82 __DEBUGINFO = -v-
83 !endif
84 !if "$(DEBUG_INFO)" == "1"
85 __DEBUGINFO = -v
86 !endif
87 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
88 __DEBUG_DEFINE_p = -D__WXDEBUG__
89 !endif
90 !if "$(DEBUG_FLAG)" == "1"
91 __DEBUG_DEFINE_p = -D__WXDEBUG__
92 !endif
93 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
94 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
95 !endif
96 !if "$(DEBUG_FLAG)" == "1"
97 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
98 !endif
99 !if "$(SHARED)" == "1"
100 __DLLFLAG_p = -DWXUSINGDLL
101 !endif
102 !if "$(SHARED)" == "1"
103 __DLLFLAG_p_1 = -dWXUSINGDLL
104 !endif
105 !if "$(USE_GUI)" == "1"
106 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
107 !endif
108 !if "$(USE_GUI)" == "1"
109 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
110 !endif
111 !if "$(USE_GUI)" == "1"
112 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
113 !endif
114 !if "$(BUILD)" == "debug"
115 __OPTIMIZEFLAG_2 = -Od
116 !endif
117 !if "$(BUILD)" == "release"
118 __OPTIMIZEFLAG_2 = -O2
119 !endif
120 !if "$(RUNTIME_LIBS)" == "dynamic"
121 __RUNTIME_LIBS_6 = -tWR
122 !endif
123 !if "$(RUNTIME_LIBS)" == "static"
124 __RUNTIME_LIBS_6 =
125 !endif
126 !if "$(RUNTIME_LIBS)" == "dynamic"
127 __RUNTIME_LIBS_7 = i
128 !endif
129 !if "$(RUNTIME_LIBS)" == "static"
130 __RUNTIME_LIBS_7 =
131 !endif
132 !if "$(UNICODE)" == "1"
133 __UNICODE_DEFINE_p = -D_UNICODE
134 !endif
135 !if "$(UNICODE)" == "1"
136 __UNICODE_DEFINE_p_1 = -d_UNICODE
137 !endif
138 !if "$(MSLU)" == "1"
139 __UNICOWS_LIB_p = unicows.lib
140 !endif
141 !if "$(MONOLITHIC)" == "0"
142 __WXLIB_ADV_p = \
143 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv.lib
144 !endif
145 !if "$(MONOLITHIC)" == "0"
146 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
147 !endif
148 !if "$(MONOLITHIC)" == "0"
149 __WXLIB_CORE_p = \
150 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
151 !endif
152 !if "$(MONOLITHIC)" == "0"
153 __WXLIB_HTML_p = \
154 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
155 !endif
156 !if "$(MONOLITHIC)" == "1"
157 __WXLIB_MONO_p = \
158 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
159 !endif
160 !if "$(MONOLITHIC)" == "0"
161 __WXLIB_XML_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml.lib
162 !endif
163 !if "$(WXUNIV)" == "1"
164 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
165 !endif
166 !if "$(WXUNIV)" == "1"
167 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
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 $(OBJS)\wxrcedit_edapp.obj: .\edapp.cpp
180 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
181
182 $(OBJS)\wxrcedit_editor.obj: .\editor.cpp
183 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
184
185 $(OBJS)\wxrcedit_nodehnd.obj: .\nodehnd.cpp
186 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
187
188 $(OBJS)\wxrcedit_nodesdb.obj: .\nodesdb.cpp
189 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
190
191 $(OBJS)\wxrcedit_pe_adv.obj: .\pe_adv.cpp
192 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
193
194 $(OBJS)\wxrcedit_pe_basic.obj: .\pe_basic.cpp
195 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
196
197 $(OBJS)\wxrcedit_preview.obj: .\preview.cpp
198 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
199
200 $(OBJS)\wxrcedit_propedit.obj: .\propedit.cpp
201 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
202
203 $(OBJS)\wxrcedit_propframe.obj: .\propframe.cpp
204 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
205
206 $(OBJS)\wxrcedit_splittree.obj: .\splittree.cpp
207 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
208
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 $**
211
212 $(OBJS)\wxrcedit_xmlhelpr.obj: .\xmlhelpr.cpp
213 $(CXX) -q -c -P -o$@ $(WXRCEDIT_CXXFLAGS) $**
214
215 clean:
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
224
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
228 |