]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/foldbar/makefile.bcc
Removed ambiguity between deprecated and new constructor.
[wxWidgets.git] / contrib / build / foldbar / makefile.bcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.6 (http://bakefile.sourceforge.net)
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
13 BCCDIR = $(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
24 WX_RELEASE_NODOT = 25
25 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
26 OBJS = \
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28 LIBDIRNAME = ..\..\src\foldbar\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
29 SETUPHDIR = \
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
31 FOLDBARDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
32 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
33 $(__UNICODE_DEFINE_p) -I..\..\src\foldbar\..\..\..\include -I$(SETUPHDIR) \
34 -I..\..\src\foldbar\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_FOLDBAR -Hu \
35 -H=$(OBJS)\wxprec_foldbardll.csm $(CPPFLAGS) $(CXXFLAGS)
36 FOLDBARDLL_OBJECTS = \
37 $(OBJS)\foldbardll_dummy.obj \
38 $(OBJS)\foldbardll_captionbar.obj \
39 $(OBJS)\foldbardll_foldpanelbar.obj \
40 $(OBJS)\foldbardll_foldpanelitem.obj
41 FOLDBARLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
42 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
43 $(__UNICODE_DEFINE_p) -I..\..\src\foldbar\..\..\..\include -I$(SETUPHDIR) \
44 -I..\..\src\foldbar\..\..\include -Hu -H=$(OBJS)\wxprec_foldbarlib.csm \
45 $(CPPFLAGS) $(CXXFLAGS)
46 FOLDBARLIB_OBJECTS = \
47 $(OBJS)\foldbarlib_dummy.obj \
48 $(OBJS)\foldbarlib_captionbar.obj \
49 $(OBJS)\foldbarlib_foldpanelbar.obj \
50 $(OBJS)\foldbarlib_foldpanelitem.obj
51
52 ### Conditionally set variables: ###
53
54 !if "$(USE_GUI)" == "0"
55 PORTNAME = base
56 !endif
57 !if "$(USE_GUI)" == "1"
58 PORTNAME = msw
59 !endif
60 !if "$(OFFICIAL_BUILD)" == "0"
61 VENDORTAG = _$(VENDOR)
62 !endif
63 !if "$(OFFICIAL_BUILD)" == "1"
64 VENDORTAG =
65 !endif
66 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
67 WXDEBUGFLAG = d
68 !endif
69 !if "$(DEBUG_FLAG)" == "1"
70 WXDEBUGFLAG = d
71 !endif
72 !if "$(UNICODE)" == "1"
73 WXUNICODEFLAG = u
74 !endif
75 !if "$(WXUNIV)" == "1"
76 WXUNIVNAME = univ
77 !endif
78 !if "$(SHARED)" == "1"
79 WXDLLFLAG = dll
80 !endif
81 !if "$(SHARED)" == "0"
82 LIBTYPE_SUFFIX = lib
83 !endif
84 !if "$(SHARED)" == "1"
85 LIBTYPE_SUFFIX = dll
86 !endif
87 !if "$(MONOLITHIC)" == "0"
88 EXTRALIBS_FOR_BASE =
89 !endif
90 !if "$(MONOLITHIC)" == "1"
91 EXTRALIBS_FOR_BASE =
92 !endif
93 !if "$(SHARED)" == "1"
94 __foldbardll___depname = \
95 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).dll
96 !endif
97 !if "$(RUNTIME_LIBS)" == "dynamic"
98 __RUNTIME_LIBS_8 = i
99 !endif
100 !if "$(RUNTIME_LIBS)" == "static"
101 __RUNTIME_LIBS_8 =
102 !endif
103 !if "$(MONOLITHIC)" == "1"
104 __WXLIB_MONO_p = \
105 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
106 !endif
107 !if "$(USE_GUI)" == "1"
108 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
109 !endif
110 !if "$(USE_GUI)" == "1"
111 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
112 !endif
113 !if "$(USE_GUI)" == "1"
114 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
115 !endif
116 !if "$(MSLU)" == "1"
117 __UNICOWS_LIB_p = unicows.lib
118 !endif
119 !if "$(MONOLITHIC)" == "0"
120 __WXLIB_CORE_p = \
121 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
122 !endif
123 !if "$(MONOLITHIC)" == "0"
124 __WXLIB_BASE_p = \
125 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
126 !endif
127 !if "$(SHARED)" == "0"
128 __foldbarlib___depname = \
129 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib
130 !endif
131 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
132 __DEBUGINFO = -v
133 !endif
134 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
135 __DEBUGINFO = -v-
136 !endif
137 !if "$(DEBUG_INFO)" == "0"
138 __DEBUGINFO = -v-
139 !endif
140 !if "$(DEBUG_INFO)" == "1"
141 __DEBUGINFO = -v
142 !endif
143 !if "$(BUILD)" == "debug"
144 __OPTIMIZEFLAG = -Od
145 !endif
146 !if "$(BUILD)" == "release"
147 __OPTIMIZEFLAG = -O2
148 !endif
149 !if "$(RUNTIME_LIBS)" == "dynamic"
150 __RUNTIME_LIBS = -tWR
151 !endif
152 !if "$(RUNTIME_LIBS)" == "static"
153 __RUNTIME_LIBS =
154 !endif
155 !if "$(WXUNIV)" == "1"
156 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
157 !endif
158 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
159 __DEBUG_DEFINE_p = -D__WXDEBUG__
160 !endif
161 !if "$(DEBUG_FLAG)" == "1"
162 __DEBUG_DEFINE_p = -D__WXDEBUG__
163 !endif
164 !if "$(UNICODE)" == "1"
165 __UNICODE_DEFINE_p = -D_UNICODE
166 !endif
167
168
169 all: $(OBJS)
170 $(OBJS):
171 -if not exist $(OBJS) mkdir $(OBJS)
172
173 ### Targets: ###
174
175 all: $(__foldbardll___depname) $(__foldbarlib___depname)
176
177 clean:
178 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
179 -if exist $(OBJS)\*.res del $(OBJS)\*.res
180 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
181 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).dll
182 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).tds
183 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ilc
184 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ild
185 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ilf
186 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ils
187 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib
188 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib
189
190 !if "$(SHARED)" == "1"
191 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).dll: $(OBJS)\foldbardll_dummy.obj $(FOLDBARDLL_OBJECTS)
192 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
193 c0d32.obj $(FOLDBARDLL_OBJECTS),$@,, $(__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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_8).lib,,
194 |
195 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar $@
196 !endif
197
198 !if "$(SHARED)" == "0"
199 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib: $(OBJS)\foldbarlib_dummy.obj $(FOLDBARLIB_OBJECTS)
200 if exist $@ del $@
201 tlib /a /p4096 $@ @&&|
202 $(FOLDBARLIB_OBJECTS)
203 |
204 !endif
205
206 $(OBJS)\foldbardll_dummy.obj: ../../src/foldbar\..\..\..\src\msw\dummy.cpp
207 $(CXX) -q -c -P -o$@ $(FOLDBARDLL_CXXFLAGS) -H $**
208
209 $(OBJS)\foldbardll_captionbar.obj: ../../src/foldbar\captionbar.cpp
210 $(CXX) -q -c -P -o$@ $(FOLDBARDLL_CXXFLAGS) $**
211
212 $(OBJS)\foldbardll_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
213 $(CXX) -q -c -P -o$@ $(FOLDBARDLL_CXXFLAGS) $**
214
215 $(OBJS)\foldbardll_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
216 $(CXX) -q -c -P -o$@ $(FOLDBARDLL_CXXFLAGS) $**
217
218 $(OBJS)\foldbarlib_dummy.obj: ../../src/foldbar\..\..\..\src\msw\dummy.cpp
219 $(CXX) -q -c -P -o$@ $(FOLDBARLIB_CXXFLAGS) -H $**
220
221 $(OBJS)\foldbarlib_captionbar.obj: ../../src/foldbar\captionbar.cpp
222 $(CXX) -q -c -P -o$@ $(FOLDBARLIB_CXXFLAGS) $**
223
224 $(OBJS)\foldbarlib_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
225 $(CXX) -q -c -P -o$@ $(FOLDBARLIB_CXXFLAGS) $**
226
227 $(OBJS)\foldbarlib_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
228 $(CXX) -q -c -P -o$@ $(FOLDBARLIB_CXXFLAGS) $**
229