]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/multilib.bkl
added wxGzipIOStreams (patch 792932)
[wxWidgets.git] / build / bakefiles / multilib.bkl
CommitLineData
ddf98968 1<?xml version="1.0" ?>
cb8bbc13
VS
2<!-- $Id$ -->
3
ddf98968 4<makefile>
e86e1522 5
ddf98968 6 <!-- ================================================================= -->
e86e1522 7 <!-- wxBase library -->
ddf98968
VS
8 <!-- ================================================================= -->
9
3560dc76 10 <dll id="basedll" template="wx_base_dll"
ddf98968 11 cond="SHARED=='1' and MONOLITHIC=='0'">
81659205 12 <define>WXMAKINGDLL_BASE</define>
e86e1522 13 <define>wxUSE_BASE=1</define>
e86e1522 14 <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources>
390c0cfb 15 <msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)</msvc-headers>
ddf98968
VS
16 </dll>
17
3560dc76 18 <lib id="baselib" template="wx_base_lib"
ddf98968 19 cond="SHARED=='0' and MONOLITHIC=='0'">
e86e1522 20 <define>wxUSE_BASE=1</define>
e86e1522 21 <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources>
390c0cfb 22 <msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)</msvc-headers>
e86e1522 23 </lib>
7bd54b68
VS
24
25 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">base=baselib+basedll</set>
7c4728f6
VS
26
27
28 <!-- ================================================================= -->
29 <!-- wxNet library -->
30 <!-- ================================================================= -->
31
32 <dll id="netdll" template="wx_base_dll"
33 cond="SHARED=='1' and MONOLITHIC=='0'">
34 <define>WXUSINGDLL</define>
35 <define>WXMAKINGDLL_NET</define>
36 <sources>$(NET_SRC)</sources>
37 <msvc-headers>$(NET_CMN_HDR) $(NET_PLATFORM_HDR)</msvc-headers>
38 <library>basedll</library>
39 </dll>
40
41 <lib id="netlib" template="wx_base_lib"
42 cond="SHARED=='0' and MONOLITHIC=='0'">
7c4728f6 43 <sources>$(NET_SRC)</sources>
e2281645 44 <msvc-headers>$(NET_CMN_HDR) $(NET_PLATFORM_HDR)</msvc-headers>
7c4728f6 45 </lib>
7bd54b68
VS
46
47 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">net=netlib+netdll</set>
e86e1522 48
7c4728f6 49
e86e1522
VS
50 <!-- ================================================================= -->
51 <!-- Main GUI library -->
52 <!-- ================================================================= -->
53
54 <dll id="coredll" template="wx_dll"
55 cond="SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
a7140600 56 <define>WXUSINGDLL</define>
81659205 57 <define>WXMAKINGDLL_CORE</define>
6fd9f0a4 58 <define>wxUSE_BASE=0</define>
e86e1522 59 <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
390c0cfb 60 <msvc-headers>$(ALL_GUI_HEADERS)</msvc-headers>
6c6df83a 61 <library>basedll</library>
e86e1522
VS
62 </dll>
63
64 <lib id="corelib" template="wx_lib"
65 cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
6fd9f0a4 66 <define>wxUSE_BASE=0</define>
e86e1522 67 <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
390c0cfb 68 <msvc-headers>$(ALL_GUI_HEADERS)</msvc-headers>
ddf98968 69 </lib>
13cb46e0 70
7bd54b68
VS
71 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">core=corelib+coredll</set>
72
13cb46e0
VS
73
74 <!-- ================================================================= -->
75 <!-- "Advanced" controls library -->
76 <!-- ================================================================= -->
77
78 <dll id="advdll" template="wx_dll"
79 cond="SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
80 <define>WXUSINGDLL</define>
81 <define>WXMAKINGDLL_ADV</define>
82 <sources>$(ADVANCED_SRC)</sources>
83 <msvc-headers>$(ADVANCED_HDR)</msvc-headers>
84 <library>coredll</library>
85 <library>basedll</library>
86 </dll>
87
88 <lib id="advlib" template="wx_lib"
89 cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
90 <sources>$(ADVANCED_SRC)</sources>
91 <msvc-headers>$(ADVANCED_HDR)</msvc-headers>
92 </lib>
bb41dcbe 93
7bd54b68
VS
94 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">adv=advlib+advdll</set>
95
bb41dcbe
VS
96
97 <!-- ================================================================= -->
98 <!-- DB classes library -->
99 <!-- ================================================================= -->
100
83b9886f 101 <dll id="odbcdll" template="wx_base_dll"
eb69fda5 102 cond="SHARED=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
bb41dcbe
VS
103 <define>WXUSINGDLL</define>
104 <define>WXMAKINGDLL_ODBC</define>
105 <sources>$(ODBC_SRC)</sources>
106 <msvc-headers>$(ODBC_HDR)</msvc-headers>
bb41dcbe
VS
107 <library>basedll</library>
108 <ldlibs>$(EXTRALIBS_ODBC)</ldlibs>
109 </dll>
110
83b9886f 111 <lib id="odbclib" template="wx_base_lib"
eb69fda5 112 cond="SHARED=='0' and USE_ODBC=='1' and MONOLITHIC=='0'">
bb41dcbe
VS
113 <sources>$(ODBC_SRC)</sources>
114 <msvc-headers>$(ODBC_HDR)</msvc-headers>
115 </lib>
83b9886f
VS
116
117
118 <dll id="dbgriddll" template="wx_dll"
119 cond="SHARED=='1' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
120 <define>WXUSINGDLL</define>
121 <define>WXMAKINGDLL_DBGRID</define>
122 <sources>$(DBGRID_SRC)</sources>
123 <msvc-headers>$(DBGRID_HDR)</msvc-headers>
124 <library>advdll</library>
125 <library>odbcdll</library>
126 <library>coredll</library>
127 <library>basedll</library>
128 </dll>
129
130 <lib id="dbgridlib" template="wx_lib"
131 cond="SHARED=='0' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
132 <sources>$(DBGRID_SRC)</sources>
133 <msvc-headers>$(DBGRID_HDR)</msvc-headers>
134 </lib>
7bd54b68
VS
135
136 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">odbc=odbclib+odbcdll</set>
137 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">dbgrid=dbgridlib+dbgriddll</set>
ddf98968
VS
138
139
140 <!-- ================================================================ -->
141 <!-- wxHTML -->
142 <!-- ================================================================ -->
143
144 <dll id="htmldll" template="wx_dll"
4d264332 145 cond="SHARED=='1' and USE_HTML=='1' and MONOLITHIC=='0'">
a7140600 146 <define>WXUSINGDLL</define>
81659205 147 <define>WXMAKINGDLL_HTML</define>
ddf98968 148 <sources>$(HTML_SRC)</sources>
6c6df83a
VS
149 <library>coredll</library>
150 <library>basedll</library>
390c0cfb 151 <msvc-headers>$(HTML_HDR)</msvc-headers>
ddf98968
VS
152 </dll>
153
154 <lib id="htmllib" template="wx_lib"
4d264332 155 cond="SHARED=='0' and USE_HTML=='1' and MONOLITHIC=='0'">
ddf98968 156 <sources>$(HTML_SRC)</sources>
390c0cfb 157 <msvc-headers>$(HTML_HDR)</msvc-headers>
ddf98968 158 </lib>
4d264332 159
7bd54b68
VS
160 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">html=htmllib+htmldll</set>
161
4d264332
VS
162 <!-- ================================================================ -->
163 <!-- OpenGL -->
164 <!-- ================================================================ -->
165
166 <!-- included by wx.bkl from opengl.bkl -->
a69544bf 167
7bd54b68
VS
168 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">gl=gllib+gldll</set>
169
a69544bf
VS
170
171 <!-- ================================================================ -->
172 <!-- XML -->
173 <!-- ================================================================ -->
174
175 <dll id="xmldll" template="wx_base_dll"
176 cond="SHARED=='1' and MONOLITHIC=='0'">
177 <define>WXUSINGDLL</define>
178 <define>WXMAKINGDLL_XML</define>
179 <sources>$(XML_SRC)</sources>
390c0cfb 180 <msvc-headers>$(XML_HDR)</msvc-headers>
a69544bf
VS
181 <library>basedll</library>
182 <ldlibs>$(EXTRALIBS_XML)</ldlibs>
183 </dll>
184
185 <lib id="xmllib" template="wx_base_lib"
186 cond="SHARED=='0' and MONOLITHIC=='0'">
187 <sources>$(XML_SRC)</sources>
390c0cfb 188 <msvc-headers>$(XML_HDR)</msvc-headers>
a69544bf 189 </lib>
7bd54b68
VS
190
191 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">xml=xmllib+xmldll</set>
ddf98968
VS
192
193</makefile>