]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/net/makefile.bcc
Updates to MIME-types and wxFileDialog code for better
[wxWidgets.git] / contrib / build / net / makefile.bcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.2 (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 OBJS = \
25 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
26 SETUPHDIR = \
27 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
28 NETUTILSDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
29 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
30 $(__UNICODE_DEFINE_p) -I..\..\src\net\..\..\..\include -I$(SETUPHDIR) \
31 -I..\..\src\net\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_NETUTILS -Hu \
32 -H=$(OBJS)\wxprec_netutilsdll.csm $(CPPFLAGS) $(CXXFLAGS)
33 NETUTILSDLL_OBJECTS = \
34 $(OBJS)\netutilsdll_dummy.obj \
35 $(OBJS)\netutilsdll_email.obj \
36 $(OBJS)\netutilsdll_smapi.obj \
37 $(OBJS)\netutilsdll_web.obj
38 NETUTILSLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
39 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
40 $(__UNICODE_DEFINE_p) -I..\..\src\net\..\..\..\include -I$(SETUPHDIR) \
41 -I..\..\src\net\..\..\include -Hu -H=$(OBJS)\wxprec_netutilslib.csm \
42 $(CPPFLAGS) $(CXXFLAGS)
43 NETUTILSLIB_OBJECTS = \
44 $(OBJS)\netutilslib_dummy.obj \
45 $(OBJS)\netutilslib_email.obj \
46 $(OBJS)\netutilslib_smapi.obj \
47 $(OBJS)\netutilslib_web.obj
48
49 ### Conditionally set variables: ###
50
51 !if "$(USE_GUI)" == "0"
52 PORTNAME = base
53 !endif
54 !if "$(USE_GUI)" == "1"
55 PORTNAME = msw
56 !endif
57 !if "$(OFFICIAL_BUILD)" == "0"
58 VENDORTAG = _$(VENDOR)
59 !endif
60 !if "$(OFFICIAL_BUILD)" == "1"
61 VENDORTAG =
62 !endif
63 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
64 WXDEBUGFLAG = d
65 !endif
66 !if "$(DEBUG_FLAG)" == "1"
67 WXDEBUGFLAG = d
68 !endif
69 !if "$(UNICODE)" == "1"
70 WXUNICODEFLAG = u
71 !endif
72 !if "$(WXUNIV)" == "1"
73 WXUNIVNAME = univ
74 !endif
75 !if "$(SHARED)" == "1"
76 WXDLLFLAG = dll
77 !endif
78 !if "$(SHARED)" == "1"
79 __netutilsdll___depname = \
80 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).dll
81 !endif
82 !if "$(RUNTIME_LIBS)" == "dynamic"
83 __RUNTIME_LIBS_7 = i
84 !endif
85 !if "$(RUNTIME_LIBS)" == "static"
86 __RUNTIME_LIBS_7 =
87 !endif
88 !if "$(MONOLITHIC)" == "1"
89 __WXLIB_MONO_p = \
90 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
91 !endif
92 !if "$(USE_GUI)" == "1"
93 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
94 !endif
95 !if "$(USE_GUI)" == "1"
96 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
97 !endif
98 !if "$(USE_GUI)" == "1"
99 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
100 !endif
101 !if "$(MSLU)" == "1"
102 __UNICOWS_LIB_p = unicows.lib
103 !endif
104 !if "$(MONOLITHIC)" == "0"
105 __WXLIB_CORE_p = \
106 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
107 !endif
108 !if "$(MONOLITHIC)" == "0"
109 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
110 !endif
111 !if "$(SHARED)" == "0"
112 __netutilslib___depname = \
113 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib
114 !endif
115 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
116 __DEBUGINFO = -v
117 !endif
118 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
119 __DEBUGINFO = -v-
120 !endif
121 !if "$(DEBUG_INFO)" == "0"
122 __DEBUGINFO = -v-
123 !endif
124 !if "$(DEBUG_INFO)" == "1"
125 __DEBUGINFO = -v
126 !endif
127 !if "$(BUILD)" == "debug"
128 __OPTIMIZEFLAG = -Od
129 !endif
130 !if "$(BUILD)" == "release"
131 __OPTIMIZEFLAG = -O2
132 !endif
133 !if "$(RUNTIME_LIBS)" == "dynamic"
134 __RUNTIME_LIBS = -tWR
135 !endif
136 !if "$(RUNTIME_LIBS)" == "static"
137 __RUNTIME_LIBS =
138 !endif
139 !if "$(WXUNIV)" == "1"
140 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
141 !endif
142 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
143 __DEBUG_DEFINE_p = -D__WXDEBUG__
144 !endif
145 !if "$(DEBUG_FLAG)" == "1"
146 __DEBUG_DEFINE_p = -D__WXDEBUG__
147 !endif
148 !if "$(UNICODE)" == "1"
149 __UNICODE_DEFINE_p = -D_UNICODE
150 !endif
151 !if "$(SHARED)" == "0"
152 LIBDIRNAME = ..\..\src\net\..\..\..\lib\bcc_lib$(CFG)
153 !endif
154 !if "$(SHARED)" == "1"
155 LIBDIRNAME = ..\..\src\net\..\..\..\lib\bcc_dll$(CFG)
156 !endif
157
158
159 all: $(OBJS)
160 $(OBJS):
161 -if not exist $(OBJS) mkdir $(OBJS)
162
163 ### Targets: ###
164
165 all: $(__netutilsdll___depname) $(__netutilslib___depname)
166
167 clean:
168 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
169 -if exist $(OBJS)\*.res del $(OBJS)\*.res
170 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).dll
171 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).tds
172 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).ilc
173 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).ild
174 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).ilf
175 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).ils
176 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib
177 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib
178
179 !if "$(SHARED)" == "1"
180 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).dll: $(OBJS)\netutilsdll_dummy.obj $(NETUTILSDLL_OBJECTS)
181 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
182 c0d32.obj $(NETUTILSDLL_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 odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
183 |
184 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils $@
185 !endif
186
187 !if "$(SHARED)" == "0"
188 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS)
189 if exist $@ del $@
190 tlib /a /p4096 $@ @&&|
191 $(NETUTILSLIB_OBJECTS)
192 |
193 !endif
194
195 $(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
196 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) -H $**
197
198 $(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
199 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
200
201 $(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
202 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
203
204 $(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
205 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
206
207 $(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
208 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) -H $**
209
210 $(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
211 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**
212
213 $(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
214 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**
215
216 $(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
217 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**