]> git.saurik.com Git - wxWidgets.git/blame - samples/fswatcher/makefile.bcc
Document lack of wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK under OS X.
[wxWidgets.git] / samples / fswatcher / makefile.bcc
CommitLineData
4863951a
VS
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.2.9 (http://www.bakefile.org)
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
13BCCDIR = $(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
24WX_RELEASE_NODOT = 29
25COMPILER_PREFIX = bcc
26OBJS = \
14b682f7
VZ
27 $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28LIBDIRNAME = \
29 .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)_$(LIBTYPE_SUFFIX)$(CFG)
4863951a
VS
30SETUPHDIR = \
31 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
32FSWATCHER_CXXFLAGS = $(__RUNTIME_LIBS_7) -I$(BCCDIR)\include $(__DEBUGINFO) \
22a3b6e4
VZ
33 $(__OPTIMIZEFLAG_2) $(__THREADSFLAG_6) -D__WX$(TOOLKIT)__ \
34 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) \
35 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
36 $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \
4863951a
VS
37 $(____CAIRO_INCLUDEDIR_FILENAMES_p) -I. $(__DLLFLAG_p) -I.\..\..\samples \
38 -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
39FSWATCHER_OBJECTS = \
40 $(OBJS)\fswatcher_fswatcher.obj
41
42### Conditionally set variables: ###
43
22a3b6e4
VZ
44!if "$(TOOLKIT)" == "GTK"
45WIN32_TOOLKIT_LOWERCASE = gtk
46!endif
47!if "$(TOOLKIT)" == "MSW"
48WIN32_TOOLKIT_LOWERCASE = msw
49!endif
4863951a
VS
50!if "$(USE_GUI)" == "0"
51PORTNAME = base
52!endif
53!if "$(USE_GUI)" == "1"
22a3b6e4
VZ
54PORTNAME = $(WIN32_TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
55!endif
56!if "$(TOOLKIT)" == "MAC"
57WXBASEPORT = _carbon
58!endif
14b682f7
VZ
59!if "$(OFFICIAL_BUILD)" == "1"
60COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
4863951a
VS
61!endif
62!if "$(BUILD)" == "debug"
63WXDEBUGFLAG = d
64!endif
65!if "$(UNICODE)" == "1"
66WXUNICODEFLAG = u
67!endif
68!if "$(WXUNIV)" == "1"
69WXUNIVNAME = univ
70!endif
71!if "$(SHARED)" == "1"
72WXDLLFLAG = dll
73!endif
74!if "$(SHARED)" == "0"
75LIBTYPE_SUFFIX = lib
76!endif
77!if "$(SHARED)" == "1"
78LIBTYPE_SUFFIX = dll
79!endif
80!if "$(MONOLITHIC)" == "0"
81EXTRALIBS_FOR_BASE =
82!endif
83!if "$(MONOLITHIC)" == "1"
84EXTRALIBS_FOR_BASE =
85!endif
22a3b6e4
VZ
86!if "$(TOOLKIT)" == "GTK" && "$(TOOLKIT_VERSION)" == "2"
87LIB_GTK = gtk-win32-2.0.lib gdk-win32-2.0.lib pangocairo-1.0.lib \
88 gdk_pixbuf-2.0.lib cairo.lib pango-1.0.lib gobject-2.0.lib gthread-2.0.lib \
89 glib-2.0.lib
90!endif
4863951a
VS
91!if "$(BUILD)" == "debug"
92__OPTIMIZEFLAG_2 = -Od
93!endif
94!if "$(BUILD)" == "release"
95__OPTIMIZEFLAG_2 = -O2
96!endif
97!if "$(USE_THREADS)" == "0"
98__THREADSFLAG_5 =
99!endif
100!if "$(USE_THREADS)" == "1"
101__THREADSFLAG_5 = mt
102!endif
103!if "$(USE_THREADS)" == "0"
104__THREADSFLAG_6 =
105!endif
106!if "$(USE_THREADS)" == "1"
107__THREADSFLAG_6 = -tWM
108!endif
109!if "$(RUNTIME_LIBS)" == "dynamic"
110__RUNTIME_LIBS_7 = -tWR
111!endif
112!if "$(RUNTIME_LIBS)" == "static"
113__RUNTIME_LIBS_7 =
114!endif
115!if "$(RUNTIME_LIBS)" == "dynamic"
116__RUNTIME_LIBS_8 = i
117!endif
118!if "$(RUNTIME_LIBS)" == "static"
119__RUNTIME_LIBS_8 =
120!endif
121!if "$(WXUNIV)" == "1"
122__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
123!endif
124!if "$(WXUNIV)" == "1"
125__WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
126!endif
127!if "$(DEBUG_FLAG)" == "0"
128__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
129!endif
130!if "$(DEBUG_FLAG)" == "0"
131__DEBUG_DEFINE_p_1 = -dwxDEBUG_LEVEL=0
132!endif
133!if "$(BUILD)" == "release"
134__NDEBUG_DEFINE_p = -DNDEBUG
135!endif
136!if "$(BUILD)" == "release"
137__NDEBUG_DEFINE_p_1 = -dNDEBUG
138!endif
139!if "$(USE_EXCEPTIONS)" == "0"
140__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
141!endif
142!if "$(USE_EXCEPTIONS)" == "0"
143__EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
144!endif
145!if "$(USE_RTTI)" == "0"
146__RTTI_DEFINE_p = -DwxNO_RTTI
147!endif
148!if "$(USE_RTTI)" == "0"
149__RTTI_DEFINE_p_1 = -dwxNO_RTTI
150!endif
151!if "$(USE_THREADS)" == "0"
152__THREAD_DEFINE_p = -DwxNO_THREADS
153!endif
154!if "$(USE_THREADS)" == "0"
155__THREAD_DEFINE_p_1 = -dwxNO_THREADS
156!endif
157!if "$(UNICODE)" == "0"
158__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
159!endif
160!if "$(UNICODE)" == "1"
161__UNICODE_DEFINE_p = -D_UNICODE
162!endif
163!if "$(UNICODE)" == "0"
164__UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=0
165!endif
166!if "$(UNICODE)" == "1"
167__UNICODE_DEFINE_p_1 = -d_UNICODE
168!endif
169!if "$(MSLU)" == "1"
170__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
171!endif
172!if "$(MSLU)" == "1"
173__MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
174!endif
175!if "$(USE_CAIRO)" == "1"
176____CAIRO_INCLUDEDIR_FILENAMES_p = -I$(CAIRO_ROOT)\include\cairo
177!endif
178!if "$(USE_CAIRO)" == "1"
179____CAIRO_INCLUDEDIR_FILENAMES_1_p = -i$(CAIRO_ROOT)\include\cairo
180!endif
181!if "$(SHARED)" == "1"
182__DLLFLAG_p = -DWXUSINGDLL
183!endif
184!if "$(SHARED)" == "1"
185__DLLFLAG_p_1 = -dWXUSINGDLL
186!endif
187!if "$(MONOLITHIC)" == "0"
188__WXLIB_CORE_p = \
189 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
190!endif
191!if "$(MONOLITHIC)" == "0"
192__WXLIB_BASE_p = \
22a3b6e4 193 wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
4863951a
VS
194!endif
195!if "$(MONOLITHIC)" == "1"
196__WXLIB_MONO_p = \
197 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
198!endif
199!if "$(USE_GUI)" == "1"
200__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
201!endif
202!if "$(USE_GUI)" == "1"
203__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
204!endif
205!if "$(USE_GUI)" == "1"
206__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
207!endif
208!if "$(MSLU)" == "1"
209__UNICOWS_LIB_p = unicows.lib
210!endif
211!if "$(USE_CAIRO)" == "1"
212__CAIRO_LIB_p = cairo.lib
213!endif
214!if "$(USE_CAIRO)" == "1"
215____CAIRO_LIBDIR_FILENAMES_p = -L$(CAIRO_ROOT)\lib
216!endif
217!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
218__DEBUGINFO = -v
219!endif
220!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
221__DEBUGINFO = -v-
222!endif
223!if "$(DEBUG_INFO)" == "0"
224__DEBUGINFO = -v-
225!endif
226!if "$(DEBUG_INFO)" == "1"
227__DEBUGINFO = -v
228!endif
229
230
231all: $(OBJS)
232$(OBJS):
233 -if not exist $(OBJS) mkdir $(OBJS)
234
235### Targets: ###
236
237all: $(OBJS)\fswatcher.exe
238
239clean:
240 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
241 -if exist $(OBJS)\*.res del $(OBJS)\*.res
242 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
243 -if exist $(OBJS)\fswatcher.exe del $(OBJS)\fswatcher.exe
244 -if exist $(OBJS)\fswatcher.tds del $(OBJS)\fswatcher.tds
245 -if exist $(OBJS)\fswatcher.ilc del $(OBJS)\fswatcher.ilc
246 -if exist $(OBJS)\fswatcher.ild del $(OBJS)\fswatcher.ild
247 -if exist $(OBJS)\fswatcher.ilf del $(OBJS)\fswatcher.ilf
248 -if exist $(OBJS)\fswatcher.ils del $(OBJS)\fswatcher.ils
249
250$(OBJS)\fswatcher.exe: $(FSWATCHER_OBJECTS) $(OBJS)\fswatcher_sample.res
251 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @&&|
22a3b6e4 252 c0w32.obj $(FSWATCHER_OBJECTS),$@,, $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(LIB_GTK) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG_5)$(__RUNTIME_LIBS_8).lib,, $(OBJS)\fswatcher_sample.res
4863951a
VS
253|
254
255$(OBJS)\fswatcher_sample.res: .\..\..\samples\sample.rc
22a3b6e4 256 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) -i. $(__DLLFLAG_p_1) -i.\..\..\samples -dNOPCH .\..\..\samples\sample.rc
4863951a
VS
257
258$(OBJS)\fswatcher_fswatcher.obj: .\fswatcher.cpp
259 $(CXX) -q -c -P -o$@ $(FSWATCHER_CXXFLAGS) .\fswatcher.cpp
260