]> git.saurik.com Git - wxWidgets.git/blob - samples/xrc/makefile.bcc
regenerated makefiles
[wxWidgets.git] / samples / xrc / 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 !ifndef BCCDIR
8 BCCDIR = $(MAKEDIR)\..
9 !endif
10
11 !include ../../../build/msw/config.bcc
12
13 # -------------------------------------------------------------------------
14 # Do not modify the rest of this file!
15 # -------------------------------------------------------------------------
16
17 !if "$(BCCDIR)" == "\.."
18 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
19 !endif
20
21 ### Variables: ###
22
23 LIBDIRNAME = \
24 .\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
25 OBJS = \
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 XRCDEMO_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS_6) $(__DEBUGINFO) \
28 $(__OPTIMIZEFLAG_2) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
29 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \
30 -I$(LIBDIRNAME) -I.\..\..\..\src\tiff -I.\..\..\..\src\jpeg \
31 -I.\..\..\..\src\png -I.\..\..\..\src\zlib -I.\..\..\..\src\regex \
32 -I.\..\..\..\src\expat\lib -I. $(__DLLFLAG_p) -I.\..\..\include $(CXXFLAGS)
33 XRCDEMO_OBJECTS = \
34 $(OBJS)\xrcdemo_xrcdemo.obj \
35 $(OBJS)\xrcdemo_myframe.obj \
36 $(OBJS)\xrcdemo_derivdlg.obj \
37 $(OBJS)\xrcdemo_custclas.obj
38
39 ### Conditionally set variables: ###
40
41 !if "$(USE_GUI)" == "0"
42 PORTNAME = base
43 !endif
44 !if "$(USE_GUI)" == "1"
45 PORTNAME = msw
46 !endif
47 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
48 WXDEBUGFLAG = d
49 !endif
50 !if "$(DEBUG_FLAG)" == "1"
51 WXDEBUGFLAG = d
52 !endif
53 !if "$(SHARED)" == "1"
54 WXDLLFLAG = dll
55 !endif
56 !if "$(UNICODE)" == "1"
57 WXUNICODEFLAG = u
58 !endif
59 !if "$(WXUNIV)" == "1"
60 WXUNIVNAME = univ
61 !endif
62 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
63 __DEBUGINFO = -v
64 !endif
65 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
66 __DEBUGINFO = -v-
67 !endif
68 !if "$(DEBUG_INFO)" == "0"
69 __DEBUGINFO = -v-
70 !endif
71 !if "$(DEBUG_INFO)" == "1"
72 __DEBUGINFO = -v
73 !endif
74 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
75 __DEBUG_DEFINE_p = -D__WXDEBUG__
76 !endif
77 !if "$(DEBUG_FLAG)" == "1"
78 __DEBUG_DEFINE_p = -D__WXDEBUG__
79 !endif
80 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
81 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
82 !endif
83 !if "$(DEBUG_FLAG)" == "1"
84 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
85 !endif
86 !if "$(SHARED)" == "1"
87 __DLLFLAG_p = -DWXUSINGDLL
88 !endif
89 !if "$(SHARED)" == "1"
90 __DLLFLAG_p_1 = -dWXUSINGDLL
91 !endif
92 !if "$(USE_GUI)" == "1"
93 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
94 !endif
95 !if "$(USE_GUI)" == "1"
96 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
97 !endif
98 !if "$(USE_GUI)" == "1"
99 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
100 !endif
101 !if "$(BUILD)" == "debug"
102 __OPTIMIZEFLAG_2 = -Od
103 !endif
104 !if "$(BUILD)" == "release"
105 __OPTIMIZEFLAG_2 = -O2
106 !endif
107 !if "$(RUNTIME_LIBS)" == "dynamic"
108 __RUNTIME_LIBS_6 = -tWR
109 !endif
110 !if "$(RUNTIME_LIBS)" == "static"
111 __RUNTIME_LIBS_6 =
112 !endif
113 !if "$(RUNTIME_LIBS)" == "dynamic"
114 __RUNTIME_LIBS_7 = i
115 !endif
116 !if "$(RUNTIME_LIBS)" == "static"
117 __RUNTIME_LIBS_7 =
118 !endif
119 !if "$(UNICODE)" == "1"
120 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
121 !endif
122 !if "$(UNICODE)" == "1"
123 __UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=1
124 !endif
125 !if "$(MONOLITHIC)" == "0"
126 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
127 !endif
128 !if "$(MONOLITHIC)" == "0"
129 __WXLIB_CORE_p = \
130 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
131 !endif
132 !if "$(MONOLITHIC)" == "0"
133 __WXLIB_HTML_p = \
134 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
135 !endif
136 !if "$(MONOLITHIC)" == "1"
137 __WXLIB_MONO_p = \
138 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
139 !endif
140 !if "$(MONOLITHIC)" == "0"
141 __WXLIB_XML_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml.lib
142 !endif
143 !if "$(WXUNIV)" == "1"
144 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
145 !endif
146 !if "$(WXUNIV)" == "1"
147 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
148 !endif
149
150 MAKEARGS = -DBUILD=$(BUILD) -DCFG=$(CFG) -DCPPFLAGS=$(CPPFLAGS) -DCXX=$(CXX) -DCXXFLAGS=$(CXXFLAGS) -DDEBUG_FLAG=$(DEBUG_FLAG) -DDEBUG_INFO=$(DEBUG_INFO) -DLDFLAGS=$(LDFLAGS) -DMONOLITHIC=$(MONOLITHIC) -DOFFICIAL_BUILD=$(OFFICIAL_BUILD) -DRUNTIME_LIBS=$(RUNTIME_LIBS) -DSHARED=$(SHARED) -DUNICODE=$(UNICODE) -DUSE_GUI=$(USE_GUI) -DWXUNIV=$(WXUNIV)
151
152
153 all: $(OBJS)
154 $(OBJS):
155 -if not exist $(OBJS) mkdir $(OBJS)
156
157 ### Targets: ###
158
159 all: $(OBJS)\xrcdemo.exe data
160
161 $(OBJS)\xrcdemo_custclas.obj: .\custclas.cpp
162 $(CXX) -q -c -P -o$@ $(XRCDEMO_CXXFLAGS) $**
163
164 $(OBJS)\xrcdemo_derivdlg.obj: .\derivdlg.cpp
165 $(CXX) -q -c -P -o$@ $(XRCDEMO_CXXFLAGS) $**
166
167 $(OBJS)\xrcdemo_myframe.obj: .\myframe.cpp
168 $(CXX) -q -c -P -o$@ $(XRCDEMO_CXXFLAGS) $**
169
170 $(OBJS)\xrcdemo_xrcdemo.obj: .\xrcdemo.cpp
171 $(CXX) -q -c -P -o$@ $(XRCDEMO_CXXFLAGS) $**
172
173 $(OBJS)\xrcdemo_xrcdemo.res: .\xrcdemo.rc
174 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) -i.\..\..\..\include -i$(LIBDIRNAME) -i.\..\..\..\src\tiff -i.\..\..\..\src\jpeg -i.\..\..\..\src\png -i.\..\..\..\src\zlib -i.\..\..\..\src\regex -i.\..\..\..\src\expat\lib -i. $(__DLLFLAG_p_1) -i.\..\..\include $**
175
176 clean:
177 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
178 -if exist $(OBJS)\*.res del $(OBJS)\*.res
179 -if exist $(OBJS)\xrcdemo.exe del $(OBJS)\xrcdemo.exe
180
181 data:
182 if not exist $(OBJS)/rc mkdir $(OBJS)/rc
183 for %f in (appicon.ico appicon.xpm artprov.xpm artprov.xrc basicdlg.xpm basicdlg.xrc controls.xpm controls.xrc custclas.xpm custclas.xrc derivdlg.xpm derivdlg.xrc fileopen.gif filesave.gif frame.xrc fuzzy.gif menu.xrc platform.xpm platform.xrc quotes.gif resource.xrc scanning.gif sppicon.ico toolbar.xrc uncenter.xpm uncenter.xrc update.gif variable.xpm variable.xrc) do if not exist $(OBJS)/rc\%f copy ./rc\%f $(OBJS)/rc
184
185 $(OBJS)\xrcdemo.exe: $(XRCDEMO_OBJECTS) $(OBJS)\xrcdemo_xrcdemo.res
186 ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
187 c0w32.obj $(XRCDEMO_OBJECTS),$@,, wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.lib $(__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 import32.lib ole2w32.lib cw32mt$(__RUNTIME_LIBS_7).lib,, $(OBJS)\xrcdemo_xrcdemo.res
188 |