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