]> git.saurik.com Git - wxWidgets.git/blame - samples/xrc/makefile.bcc
regenerated makefiles
[wxWidgets.git] / samples / xrc / makefile.bcc
CommitLineData
250700e4
RD
1# =========================================================================
2# This makefile was generated by
bdc408c4 3# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
250700e4
RD
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7!ifndef BCCDIR
8BCCDIR = $(MAKEDIR)\..
9!endif
10
11!include ../../../build/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
3f55f5b8
VS
23LIBDIRNAME = \
24 .\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
250700e4
RD
25OBJS = \
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
3f55f5b8 27XRCDEMO_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS_6) $(__DEBUGINFO) \
250700e4
RD
28 $(__OPTIMIZEFLAG_2) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
29 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \
3f55f5b8
VS
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)
33XRCDEMO_OBJECTS = \
34 $(OBJS)\xrcdemo_xrcdemo.obj \
35 $(OBJS)\xrcdemo_myframe.obj \
36 $(OBJS)\xrcdemo_derivdlg.obj \
37 $(OBJS)\xrcdemo_custclas.obj
250700e4
RD
38
39### Conditionally set variables: ###
40
41!if "$(USE_GUI)" == "0"
42PORTNAME = base
43!endif
44!if "$(USE_GUI)" == "1"
45PORTNAME = msw
46!endif
3f55f5b8
VS
47!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
48WXDEBUGFLAG = d
49!endif
50!if "$(DEBUG_FLAG)" == "1"
250700e4
RD
51WXDEBUGFLAG = d
52!endif
53!if "$(SHARED)" == "1"
54WXDLLFLAG = dll
55!endif
56!if "$(UNICODE)" == "1"
57WXUNICODEFLAG = u
58!endif
59!if "$(WXUNIV)" == "1"
60WXUNIVNAME = univ
61!endif
3f55f5b8
VS
62!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
63__DEBUGINFO = -v
250700e4 64!endif
3f55f5b8
VS
65!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
66__DEBUGINFO = -v-
250700e4 67!endif
3f55f5b8
VS
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"
250700e4
RD
75__DEBUG_DEFINE_p = -D__WXDEBUG__
76!endif
3f55f5b8
VS
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"
250700e4
RD
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
3f55f5b8
VS
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
250700e4
RD
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
3f55f5b8
VS
140!if "$(MONOLITHIC)" == "0"
141__WXLIB_XML_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml.lib
142!endif
250700e4
RD
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
151all: $(OBJS)
152$(OBJS):
153 -if not exist $(OBJS) mkdir $(OBJS)
154
155### Targets: ###
156
157all: $(OBJS)\xrcdemo.exe data
158
159$(OBJS)\xrcdemo_custclas.obj: .\custclas.cpp
160 $(CXX) -q -c -P -o$@ $(XRCDEMO_CXXFLAGS) $**
161
162$(OBJS)\xrcdemo_derivdlg.obj: .\derivdlg.cpp
163 $(CXX) -q -c -P -o$@ $(XRCDEMO_CXXFLAGS) $**
164
165$(OBJS)\xrcdemo_myframe.obj: .\myframe.cpp
166 $(CXX) -q -c -P -o$@ $(XRCDEMO_CXXFLAGS) $**
167
168$(OBJS)\xrcdemo_xrcdemo.obj: .\xrcdemo.cpp
169 $(CXX) -q -c -P -o$@ $(XRCDEMO_CXXFLAGS) $**
170
171$(OBJS)\xrcdemo_xrcdemo.res: .\xrcdemo.rc
3f55f5b8 172 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 $**
250700e4
RD
173
174clean:
175 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
176 -if exist $(OBJS)\*.res del $(OBJS)\*.res
177 -if exist $(OBJS)\xrcdemo.exe del $(OBJS)\xrcdemo.exe
178
179data:
180 if not exist $(OBJS)/rc mkdir $(OBJS)/rc
181 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
182
3f55f5b8
VS
183$(OBJS)\xrcdemo.exe: $(XRCDEMO_OBJECTS) $(OBJS)\xrcdemo_xrcdemo.res
184 ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
185 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
250700e4 186|