]> git.saurik.com Git - wxWidgets.git/blame - samples/render/makefile.bcc
added complex popup
[wxWidgets.git] / samples / render / makefile.bcc
CommitLineData
2d611b5c
VS
1# =========================================================================
2# This makefile was generated by
c4839ccf 3# Bakefile 0.1.4 (http://bakefile.sourceforge.net)
2d611b5c
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
9bfe7ad9
VS
7.autodepend
8
2d611b5c 9!ifndef BCCDIR
9bfe7ad9
VS
10!ifndef MAKEDIR
11!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
12!endif
2d611b5c
VS
13BCCDIR = $(MAKEDIR)\..
14!endif
15
16!include ../../build/msw/config.bcc
17
18# -------------------------------------------------------------------------
19# Do not modify the rest of this file!
20# -------------------------------------------------------------------------
21
2d611b5c
VS
22### Variables: ###
23
c33fae85 24WX_RELEASE_NODOT = 25
ab921f5f 25WX_VERSION_NODOT = $(WX_RELEASE_NODOT)3
2d611b5c
VS
26OBJS = \
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
b17c1746
DE
28SETUPHDIR = \
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
30RENDER_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
9bfe7ad9
VS
31 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
32 $(__UNICODE_DEFINE_p) -I.\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
c33fae85 33 -I.\..\..\samples -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
2d611b5c
VS
34RENDER_OBJECTS = \
35 $(OBJS)\render_render.obj
b17c1746
DE
36RENDDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
37 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
38 $(__UNICODE_DEFINE_p) -I.\..\..\include -I$(SETUPHDIR) -DWXUSINGDLL \
39 $(CPPFLAGS) $(CXXFLAGS)
40RENDDLL_OBJECTS = \
41 $(OBJS)\renddll_renddll.obj
2d611b5c
VS
42
43### Conditionally set variables: ###
44
45!if "$(USE_GUI)" == "0"
46PORTNAME = base
47!endif
48!if "$(USE_GUI)" == "1"
49PORTNAME = msw
50!endif
51!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
52WXDEBUGFLAG = d
53!endif
54!if "$(DEBUG_FLAG)" == "1"
55WXDEBUGFLAG = d
56!endif
2d611b5c
VS
57!if "$(UNICODE)" == "1"
58WXUNICODEFLAG = u
59!endif
60!if "$(WXUNIV)" == "1"
61WXUNIVNAME = univ
62!endif
b17c1746
DE
63!if "$(SHARED)" == "1"
64WXDLLFLAG = dll
2d611b5c 65!endif
dd65d8c8
RN
66!if "$(MONOLITHIC)" == "0"
67EXTRALIBS_FOR_BASE =
68!endif
69!if "$(MONOLITHIC)" == "1"
70EXTRALIBS_FOR_BASE =
71!endif
078c7a59 72!if "$(BUILD)" == "debug" && "$(UNICODE)" == "0"
314a6446 73PLUGINSUFFIX = d
078c7a59
VS
74!endif
75!if "$(BUILD)" == "debug" && "$(UNICODE)" == "1"
314a6446 76PLUGINSUFFIX = ud
078c7a59
VS
77!endif
78!if "$(BUILD)" == "release" && "$(UNICODE)" == "0"
79PLUGINSUFFIX =
80!endif
81!if "$(BUILD)" == "release" && "$(UNICODE)" == "1"
314a6446 82PLUGINSUFFIX = u
078c7a59 83!endif
b17c1746
DE
84!if "$(WXUNIV)" == "1"
85__WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
2d611b5c
VS
86!endif
87!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
88__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
89!endif
90!if "$(DEBUG_FLAG)" == "1"
91__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
92!endif
b17c1746
DE
93!if "$(UNICODE)" == "1"
94__UNICODE_DEFINE_p_1 = -d_UNICODE
95!endif
2d611b5c
VS
96!if "$(SHARED)" == "1"
97__DLLFLAG_p = -DWXUSINGDLL
98!endif
99!if "$(SHARED)" == "1"
100__DLLFLAG_p_1 = -dWXUSINGDLL
101!endif
b17c1746
DE
102!if "$(SHARED)" == "1"
103__renddll___depname = \
c33fae85 104 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.dll
2d611b5c
VS
105!endif
106!if "$(BUILD)" == "debug"
107__OPTIMIZEFLAG = -Od
108!endif
109!if "$(BUILD)" == "release"
110__OPTIMIZEFLAG = -O2
111!endif
112!if "$(RUNTIME_LIBS)" == "dynamic"
b17c1746 113__RUNTIME_LIBS = -tWR
2d611b5c
VS
114!endif
115!if "$(RUNTIME_LIBS)" == "static"
116__RUNTIME_LIBS =
117!endif
118!if "$(RUNTIME_LIBS)" == "dynamic"
b17c1746 119__RUNTIME_LIBS_0 = i
2d611b5c
VS
120!endif
121!if "$(RUNTIME_LIBS)" == "static"
122__RUNTIME_LIBS_0 =
123!endif
b17c1746
DE
124!if "$(WXUNIV)" == "1"
125__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
126!endif
127!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
128__DEBUG_DEFINE_p = -D__WXDEBUG__
129!endif
130!if "$(DEBUG_FLAG)" == "1"
131__DEBUG_DEFINE_p = -D__WXDEBUG__
2d611b5c
VS
132!endif
133!if "$(UNICODE)" == "1"
b17c1746 134__UNICODE_DEFINE_p = -D_UNICODE
2d611b5c 135!endif
b17c1746
DE
136!if "$(SHARED)" == "0"
137LIBDIRNAME = .\..\..\lib\bcc_lib$(CFG)
2c02ec05 138!endif
b17c1746
DE
139!if "$(SHARED)" == "1"
140LIBDIRNAME = .\..\..\lib\bcc_dll$(CFG)
2d611b5c
VS
141!endif
142!if "$(MONOLITHIC)" == "0"
143__WXLIB_CORE_p = \
c33fae85 144 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
2d611b5c 145!endif
b17c1746 146!if "$(MONOLITHIC)" == "0"
c33fae85
RN
147__WXLIB_BASE_p = \
148 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
b17c1746 149!endif
2d611b5c
VS
150!if "$(MONOLITHIC)" == "1"
151__WXLIB_MONO_p = \
c33fae85 152 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
2d611b5c 153!endif
b17c1746 154!if "$(USE_GUI)" == "1"
9c2d002b 155__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
2d611b5c 156!endif
b17c1746 157!if "$(USE_GUI)" == "1"
9c2d002b 158__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
2d611b5c 159!endif
b17c1746 160!if "$(USE_GUI)" == "1"
9c2d002b 161__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
b17c1746
DE
162!endif
163!if "$(MSLU)" == "1"
164__UNICOWS_LIB_p = unicows.lib
165!endif
166!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
167__DEBUGINFO = -v
168!endif
169!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
170__DEBUGINFO = -v-
171!endif
172!if "$(DEBUG_INFO)" == "0"
173__DEBUGINFO = -v-
174!endif
175!if "$(DEBUG_INFO)" == "1"
176__DEBUGINFO = -v
2d611b5c
VS
177!endif
178
2d611b5c
VS
179
180all: $(OBJS)
181$(OBJS):
182 -if not exist $(OBJS) mkdir $(OBJS)
183
184### Targets: ###
185
186all: $(OBJS)\render.exe $(__renddll___depname)
187
2d611b5c
VS
188clean:
189 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
190 -if exist $(OBJS)\*.res del $(OBJS)\*.res
191 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe
ec08d395
JS
192 -if exist $(OBJS)\render.tds del $(OBJS)\render.tds
193 -if exist $(OBJS)\render.ilc del $(OBJS)\render.ilc
194 -if exist $(OBJS)\render.ild del $(OBJS)\render.ild
195 -if exist $(OBJS)\render.ilf del $(OBJS)\render.ilf
196 -if exist $(OBJS)\render.ils del $(OBJS)\render.ils
c33fae85
RN
197 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.dll
198 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.tds del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.tds
199 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ilc del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ilc
200 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ild del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ild
201 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ilf del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ilf
202 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ils del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ils
2d611b5c 203
b17c1746
DE
204$(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res
205 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
dd65d8c8 206 c0w32.obj $(RENDER_OBJECTS),$@,, $(__WXLIB_CORE_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 $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_0).lib,, $(OBJS)\render_sample.res
b17c1746
DE
207|
208
2d611b5c 209!if "$(SHARED)" == "1"
c33fae85 210$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.dll: $(RENDDLL_OBJECTS)
9bfe7ad9 211 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
dd65d8c8 212 c0d32.obj $(RENDDLL_OBJECTS),$@,, $(__WXLIB_CORE_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 $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_0).lib,,
2d611b5c
VS
213|
214!endif
215
b17c1746
DE
216$(OBJS)\render_sample.res: .\..\..\samples\sample.rc
217 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 $**
218
219$(OBJS)\render_render.obj: .\render.cpp
220 $(CXX) -q -c -P -o$@ $(RENDER_CXXFLAGS) $**
221
222$(OBJS)\renddll_renddll.obj: .\renddll.cpp
223 $(CXX) -q -c -P -o$@ $(RENDDLL_CXXFLAGS) $**