]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/odbc.bkl
fix for creation of shared libraries under AIX with gcc
[wxWidgets.git] / build / bakefiles / odbc.bkl
1 <?xml version="1.0" ?>
2 <makefile>
3
4 <if cond="FORMAT=='autoconf'">
5 <option name="wxUSE_ODBC"/>
6 <set var="LIB_ODBC">
7 <if cond="wxUSE_ODBC=='builtin'">wxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)</if>
8 </set>
9 </if>
10 <if cond="FORMAT!='autoconf'">
11 <set var="wxUSE_ODBC">
12 <if cond="PLATFORM_UNIX=='1'">builtin</if>
13 <if cond="PLATFORM_UNIX=='0'">0</if>
14 </set>
15 <set var="LIB_ODBC">
16 <if cond="wxUSE_ODBC=='builtin'">wxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)</if>
17 </set>
18 </if>
19 <set var="INC_ODBC">
20 <if cond="wxUSE_ODBC=='builtin'">$(TOP_SRCDIR)src/odbc</if>
21 </set>
22
23 <lib id="wxodbc" template="3rdparty_lib"
24 cond="wxUSE_ODBC=='builtin' and BUILDING_LIB=='1'">
25 <dirname>$(LIBDIRNAME)</dirname>
26 <sources>
27 src/iodbc/catalog.c
28 src/iodbc/connect.c
29 src/iodbc/dlf.c
30 src/iodbc/dlproc.c
31 src/iodbc/execute.c
32 src/iodbc/fetch.c
33 src/iodbc/hdbc.c
34 src/iodbc/henv.c
35 src/iodbc/herr.c
36 src/iodbc/hstmt.c
37 src/iodbc/info.c
38 src/iodbc/itrace.c
39 src/iodbc/misc.c
40 src/iodbc/prepare.c
41 src/iodbc/result.c
42 </sources>
43 </lib>
44
45 </makefile>