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 # =========================================================================
11 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
13 BCCDIR = $(MAKEDIR)\..
16 !include ../../build/msw/config.bcc
18 # -------------------------------------------------------------------------
19 # Do not modify the rest of this file!
20 # -------------------------------------------------------------------------
27 $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
29 .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)_$(LIBTYPE_SUFFIX)$(CFG)
31 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
32 PROPGRID_CXXFLAGS = $(__RUNTIME_LIBS_7) -I$(BCCDIR)\include $(__DEBUGINFO) \
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 \
37 $(____CAIRO_INCLUDEDIR_FILENAMES_p) -I. $(__DLLFLAG_p) -I.\..\..\samples \
38 -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
40 $(OBJS)\propgrid_propgrid.obj \
41 $(OBJS)\propgrid_propgrid_minimal.obj \
42 $(OBJS)\propgrid_sampleprops.obj \
43 $(OBJS)\propgrid_tests.obj
45 ### Conditionally set variables: ###
47 !if "$(TOOLKIT)" == "GTK"
48 WIN32_TOOLKIT_LOWERCASE = gtk
50 !if "$(TOOLKIT)" == "MSW"
51 WIN32_TOOLKIT_LOWERCASE = msw
53 !if "$(USE_GUI)" == "0"
56 !if "$(USE_GUI)" == "1"
57 PORTNAME = $(WIN32_TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
59 !if "$(TOOLKIT)" == "MAC"
62 !if "$(OFFICIAL_BUILD)" == "1"
63 COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
65 !if "$(BUILD)" == "debug"
68 !if "$(UNICODE)" == "1"
71 !if "$(WXUNIV)" == "1"
74 !if "$(SHARED)" == "1"
77 !if "$(SHARED)" == "0"
80 !if "$(SHARED)" == "1"
83 !if "$(MONOLITHIC)" == "0"
86 !if "$(MONOLITHIC)" == "1"
89 !if "$(TOOLKIT)" == "GTK" && "$(TOOLKIT_VERSION)" == "2"
90 LIB_GTK = gtk-win32-2.0.lib gdk-win32-2.0.lib pangocairo-1.0.lib \
91 gdk_pixbuf-2.0.lib cairo.lib pango-1.0.lib gobject-2.0.lib gthread-2.0.lib \
94 !if "$(BUILD)" == "debug"
95 __OPTIMIZEFLAG_2 = -Od
97 !if "$(BUILD)" == "release"
98 __OPTIMIZEFLAG_2 = -O2
100 !if "$(USE_THREADS)" == "0"
103 !if "$(USE_THREADS)" == "1"
106 !if "$(USE_THREADS)" == "0"
109 !if "$(USE_THREADS)" == "1"
110 __THREADSFLAG_6 = -tWM
112 !if "$(RUNTIME_LIBS)" == "dynamic"
113 __RUNTIME_LIBS_7 = -tWR
115 !if "$(RUNTIME_LIBS)" == "static"
118 !if "$(RUNTIME_LIBS)" == "dynamic"
121 !if "$(RUNTIME_LIBS)" == "static"
124 !if "$(WXUNIV)" == "1"
125 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
127 !if "$(WXUNIV)" == "1"
128 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
130 !if "$(DEBUG_FLAG)" == "0"
131 __DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
133 !if "$(DEBUG_FLAG)" == "0"
134 __DEBUG_DEFINE_p_1 = -dwxDEBUG_LEVEL=0
136 !if "$(BUILD)" == "release"
137 __NDEBUG_DEFINE_p = -DNDEBUG
139 !if "$(BUILD)" == "release"
140 __NDEBUG_DEFINE_p_1 = -dNDEBUG
142 !if "$(USE_EXCEPTIONS)" == "0"
143 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
145 !if "$(USE_EXCEPTIONS)" == "0"
146 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
148 !if "$(USE_RTTI)" == "0"
149 __RTTI_DEFINE_p = -DwxNO_RTTI
151 !if "$(USE_RTTI)" == "0"
152 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
154 !if "$(USE_THREADS)" == "0"
155 __THREAD_DEFINE_p = -DwxNO_THREADS
157 !if "$(USE_THREADS)" == "0"
158 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
160 !if "$(UNICODE)" == "0"
161 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
163 !if "$(UNICODE)" == "1"
164 __UNICODE_DEFINE_p = -D_UNICODE
166 !if "$(UNICODE)" == "0"
167 __UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=0
169 !if "$(UNICODE)" == "1"
170 __UNICODE_DEFINE_p_1 = -d_UNICODE
173 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
176 __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
178 !if "$(USE_CAIRO)" == "1"
179 ____CAIRO_INCLUDEDIR_FILENAMES_p = -I$(CAIRO_ROOT)\include\cairo
181 !if "$(USE_CAIRO)" == "1"
182 ____CAIRO_INCLUDEDIR_FILENAMES_1_p = -i$(CAIRO_ROOT)\include\cairo
184 !if "$(SHARED)" == "1"
185 __DLLFLAG_p = -DWXUSINGDLL
187 !if "$(SHARED)" == "1"
188 __DLLFLAG_p_1 = -dWXUSINGDLL
190 !if "$(MONOLITHIC)" == "0"
191 __WXLIB_PROPGRID_p = \
192 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_propgrid.lib
194 !if "$(MONOLITHIC)" == "0"
196 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
198 !if "$(MONOLITHIC)" == "0"
200 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
202 !if "$(MONOLITHIC)" == "0"
204 wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
206 !if "$(MONOLITHIC)" == "1"
208 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
210 !if "$(USE_GUI)" == "1"
211 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
213 !if "$(USE_GUI)" == "1"
214 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
216 !if "$(USE_GUI)" == "1"
217 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
220 __UNICOWS_LIB_p = unicows.lib
222 !if "$(USE_CAIRO)" == "1"
223 __CAIRO_LIB_p = cairo.lib
225 !if "$(USE_CAIRO)" == "1"
226 ____CAIRO_LIBDIR_FILENAMES_p = -L$(CAIRO_ROOT)\lib
228 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
231 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
234 !if "$(DEBUG_INFO)" == "0"
237 !if "$(DEBUG_INFO)" == "1"
244 -if not exist $(OBJS) mkdir $(OBJS)
248 all: $(OBJS)\propgrid.exe
251 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
252 -if exist $(OBJS)\*.res del $(OBJS)\*.res
253 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
254 -if exist $(OBJS)\propgrid.exe del $(OBJS)\propgrid.exe
255 -if exist $(OBJS)\propgrid.tds del $(OBJS)\propgrid.tds
256 -if exist $(OBJS)\propgrid.ilc del $(OBJS)\propgrid.ilc
257 -if exist $(OBJS)\propgrid.ild del $(OBJS)\propgrid.ild
258 -if exist $(OBJS)\propgrid.ilf del $(OBJS)\propgrid.ilf
259 -if exist $(OBJS)\propgrid.ils del $(OBJS)\propgrid.ils
261 $(OBJS)\propgrid.exe: $(PROPGRID_OBJECTS) $(OBJS)\propgrid_sample.res
262 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @&&|
263 c0w32.obj $(PROPGRID_OBJECTS),$@,, $(__WXLIB_PROPGRID_p) $(__WXLIB_ADV_p) $(__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)\propgrid_sample.res
266 $(OBJS)\propgrid_propgrid.obj: .\propgrid.cpp
267 $(CXX) -q -c -P -o$@ $(PROPGRID_CXXFLAGS) .\propgrid.cpp
269 $(OBJS)\propgrid_propgrid_minimal.obj: .\propgrid_minimal.cpp
270 $(CXX) -q -c -P -o$@ $(PROPGRID_CXXFLAGS) .\propgrid_minimal.cpp
272 $(OBJS)\propgrid_sampleprops.obj: .\sampleprops.cpp
273 $(CXX) -q -c -P -o$@ $(PROPGRID_CXXFLAGS) .\sampleprops.cpp
275 $(OBJS)\propgrid_tests.obj: .\tests.cpp
276 $(CXX) -q -c -P -o$@ $(PROPGRID_CXXFLAGS) .\tests.cpp
278 $(OBJS)\propgrid_sample.res: .\..\sample.rc
279 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 .\..\sample.rc