]> git.saurik.com Git - wxWidgets.git/blame - samples/render/makefile.bcc
Filter index wasn't being set for multiple file dialog
[wxWidgets.git] / samples / render / makefile.bcc
CommitLineData
2d611b5c
VS
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
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
2d611b5c
VS
24OBJS = \
25 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
9bfe7ad9
VS
26RENDDLL_CXXFLAGS = $(__RUNTIME_LIBS_0) -I$(BCCDIR)\include $(__DEBUGINFO) \
27 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
28 $(__UNICODE_DEFINE_p) -I.\..\..\include -I$(SETUPHDIR) -DWXUSINGDLL \
29 $(CPPFLAGS) $(CXXFLAGS)
2d611b5c
VS
30RENDDLL_OBJECTS = \
31 $(OBJS)\renddll_renddll.obj
9bfe7ad9
VS
32RENDER_CXXFLAGS = $(__RUNTIME_LIBS_0) -I$(BCCDIR)\include $(__DEBUGINFO) \
33 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
34 $(__UNICODE_DEFINE_p) -I.\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
35 -I.\..\..\samples $(CPPFLAGS) $(CXXFLAGS)
2d611b5c
VS
36RENDER_OBJECTS = \
37 $(OBJS)\render_render.obj
75a0a7b7
VS
38SETUPHDIR = \
39 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
2d611b5c
VS
40
41### Conditionally set variables: ###
42
75a0a7b7
VS
43!if "$(SHARED)" == "0"
44LIBDIRNAME = .\..\..\lib\bcc_lib$(CFG)
45!endif
46!if "$(SHARED)" == "1"
47LIBDIRNAME = .\..\..\lib\bcc_dll$(CFG)
48!endif
2d611b5c
VS
49!if "$(USE_GUI)" == "0"
50PORTNAME = base
51!endif
52!if "$(USE_GUI)" == "1"
53PORTNAME = msw
54!endif
55!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
56WXDEBUGFLAG = d
57!endif
58!if "$(DEBUG_FLAG)" == "1"
59WXDEBUGFLAG = d
60!endif
61!if "$(SHARED)" == "1"
62WXDLLFLAG = dll
63!endif
64!if "$(UNICODE)" == "1"
65WXUNICODEFLAG = u
66!endif
67!if "$(WXUNIV)" == "1"
68WXUNIVNAME = univ
69!endif
70!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
71__DEBUGINFO = -v
72!endif
73!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
74__DEBUGINFO = -v-
75!endif
76!if "$(DEBUG_INFO)" == "0"
77__DEBUGINFO = -v-
78!endif
79!if "$(DEBUG_INFO)" == "1"
80__DEBUGINFO = -v
81!endif
82!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
83__DEBUG_DEFINE_p = -D__WXDEBUG__
84!endif
85!if "$(DEBUG_FLAG)" == "1"
86__DEBUG_DEFINE_p = -D__WXDEBUG__
87!endif
88!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
89__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
90!endif
91!if "$(DEBUG_FLAG)" == "1"
92__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
93!endif
94!if "$(SHARED)" == "1"
95__DLLFLAG_p = -DWXUSINGDLL
96!endif
97!if "$(SHARED)" == "1"
98__DLLFLAG_p_1 = -dWXUSINGDLL
99!endif
100!if "$(USE_GUI)" == "1"
101__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
102!endif
103!if "$(USE_GUI)" == "1"
104__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
105!endif
106!if "$(USE_GUI)" == "1"
107__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
108!endif
109!if "$(BUILD)" == "debug"
110__OPTIMIZEFLAG = -Od
111!endif
112!if "$(BUILD)" == "release"
113__OPTIMIZEFLAG = -O2
114!endif
115!if "$(RUNTIME_LIBS)" == "dynamic"
b71531ad 116__RUNTIME_LIBS = i
2d611b5c
VS
117!endif
118!if "$(RUNTIME_LIBS)" == "static"
119__RUNTIME_LIBS =
120!endif
121!if "$(RUNTIME_LIBS)" == "dynamic"
b71531ad 122__RUNTIME_LIBS_0 = -tWR
2d611b5c
VS
123!endif
124!if "$(RUNTIME_LIBS)" == "static"
125__RUNTIME_LIBS_0 =
126!endif
127!if "$(UNICODE)" == "1"
ec08d395 128__UNICODE_DEFINE_p = -D_UNICODE
2d611b5c
VS
129!endif
130!if "$(UNICODE)" == "1"
ec08d395 131__UNICODE_DEFINE_p_1 = -d_UNICODE
2d611b5c 132!endif
2c02ec05
VS
133!if "$(MSLU)" == "1"
134__UNICOWS_LIB_p = unicows.lib
135!endif
2d611b5c
VS
136!if "$(MONOLITHIC)" == "0"
137__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
138!endif
139!if "$(MONOLITHIC)" == "0"
140__WXLIB_CORE_p = \
141 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
142!endif
143!if "$(MONOLITHIC)" == "1"
144__WXLIB_MONO_p = \
145 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
146!endif
147!if "$(WXUNIV)" == "1"
148__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
149!endif
150!if "$(WXUNIV)" == "1"
151__WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
152!endif
153!if "$(SHARED)" == "1"
154__renddll___depname = \
ec08d395 155 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)251_bcc.dll
2d611b5c
VS
156!endif
157
2d611b5c
VS
158
159all: $(OBJS)
160$(OBJS):
161 -if not exist $(OBJS) mkdir $(OBJS)
162
163### Targets: ###
164
165all: $(OBJS)\render.exe $(__renddll___depname)
166
167$(OBJS)\renddll_renddll.obj: .\renddll.cpp
168 $(CXX) -q -c -P -o$@ $(RENDDLL_CXXFLAGS) $**
169
170$(OBJS)\render_render.obj: .\render.cpp
171 $(CXX) -q -c -P -o$@ $(RENDER_CXXFLAGS) $**
172
173$(OBJS)\render_sample.res: .\..\..\samples\sample.rc
ec08d395 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$(SETUPHDIR) -i. $(__DLLFLAG_p_1) -i.\..\..\samples $**
2d611b5c
VS
175
176clean:
177 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
178 -if exist $(OBJS)\*.res del $(OBJS)\*.res
179 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe
ec08d395
JS
180 -if exist $(OBJS)\render.tds del $(OBJS)\render.tds
181 -if exist $(OBJS)\render.ilc del $(OBJS)\render.ilc
182 -if exist $(OBJS)\render.ild del $(OBJS)\render.ild
183 -if exist $(OBJS)\render.ilf del $(OBJS)\render.ilf
184 -if exist $(OBJS)\render.ils del $(OBJS)\render.ils
185 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)251_bcc.dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)251_bcc.dll
186 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)251_bcc.tds del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)251_bcc.tds
187 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)251_bcc.ilc del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)251_bcc.ilc
188 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)251_bcc.ild del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)251_bcc.ild
189 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)251_bcc.ilf del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)251_bcc.ilf
190 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)251_bcc.ils del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)251_bcc.ils
2d611b5c
VS
191
192!if "$(SHARED)" == "1"
ec08d395 193$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)251_bcc.dll: $(RENDDLL_OBJECTS)
9bfe7ad9 194 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
b71531ad 195 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$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32mt$(__RUNTIME_LIBS).lib,,
2d611b5c
VS
196|
197!endif
198
199$(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res
9bfe7ad9 200 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
b71531ad 201 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$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32mt$(__RUNTIME_LIBS).lib,, $(OBJS)\render_sample.res
2d611b5c 202|