]>
Commit | Line | Data |
---|---|---|
15e8daec 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 | ||
15e8daec | 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 | |
15e8daec VS |
13 | BCCDIR = $(MAKEDIR)\.. |
14 | !endif | |
15 | ||
fd9f42b6 | 16 | !include ../../../build/msw/config.bcc |
15e8daec VS |
17 | |
18 | # ------------------------------------------------------------------------- | |
19 | # Do not modify the rest of this file! | |
20 | # ------------------------------------------------------------------------- | |
21 | ||
15e8daec VS |
22 | ### Variables: ### |
23 | ||
15e8daec VS |
24 | OBJS = \ |
25 | bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
9bfe7ad9 VS |
26 | PLOTDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ |
27 | $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ | |
28 | $(__UNICODE_DEFINE_p) -I..\..\src\plot\..\..\..\include -I$(SETUPHDIR) \ | |
29 | -I..\..\src\plot\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_PLOT -Hu \ | |
30 | -H=$(OBJS)\wxprec_plotdll.csm $(CPPFLAGS) $(CXXFLAGS) | |
15e8daec VS |
31 | PLOTDLL_OBJECTS = \ |
32 | $(OBJS)\plotdll_dummy.obj \ | |
33 | $(OBJS)\plotdll_plot.obj | |
9bfe7ad9 VS |
34 | PLOTLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ |
35 | $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ | |
36 | $(__UNICODE_DEFINE_p) -I..\..\src\plot\..\..\..\include -I$(SETUPHDIR) \ | |
37 | -I..\..\src\plot\..\..\include -Hu -H=$(OBJS)\wxprec_plotlib.csm \ | |
38 | $(CPPFLAGS) $(CXXFLAGS) | |
15e8daec VS |
39 | PLOTLIB_OBJECTS = \ |
40 | $(OBJS)\plotlib_dummy.obj \ | |
41 | $(OBJS)\plotlib_plot.obj | |
75a0a7b7 VS |
42 | SETUPHDIR = \ |
43 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
15e8daec VS |
44 | |
45 | ### Conditionally set variables: ### | |
46 | ||
75a0a7b7 VS |
47 | !if "$(SHARED)" == "0" |
48 | LIBDIRNAME = ..\..\src\plot\..\..\..\lib\bcc_lib$(CFG) | |
49 | !endif | |
50 | !if "$(SHARED)" == "1" | |
51 | LIBDIRNAME = ..\..\src\plot\..\..\..\lib\bcc_dll$(CFG) | |
52 | !endif | |
15e8daec VS |
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 "$(SHARED)" == "1" | |
72 | WXDLLFLAG = dll | |
73 | !endif | |
74 | !if "$(UNICODE)" == "1" | |
75 | WXUNICODEFLAG = u | |
76 | !endif | |
77 | !if "$(WXUNIV)" == "1" | |
78 | WXUNIVNAME = univ | |
79 | !endif | |
80 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
81 | __DEBUGINFO = -v | |
82 | !endif | |
83 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
84 | __DEBUGINFO = -v- | |
85 | !endif | |
86 | !if "$(DEBUG_INFO)" == "0" | |
87 | __DEBUGINFO = -v- | |
88 | !endif | |
89 | !if "$(DEBUG_INFO)" == "1" | |
90 | __DEBUGINFO = -v | |
91 | !endif | |
92 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
93 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
94 | !endif | |
95 | !if "$(DEBUG_FLAG)" == "1" | |
96 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
97 | !endif | |
98 | !if "$(USE_GUI)" == "1" | |
99 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
100 | !endif | |
101 | !if "$(USE_GUI)" == "1" | |
102 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
103 | !endif | |
104 | !if "$(USE_GUI)" == "1" | |
105 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
106 | !endif | |
107 | !if "$(BUILD)" == "debug" | |
108 | __OPTIMIZEFLAG = -Od | |
109 | !endif | |
110 | !if "$(BUILD)" == "release" | |
111 | __OPTIMIZEFLAG = -O2 | |
112 | !endif | |
113 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
114 | __RUNTIME_LIBS = -tWR | |
115 | !endif | |
116 | !if "$(RUNTIME_LIBS)" == "static" | |
117 | __RUNTIME_LIBS = | |
118 | !endif | |
119 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
120 | __RUNTIME_LIBS_7 = i | |
121 | !endif | |
122 | !if "$(RUNTIME_LIBS)" == "static" | |
123 | __RUNTIME_LIBS_7 = | |
124 | !endif | |
125 | !if "$(UNICODE)" == "1" | |
ec08d395 | 126 | __UNICODE_DEFINE_p = -D_UNICODE |
15e8daec | 127 | !endif |
2265a2d5 VS |
128 | !if "$(MSLU)" == "1" |
129 | __UNICOWS_LIB_p = unicows.lib | |
130 | !endif | |
15e8daec VS |
131 | !if "$(MONOLITHIC)" == "0" |
132 | __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
133 | !endif | |
134 | !if "$(MONOLITHIC)" == "0" | |
135 | __WXLIB_CORE_p = \ | |
136 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib | |
137 | !endif | |
138 | !if "$(MONOLITHIC)" == "1" | |
139 | __WXLIB_MONO_p = \ | |
140 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
141 | !endif | |
142 | !if "$(WXUNIV)" == "1" | |
143 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
144 | !endif | |
145 | !if "$(SHARED)" == "1" | |
146 | __plotdll___depname = \ | |
ec08d395 | 147 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).dll |
15e8daec VS |
148 | !endif |
149 | !if "$(SHARED)" == "0" | |
150 | __plotlib___depname = \ | |
151 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib | |
152 | !endif | |
153 | ||
154 | ||
155 | all: $(OBJS) | |
156 | $(OBJS): | |
157 | -if not exist $(OBJS) mkdir $(OBJS) | |
158 | ||
159 | ### Targets: ### | |
160 | ||
161 | all: $(__plotdll___depname) $(__plotlib___depname) | |
162 | ||
163 | $(OBJS)\plotdll_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp | |
164 | $(CXX) -q -c -P -o$@ $(PLOTDLL_CXXFLAGS) -H $** | |
165 | ||
166 | $(OBJS)\plotdll_plot.obj: ../../src/plot\plot.cpp | |
167 | $(CXX) -q -c -P -o$@ $(PLOTDLL_CXXFLAGS) $** | |
168 | ||
169 | $(OBJS)\plotlib_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp | |
170 | $(CXX) -q -c -P -o$@ $(PLOTLIB_CXXFLAGS) -H $** | |
171 | ||
172 | $(OBJS)\plotlib_plot.obj: ../../src/plot\plot.cpp | |
173 | $(CXX) -q -c -P -o$@ $(PLOTLIB_CXXFLAGS) $** | |
174 | ||
175 | clean: | |
176 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
177 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
ec08d395 JS |
178 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).dll |
179 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).tds | |
180 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).ilc | |
181 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).ild | |
182 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).ilf | |
183 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).ils | |
15e8daec VS |
184 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib |
185 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib | |
186 | ||
187 | !if "$(SHARED)" == "1" | |
ec08d395 | 188 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).dll: $(OBJS)\plotdll_dummy.obj $(PLOTDLL_OBJECTS) |
9bfe7ad9 | 189 | ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&| |
ec08d395 | 190 | c0d32.obj $(PLOTDLL_OBJECTS),$@,, $(__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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,, |
15e8daec VS |
191 | | |
192 | implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot $@ | |
193 | !endif | |
194 | ||
195 | !if "$(SHARED)" == "0" | |
75a0a7b7 | 196 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib: $(OBJS)\plotlib_dummy.obj $(PLOTLIB_OBJECTS) |
15e8daec | 197 | if exist $@ del $@ |
9bfe7ad9 | 198 | tlib /a /p4096 $@ @&&| |
15e8daec VS |
199 | $(PLOTLIB_OBJECTS) |
200 | | | |
201 | !endif |